:root {
  --page: oklch(0.93 0.006 255);
  --bg: oklch(0.986 0.004 255);
  --surface: oklch(0.948 0.008 255);
  --surface2: oklch(0.93 0.009 255);
  --card: #ffffff;

  --ink: oklch(0.28 0.022 262);
  --ink2: oklch(0.46 0.02 262);
  --ink3: oklch(0.62 0.016 262);

  --line: oklch(0.9 0.008 262);
  --line2: oklch(0.94 0.006 262);

  --accent: oklch(0.52 0.14 262);
  --accent-soft: oklch(0.95 0.03 262);
  --accent-on: #ffffff;

  --hi: oklch(0.58 0.11 162);
  --mid: oklch(0.55 0.12 255);
  --lo: oklch(0.66 0.12 78);
  --vlo: oklch(0.57 0.16 27);
  --advance: oklch(0.56 0.11 162);
  --review: oklch(0.64 0.12 75);
  --reject: oklch(0.57 0.16 27);
  --radius: 11px;
  --font-display: "Quicksand", ui-sans-serif, system-ui, sans-serif;
  --font: "Helvetica Neue", Helvetica, ui-sans-serif, system-ui, Arial, sans-serif;
  --shadow: 0 1px 2px oklch(0.4 0.03 262/0.06), 0 8px 24px -16px oklch(0.4 0.04 262/0.4);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14.5px;
  -webkit-font-smoothing: antialiased;
}

#root {
  height: 100%;
  display: flex;
  flex-direction: column;
}

button {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.num {
  font-variant-numeric: tabular-nums lining-nums;
}

.bar {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 30px;
  height: 58px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.bar-l {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.bar-ctx {
  min-width: 0;
}

.bar-role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-r {
  display: flex;
  align-items: center;
  gap: 10px;
}

.frame {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.lx {
  width: var(--lx-w, 392px);
  flex: 0 0 var(--lx-w, 392px);
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--surface);
  position: relative;
}

.lx-head {
  flex: 0 0 auto;
  padding: 14px 24px 12px;
}

.lx-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.015em;
}

.lx-topn {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  cursor: text;
}

.lx-topn-l {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink3);
}

.lx-topn-i {
  width: 42px;
  padding: 4px 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 7px;
  -moz-appearance: textfield;
  transition:
    border-color 0.12s,
    box-shadow 0.12s;
}

.lx-topn-i::-webkit-outer-spin-button,
.lx-topn-i::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.lx-topn-i:hover {
  border-color: var(--ink3);
}

.lx-topn-i:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.lx-topn.dis {
  opacity: 0.4;
  cursor: not-allowed;
}

.lx-topn.dis .lx-topn-i {
  pointer-events: none;
}

.lx-rows {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-bottom: 24px;
  position: relative;
  overflow-anchor: none;
}

.lx-row {
  position: relative;
  display: grid;
  grid-template-columns: 20px 16px 1fr auto 56px;
  align-items: center;
  gap: 11px;
  padding: 12px 0 12px 12px;
  cursor: pointer;
  border-radius: 0;
}

.lx-row + .lx-row {
  box-shadow: inset 0 1px 0 var(--line2);
}

.lx-row:hover {
  background: var(--surface2);
}

.lx-rank {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink3);
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.lx-who {
  min-width: 0;
}

.lx-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lx-role {
  font-size: 11.5px;
  color: var(--ink2);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lx-score {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.lx-score small {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--ink3);
  margin-left: 1px;
}

.lx-score.prog {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink3);
}

.lx-check {
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  box-sizing: border-box;
  margin: -12px 0;
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--accent-on);
  cursor: pointer;
  transition: background 0.12s;
}

.lx-check::before {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  background: var(--card);
  transition:
    background 0.12s,
    border-color 0.12s,
    opacity 0.12s;
}

.lx-check svg {
  display: block;
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translate(50%, -50%);
  z-index: 1;
}

.lx-check:hover {
  background: var(--surface2);
}

.lx-check:hover::before {
  border-color: var(--accent);
}

.lx-check.on::before {
  background: var(--accent);
  border-color: var(--accent);
}

.lx-check.dis {
  cursor: not-allowed;
}

.lx-check.dis::before {
  opacity: 0.32;
}

.lx-check.dis:hover {
  background: transparent;
}

.lx-check.dis:hover::before {
  border-color: var(--line);
}

.lx-grip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 26px;
  color: var(--ink3);
  border-radius: 6px;
  cursor: grab;
  opacity: 0.45;
  touch-action: none;
  transition:
    opacity 0.12s,
    background 0.12s,
    color 0.12s;
}

.lx-grip:hover {
  opacity: 1;
  background: var(--surface2);
  color: var(--ink2);
}

.lx-row.sel .lx-grip:hover {
  background: var(--line2);
}

.lx-row.dragging {
  background: var(--card);
  border-radius: 10px;
  z-index: 7;
  box-shadow:
    0 10px 28px -10px oklch(0.4 0.05 262/0.5),
    0 2px 6px -2px oklch(0.4 0.05 262/0.3);
}

.lx-row.dragging + .lx-row {
  box-shadow: none;
}

.lx-row.dragging .lx-grip {
  cursor: grabbing;
  opacity: 1;
  color: var(--ink);
}

.lx-row.short::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
}

.lx-row.short .lx-rank {
  color: var(--accent);
}

.lx-row.sel,
.lx-row.sel:hover {
  background: var(--bg);
}

.lx-row.sel {
  z-index: 3;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.lx-row.sel + .lx-row {
  box-shadow: none;
}

.lx-row.sel .lx-name {
  color: var(--ink);
}

.lx-water {
  position: relative;
  height: 26px;
  display: flex;
  align-items: center;
  cursor: row-resize;
  touch-action: none;
  user-select: none;
  margin: 5px 0;
}

.lx-water::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 64px;
  top: 50%;
  height: 0;
  border-top: 2px solid var(--accent);
  opacity: 0.5;
}

.lx-water-handle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.lx-water-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.lx-water-grip {
  width: 30px;
  height: 21px;
  border-radius: 7px;
  background: var(--accent);
  color: var(--accent-on);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  box-shadow: 0 1px 4px oklch(0.52 0.14 262/0.4);
}

.lx-water-grip i {
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.9;
}

.lx-water.drag .lx-water-grip {
  transform: scale(1.08);
}

.lx-water.drag::before {
  opacity: 1;
}

.ds {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--bg);
}

.ds-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 clamp(28px, 5vw, 72px) 80px;
}

.doc {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding-top: 34px;
}

.lh {
  display: flex;
  flex-direction: column;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.lh-kicker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 6px;
}

.lh-name {
  font-family: var(--font-display);
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  white-space: nowrap;
  flex: 0 0 auto;
}

.lh-nameline {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.lh-nameline .lh-meta {
  flex: 0 1 auto;
}

.lh-sub {
  font-size: 14px;
  color: var(--ink2);
}

.lh-subline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 6px;
}

.lh-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
}

.lh-meta span {
  font-size: 12.5px;
  color: var(--ink2);
}

.lh-meta b {
  color: var(--ink);
  font-weight: 600;
}

.score {
  flex: 0 0 auto;
  width: 128px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.score.hi {
  --score-c: var(--hi);
}

.score.mid {
  --score-c: var(--mid);
}

.score.lo {
  --score-c: var(--lo);
}

.score.vlo {
  --score-c: var(--vlo);
}

.lh .acts {
  margin-top: 2px;
  flex: 0 0 auto;
}

.rec {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.rec-top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 22px;
  background: var(--surface2);
  border-bottom: 1px solid var(--line);
}

.rec-score {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.rec-score-n {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.85;
  color: var(--score-c, var(--ink));
}

.rec-score-d {
  font-size: 15px;
  color: var(--ink3);
  font-weight: 600;
}

.rec-score.hi {
  --score-c: var(--hi);
}

.rec-score.mid {
  --score-c: var(--mid);
}

.rec-score.lo {
  --score-c: var(--lo);
}

.rec-score.vlo {
  --score-c: var(--vlo);
}

.rec-score.prog {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink2);
  border-right: 1px solid var(--line);
  padding-right: 20px;
}

.rec-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.rec-lbl {
  font-family: var(--font-display);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink3);
  font-weight: 700;
}

.rec-verdict .verdict {
  font-size: 14px;
}

.rec-verdict .verdict::before {
  width: 9px;
  height: 9px;
}

.rec-body {
  padding: 18px 22px 20px;
}

.rec-body .prose:first-child {
  margin-top: 0;
}

.rec-prose {
  position: relative;
  max-height: 60em;
  overflow: hidden;
  transition: max-height 0.16s ease-out;
}

.rec-prose.clamp {
  max-height: 7.6em;
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent);
  mask-image: linear-gradient(180deg, #000 62%, transparent);
}

.rec-more {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rec-more::after {
  content: "›";
  font-size: 15px;
  line-height: 0;
  transform: translateY(1px) rotate(90deg);
  transition: transform 0.15s;
}

.rec-more.up::after {
  transform: translateY(-1px) rotate(-90deg);
}

.rec-more:hover {
  text-decoration: underline;
}

.rec-resume {
  padding: 15px 22px 17px;
  border-top: 1px solid var(--line);
  background: var(--surface2);
}

.rec-resume-h {
  font-family: var(--font-display);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink3);
  font-weight: 700;
  margin-bottom: 7px;
}

.rec-resume .prose {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink2);
}

.hc {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.verdict {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.verdict::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.verdict.advance {
  color: var(--advance);
}

.verdict.review {
  color: var(--review);
}

.verdict.reject {
  color: var(--reject);
}

.verdict.none {
  color: var(--ink3);
}

.acts {
  display: flex;
  gap: 9px;
  margin-top: 18px;
}

.act {
  font-family: var(--font-display);
  padding: 9px 16px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--line);
  color: var(--ink2);
  white-space: nowrap;
  background: var(--card);
}

.act:hover {
  color: var(--ink);
  border-color: var(--ink3);
}

.glance-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.glance-row .acts {
  flex: 0 0 auto;
  flex-direction: column;
  gap: 8px;
  margin-top: 0;
  justify-content: center;
  width: 154px;
}

.glance-row .acts .act {
  width: 100%;
  text-align: center;
  padding: 8px 16px;
}

.glance-row .facts {
  flex: 1 1 auto;
}

.sect + .sect {
  margin-top: 24px;
}

.sect-h {
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink3);
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}

.prose {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--ink);
  margin: 0 0 13px;
  text-wrap: pretty;
}

.prose:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--ink3);
  font-style: italic;
  font-size: 13px;
}

.t2-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.t2 {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.t2.open {
  border-color: color-mix(in oklab, var(--accent), transparent 55%);
}

.task-modality {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink2);
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--card);
  border: 1px solid var(--line);
}

.task-modality .ic {
  width: 13px;
  height: 13px;
}

.t2-head {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 13px 16px;
  text-align: left;
  background: var(--surface2);
  border-radius: var(--radius);
}

.t2.open .t2-head {
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
}

.t2.clickable {
  cursor: pointer;
}

.t2.clickable:hover .t2-head,
.t2-head.open:hover {
  background: var(--surface);
}

.t2-tog {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--accent);
}

.t2.open .t2-tog {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}

.t2-id {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.t2-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.t2-meta {
  margin-left: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.t2-dur {
  font-size: 11px;
  color: var(--ink3);
  font-variant-numeric: tabular-nums;
}

.t2-score {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
}

.t2-score-n {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--score-c, var(--ink));
}

.t2-score-n.hi {
  --score-c: var(--hi);
}

.t2-score-n.mid {
  --score-c: var(--mid);
}

.t2-score-n.lo {
  --score-c: var(--lo);
}

.t2-score-n.vlo {
  --score-c: var(--vlo);
}

.t2-score-d {
  font-size: 11px;
  color: var(--ink3);
  font-weight: 600;
}

.t2-score.na {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.t2-sum {
  padding: 8px 16px 12px 51px;
  display: flex;
  flex-direction: column;
}

.t2-sum-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
}

.t2-sum-row + .t2-sum-row {
  border-top: 1px solid var(--line2);
}

.t2-sum-name {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--ink2);
}

.t2-sum .c2-num {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.t2-sum .c2-badge {
  font-size: 10px;
  padding: 3px 9px;
  align-self: center;
}

.t2-body {
  padding: 4px 16px 16px;
}

.t2-crits {
  display: flex;
  flex-direction: column;
}

.c2 {
  padding: 15px 0;
  border-bottom: 1px solid var(--line2);
}

.c2:last-child {
  border-bottom: none;
}

.c2-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.c2-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  flex: 0 0 auto;
  color: var(--ink);
}

.c2-track {
  flex: 1 1 auto;
  min-width: 48px;
  max-width: 260px;
  height: 5px;
  border-radius: 99px;
  background: var(--line2);
  overflow: hidden;
}

.c2-fill {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--ink3);
}

.c2-fill.hi {
  background: var(--hi);
}

.c2-fill.mid {
  background: var(--mid);
}

.c2-fill.lo {
  background: var(--lo);
}

.c2-fill.vlo {
  background: var(--vlo);
}

.c2-num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  min-width: 22px;
  color: var(--ink);
}

.c2-num.hi {
  color: var(--hi);
}

.c2-num.lo {
  color: var(--lo);
}

.c2-num.vlo {
  color: var(--vlo);
}

.c2-badge {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: 7px;
}

.c2-badge.pass {
  background: color-mix(in oklab, var(--advance), transparent 86%);
  color: var(--advance);
}

.c2-badge.review {
  background: color-mix(in oklab, var(--review), transparent 84%);
  color: var(--review);
}

.c2-badge.fail {
  background: color-mix(in oklab, var(--reject), transparent 86%);
  color: var(--reject);
}

.c2-badge.none {
  background: var(--surface2);
  color: var(--ink3);
}

.c2-inds {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 12px 0 0 13px;
  padding-left: 16px;
  border-left: 2px solid var(--line);
}

.c2-noind {
  margin: 9px 0 0 13px;
  font-size: 12.5px;
  color: var(--ink3);
  font-style: italic;
}

.t2-tx {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.t2-tx-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink3);
  font-weight: 700;
  margin-bottom: 14px;
}

.t2-tx-ic {
  display: flex;
  color: var(--accent);
}

.t2-tx-ic .ic {
  width: 14px;
  height: 14px;
}

.ind {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ind-body {
  min-width: 0;
  padding-top: 1px;
}

.ring {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
}

.ring svg {
  display: block;
}

.ring-bg {
  fill: none;
  stroke: var(--line2);
  stroke-width: 3;
}

.ring-fg {
  fill: none;
  stroke: var(--ink3);
  stroke-width: 3;
  stroke-linecap: round;
}

.ring.hi .ring-fg {
  stroke: var(--hi);
}

.ring.mid .ring-fg {
  stroke: var(--mid);
}

.ring.lo .ring-fg {
  stroke: var(--lo);
}

.ring.vlo .ring-fg {
  stroke: var(--vlo);
}

.ring-t {
  fill: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-anchor: middle;
  dominant-baseline: central;
  font-variant-numeric: tabular-nums;
}

.ind-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.35;
}

.ind-rat {
  margin: 3px 0 0 0;
  font-size: 12.5px;
  color: var(--ink2);
  line-height: 1.55;
  text-wrap: pretty;
}

.thread {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding-top: 2px;
}

.turn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 82%;
}

.turn.candidate {
  align-self: flex-start;
  align-items: flex-start;
}

.turn.ai {
  align-self: flex-end;
  align-items: flex-end;
}

.turn-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  white-space: nowrap;
}

.turn-who {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.turn.ai .turn-who {
  color: var(--ink3);
}

.turn.candidate .turn-who {
  color: var(--accent);
}

.turn-time {
  color: var(--ink3);
  font-variant-numeric: tabular-nums;
}

.bubble {
  font-size: 13.5px;
  line-height: 1.55;
  padding: 10px 14px;
  border-radius: 13px;
  text-wrap: pretty;
}

.turn.ai .bubble {
  background: var(--surface2);
  color: var(--ink);
  border: 1px solid var(--line2);
  border-top-right-radius: 4px;
}

.turn.candidate .bubble {
  background: var(--accent);
  color: var(--accent-on);
  border-top-left-radius: 4px;
}

.lic {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 17px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
}

.lic-badge {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 7px 13px;
  border-radius: 8px;
}

.lic.pass {
  border-color: color-mix(in oklab, var(--advance), transparent 70%);
}

.lic.pass .lic-badge {
  background: color-mix(in oklab, var(--advance), transparent 86%);
  color: var(--advance);
}

.lic.review {
  border-color: color-mix(in oklab, var(--review), transparent 68%);
}

.lic.review .lic-badge {
  background: color-mix(in oklab, var(--review), transparent 84%);
  color: var(--review);
}

.lic.fail {
  border-color: color-mix(in oklab, var(--reject), transparent 70%);
}

.lic.fail .lic-badge {
  background: color-mix(in oklab, var(--reject), transparent 86%);
  color: var(--reject);
}

.lic.none .lic-badge {
  background: var(--surface2);
  color: var(--ink3);
}

.lic-type {
  font-weight: 600;
  font-size: 13.5px;
}

.lic-meta {
  font-size: 12px;
  color: var(--ink2);
  margin-top: 3px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.fact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.fact-l {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink3);
  font-weight: 700;
}

.fact-v {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.fact-v small {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink3);
  margin-left: 1px;
}

.stars {
  color: var(--accent);
  letter-spacing: 1px;
  font-size: 15px;
}

.notes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.note {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.note-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.note-h b {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.note-h span {
  font-size: 11px;
  color: var(--ink3);
}

.note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink2);
}

.rn {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rn-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.rn-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.rn-score.empty {
  align-items: center;
  color: var(--ink3);
  font-size: 13px;
}

.rn-avg {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.rn-stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 17px;
}

.rn-stars.muted {
  color: var(--line2);
}

.rn-count {
  font-size: 12px;
  color: var(--ink3);
}

.rn-add {
  font-family: var(--font-display);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-on);
  background: var(--accent);
  border: 1px solid var(--accent);
}

.rn-add:hover {
  filter: brightness(0.96);
}

.rn-add-ic {
  display: flex;
}

.rn-add-ic svg {
  width: 14px;
  height: 14px;
}

.rn-picker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.rn-pick-lbl {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink3);
}

.rn-pick-stars {
  display: inline-flex;
  flex-direction: row-reverse;
}

.rn-pick-star {
  font-size: 24px;
  line-height: 1;
  color: var(--line2);
  padding: 0 2px;
  cursor: pointer;
  transition: color 0.1s;
}

.rn-pick-star:hover,
.rn-pick-star:hover ~ .rn-pick-star {
  color: var(--accent);
}

.rn-pick-cancel {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink3);
  padding: 6px 8px;
}

.rn-pick-cancel:hover {
  color: var(--ink);
}

.note-who {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
}

.note-stars {
  color: var(--accent);
  letter-spacing: 1px;
  font-size: 12px;
}

.note-date {
  font-size: 11px;
  color: var(--ink3);
  flex: 0 0 auto;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags + .sect,
.lh + .sect {
  margin-top: 12px;
}

.tags + .sect .sect-h,
.lh + .sect .sect-h {
  margin-bottom: 9px;
  padding-bottom: 7px;
}

.tag {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink2);
  padding: 4px 11px;
  border-radius: 99px;
  background: var(--surface2);
  border: 1px solid var(--line);
}

::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 99px;
  border: 3px solid var(--surface);
}

.ds ::-webkit-scrollbar-thumb {
  border-color: var(--bg);
}

.lx-check.on::before {
  background: var(--accent);
  border-color: var(--accent);
}

.backcmp {
  position: sticky;
  top: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 11px clamp(20px, 4vw, 40px);
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
}

.backcmp:hover {
  background: var(--surface2);
}

.ds-scroll.is-compare {
  padding-left: 0;
  padding-right: 0;
}

.mcv {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(16px, 2.2vw, 30px) 64px;
}

.mcv-bar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 14px;
  margin-bottom: 6px;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
}

.mcv-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.mcv-title b {
  color: var(--accent);
}

.mcv-hint {
  font-size: 12px;
  color: var(--ink3);
  margin-top: 3px;
}

.mcv-clear {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mcv-clear:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.mcv-grid {
  display: grid;
  gap: 14px;
  align-items: start;
}

.dh {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 4px 0 14px;
  margin-bottom: 16px;
}

.dh-suggest {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 18px 14px;
  border-bottom: 1px solid var(--line2);
}

.dh-star {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
}

.dh-suggest-body {
  min-width: 0;
}

.dh-suggest-top {
  display: flex;
  align-items: baseline;
  gap: 9px;
  flex-wrap: wrap;
}

.dh-suggest-l {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink3);
}

.dh-suggest-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.dh-reason {
  font-size: 12.5px;
  color: var(--ink2);
  margin-top: 3px;
}

.dh-gap {
  color: var(--lo);
  font-weight: 600;
}

.dh-boardlbl {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink3);
  padding: 13px 18px 8px;
}

.dh-board {
  padding: 0 18px;
}

.dh-row {
  display: grid;
  align-items: center;
  gap: 0 12px;
}

.dh-row + .dh-row {
  border-top: 1px solid var(--line2);
}

.dh-head {
  padding-bottom: 9px;
}

.dh-lbl {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink2);
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 0;
}

.dh-delta {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 5px;
  padding: 2px 6px;
}

.dh-tie {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink3);
}

.dh-hcell {
  padding: 8px 10px;
  border-radius: 9px 9px 0 0;
}

.dh-hcell.pick {
  background: var(--accent-soft);
}

.dh-hname {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1.15;
}

.dh-pickbadge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-on);
  background: var(--accent);
  border-radius: 99px;
  padding: 2px 7px 2px 5px;
}

.dh-pickbadge svg {
  width: 10px;
  height: 10px;
}

.dh-hverdict {
  margin-top: 6px;
}

.dh-cell {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 9px 10px;
  border-left: 1px solid var(--line2);
}

.dh-cell.lead {
  background: var(--accent-soft);
  border-radius: 7px;
}

.dh-cell.lag .dh-val {
  color: oklch(0.62 0.17 27 / 0.55);
}

.dh-tri {
  color: var(--accent);
  display: flex;
}

.dh-val {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.dh-val.hi {
  color: var(--hi);
}

.dh-val.mid {
  color: var(--mid);
}

.dh-val.lo {
  color: var(--lo);
}

.dh-val.vlo {
  color: var(--vlo);
}

.dh-val.nil {
  color: var(--ink3);
}

.dh-cell.na .dh-val {
  color: var(--ink3);
}

.dh-flagsrow {
  border-top: 1px solid var(--line);
}

.dh-flagcell {
  flex-wrap: wrap;
  gap: 5px;
}

.dh-flag {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--lo);
  background: oklch(0.96 0.05 75);
  border-radius: 6px;
  padding: 2px 7px;
}

.dh-clear {
  font-size: 11.5px;
  color: var(--hi);
  font-weight: 600;
}

.dh-actionrow {
  border-top: 1px solid var(--line);
}

.dh-actionrow .dh-lbl {
  align-self: center;
}

.dh-actcell {
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
}

.dh-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 7px;
  border: 1px solid var(--line);
  color: var(--ink2);
  background: var(--card);
  white-space: nowrap;
  transition:
    border-color 0.12s,
    color 0.12s,
    background 0.12s;
}

.dh-act svg {
  display: block;
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.dh-act.short:hover,
.dh-act.short.on {
  border-color: var(--accent);
  color: var(--accent-on);
  background: var(--accent);
}

.dh-act.reject:hover,
.dh-act.reject.on {
  border-color: var(--reject);
  color: var(--accent-on);
  background: var(--reject);
}

.dh-tightnote {
  font-size: 11.5px;
  color: var(--ink3);
  padding: 10px 18px 0;
}

.dh-cell-int {
  cursor: pointer;
  border-radius: 7px;
  transition:
    background 0.12s,
    box-shadow 0.12s;
}

.dh-cell-int:hover {
  background: var(--surface2);
}

.dh-cell-int:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.dh-cell.lead.dh-cell-int:hover {
  background: var(--accent-soft);
}

.dh-cell.pop-active {
  box-shadow: inset 0 0 0 1.5px var(--accent);
  background: var(--accent-soft);
}

.vpop {
  position: fixed;
  z-index: 60;
  width: 340px;
  max-width: calc(100vw - 24px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow:
    0 18px 48px -12px oklch(0.2 0.04 260 / 0.32),
    0 4px 12px -4px oklch(0.2 0.04 260 / 0.18);
  padding: 15px 16px 14px;
  opacity: 0;
  transform: translateY(4px) scale(0.985);
  transform-origin: top center;
  pointer-events: none;
  transition:
    opacity 0.13s ease,
    transform 0.13s ease;
  font-family: var(--font);
  color: var(--ink);
}

.vpop.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.vpop[data-placement="top"] {
  transform-origin: bottom center;
}

.vpop::before,
.vpop::after {
  content: "";
  position: absolute;
  left: var(--ax, 50%);
  width: 13px;
  height: 13px;
  background: var(--card);
  transform: translateX(-50%) rotate(45deg);
}

.vpop[data-placement="bottom"]::before {
  top: -7px;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.vpop[data-placement="top"]::before {
  bottom: -7px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.vpop-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.vpop-kicker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink3);
  letter-spacing: 0.01em;
}

.vpop-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  margin-top: 1px;
}

.vpop-scorebar {
  display: flex;
  align-items: center;
  gap: 13px;
}

.vpop-scoretxt {
  line-height: 1.1;
}

.vpop-big {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.vpop-big span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink3);
  margin-left: 1px;
}

.vpop-big.hi {
  color: var(--hi);
}

.vpop-big.mid {
  color: var(--mid);
}

.vpop-big.lo {
  color: var(--lo);
}

.vpop-big.vlo {
  color: var(--vlo);
}

.vpop-bandword {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  margin-top: 2px;
}

.vpop-bandword.hi {
  color: var(--hi);
}

.vpop-bandword.mid {
  color: var(--mid);
}

.vpop-bandword.lo {
  color: var(--lo);
}

.vpop-bandword.vlo {
  color: var(--vlo);
}

.vpop-cmp {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--surface2);
  color: var(--ink2);
}

.vpop-cmp.lead {
  background: var(--accent-soft);
  color: var(--accent);
}

.vpop-cmp.behind {
  color: var(--lo);
  background: oklch(0.96 0.04 70);
}

.vpop-cmp-ic {
  display: flex;
}

.vpop-rank {
  font-size: 11.5px;
  color: var(--ink3);
  margin-top: 9px;
}

.vpop-sec {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--ink3);
  margin: 14px 0 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line2);
}

.vpop-prose p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink2);
  margin: 0 0 7px;
  text-wrap: pretty;
}

.vpop-prose p:last-child {
  margin-bottom: 0;
}

.vpop-prog {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink3);
}

.vpop-task + .vpop-task {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line2);
}

.vpop-task-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.vpop-task-mod {
  display: flex;
  color: var(--ink3);
}

.vpop-task-mod svg {
  width: 15px;
  height: 15px;
}

.vpop-task-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  flex: 1 1 auto;
  min-width: 0;
}

.vpop-task-score {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
}

.vpop-task-score.hi {
  color: var(--hi);
}

.vpop-task-score.mid {
  color: var(--mid);
}

.vpop-task-score.lo {
  color: var(--lo);
}

.vpop-task-score.vlo {
  color: var(--vlo);
}

.vpop-inds {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.vpop-inds .ind {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.vpop-inds .ind-label {
  font-size: 12px;
  font-weight: 600;
}

.vpop-inds .ind-rat {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--ink3);
  margin: 2px 0 0;
}

.vpop-noind {
  font-size: 11.5px;
  color: var(--ink3);
  font-style: italic;
  margin: 0;
}

.vpop-quotes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vpop-q {
  font-size: 11px;
  color: var(--ink3);
  margin-bottom: 3px;
}

.vpop-q::before {
  content: "Asked: ";
  font-weight: 600;
  color: var(--ink3);
}

.vpop-a {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  padding-left: 11px;
  border-left: 2.5px solid var(--accent);
  text-wrap: pretty;
}

.vpop-tlink {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
}

.vpop-tlink:hover {
  text-decoration: underline;
}

.vpop-link {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line2);
}

.vpop-link:hover {
  text-decoration: underline;
}

.mcol {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mcol-tools {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px 7px 11px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.mcol-open {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.mcol-open:hover {
  background: var(--accent-soft);
}

.mcol-x {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: var(--ink3);
}

.mcol-x:hover {
  background: var(--surface2);
  color: var(--vlo);
}

.mcol .doc {
  max-width: none;
  margin: 0;
  padding: 12px 14px 18px;
  font-size: 13px;
}

.mcol .lh {
  padding-bottom: 9px;
}

.mcol .lh-kicker {
  font-size: 9.5px;
  margin-bottom: 3px;
}

.mcol .lh-name {
  font-size: 18px;
  white-space: normal;
  line-height: 1.18;
}

.mcol .lh-nameline {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.mcol .lh-meta {
  font-size: 10.5px;
  gap: 1px 10px;
}

.mcol .lh-subline {
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin-top: 5px;
}

.mcol .lh-sub {
  font-size: 12px;
}

.mcol .tag {
  font-size: 10px;
  padding: 2px 7px;
}

.mcol .sect {
  margin-top: 16px;
}

.mcol .sect-h {
  font-size: 11px;
  margin-bottom: 8px;
  padding-bottom: 5px;
}

.mcol .glance-row {
  flex-direction: column;
  gap: 9px;
}

.mcol .glance-row .acts {
  flex-direction: row;
  width: 100%;
  gap: 7px;
}

.mcol .acts .act {
  flex: 1 1 auto;
  padding: 7px 8px;
  font-size: 11.5px;
  text-align: center;
}

.mcol .facts {
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.mcol .fact {
  padding: 8px 10px;
}

.mcol .fact-l {
  font-size: 9.5px;
}

.mcol .fact-v {
  font-size: 15px;
}

.mcol .rec-top {
  padding: 12px 13px;
  gap: 12px;
}

.mcol .rec-score-n {
  font-size: 30px;
}

.mcol .rec-body {
  padding: 12px 13px;
}

.mcol .rec-prose {
  font-size: 12px;
}

.mcol .rec-resume {
  padding: 11px 13px;
}

.mcol .rec-resume .prose {
  font-size: 11.5px;
}

.mcol .t2-head {
  padding: 11px 13px;
}

.mcol .t2-name {
  font-size: 13px;
}

.mcol .t2-score-n {
  font-size: 15px;
}

.mcol .t2-meta {
  display: none;
}

.mcol .t2-sum {
  padding: 6px 13px 11px 13px;
}

.mcol .t2-sum-name {
  font-size: 12px;
}

.mcol .c2-name {
  font-size: 12.5px;
}

.mcol .ind-label {
  font-size: 12px;
}

.mcol .ind-rat,
.mcol .bubble {
  font-size: 11.5px;
}

.mcol .turn {
  max-width: 100%;
}

.mcol .rn-top {
  padding: 10px 12px;
}

.mcol .note {
  padding: 10px 12px;
}

.mcol .note p {
  font-size: 11.5px;
}

@media (max-width: 1080px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .lx {
    --lx-w: 320px;
  }

  .turn {
    max-width: 90%;
  }
}

.lx-funnel-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lx-funnel-line .lx-title {
  flex: 0 0 auto;
}

.lx-fbar {
  flex: 1 1 auto;
  display: flex;
  height: 5px;
  border-radius: 99px;
  overflow: hidden;
  background: var(--surface2);
  gap: 2px;
  padding: 0;
  min-width: 36px;
}

.lx-fbar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  min-width: 0;
  transition: width 0.35s ease;
}

.lx-fbar-s {
  background: var(--accent);
}

.lx-fbar-n {
  background: color-mix(in oklab, var(--ink3), transparent 62%);
}

.lx-fbar-r {
  background: var(--reject);
}

.lx-legend {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 11px;
}

.lx-lg {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lx-lg-d {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  flex: 0 0 auto;
}

.lx-lg.s .lx-lg-d {
  background: var(--accent);
}

.lx-lg.n .lx-lg-d {
  background: color-mix(in oklab, var(--ink3), transparent 50%);
}

.lx-lg.r .lx-lg-d {
  background: var(--reject);
}

.lx-lg-n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.lx-filters {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lx-srow {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.lx-srow .lx-search {
  flex: 1 1 auto;
}

.lx-srow .lx-fexp {
  width: auto;
  flex: 0 0 auto;
  min-width: 104px;
}

.lx-search {
  position: relative;
  display: flex;
  align-items: center;
}

.lx-search-ic {
  position: absolute;
  left: 10px;
  display: flex;
  color: var(--ink3);
  pointer-events: none;
}

.lx-search-i {
  width: 100%;
  padding: 8px 11px 8px 32px;
  font-family: var(--font);
  font-size: 13px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
  transition:
    border-color 0.12s,
    box-shadow 0.12s;
}

.lx-search-i::placeholder {
  color: var(--ink3);
}

.lx-search-i:hover {
  border-color: var(--ink3);
}

.lx-search-i:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.lx-frow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lx-frow-rec {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.lx-frow-rec .lx-fpill {
  flex: 1;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 7px;
  padding: 6px 4px;
}

.lx-frow-rec .lx-fpill:hover {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink);
}

.lx-frow-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lx-frow-chips .lx-fpill {
  flex: 1 1 auto;
  justify-content: center;
}

.lx-fpill {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink2);
  white-space: nowrap;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--card);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition:
    border-color 0.12s,
    color 0.12s,
    background 0.12s;
}

.lx-fpill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.75;
}

.lx-fpill.ver::before,
.lx-fpill.rec-advance::before,
.lx-fpill.rec-review::before {
  display: none;
}

.lx-fpill:hover {
  border-color: var(--ink3);
  color: var(--ink);
}

.lx-fpill.rec-advance {
  color: var(--advance);
}

.lx-fpill.rec-review {
  color: var(--review);
}

.lx-fpill.lic-rn {
  color: var(--accent);
}

.lx-fpill.lic-lpn {
  color: var(--review);
}

.lx-fpill.lic-cna {
  color: oklch(0.52 0.15 305);
}

.lx-fpill.lic-np {
  color: var(--advance);
}

.lx-fpill.lic-other {
  color: var(--ink2);
}

.lx-frow-rec .lx-fpill.lic-rn.on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}

.lx-frow-rec .lx-fpill.lic-lpn.on {
  background: var(--review);
  border-color: var(--review);
  color: var(--accent-on);
}

.lx-frow-rec .lx-fpill.lic-cna.on {
  background: oklch(0.52 0.15 305);
  border-color: oklch(0.52 0.15 305);
  color: var(--accent-on);
}

.lx-frow-rec .lx-fpill.lic-np.on {
  background: var(--advance);
  border-color: var(--advance);
  color: var(--accent-on);
}

.lx-frow-rec .lx-fpill.lic-other.on {
  background: var(--ink2);
  border-color: var(--ink2);
  color: var(--accent-on);
}

.lx-frow-rec .lx-fpill.on::before {
  background: var(--accent-on);
  opacity: 0.9;
}

.lx-fpill.rec-advance.on {
  background: var(--advance);
  border-color: var(--advance);
  color: var(--accent-on);
}

.lx-fpill.rec-review.on {
  background: var(--review);
  border-color: var(--review);
  color: var(--accent-on);
}

.lx-fpill.ver.on,
.lx-fpill.sc.on {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}

.lx-fmeta {
  display: none;
}

.lx-fmeta.on {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 1px;
}

.lx-fmeta-c {
  font-size: 11px;
  color: var(--ink3);
  font-variant-numeric: tabular-nums;
}

.lx-fmeta-x {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.lx-fmeta-x:hover {
  text-decoration: underline;
}

.lx-rejhead {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 13px 16px 7px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.lx-rejhead-l {
  color: var(--reject);
  white-space: nowrap;
}

.lx-rejhead-n {
  color: var(--ink3);
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 99px;
  min-width: 20px;
  text-align: center;
  padding: 1px 7px;
  font-size: 10.5px;
}

.lx-sechead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px 7px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.lx-sechead.under {
  border-top: 1px solid var(--line);
  margin-top: 4px;
}

.lx-sechead-l {
  white-space: nowrap;
}

.lx-sechead.short .lx-sechead-l {
  color: var(--accent);
}

.lx-sechead.under .lx-sechead-l {
  color: var(--ink2);
}

.lx-sechead-n {
  color: var(--ink3);
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: 99px;
  min-width: 20px;
  text-align: center;
  padding: 1px 7px;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.lx-bulk {
  position: relative;
  margin-left: auto;
}

.lx-bulk-b {
  width: 26px;
  height: 22px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink3);
  border: 1px solid transparent;
  transition:
    color 0.12s,
    background 0.12s,
    border-color 0.12s;
}

.lx-bulk-b:hover {
  color: var(--ink);
  background: var(--surface2);
  border-color: var(--line);
}

.lx-bulk-b.on {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: transparent;
}

.lx-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 5px);
  z-index: 30;
  min-width: 188px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 5px;
  box-shadow: 0 10px 30px oklch(0.4 0.03 262/0.18);
  text-transform: none;
  letter-spacing: 0;
}

.lx-menu-h {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink3);
  padding: 6px 9px 5px;
}

.lx-menu-i {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 8px 9px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
  transition:
    background 0.12s,
    color 0.12s;
}

.lx-menu-i .lx-menu-ic {
  display: inline-flex;
  color: var(--ink3);
}

.lx-menu-i.short:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.lx-menu-i.short:hover .lx-menu-ic {
  color: var(--accent);
}

.lx-menu-i.danger {
  color: var(--reject);
}

.lx-menu-i.danger .lx-menu-ic {
  color: var(--reject);
}

.lx-menu-i.danger:hover {
  background: oklch(0.57 0.16 27/0.1);
}

.lx-menu-i.dis {
  opacity: 0.4;
  pointer-events: none;
}

.lx-water.static {
  cursor: default;
}

.lx-water.static::before {
  right: 24px;
  opacity: 0.32;
  border-top-style: dashed;
}

.lx-undernote {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 10px 16px 16px;
  font-size: 12px;
  color: var(--ink3);
}

.lx-undernote-x {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
}

.lx-undernote-x:hover {
  text-decoration: underline;
}

.lx-restore {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink3);
  border: 1px solid transparent;
  flex: 0 0 auto;
  transition:
    color 0.12s,
    border-color 0.12s,
    background 0.12s;
}

.lx-restore:hover {
  color: var(--accent);
  border-color: color-mix(in oklab, var(--accent), transparent 60%);
  background: color-mix(in oklab, var(--accent), transparent 90%);
}

.lx-row.short::before {
  background: var(--accent);
}

.lx-row.short .lx-rank {
  color: var(--accent);
}

.lx-row.rejected {
  opacity: 0.5;
}

.lx-row.rejected .lx-name {
  text-decoration: line-through;
  text-decoration-color: var(--line);
}

.lx-row.rejected:hover {
  opacity: 0.82;
}

.lx-row.rejected.sel {
  opacity: 1;
}

.bar-cand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}

.bar-compare {
  font-size: 12.5px;
  color: var(--ink3);
}

.bar-compare b {
  color: var(--ink);
  font-weight: 700;
}

.bar-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.bar-navb {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink2);
  border: 1px solid var(--line);
  background: var(--card);
  transition:
    border-color 0.12s,
    color 0.12s,
    background 0.12s;
}

.bar-navb:hover {
  border-color: var(--ink3);
  color: var(--ink);
}

.bar-navb:disabled {
  opacity: 0.35;
  cursor: default;
}

.bar-navb:disabled:hover {
  border-color: var(--line);
  color: var(--ink2);
}

.bar-navpos {
  font-size: 11.5px;
  color: var(--ink3);
  font-variant-numeric: tabular-nums;
}

.bar-candid {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin-right: auto;
}

.bar-candname {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.bar-dtag {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 99px;
  border: 1px solid var(--line);
  color: var(--ink3);
  background: var(--surface2);
}

.bar-dtag.shortlist {
  color: var(--accent);
  border-color: color-mix(in oklab, var(--accent), transparent 65%);
  background: color-mix(in oklab, var(--accent), transparent 88%);
}

.bar-dtag.reject {
  color: var(--reject);
  border-color: color-mix(in oklab, var(--reject), transparent 65%);
  background: color-mix(in oklab, var(--reject), transparent 88%);
}

.bar-mid {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 14px;
}

.bar-acts {
  display: flex;
  align-items: center;
  gap: 7px;
}

.bar-act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 9px;
  border: 1px solid var(--line);
  color: var(--ink2);
  background: var(--card);
  white-space: nowrap;
  transition:
    border-color 0.12s,
    color 0.12s,
    background 0.12s;
}

.bar-act svg {
  display: block;
}

.bar-act:hover {
  border-color: var(--ink3);
  color: var(--ink);
}

.bar-act.reject:hover {
  border-color: var(--reject);
  color: var(--reject);
  background: color-mix(in oklab, var(--reject), transparent 92%);
}

.bar-act.reject.on {
  border-color: var(--reject);
  color: var(--accent-on);
  background: var(--reject);
}

.bar-act.short:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: color-mix(in oklab, var(--accent), transparent 92%);
}

.bar-act.short.on {
  border-color: var(--accent);
  color: var(--accent-on);
  background: var(--accent);
}

.bar-act.ghost {
  padding: 7px 11px;
  color: var(--ink3);
}

.mcol-toolsr {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mcol.dec-shortlist {
  outline: 2px solid color-mix(in oklab, var(--accent), transparent 55%);
  outline-offset: -1px;
}

.mcol.dec-reject {
  opacity: 0.6;
}

.lh-kicker.shortlist {
  color: var(--accent);
}

.lh-kicker.reject {
  color: var(--reject);
}

.lh-kicker.none {
  color: var(--ink3);
}

.doc.solo {
  max-width: 1000px;
  padding-top: 20px;
}

.solo-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.solo-head-l {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.solo-head-l .lh-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.solo-kickline {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}

.solo-kickline .lh-kicker {
  white-space: nowrap;
}

.solo-headline {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: nowrap;
  margin-top: 2px;
}

.solo-name {
  font-family: var(--font-display);
  margin: 0;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.04;
  white-space: nowrap;
  flex: 0 0 auto;
}

.solo-sub {
  font-size: 13.5px;
  color: var(--ink2);
}

.solo-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 16px;
}

.solo-contact span {
  font-size: 12px;
  color: var(--ink3);
}

.solo-head-l .tags {
  margin-top: 3px;
}

.solo-score {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
  flex: 0 0 auto;
}

.solo-score-n {
  font-family: var(--font-display);
  font-size: 33px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--score-c, var(--ink));
}

.solo-score-n i {
  font-size: 14px;
  font-style: normal;
  color: var(--ink3);
  font-weight: 600;
  margin-left: 1px;
}

.solo-score.hi {
  --score-c: var(--hi);
}

.solo-score.mid {
  --score-c: var(--mid);
}

.solo-score.lo {
  --score-c: var(--lo);
}

.solo-score.vlo {
  --score-c: var(--vlo);
}

.solo-score-w {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink2);
}

.solo-score.prog .solo-score-w {
  font-size: 14px;
  color: var(--ink3);
}

.solo-over {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
  gap: 26px;
  margin-top: 16px;
  align-items: stretch;
}

.solo-lbl {
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink3);
  font-weight: 700;
  margin-bottom: 8px;
}

.solo-rec .rec-prose {
  font-size: 13.5px;
  line-height: 1.58;
}

.solo-rec .prose:first-child {
  margin-top: 0;
}

.solo-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
}

.solo-side .facts {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.solo-side .fact {
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.solo-side .fact .fact-l {
  font-size: 10.5px;
}

.solo-side .fact .fact-v {
  font-size: 21px;
}

.solo-side .fact .fact-v small {
  font-size: 12px;
}

.solo-side .lic {
  padding: 13px 14px;
  gap: 12px;
}

.solo-resume {
  margin-top: 0;
  border-top: 1px solid var(--line2);
  padding-top: 12px;
  flex: 0 0 auto;
}

.solo-resume-h {
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink3);
  font-weight: 700;
  margin-bottom: 7px;
}

.solo-resume .prose {
  font-size: 13px;
  line-height: 1.58;
  color: var(--ink2);
  margin: 0;
}

.solo-assess {
  margin-top: 22px;
}

@media (max-width: 980px) {
  .solo-over {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .bar {
    flex-wrap: wrap;
    height: auto;
    padding: 8px 16px;
    gap: 8px 14px;
  }

  .bar-act span {
    display: none;
  }

  .bar-act {
    padding: 7px 9px;
  }
}

.verdict::before {
  display: none;
}

.verdict-tag {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 4px;
  border-radius: 4px;
  background: color-mix(in oklab, currentColor, transparent 86%);
  color: currentColor;
}

.lx-fexp {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink2);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 5px 26px 5px 12px;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 9px center;
  background-size: 11px;
  transition:
    border-color 0.12s,
    color 0.12s,
    background-color 0.12s;
}

.lx-fexp:hover {
  border-color: var(--ink3);
  color: var(--ink);
}

.lx-fexp:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.lx-fexp.on {
  border-color: var(--accent);
  color: var(--accent);
  background-color: color-mix(in oklab, var(--accent), transparent 93%);
}

.note-compose {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.note-ta {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  min-height: 46px;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 9px 11px;
}

.note-ta::placeholder {
  color: var(--ink3);
}

.note-ta:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.note-add {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 9px;
  color: var(--accent-on);
  background: var(--accent);
  border: 1px solid var(--accent);
}

.note-add:hover {
  filter: brightness(0.96);
}

.note-add-ic {
  display: inline-flex;
}

.note-add-ic svg {
  width: 13px;
  height: 13px;
}

.note.note-mine {
  border-color: color-mix(in oklab, var(--accent), transparent 70%);
  background: color-mix(in oklab, var(--accent), transparent 95%);
}

.note.note-mine .note-who b {
  color: var(--accent);
}

.toasts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
}

.toast {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--card);
  background: var(--ink);
  border-radius: 10px;
  padding: 11px 14px;
  box-shadow: 0 8px 24px oklch(0.4 0.03 262/0.22);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.toast.in {
  opacity: 1;
  transform: translateY(0);
}

.toast.error {
  background: var(--reject);
}

.dh-retry {
  font: inherit;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
}

/* ════════════════════════════════════════════════════════════════════════
   Auth, hub & save-shortlist — added with the login + roles-hub feature
   ════════════════════════════════════════════════════════════════════════ */

/* ── App-bar additions (tool) ─────────────────────────────────────────────── */
.bar-hub,
.bar-save,
.bar-logout {
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.bar-hub {
  font-size: 12.5px;
  padding: 6px 10px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
}
.bar-hub:hover {
  background: var(--card);
}
.bar-save {
  font-size: 12.5px;
  padding: 7px 13px;
  color: var(--accent-on);
  background: var(--accent);
  border: 1px solid transparent;
}
.bar-save:hover {
  filter: brightness(1.05);
}
.bar-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.bar-username {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--ink);
}
.bar-logout {
  font-size: 12px;
  padding: 5px 9px;
  color: var(--ink-soft, var(--ink));
  background: transparent;
  border: 1px solid var(--line);
  opacity: 0.85;
}
.bar-logout:hover {
  opacity: 1;
  background: var(--card);
}

/* ── Login ────────────────────────────────────────────────────────────────── */
.lb-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--page);
  padding: 24px;
}
.lb-form {
  width: 100%;
  max-width: 360px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
}
.lb-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lb-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 22px;
}
.lb-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.7;
  margin-bottom: 5px;
}
.lb-input {
  font: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  margin-bottom: 16px;
  outline: none;
}
.lb-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.lb-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 11px 14px;
  border: none;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-on);
  cursor: pointer;
  margin-top: 4px;
}
.lb-btn:hover {
  filter: brightness(1.05);
}
.lb-btn:disabled {
  opacity: 0.6;
  cursor: default;
}
.lb-err {
  color: var(--reject);
  font-size: 12.5px;
  font-weight: 600;
  min-height: 16px;
  margin-bottom: 8px;
}

/* ── Hub ──────────────────────────────────────────────────────────────────── */
.hub {
  min-height: 100vh;
  background: var(--page);
}
.hub-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  padding: 0 30px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.hub-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.hub-brand-sub {
  font-weight: 500;
  font-size: 13px;
  color: var(--accent);
  margin-left: 6px;
}
.hub-user {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hub-who {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--ink);
}
.hub-logout {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.hub-logout:hover {
  background: var(--card);
}
.hub-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 30px 64px;
}
.hub-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 24px;
}
.hub-h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  opacity: 0.6;
  margin: 28px 0 14px;
}
.hub-loading,
.hub-empty,
.tool-loading {
  font-family: var(--font-display);
  color: var(--ink);
  opacity: 0.7;
  padding: 40px 30px;
}
.tool-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hub-role {
  margin-bottom: 8px;
}
.job-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.job-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.job-meta {
  font-size: 13px;
  color: var(--ink);
  opacity: 0.65;
  margin-bottom: 12px;
}
.job-go {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 16px;
  border: none;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-on);
  cursor: pointer;
}
.job-go:hover {
  filter: brightness(1.05);
}

.sl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.sl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
}
.sl-card.mine {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.sl-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.sl-author {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.sl-time {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--ink);
  opacity: 0.55;
}
.sl-del {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  opacity: 0.55;
  padding: 3px 11px;
  border-radius: 999px;
  transition:
    color 0.12s,
    background 0.12s,
    opacity 0.12s;
}
.sl-del:hover {
  opacity: 1;
  color: var(--reject);
  background: color-mix(in oklab, var(--reject), transparent 90%);
}
.sl-del.armed,
.sl-del.armed:hover {
  opacity: 1;
  color: #fff;
  background: var(--reject);
}
.sl-del:disabled {
  opacity: 0.55;
  cursor: default;
}
.sl-note {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 12px;
}
.sl-note.muted {
  opacity: 0.45;
  font-style: italic;
}
.sl-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.sl-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
}
.sl-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chip-score {
  flex: 0 0 auto;
  min-width: 26px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  color: #fff;
}
.chip-score.hi {
  background: var(--hi);
}
.chip-score.mid {
  background: var(--mid);
}
.chip-score.lo {
  background: var(--lo);
}
.chip-score.na {
  background: var(--line);
  color: var(--ink);
}
.sl-open {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12.5px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}
.sl-open:hover {
  background: var(--accent-soft);
}

/* ── Save-shortlist modal ─────────────────────────────────────────────────── */
.sv-overlay {
  position: fixed;
  inset: 0;
  background: oklch(0.3 0.02 262 / 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.sv-modal {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  max-height: 86vh;
}
.sv-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.sv-hint {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  opacity: 0.7;
  margin: 6px 0 16px;
}
.sv-list {
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  margin-bottom: 14px;
}
.sv-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.sv-row:last-child {
  border-bottom: none;
}
.sv-cb {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}
.sv-name {
  flex: 1 1 auto;
  font-size: 13.5px;
  color: var(--ink);
}
.sv-score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink);
  opacity: 0.7;
}
.sv-note {
  font: inherit;
  font-size: 13.5px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  resize: vertical;
  outline: none;
  margin-bottom: 8px;
}
.sv-note:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.sv-err {
  color: var(--reject);
  font-size: 12.5px;
  font-weight: 600;
  min-height: 16px;
  margin-bottom: 6px;
}
.sv-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.sv-cancel,
.sv-save {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 9px;
  cursor: pointer;
}
.sv-cancel {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.sv-save {
  border: none;
  background: var(--accent);
  color: var(--accent-on);
}
.sv-save:disabled {
  opacity: 0.6;
  cursor: default;
}
