:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --paper: #fff;
  --ink: #202533;
  --mute: #566176;
  --line: #dce0e7;
  --accent: #b9361c;
  --accent-hover: #9e2c16;
  --wash: #fceee9;
  --nav: #edf0f4;
  --focus: #a83620;
  font:
    100%/1.45 Roboto,
    'Segoe UI',
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  border: 0;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
::selection {
  background: #ffd3c0;
  color: #272324;
}
.skip {
  position: fixed;
  top: -5rem;
  left: 0.8rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: white;
}
.skip:focus {
  top: 0.6rem;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 2.55rem;
  line-height: 1.13;
  letter-spacing: -0.04em;
  font-weight: 680;
}
h2 {
  font-size: 1.23rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 1rem;
}
.icon {
  width: 1.14rem;
  height: 1.14rem;
  flex: none;
  vertical-align: middle;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  color: var(--ink);
  font-size: 1.21rem;
  font-weight: 740;
  letter-spacing: -0.038em;
  text-decoration: none;
  white-space: nowrap;
}
.brand img {
  width: 2rem;
  height: 2rem;
}
.primary,
.secondary,
.navbtn,
.bare,
.tabs button,
.textbtn,
.paging button {
  display: inline-flex;
  gap: 0.48rem;
  align-items: center;
  justify-content: center;
  font-weight: 570;
  font-size: 0.88rem;
  line-height: 1.2;
  min-height: 2.55rem;
  border-radius: 0.5rem;
  transition:
    background 0.15s,
    color 0.15s;
}
.primary {
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1.04rem;
}
.primary:hover {
  background: var(--accent-hover);
}
.secondary,
.paging button {
  background: var(--paper);
  border: 1px solid #c8ced8;
  padding: 0.6rem 0.85rem;
}
.secondary:hover,
.paging button:hover {
  background: var(--nav);
}
.bare,
.textbtn {
  background: transparent;
  color: var(--mute);
}
.bare {
  width: 2.45rem;
}
.bare:hover,
.textbtn:hover {
  background: var(--nav);
  color: var(--ink);
}
.textbtn {
  padding: 0.3rem 0.5rem;
}
.textbtn .icon {
  width: 1rem;
}
label {
  display: grid;
  gap: 0.38rem;
  font-weight: 560;
  font-size: 0.91rem;
}
input,
textarea,
select {
  border: 1px solid #bec6d1;
  border-radius: 0.48rem;
  padding: 0.64rem 0.76rem;
  background: #fff;
  width: 100%;
  min-height: 2.62rem;
  caret-color: var(--accent);
}
input::placeholder {
  color: #677286;
  font-weight: 400;
}
input[type='checkbox'] {
  accent-color: var(--accent);
  min-height: 1rem;
  width: 1.1rem;
  height: 1.1rem;
}
textarea {
  resize: vertical;
}
select {
  appearance: none;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 0.65rem center;
  padding-right: 2.15rem;
}
.login {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(22rem, 0.88fr) 1.12fr;
  background: #fff;
  padding: 1.1rem;
  gap: 1.1rem;
}
.login-side {
  display: flex;
  flex-direction: column;
  padding: 2rem clamp(1rem, 4vw, 4.5rem);
}
.login-side form {
  width: min(100%, 22rem);
  margin: auto;
  display: grid;
  gap: 1.14rem;
  padding: 3rem 0 6rem;
}
.login h1 {
  font-size: 2.35rem;
  margin-bottom: 0.75rem;
}
.login .primary {
  margin-top: 0.45rem;
}
.signal-visual {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  background: #252333;
}
.signal-visual canvas {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.shell {
  display: grid;
  grid-template-columns: 12.8rem minmax(0, 1fr);
  min-height: 100svh;
}
.sidebar {
  height: 100svh;
  position: sticky;
  top: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 1.85rem 0.92rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2.7rem;
}
.sidebar .brand {
  padding-left: 0.37rem;
}
.sidebar nav {
  display: grid;
  gap: 0.28rem;
}
.sidebar nav a {
  display: flex;
  align-items: center;
  gap: 0.78rem;
  min-height: 2.64rem;
  padding: 0.65rem 0.78rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: var(--mute);
  font-size: 0.94rem;
  font-weight: 550;
}
.sidebar nav a:hover {
  background: var(--bg);
  color: var(--ink);
}
.sidebar nav a[aria-current='page'] {
  color: #963118;
  background: var(--wash);
}
.account {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 0.9rem 0.25rem 0 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--mute);
  font-size: 0.88rem;
}
main {
  width: 100%;
  max-width: 109rem;
  margin: 0 auto;
  padding: 2.65rem clamp(1.3rem, 3.35vw, 3.9rem) 4rem;
  min-width: 0;
}
.page-head {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
}
.page-head > div,
.action-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.warning,
.error {
  padding: 0.7rem 0.85rem;
  background: #fff1df;
  color: #754308;
  border-radius: 0.48rem;
  font-size: 0.91rem;
}
.warning {
  margin-bottom: 1rem;
}
.error {
  background: #fff0ed;
  color: #8f2815;
}
.toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.72rem 1.1rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: white;
  z-index: 15;
  max-width: 90%;
}
.scoreboard,
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.82rem;
}
.scoreboard {
  padding: 1.4rem 1.45rem 1.05rem;
  margin-bottom: 1.3rem;
}
.scoretop {
  display: flex;
  align-items: baseline;
  gap: 0.68rem;
}
.scoretop strong {
  font-size: 2.65rem;
  letter-spacing: -0.04em;
  font-weight: 620;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.scoretop span {
  font-size: 1rem;
  color: var(--mute);
}
.distribution {
  width: 100%;
  height: 0.48rem;
  display: block;
  border-radius: 0.24rem;
  overflow: hidden;
  background: var(--nav);
  margin: 1.1rem 0 0.9rem;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.24rem;
}
.metric {
  display: grid;
  grid-template-columns: 0.52rem minmax(0, 1fr);
  align-content: start;
  align-items: center;
  gap: 0.16rem 0.43rem;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.34rem;
  min-width: 0;
  padding: 0.38rem 0.23rem;
  color: var(--mute);
}
.metric:hover,
.metric[aria-pressed='true'] {
  background: var(--bg);
  border-color: var(--line);
}
.metric strong {
  grid-column: 2;
  font-size: 1.16rem;
  font-weight: 640;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.metric .caption {
  font-size: 0.81rem;
  line-height: 1.24;
  font-weight: 540;
}
.dot {
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 100%;
  flex: 0 0 auto;
  background: var(--tone, #778292);
}
.qualified {
  --tone: #148364;
  --tint: #e4f4ed;
  --txt: #126448;
}
.hotmart-client {
  --tone: #dc5830;
  --tint: #fff0e7;
  --txt: #a23717;
}
.semi-qualified {
  --tone: #7860ad;
  --tint: #f1ecfa;
  --txt: #634490;
}
.potentially-qualified {
  --tone: #ae791e;
  --tint: #fff4d9;
  --txt: #79500a;
}
.not-qualified {
  --tone: #718097;
  --tint: #eef1f6;
  --txt: #45536a;
}
.crawl-error,
.state-failed,
.state-interrupted {
  --tone: #bb4645;
  --tint: #fbecec;
  --txt: #972e32;
}
.state-running,
.state-ready_to_queue {
  --tone: #3472bb;
  --tint: #eaf2fc;
  --txt: #335a87;
}
.state-succeeded,
.state-completed {
  --tone: #228569;
  --tint: #e3f4ed;
  --txt: #17624c;
}
.state-queued,
.state-review {
  --tone: #9b7629;
  --tint: #fcf3df;
  --txt: #70531a;
}
.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15.3rem, 0.42fr);
  gap: 1.25rem;
  align-items: start;
}
.panel {
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 1.22rem 1.22rem 0.9rem;
}
.panel-body,
.pad {
  padding: 1.15rem 1.22rem;
}
.toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0 1.22rem 0.95rem;
}
.search {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  min-width: 8rem;
  border: 1px solid #c8ced8;
  border-radius: 0.48rem;
  color: var(--mute);
  padding: 0 0.6rem;
  background: white;
}
.search input {
  border: 0;
  min-width: 0;
  padding: 0.48rem 0.12rem;
  min-height: 2.37rem;
  font-size: 0.91rem;
  outline: 0;
}
.search:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
.toolbar select {
  width: auto;
  max-width: 100%;
  font-size: 0.88rem;
  min-height: 2.4rem;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.table-wrap {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
th {
  font-size: 0.78rem;
  font-weight: 580;
  color: var(--mute);
  background: #f6f8fa;
  padding: 0.58rem 0.68rem;
  white-space: nowrap;
}
td {
  font-size: 0.91rem;
  border-top: 1px solid var(--line);
  padding: 0.79rem 0.68rem;
  vertical-align: middle;
}
th:first-child,
td:first-child {
  padding-left: 1.22rem;
}
th:last-child,
td:last-child {
  padding-right: 1.22rem;
}
tbody tr:hover {
  background: #f9fafc;
}
.rowlink {
  border: 0;
  background: transparent;
  padding: 0.15rem 0;
  text-align: left;
  font-weight: 590;
  overflow-wrap: anywhere;
  color: #263047;
}
.rowlink:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.17rem;
}
.row-sub {
  font-size: 0.78rem;
  color: var(--mute);
  overflow-wrap: anywhere;
}
.date {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  width: fit-content;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 580;
  line-height: 1.35;
  padding: 0.26rem 0.48rem;
  border-radius: 0.34rem;
  color: var(--txt, #4a586b);
  background: var(--tint, #eef1f4);
}
.pill .dot {
  width: 0.38rem;
  height: 0.38rem;
}
.paging {
  padding: 0.7rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}
.paging:empty {
  display: none;
}
.paging button {
  min-height: 2rem;
  font-size: 0.81rem;
}
.empty {
  padding: 1.5rem 1.22rem 1.8rem;
  color: var(--mute);
  font-size: 0.94rem;
}
.live {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  color: #266b57;
  font-size: 0.78rem;
  font-weight: 580;
  white-space: nowrap;
}
.live .dot {
  --tone: #278668;
}
.live.off {
  color: #876011;
}
.live.off .dot {
  --tone: #b18526;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 1.15rem 0.4rem;
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.18rem 0 0.96rem;
}
.timeline li:not(:last-child):before {
  content: '';
  position: absolute;
  top: 1.2rem;
  bottom: -0.15rem;
  left: 0.63rem;
  width: 1px;
  background: var(--line);
}
.pin {
  width: 1.3rem;
  height: 1.3rem;
  display: grid;
  place-items: center;
  color: #657388;
  background: #edf1f5;
  border-radius: 50%;
}
.pin .icon {
  width: 0.83rem;
  height: 0.83rem;
}
.pin.done {
  background: #e3f3ea;
  color: #1d785c;
}
.timeline strong {
  display: block;
  font-weight: 560;
  font-size: 0.88rem;
  line-height: 1.38;
}
.timeline .rowlink {
  font-size: 0.88rem;
  font-weight: 520;
  padding: 0;
}
.timeline time {
  display: block;
  font-size: 0.78rem;
  color: var(--mute);
  margin-top: 0.17rem;
}
.under {
  padding: 0.15rem 1.15rem 0.9rem;
}
.under a,
.inline-link {
  font-size: 0.88rem;
  color: var(--accent);
  font-weight: 590;
  text-decoration: none;
}
.under a:hover,
.inline-link:hover {
  text-decoration: underline;
}
.discovery {
  margin-top: 1.15rem;
}
.stage-list {
  padding: 0 1.15rem 1.13rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.stage-list a,
.stage-list span {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  font-size: 0.81rem;
  padding: 0.32rem 0.55rem;
  background: var(--bg);
  border-radius: 0.34rem;
  color: var(--mute);
  text-decoration: none;
}
.stage-list a:hover {
  background: var(--nav);
  color: var(--ink);
}
.stage-list strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.tabs {
  display: flex;
  gap: 0.18rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}
.tabs button {
  border-radius: 0;
  background: transparent;
  color: var(--mute);
  padding: 0.5rem 0.85rem;
  border-bottom: 2px solid transparent;
}
.tabs button[aria-pressed='true'] {
  border-color: var(--accent);
  color: #9f321a;
}
.tabs button:hover {
  background: #eceff4;
}
.run-status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.muted {
  color: var(--mute);
}
.small {
  font-size: 0.86rem;
}
.stack {
  display: grid;
  gap: 0.8rem;
}
.stack + .stack {
  margin-top: 1.2rem;
}
dialog {
  color: var(--ink);
  background: white;
  max-width: calc(100% - 1rem);
  border: 0;
  padding: 0;
}
dialog::backdrop {
  background: rgb(21 28 43 / 0.42);
}
.drawer {
  margin: 0 0 0 auto;
  width: min(34rem, 100%);
  height: 100dvh;
  max-height: 100dvh;
  border-left: 1px solid var(--line);
  overflow: auto;
}
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 1.2rem 1.35rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.drawer-top h2 {
  overflow-wrap: anywhere;
}
.drawer #detail-body {
  padding: 1.3rem;
}
.drawer section + section {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}
.drawer section > h3 {
  margin-bottom: 0.52rem;
}
.drawer p {
  overflow-wrap: anywhere;
}
.drawer .reason {
  font-size: 1.04rem;
  line-height: 1.6;
  margin: 0.65rem 0;
}
.modal {
  width: 26.8rem;
  border-radius: 0.82rem;
}
.modal form {
  display: grid;
  gap: 1.02rem;
  padding: 1.35rem;
}
.modal form .primary {
  justify-self: end;
}
.facts {
  display: grid;
  grid-template-columns: minmax(6rem, 0.8fr) minmax(0, 1.4fr);
  gap: 0.46rem 0.75rem;
  margin: 0.6rem 0;
  font-size: 0.91rem;
}
.facts dt {
  color: var(--mute);
}
.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.evidence-link {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  overflow-wrap: anywhere;
  color: #8f371e;
  font-size: 0.91rem;
  margin: 0.45rem 0;
}
.evidence-link .icon {
  width: 0.95rem;
  margin-top: 0.1rem;
}
.note-item {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
}
.note-item:last-child {
  border: 0;
}
.criteria-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 0.34fr) minmax(0, 1fr);
  align-items: start;
  gap: 1.15rem;
}
.criteria-nav {
  padding: 1.05rem 1.08rem;
  position: sticky;
  top: 1rem;
}
.criteria-nav nav {
  display: grid;
  gap: 0.36rem;
  margin-top: 0.9rem;
}
.criteria-nav a {
  color: var(--mute);
  font-size: 0.86rem;
  text-decoration: none;
  padding: 0.19rem 0;
}
.criteria-nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.criteria-main {
  padding: 1.3rem clamp(1rem, 2.4vw, 2.4rem) 2rem;
}
.criteria-main > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.criteria-main .facts {
  margin-bottom: 1.4rem;
}
.rule-text {
  max-width: 78ch;
  color: #323b4a;
  line-height: 1.61;
  overflow-wrap: anywhere;
}
.rule-text h2,
.rule-text h3,
.rule-text h4 {
  color: var(--ink);
  margin: 1.35rem 0 0.55rem;
  scroll-margin-top: 1rem;
}
.rule-text h2 {
  font-size: 1.14rem;
}
.rule-text p,
.rule-text ul,
.rule-text ol {
  margin: 0.62rem 0;
}
.rule-text ul,
.rule-text ol {
  padding-left: 1.45rem;
}
.rule-text li {
  margin: 0.26rem 0;
}
.rule-text code {
  font-size: 0.86em;
  background: var(--bg);
  padding: 0.07rem 0.17rem;
  border-radius: 0.2rem;
}
.rule-text a {
  color: var(--accent);
}
.edit-form {
  display: grid;
  gap: 1rem;
}
.edit-form textarea {
  min-height: 22rem;
  font:
    0.92rem/1.55 ui-monospace,
    monospace;
}
.edit-form .check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.edit-form .numeric {
  max-width: 15rem;
}
.prefilter {
  border-block: 1px solid var(--line);
  padding-block: 0.8rem;
}
.prefilter summary {
  cursor: pointer;
  font-weight: 650;
}
.prefilter label, .prefilter dt {
  margin-top: 1rem;
}
.prefilter dt {
  font-weight: 600;
}
.prefilter dd {
  margin: 0.25rem 0 0;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.prefilter textarea {
  min-height: 4rem;
  font: inherit;
  line-height: 1.45;
}
.loading {
  min-height: 8rem;
  padding: 1.3rem;
  color: var(--mute);
}
.login-boot {
  display: grid;
  min-height: 100svh;
  place-items: center;
}
@media (min-width: 1580px) {
  .shell {
    grid-template-columns: 14.2rem minmax(0, 1fr);
  }
}
@media (max-width: 1140px) {
  .shell {
    grid-template-columns: 11.7rem minmax(0, 1fr);
  }
  .columns {
    grid-template-columns: minmax(0, 1fr) minmax(13.5rem, 0.43fr);
  }
  main {
    padding: 2rem 1.35rem 3rem;
  }
  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .metric {
    display: flex;
    gap: 0.4rem;
  }
  .metric strong {
    margin-left: auto;
  }
  .scoreboard {
    padding: 1.15rem;
  }
  .sidebar {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
  .brand {
    font-size: 1.12rem;
  }
  .result-table .origin-col {
    display: none;
  }
}
@media (max-width: 860px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.7rem 1rem;
    padding: 0.8rem 1.2rem 0;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar nav {
    grid-column: 1/-1;
    grid-row: 2;
    display: flex;
    gap: 0.22rem;
  }
  .sidebar nav a {
    border-radius: 0.5rem 0.5rem 0 0;
    min-height: 2.35rem;
    padding: 0.48rem 0.7rem;
  }
  .sidebar .brand {
    padding: 0;
  }
  .account {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    border: 0;
    padding: 0;
    gap: 0.35rem;
  }
  .columns {
    grid-template-columns: minmax(0, 1fr) minmax(13.2rem, 0.45fr);
  }
  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .criteria-nav {
    position: static;
  }
}
@media (max-width: 680px) {
  main {
    padding: 1.5rem 0.9rem 2.5rem;
  }
  .page-head {
    margin-bottom: 1.1rem;
    gap: 0.35rem;
  }
  h1 {
    font-size: 1.95rem;
  }
  .page-head .primary,
  .page-head .secondary {
    padding: 0.55rem 0.7rem;
  }
  .columns,
  .criteria-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .scoreboard {
    padding: 0.95rem;
    margin-bottom: 0.85rem;
  }
  .scoretop strong {
    font-size: 2.12rem;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.65rem;
  }
  .metric .caption {
    font-size: 0.78rem;
  }
  .metric strong {
    font-size: 1rem;
  }
  .distribution {
    margin: 0.8rem 0 0.5rem;
  }
  .criteria-nav nav {
    display: none;
  }
  .panel-head {
    padding: 1rem 0.9rem 0.75rem;
  }
  .toolbar {
    padding: 0 0.87rem 0.8rem;
  }
  .result-table .date-col {
    display: none;
  }
  th:first-child,
  td:first-child {
    padding-left: 0.86rem;
  }
  th:last-child,
  td:last-child {
    padding-right: 0.86rem;
  }
  .toolbar select {
    max-width: 49%;
  }
  .login {
    display: block;
    padding: 0;
  }
  .login-side {
    min-height: 100svh;
    padding: 1.3rem 1.5rem;
  }
  .signal-visual {
    display: none;
  }
  .login-side form {
    padding-bottom: 4rem;
  }
  .drawer {
    max-width: 100%;
  }
  .tabs button {
    padding: 0.5rem 0.62rem;
  }
  .activity-table .secondary-col {
    display: none;
  }
  .criteria-main {
    padding: 1rem;
  }
  .modal form .primary {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.mobile-work {
  display: none;
}
.work-status {
  margin: 0 1.15rem 0.9rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.81rem;
}
.leadlink {
  display: flex;
  min-height: 2.45rem;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.1rem;
}
.leadlink .row-name {
  text-decoration: underline;
  text-decoration-color: #aeb8c9;
  text-underline-offset: 0.19em;
}
.leadlink:hover .row-name {
  text-decoration-color: var(--accent);
}
.leadlink .row-sub {
  font-weight: 400;
}
.leadlink:hover {
  text-decoration: none;
}
.criteria-nav select {
  width: 100%;
  min-width: 0;
  font-size: 0.86rem;
}
.rule-text pre {
  max-width: 100%;
  overflow: auto;
}
@media (max-width: 680px) {
  .mobile-work {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    padding: 0.68rem 0.82rem;
    border: 1px solid var(--line);
    border-radius: 0.5rem;
    background: var(--paper);
    margin-bottom: 0.85rem;
    text-decoration: none;
    color: var(--mute);
  }
  .mobile-work > span {
    flex: 1;
    min-width: 0;
  }
  .mobile-work strong,
  .mobile-work small {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .mobile-work strong {
    font-size: 0.86rem;
    color: var(--ink);
  }
  .mobile-work small {
    font-size: 0.81rem;
  }
  .mobile-work .icon {
    width: 1rem;
  }
}
