:root {
  --paper: #f5f4ef;
  --paper-2: #e7e5de;
  --surface: #ffffff;
  --surface-2: #faf9f5;
  --surface-3: #f1efe9;
  --ink: #1a201b;
  --ink-2: #3f4640;
  --muted: #5c625c;
  --muted-2: #6d716c;
  --line: #d9dad3;
  --line-2: #ecece7;
  --line-3: #bbbeb5;
  --forest: #0f2118;
  --forest-2: #0a1710;
  --forest-3: #16301f;
  --forest-line: rgba(233, 238, 226, 0.12);
  --on-forest: #eef0e6;
  --on-forest-2: #a9b3a6;
  --rail: #0b130d;
  --rail-2: #16201a;
  --rail-3: #202c24;
  --rail-text: #a3aaa3;
  --rail-text-hi: #f1f2ea;
  --rail-line: rgba(241, 242, 234, 0.1);
  --accent: #1c6749;
  --accent-deep: #12503a;
  --accent-bright: #24795a;
  --accent-soft: #e6f4ec;
  --accent-line: #c7ded1;
  --signal: var(--accent);
  --signal-deep: var(--accent-deep);
  --signal-soft: var(--accent-soft);
  --signal-line: var(--accent-line);
  --brass: #b9a176;
  --brass-deep: #7e5f2c;
  --brass-soft: #f6f1e3;
  --brass-line: rgba(185, 161, 118, 0.38);
  --ok: #1c6749;
  --ok-soft: #e6f4ec;
  --ok-line: #c7ded1;
  --warn: #926629;
  --warn-soft: #fbf2e1;
  --warn-line: #ebdcbc;
  --danger: #8f3c30;
  --danger-soft: #faeeea;
  --danger-line: #e9cfc8;
  --info: #38526d;
  --info-soft: #edf1f6;
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --sh-1: 0 1px 2px rgba(16, 30, 22, 0.05);
  --sh-2: 0 10px 26px -12px rgba(16, 30, 22, 0.22), 0 1px 2px rgba(16, 30, 22, 0.05);
  --sh-3: 0 32px 80px -28px rgba(8, 20, 14, 0.38), 0 2px 6px rgba(8, 20, 14, 0.06);
  --sh-forest: 0 30px 70px -34px rgba(8, 20, 14, 0.65);
  --font-ui:
    'IBM Plex Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-serif:
    'Instrument Serif', 'Songti SC', 'Noto Serif CJK SC', 'Source Han Serif SC', Georgia, serif;
  --t-micro: 10.5px;
  --t-xs: 11.5px;
  --t-sm: 12.5px;
  --t-base: 13.5px;
  --t-md: 15px;
  --t-lg: 18px;
  --t-xl: 22px;
  --t-2xl: 28px;
  --t-3xl: 36px;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --rail-w: 232px;
  --top-h: 56px;
  --page-max: 1400px;
  --gut: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s;
  --t-base: 0.26s;
  --t-slow: 0.62s;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-base)/1.55 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
body:before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(72rem 44rem at 88% -18%, rgba(28, 103, 73, 0.13), transparent 64%),
    radial-gradient(52rem 38rem at -12% 92%, rgba(185, 161, 118, 0.13), transparent 60%),
    radial-gradient(40rem 30rem at 40% 40%, rgba(245, 244, 239, 0.6), transparent 70%),
    linear-gradient(to right, rgba(26, 32, 27, 0.03) 1px, transparent 1px) 0 0 / 88px 100%,
    linear-gradient(to bottom, rgba(26, 32, 27, 0.03) 1px, transparent 1px) 0 0 / 100% 88px;
}
.grain:after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}
svg {
  display: block;
}
img {
  max-width: 100%;
}
::selection {
  background: var(--signal);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--line-3) transparent;
}
*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
*::-webkit-scrollbar-thumb {
  background: var(--line-3);
  border: 3px solid transparent;
  background-clip: content-box;
  border-radius: 8px;
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--muted-2);
  background-clip: content-box;
}
.app {
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  min-height: 100vh;
  position: relative;
  z-index: 2;
}
.main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.rail {
  background:
    radial-gradient(30rem 20rem at 20% -10%, rgba(28, 103, 73, 0.18), transparent 70%),
    linear-gradient(180deg, #0d1710, #0b130d 46%, #080f0a);
  color: var(--rail-text);
  border-right: 1px solid rgba(185, 161, 118, 0.16);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 0 10px 12px;
  overflow: hidden;
}
.rail:before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 240px;
  pointer-events: none;
  background: radial-gradient(22rem 13rem at 14% -18%, rgba(36, 121, 90, 0.3), transparent 72%);
}
.rail-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 8px;
  position: relative;
}
.rail-mark {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: linear-gradient(160deg, #eef0e61a, #eef0e605);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 0 0 1px #b9a1766b,
    0 6px 14px -8px #000c;
  color: var(--brass);
}
.rail-name {
  line-height: 1.05;
}
.rail-name b {
  display: block;
  color: var(--rail-text-hi);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
}
.rail-name span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #7e8b7e;
}
.rail-sec {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: #7c8a7d;
  text-transform: uppercase;
  padding: 14px 10px 7px;
}
.rail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 9px;
  border-radius: var(--r-sm);
  color: var(--rail-text);
  font-size: var(--t-base);
  position: relative;
  transition:
    color var(--t-fast),
    background var(--t-fast);
}
.rail-item svg {
  opacity: 0.72;
  transition: opacity var(--t-fast);
}
.rail-item:hover {
  background: var(--rail-2);
  color: var(--rail-text-hi);
}
.rail-item:hover svg {
  opacity: 1;
}
.rail-item.on {
  background: linear-gradient(90deg, #1c674957, #1c67491f);
  color: var(--rail-text-hi);
  box-shadow: inset 0 0 0 1px #78be9b24;
}
.rail-item.on svg {
  opacity: 1;
  color: #dcefe2;
}
.rail-item.on:before {
  content: '';
  position: absolute;
  left: -10px;
  top: 9px;
  bottom: 9px;
  width: 2px;
  background: var(--brass);
  border-radius: 0 2px 2px 0;
}
.rail-item .cnt {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #86937f;
  letter-spacing: 0;
}
.rail-item.on .cnt {
  color: var(--rail-text-hi);
}
.engine {
  margin: auto 4px 0;
  padding: 11px 12px 12px;
  border: 1px solid var(--rail-line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, #f4f1e70d, #f4f1e704);
  position: relative;
}
.engine-h {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #84907f;
  text-transform: uppercase;
}
.engine-h .live {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5cc493;
  margin-left: auto;
  box-shadow: 0 0 #4fbf8f99;
  animation: pulse 2.4s var(--ease-in-out) infinite;
}
.engine-v {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 6px;
  color: var(--rail-text-hi);
  font-family: var(--font-mono);
  font-size: 19px;
  letter-spacing: -0.02em;
}
.engine-v small {
  font-size: 10px;
  color: #84907f;
  letter-spacing: 0.04em;
}
.engine-track {
  display: flex;
  gap: 2px;
  margin-top: 8px;
}
.engine-track i {
  height: 14px;
  flex: 1;
  background: #f4f1e71a;
  border-radius: 1px;
}
.engine-track i.on {
  background: var(--accent-bright);
}
.engine-track i.half {
  background: #24795a73;
}
.engine-f {
  margin-top: 7px;
  font-size: 10.5px;
  color: #7b8674;
  line-height: 1.5;
}
.rail-foot {
  padding-top: 10px;
  border-top: 1px solid var(--rail-line);
  margin-top: 10px;
}
.rail-user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px;
  border-radius: var(--r-sm);
}
.rail-user:hover {
  background: var(--rail-2);
}
.rail-user .who {
  min-width: 0;
}
.rail-user b {
  display: block;
  color: var(--rail-text-hi);
  font-size: 12.5px;
  font-weight: 500;
}
.rail-user span {
  display: block;
  font-size: 10.5px;
  color: #7b8674;
  margin-top: 1px;
  white-space: nowrap;
}
.rail-user .more {
  margin-left: auto;
  color: #6c7a6d;
}
.top {
  height: var(--top-h);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 var(--gut);
  border-bottom: 1px solid var(--line);
  background: #f5f4efd1;
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  position: sticky;
  top: 0;
  z-index: 30;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--t-sm);
  color: var(--muted);
}
.crumb b {
  color: var(--ink);
  font-weight: 500;
}
.crumb .sep {
  color: var(--line-3);
}
.crumb a:hover {
  color: var(--ink);
}
.grow {
  flex: 1;
}
.top-date {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  padding-left: 12px;
  border-left: 1px solid var(--line);
  white-space: nowrap;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 8px 0 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--muted-2);
  width: 260px;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast);
}
.search:hover {
  border-color: var(--line-3);
}
.search:focus-within {
  border-color: var(--ink-2);
  box-shadow: 0 0 0 3px #101e1612;
}
.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: none;
  font-size: var(--t-sm);
  color: var(--ink);
}
.search input::placeholder {
  color: var(--muted-2);
}
.search kbd {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted-2);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  padding: 1px 4px;
  background: var(--surface-2);
}
.notif {
  position: relative;
}
.icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  border: 1px solid transparent;
  transition:
    background var(--t-fast),
    border-color var(--t-fast);
  position: relative;
}
.icon-btn:hover,
.icon-btn[aria-expanded='true'] {
  background: var(--surface);
  border-color: var(--line);
}
.icon-btn .dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 2px var(--paper);
}
.notif-panel {
  position: absolute;
  right: 0;
  top: 40px;
  width: 340px;
  z-index: 80;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  overflow: hidden;
  animation: pop var(--t-base) var(--ease);
}
.notif-h {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
}
.notif-h b {
  font-size: var(--t-base);
  font-weight: 600;
}
.notif-h span {
  font-size: var(--t-xs);
  color: var(--muted);
}
.notif-h .link {
  margin-left: auto;
  font-size: var(--t-xs);
  color: var(--signal);
}
.notif-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-2);
  transition: background var(--t-fast);
}
.notif-row:hover {
  background: var(--surface-2);
}
.notif-row .nd {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
  margin-top: 7px;
  flex: 0 0 auto;
}
.notif-row.read .nd {
  background: var(--line-3);
}
.notif-row .nt {
  flex: 1;
  min-width: 0;
}
.notif-row .nt b {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}
.notif-row .nt i {
  display: block;
  font-style: normal;
  font-size: var(--t-xs);
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.5;
}
.notif-row .nw {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted-2);
  white-space: nowrap;
  padding-top: 1px;
}
.notif-f {
  padding: 9px 14px;
  font-size: var(--t-xs);
  color: var(--muted-2);
  background: var(--surface-2);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.page {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 22px var(--gut) 90px;
}
.page-head {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 20px;
}
.page-head .eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 7px;
}
.eyebrow .tick {
  width: 14px;
  height: 1px;
  background: var(--signal);
  display: block;
}
.page-head h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: var(--t-2xl);
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.page-head h1 em {
  font-style: normal;
  color: var(--signal);
}
.page-head .sub {
  font-size: var(--t-sm);
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}
.page-head .sub b {
  color: var(--ink-2);
  font-weight: 500;
}
.page-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--t-sm);
  white-space: nowrap;
  box-shadow: var(--sh-1);
  transition:
    background var(--t-fast),
    border-color var(--t-fast),
    transform var(--t-fast),
    box-shadow var(--t-fast);
}
.btn:hover {
  background: var(--surface-2);
  border-color: var(--line-3);
}
.btn:active {
  transform: translateY(0.5px);
}
.btn svg {
  opacity: 0.8;
}
.btn.primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #fcfaf4;
  box-shadow: 0 1px 2px #101e1638;
}
.btn.primary:hover {
  background: #0b130d;
  border-color: #0b130d;
}
.btn.signal {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
  box-shadow: 0 1px 2px #0a3c2a47;
}
.btn.signal:hover {
  background: var(--signal-deep);
  border-color: var(--signal-deep);
}
.btn.ghost {
  background: none;
  border-color: transparent;
  box-shadow: none;
  color: var(--ink-2);
}
.btn.ghost:hover {
  background: var(--surface-3);
  border-color: transparent;
}
.btn.danger {
  color: var(--danger);
  border-color: var(--danger-line);
  background: var(--surface);
}
.btn.danger:hover {
  background: var(--danger-soft);
}
.btn.sm {
  height: 26px;
  padding: 0 9px;
  font-size: var(--t-xs);
  border-radius: var(--r-xs);
}
.btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}
.btn:disabled:hover {
  background: var(--surface);
  border-color: var(--line);
}
.btn.primary:disabled:hover {
  background: var(--ink);
}
.linkish {
  color: var(--signal);
  font-size: var(--t-xs);
}
.linkish:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.seg {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
}
.seg button {
  height: 26px;
  padding: 0 10px;
  border-radius: var(--r-xs);
  font-size: var(--t-sm);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    background var(--t-fast),
    color var(--t-fast);
}
.seg button:hover {
  color: var(--ink);
  background: #ffffffb3;
}
.seg button.on {
  background: var(--surface);
  color: var(--ink);
  box-shadow:
    var(--sh-1),
    inset 0 0 0 1px var(--line);
  font-weight: 500;
}
.seg button .n {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-2);
}
.seg button.on .n {
  color: var(--signal);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: var(--t-xs);
  color: var(--ink-2);
  transition:
    border-color var(--t-fast),
    background var(--t-fast);
}
.chip:hover {
  border-color: var(--line-3);
}
.chip.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fcfaf4;
}
.chip.on:hover {
  background: #0b130d;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--surface-2);
  white-space: nowrap;
}
.tag.sig {
  color: var(--signal);
  border-color: var(--signal-line);
  background: var(--signal-soft);
}
.tag.ok {
  color: var(--ok);
  border-color: var(--ok-line);
  background: var(--ok-soft);
}
.tag.warn {
  color: var(--warn);
  border-color: var(--warn-line);
  background: var(--warn-soft);
}
.tag.danger {
  color: var(--danger);
  border-color: var(--danger-line);
  background: var(--danger-soft);
}
.tier {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-xs);
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-2);
}
.tier:before {
  content: '';
  width: 3px;
  height: 12px;
  border-radius: 1px;
  background: var(--line-3);
}
.tier.strong {
  color: var(--signal);
}
.tier.strong:before {
  background: var(--signal);
}
.tier.good:before {
  background: var(--ink);
}
.tier.hold {
  color: var(--warn);
}
.tier.hold:before {
  background: var(--warn);
}
.tier.no {
  color: var(--muted-2);
}
.tier.no:before {
  background: var(--line-3);
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  position: relative;
}
.panel-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-2);
}
.panel-h h2,
.panel-h h3 {
  font-size: var(--t-base);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.panel-h .hint {
  font-size: var(--t-xs);
  color: var(--muted-2);
}
.panel-h .more {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: var(--t-xs);
  color: var(--muted);
}
.panel-h .more:hover {
  color: var(--signal);
}
.panel-b {
  padding: 16px;
}
.panel.marked:before,
.panel.marked:after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border: 1px solid var(--line-3);
  pointer-events: none;
}
.panel.marked:before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 3px;
}
.panel.marked:after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 3px;
}
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.table thead th {
  text-align: left;
  font-weight: 400;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 0 10px 8px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table tbody td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.table tbody tr {
  transition: background var(--t-fast);
}
.table tbody tr.clickable {
  cursor: pointer;
}
.table tbody tr.clickable:hover {
  background: var(--surface-2);
}
.table tbody tr:last-child td {
  border-bottom: 0;
}
.table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.table .strong-cell {
  color: var(--ink);
  font-weight: 500;
}
.table tbody tr.sel {
  background: var(--signal-soft);
}
.table tbody tr.sel:hover {
  background: #f9e6dd;
}
.table-wrap {
  padding: 0 16px 4px;
}
.cb {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  border: 1px solid var(--line-3);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition:
    background var(--t-fast),
    border-color var(--t-fast),
    color var(--t-fast);
}
.cb:hover {
  border-color: var(--ink-2);
}
.cb.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.kpi {
  padding: 15px 18px 13px;
  position: relative;
  min-width: 0;
  border-right: 1px solid var(--line-2);
  transition: background var(--t-fast);
  text-align: left;
  width: 100%;
  display: block;
}
.kpi:last-child {
  border-right: 0;
}
.kpi:hover {
  background: var(--surface-2);
}
.kpi .lab {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-xs);
  color: var(--muted);
}
.kpi .val {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--ink);
}
.kpi .val small {
  font-size: 11px;
  letter-spacing: 0;
  color: var(--muted-2);
  font-weight: 400;
  margin-left: 2px;
}
.kpi .foot {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: var(--t-xs);
  color: var(--muted);
}
.kpi .foot .up {
  color: var(--ok);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.kpi .foot .down {
  color: var(--signal);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.kpi .spark {
  position: absolute;
  right: 14px;
  bottom: 12px;
  opacity: 0.9;
}
.meter {
  position: relative;
  height: 4px;
  border-radius: 2px;
  background: var(--surface-3);
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--ink);
  transition: width var(--t-slow) var(--ease);
}
.meter i.sig {
  background: var(--signal);
}
.meter i.soft {
  background: var(--line-3);
}
.meter.lg {
  height: 6px;
}
.prog {
  display: flex;
  align-items: center;
  gap: 8px;
}
.prog .track {
  flex: 1;
  height: 3px;
  background: var(--surface-3);
  border-radius: 2px;
  overflow: hidden;
  min-width: 40px;
}
.prog .track i {
  display: block;
  height: 100%;
  background: var(--ink);
  border-radius: 2px;
}
.prog b {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
}
.sw {
  width: 34px;
  height: 19px;
  border-radius: 999px;
  background: var(--line-3);
  position: relative;
  flex: 0 0 auto;
  transition: background var(--t-fast);
}
.sw i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px #101e1647;
  transition: transform var(--t-fast) var(--ease);
}
.sw.on {
  background: var(--ink);
}
.sw.on i {
  transform: translate(15px);
}
.avatar-photo {
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
  background: var(--surface-3);
  flex: 0 0 auto;
}
.avatar-photo.xs {
  width: 20px;
  height: 20px;
}
.avatar-photo.sm {
  width: 24px;
  height: 24px;
}
.avatar-photo.md {
  width: 32px;
  height: 32px;
}
.avatar-photo.lg {
  width: 44px;
  height: 44px;
}
.avatar-photo.xl {
  width: 62px;
  height: 62px;
}
.avatar-photo {
  box-shadow: inset 0 0 0 1px #101e1614;
}
.clogo {
  width: 13px;
  height: 13px;
  border-radius: 2px;
  object-fit: contain;
  vertical-align: -2px;
  margin-right: 4px;
  background: #fff;
}
.clogo.lg {
  width: 18px;
  height: 18px;
}
.field {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  height: 28px;
  padding: 0 24px 0 9px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--surface);
  color: var(--ink-2);
  font-size: var(--t-xs);
  cursor: pointer;
  transition: border-color var(--t-fast);
}
.field select:hover {
  border-color: var(--line-3);
}
.field:after {
  content: '';
  position: absolute;
  right: 9px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--muted-2);
  border-bottom: 1px solid var(--muted-2);
  transform: rotate(45deg);
  pointer-events: none;
}
.field.on select {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--surface);
}
input[type='text'],
textarea {
  font-family: var(--font-ui);
}
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 18px;
  background: none;
  outline: none;
  cursor: pointer;
}
input[type='range']::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(
    to right,
    var(--accent) var(--p, 50%),
    var(--surface-3) var(--p, 50%)
  );
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--accent);
  margin-top: -5px;
  box-shadow: 0 1px 3px #101e164d;
  transition: transform var(--t-fast);
}
input[type='range']:hover::-webkit-slider-thumb {
  transform: scale(1.1);
}
input[type='range']:active::-webkit-slider-thumb {
  transform: scale(0.96);
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #08140e61;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fade var(--t-base) var(--ease);
}
.modal {
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  width: 560px;
  max-width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: pop var(--t-base) var(--ease);
  border: 1px solid var(--line);
}
.modal-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line-2);
}
.modal-h h3 {
  font-size: var(--t-base);
  font-weight: 600;
}
.modal-b {
  padding: 18px;
  overflow: auto;
}
.modal-f {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  padding: 13px 18px;
  border-top: 1px solid var(--line-2);
  background: var(--surface-2);
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 440px;
  max-width: 92vw;
  background: var(--surface);
  border-left: 1px solid var(--line);
  z-index: 95;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px -30px #101e1666;
  animation: slide-in var(--t-base) var(--ease);
}
.drawer-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-2);
}
.drawer-b {
  padding: 18px;
  overflow: auto;
  flex: 1;
}
.drawer-f {
  padding: 12px 18px;
  border-top: 1px solid var(--line-2);
  display: flex;
  gap: 8px;
  background: var(--surface-2);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--rail);
  color: var(--rail-text-hi);
  padding: 10px 12px 10px 14px;
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  box-shadow: var(--sh-3);
  opacity: 0;
  pointer-events: none;
  z-index: 200;
  transition:
    opacity var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
  max-width: min(560px, 90vw);
  border: 1px solid rgba(244, 241, 231, 0.1);
}
.toast.on {
  opacity: 1;
  transform: translate(-50%);
  pointer-events: auto;
}
.toast-act {
  margin-left: 6px;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: var(--t-xs);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: background var(--t-fast);
}
.toast-act:hover {
  background: #ffffff1f;
}
.empty {
  padding: 44px 20px;
  text-align: center;
}
.empty .glyph {
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-2);
  background: var(--surface-2);
}
.empty b {
  display: block;
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--ink);
}
.empty p {
  font-size: var(--t-sm);
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.6;
}
.mono {
  font-family: var(--font-mono);
  letter-spacing: 0;
}
.eyebrow-2 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.num {
  font-variant-numeric: tabular-nums;
}
.tnum {
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}
.hr {
  height: 1px;
  background: var(--line-2);
  border: 0;
  margin: 0;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: var(--t-xs);
}
.quote {
  font-family: var(--font-serif);
  font-size: var(--t-lg);
  line-height: 1.5;
  color: var(--ink);
}
@keyframes fade {
  0% {
    opacity: 0;
  }
}
@keyframes pop {
  0% {
    opacity: 0;
    transform: translateY(-6px) scale(0.99);
  }
}
@keyframes slide-in {
  0% {
    transform: translate(16px);
    opacity: 0;
  }
}
@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes pulse {
  0%,
  to {
    box-shadow: 0 0 #4fbf8f80;
  }
  50% {
    box-shadow: 0 0 0 4px #4fbf8f00;
  }
}
@keyframes needle {
  0% {
    transform: scaleX(0);
  }
}
.rv {
  animation: rise var(--t-slow) var(--ease) both;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
}
@media (max-width: 1180px) {
  :root {
    --rail-w: 68px;
    --gut: 20px;
  }
  .kpi .spark {
    display: none;
  }
  .kpi .foot {
    padding-right: 0;
  }
  .rail-name,
  .rail-sec,
  .rail-item span,
  .rail-item .cnt,
  .engine,
  .rail-user .who,
  .rail-user .more {
    display: none;
  }
  .rail-brand {
    justify-content: center;
    padding: 16px 0 12px;
  }
  .rail-item {
    justify-content: center;
    padding: 0;
    height: 38px;
  }
  .rail-item.on:before {
    left: -10px;
  }
  .rail-item svg {
    width: 18px;
    height: 18px;
  }
  .rail-foot .rail-user {
    justify-content: center;
  }
  .search {
    width: 190px;
  }
}
@media (max-width: 900px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
  }
  .rail {
    display: none;
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .kpi:nth-child(2) {
    border-right: 0;
  }
  .kpi:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-2);
  }
  .page {
    padding: 16px 16px 80px;
  }
  .page-head {
    flex-wrap: wrap;
  }
  .page-actions {
    margin-left: 0;
    width: 100%;
  }
  .search {
    width: 150px;
  }
}
.cmdk-scrim {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #08140e57;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  animation: fade var(--t-fast) var(--ease);
  padding: 12vh 20px 20px;
}
.cmdk {
  width: 560px;
  max-width: 100%;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  overflow: hidden;
  animation: pop var(--t-base) var(--ease);
}
.cmdk-in {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted-2);
}
.cmdk-in input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  font-size: var(--t-md);
  color: var(--ink);
}
.cmdk-in input::placeholder {
  color: var(--muted-2);
}
.cmdk-in kbd,
.cmdk-f kbd {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  padding: 1px 4px;
  background: var(--surface-2);
}
.cmdk-list {
  max-height: 336px;
  overflow: auto;
  padding: 5px;
}
.cmdk-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 8px 9px;
  border-radius: var(--r-sm);
}
.cmdk-row.on {
  background: var(--surface-3);
}
.cmdk-ico {
  width: 22px;
  height: 22px;
  border-radius: var(--r-xs);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
}
.cmdk-row.on .cmdk-ico {
  color: var(--signal);
  border-color: var(--signal-line);
  background: var(--signal-soft);
}
.cmdk-t {
  flex: 1;
  min-width: 0;
}
.cmdk-t b {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
}
.cmdk-t em {
  display: block;
  font-style: normal;
  font-size: var(--t-micro);
  color: var(--muted);
  margin-top: 1px;
}
.cmdk-k {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.cmdk-empty {
  padding: 26px 14px;
  text-align: center;
  font-size: var(--t-sm);
  color: var(--muted);
}
.cmdk-f {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  border-top: 1px solid var(--line-2);
  background: var(--surface-2);
  font-size: var(--t-micro);
  color: var(--muted-2);
}
.cmdk-f kbd {
  margin-right: 3px;
}
@media (max-width: 860px) {
  .top {
    gap: 8px;
    padding: 0 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .top::-webkit-scrollbar {
    display: none;
  }
  .top > * {
    flex: 0 0 auto;
  }
  .crumb {
    white-space: nowrap;
  }
  .top-date {
    display: none;
  }
  .search {
    width: 180px;
  }
  .ib-sync {
    display: none;
  }
  .page {
    padding-left: 14px;
    padding-right: 14px;
  }
}
.embed .top-date {
  display: none;
}
.embed .page {
  padding-bottom: 26px;
}
@media (max-height: 840px) {
  .embed .hero-r {
    display: none;
  }
  .embed .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .embed .hero-l {
    padding: 18px 24px 16px;
  }
  .embed .hero-line {
    font-size: 21px;
    line-height: 1.58;
  }
}
@media (max-height: 700px) {
  .embed .hero-l {
    padding: 14px 20px 13px;
  }
  .embed .hero-line {
    font-size: 18px;
    margin-top: 7px;
    line-height: 1.5;
  }
  .embed .hero-meta {
    margin-top: 9px;
  }
  .embed .hero-dist {
    display: none;
  }
  .embed .kpis {
    margin-top: 12px;
  }
  .embed .page-head {
    margin-bottom: 4px;
  }
}
.rail-site {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  margin: 2px 0 6px;
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  color: #86937f;
  transition:
    color var(--t-fast),
    background var(--t-fast);
}
.rail-site span {
  margin-left: auto;
  color: var(--brass);
}
.rail-site:hover {
  color: var(--rail-text-hi);
  background: var(--rail-2);
}
.embed .rail-site {
  display: none;
}
@media (max-width: 1180px) {
  .rail-site {
    display: none;
  }
}
.site-boot {
  min-height: 100vh;
  background: #08130e;
}
.sync {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.sync i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px var(--ok-soft);
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 348px;
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 16px;
  color: var(--on-forest);
  background:
    radial-gradient(30rem 20rem at 6% -20%, rgba(36, 121, 90, 0.5), transparent 62%),
    linear-gradient(135deg, #132a1e, #0f2118 48%, #0a1710);
  border: 1px solid rgba(185, 161, 118, 0.2);
  box-shadow: var(--sh-forest);
}
.hero:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  z-index: 3;
  background: linear-gradient(
    90deg,
    rgba(185, 161, 118, 0.6),
    rgba(185, 161, 118, 0.08) 46%,
    transparent 72%
  );
}
.hero-l {
  padding: 24px 30px 20px;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8fa79a;
}
.hero-eyebrow .bdot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 3px #b9a1762e;
}
.hero-eyebrow .bsep {
  width: 16px;
  height: 1px;
  background: #eef0e638;
  display: block;
}
.hero-ver {
  margin-left: 2px;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(185, 161, 118, 0.42);
  color: var(--brass);
  letter-spacing: 0.12em;
  font-size: 9px;
}
.hero-line {
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1.62;
  color: #f2f4eb;
  letter-spacing: 0.015em;
  max-width: 34em;
  margin-top: 12px;
}
.hero-line b {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78em;
  letter-spacing: -0.02em;
  color: #f2f4eb;
  background: #eef0e617;
  border: 1px solid rgba(238, 240, 230, 0.1);
  border-radius: 3px;
  padding: 1px 6px;
  margin: 0 1px;
}
.hero-line em {
  font-style: normal;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.9em;
  letter-spacing: -0.02em;
  color: var(--brass);
  border-bottom: 1.5px solid rgba(185, 161, 118, 0.55);
  padding-bottom: 2px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  font-size: var(--t-xs);
  color: var(--on-forest-2);
}
.hero-meta > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.hero-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--brass);
  font-size: var(--t-xs);
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(185, 161, 118, 0.35);
}
.hero-cta:hover {
  border-color: var(--brass);
  color: #d8c39b;
}
.hero-x {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  color: #eef0e673;
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.hero-x:hover {
  background: #eef0e614;
  color: #fff;
}
.hero-dist {
  margin-top: 18px;
  max-width: 560px;
}
.hero-bar {
  display: flex;
  gap: 2px;
  height: 5px;
}
.hero-bar i {
  display: block;
  height: 100%;
  border-radius: 1px;
}
.hero-bar .s-strong {
  background: #5cc493;
}
.hero-bar .s-good {
  background: #e8ede2;
}
.hero-bar .s-hold {
  background: #eef0e642;
}
.hero-bar .s-low {
  background: transparent;
  box-shadow: inset 0 0 0 1px #b9a1768c;
}
.hero-legend {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-top: 11px;
  flex-wrap: wrap;
}
.hero-legend li {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.hero-legend i {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  display: block;
}
.hero-legend .s-strong {
  background: #5cc493;
}
.hero-legend .s-good {
  background: #e8ede2;
}
.hero-legend .s-hold {
  background: #eef0e652;
}
.hero-legend .s-low {
  box-shadow: inset 0 0 0 1px #b9a17699;
}
.hero-legend b {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: #f2f4eb;
  letter-spacing: -0.02em;
}
.hero-legend span {
  font-size: var(--t-micro);
  color: #93a396;
  letter-spacing: 0.04em;
}
.hero-r {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.hero-r > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 44%;
  opacity: 0.94;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
  transition: transform 0.52s var(--ease);
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .hero-r > img {
    transform: none !important;
  }
}
.hero-r:after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #102319, #0f211800 34%, #0a171000 66%, #0a171080),
    linear-gradient(180deg, rgba(10, 23, 16, 0.35), transparent 40%);
}
.hero-side {
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #b9a176bd;
}
.hero-cap {
  position: absolute;
  left: 22px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-cap > span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #eef0e680;
}
.hero-cap b {
  font-family: var(--font-mono);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: #f2f4eb;
  line-height: 1;
}
.hero-cap em {
  font-style: normal;
  font-size: 12px;
  color: #eef0e68c;
  margin-left: 2px;
}
.cell-sub {
  font-size: var(--t-xs);
  color: var(--muted);
  margin-top: 2px;
}
.cell-sub-ink {
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.owner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.pend {
  font-family: var(--font-mono);
  font-size: var(--t-md);
  letter-spacing: -0.03em;
  color: var(--ink-2);
}
.pend.hot {
  color: var(--brass-deep);
}
.todo {
  border-top: 1px solid var(--line-2);
}
.todo-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 12px 16px 12px 14px;
  border-bottom: 1px solid var(--line-2);
  position: relative;
  transition: background var(--t-fast);
}
.todo-row:before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
  border-radius: 0 2px 2px 0;
  transition:
    top var(--t-fast),
    bottom var(--t-fast);
}
.todo-row:hover {
  background: var(--surface-2);
}
.todo-row:hover:before {
  top: 7px;
  bottom: 7px;
}
.todo-row.tone-signal:before {
  background: var(--signal);
}
.todo-row.tone-warn:before {
  background: var(--warn);
}
.todo-row.tone-danger:before {
  background: var(--danger);
}
.todo-n {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  padding-top: 3px;
}
.todo-t b {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}
.todo-t i {
  display: block;
  font-style: normal;
  font-size: var(--t-xs);
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.5;
}
.todo-w {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted-2);
  white-space: nowrap;
  padding-top: 3px;
}
.todo-f {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: var(--t-xs);
  color: var(--muted-2);
  background: var(--surface-2);
  border-radius: 0 0 var(--r-md) var(--r-md);
}
.todo-f .linkish {
  margin-left: auto;
}
.dash-a {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}
.dash-b {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}
.cmp {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cmp-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
}
.cmp-l {
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.cmp-bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cmp-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 66px;
  align-items: center;
  gap: 10px;
  height: 14px;
}
.cmp-bar i {
  display: block;
  height: 6px;
  border-radius: 1px;
}
.cmp-bar.old i {
  background: var(--surface-3);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.cmp-bar.now i {
  background: var(--ink);
}
.cmp-bar b {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  letter-spacing: -0.01em;
  text-align: right;
}
.cmp-bar.now b {
  color: var(--ink);
}
.cmp-d {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--ok);
  text-align: right;
  letter-spacing: -0.01em;
}
.cmp-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  font-size: var(--t-xs);
  color: var(--muted);
  line-height: 1.65;
}
.cmp-note b {
  color: var(--ink);
  font-weight: 500;
}
.funnel {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.funnel-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 34px 52px;
  gap: 10px;
  align-items: center;
}
.funnel-l {
  font-size: var(--t-xs);
  color: var(--muted);
  text-align: right;
}
.funnel-bar {
  height: 16px;
  background: var(--surface-3);
  border-radius: 2px;
  overflow: hidden;
  display: block;
}
.funnel-bar i {
  display: block;
  height: 100%;
  background: var(--ink);
  border-radius: 2px;
}
.funnel-v {
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  text-align: right;
  letter-spacing: -0.02em;
}
.funnel-p {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--muted-2);
  text-align: right;
}
.funnel-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line-2);
  font-size: var(--t-xs);
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 1240px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .hero-line {
    font-size: 21px;
  }
}
@media (max-width: 1080px) {
  .dash-a,
  .dash-b {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-r {
    display: none;
  }
  .hero-line {
    font-size: 20px;
  }
  .hero-l {
    padding: 20px 22px 18px;
  }
}
.jobstrip {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  overflow-x: auto;
}
.jobtab {
  text-align: left;
  padding: 11px 18px 12px 0;
  margin-right: 18px;
  position: relative;
  min-width: 0;
  flex: 0 1 auto;
  border-right: 1px solid var(--line-2);
  transition: opacity var(--t-fast);
}
.jobtab:last-child {
  border-right: 0;
}
.jobtab b {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--t-fast);
}
.jobtab span {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--muted-2);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.jobtab:hover b,
.jobtab.on b {
  color: var(--ink);
}
.jobtab.on:after {
  content: '';
  position: absolute;
  left: 0;
  right: 18px;
  bottom: -1px;
  height: 2px;
  background: var(--signal);
}
.jobtab.on span {
  color: var(--signal);
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-2);
}
.legend {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 4px;
}
.legend .tier {
  font-size: var(--t-micro);
  letter-spacing: 0.02em;
}
.legend .tier:before {
  height: 9px;
  width: 2px;
}
.filterbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line-2);
  background: var(--surface-2);
}
.filtercount {
  font-size: var(--t-xs);
  color: var(--muted);
}
.filtercount b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-weight: 500;
}
.riskdot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--warn);
  display: inline-block;
  box-shadow: 0 0 0 2px var(--warn-soft);
}
.chip.on .riskdot {
  background: #fff;
  box-shadow: none;
}
.table.cand tbody td {
  padding: 9px 10px;
}
.cand-id {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.cand-txt {
  min-width: 0;
}
.cand-name {
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.cand-sub {
  font-size: var(--t-xs);
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
.score-cell {
  display: flex;
  align-items: center;
  gap: 9px;
}
.score-cell b {
  font-family: var(--font-mono);
  font-size: var(--t-md);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink-2);
  width: 22px;
}
.score-cell b.hi {
  color: var(--signal);
}
.src {
  font-size: var(--t-xs);
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: 1px 5px;
  white-space: nowrap;
  background: var(--surface-2);
}
.riskflag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--t-xs);
  color: var(--warn);
  white-space: nowrap;
}
.riskflag i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--warn);
}
.tablefoot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--line-2);
  font-size: var(--t-xs);
  color: var(--muted-2);
}
.pager {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pgsize select {
  border: 0;
  background: none;
  font-size: var(--t-xs);
  color: var(--ink-2);
  margin: 0 2px;
  cursor: pointer;
}
.pgbtn {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  background: var(--surface);
}
.pgbtn:hover:not(:disabled) {
  border-color: var(--line-3);
  background: var(--surface-2);
}
.pgbtn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.pgnow {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--ink-2);
  padding: 0 2px;
}
.bulk {
  position: fixed;
  left: calc(var(--rail-w) + 28px);
  right: 28px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--rail);
  color: var(--rail-text-hi);
  border-radius: var(--r-md);
  padding: 9px 10px 9px 16px;
  box-shadow:
    0 18px 44px -18px #08140ea6,
    0 2px 6px #08140e33;
  animation: rise var(--t-base) var(--ease);
  max-width: var(--page-max);
  margin: 0 auto;
}
.bulk b {
  font-family: var(--font-mono);
  font-size: var(--t-md);
  font-weight: 500;
}
.bulk span {
  font-size: var(--t-xs);
  color: #8e8a7b;
}
.bulk-btn {
  height: 28px;
  padding: 0 11px;
  border-radius: var(--r-xs);
  font-size: var(--t-xs);
  color: var(--rail-text-hi);
  border: 1px solid rgba(244, 241, 231, 0.22);
  transition:
    background var(--t-fast),
    border-color var(--t-fast);
}
.bulk-btn:hover {
  background: #f4f1e71a;
  border-color: #f4f1e766;
}
.bulk-btn.ghost {
  border-color: transparent;
  color: #8e8a7b;
}
.bulk-btn.lead {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}
.bulk-btn.lead:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
}
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 26px 20px;
  text-align: center;
  cursor: pointer;
  border: 1px dashed var(--line-3);
  border-radius: var(--r-md);
  background: var(--surface-2);
  transition:
    border-color var(--t-fast),
    background var(--t-fast);
}
.dropzone:hover {
  border-color: var(--ink-2);
  background: var(--surface-3);
}
.dropzone.over {
  border-color: var(--signal);
  background: var(--signal-soft);
}
.dz-ico {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  margin-bottom: 4px;
}
.dropzone b {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
}
.dropzone span {
  font-size: var(--t-xs);
  color: var(--muted);
}
.dz-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid var(--line-2);
}
.dz-meta span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.dz-meta b {
  display: block;
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--ink-2);
  margin-top: 3px;
}
.files {
  margin-top: 14px;
}
.files-h {
  display: grid;
  grid-template-columns: 1fr 110px 58px;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
}
.files-h span:nth-child(2),
.files-h span:nth-child(3) {
  text-align: right;
}
.frow {
  display: grid;
  grid-template-columns: 1fr 110px 58px;
  gap: 10px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: var(--t-xs);
}
.frow .fn {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-2);
}
.fb {
  height: 3px;
  background: var(--surface-3);
  border-radius: 2px;
  overflow: hidden;
}
.fb i {
  display: block;
  height: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: width 0.18s linear;
}
.fs {
  text-align: right;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
}
.fs.ok {
  color: var(--ok);
}
.fs.bad {
  color: var(--danger);
}
.imp-sum {
  margin-right: auto;
  font-size: var(--t-xs);
  color: var(--muted);
}
@media (max-width: 1180px) {
  .bulk {
    left: 20px;
    right: 20px;
  }
  .legend {
    display: none;
  }
}
@media (max-width: 900px) {
  .bulk {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-wrap: wrap;
  }
  .tablefoot {
    flex-wrap: wrap;
  }
}
.nav-count {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.08em;
  color: var(--muted-2);
  padding-right: 4px;
}
.cand-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
}
.ch-id {
  min-width: 0;
}
.ch-name {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ch-name h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.ch-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 7px;
  font-size: var(--t-sm);
  color: var(--muted);
}
.ch-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-3);
  display: block;
}
.ch-meta span {
  display: inline-flex;
  align-items: center;
}
.ch-score {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.ch-v {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ch-v b {
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--signal);
}
.ch-v span {
  display: flex;
  flex-direction: column;
  font-size: var(--t-xs);
  color: var(--muted);
  line-height: 1.5;
}
.ch-v em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--muted-2);
  letter-spacing: 0.02em;
}
.readout {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.ro {
  padding: 9px 22px 10px 0;
  margin-right: 22px;
  border-right: 1px solid var(--line-2);
  min-width: 0;
}
.ro:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}
.ro span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.ro b {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-2);
  margin-top: 3px;
  white-space: nowrap;
}
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 26px;
  align-items: start;
}
.paper-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: var(--t-xs);
  color: var(--muted);
}
.pfile {
  font-weight: 500;
  color: var(--ink-2);
}
.psize {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--muted-2);
}
.paper {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow:
    0 18px 40px -28px #101e1680,
    0 1px 2px #101e160d;
  border-radius: 2px;
}
.paper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}
.hl {
  position: absolute;
  border-radius: 1px;
  cursor: help;
  background: linear-gradient(180deg, #1c67490d, #1c674924 20% 88%, #1c67490d);
  box-shadow: inset 0 0 0 1px #1c674961;
  transition:
    background var(--t-fast),
    box-shadow var(--t-fast);
}
.hl:hover {
  background: #1c674938;
  box-shadow: inset 0 0 0 1px #1c6749b3;
}
.hl-n {
  position: absolute;
  left: -19px;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brass);
  color: #1a201b;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.paper-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: var(--t-xs);
  color: var(--muted-2);
}
.analysis {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.verdict {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 14px 16px;
}
.v-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.v-h .tag {
  margin-left: auto;
}
.verdict p {
  font-family: var(--font-serif);
  font-size: 16.5px;
  line-height: 1.82;
  color: var(--ink);
  letter-spacing: 0.015em;
}
.dims-h,
.hits-h {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}
.dims-h .hint,
.hits-h .hint {
  font-size: var(--t-micro);
  color: var(--muted-2);
}
.dim {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  gap: 10px;
  align-items: center;
  padding: 5px 0;
}
.dim-l {
  font-size: var(--t-xs);
  color: var(--muted);
}
.dim-bar {
  height: 3px;
  background: var(--surface-3);
  border-radius: 2px;
  overflow: hidden;
}
.dim-bar i {
  display: block;
  height: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: width var(--t-slow) var(--ease);
}
.dim:nth-child(2) .dim-bar i {
  background: var(--ink);
}
.dim-v {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  text-align: right;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.dim-v em {
  font-style: normal;
  color: var(--muted-2);
  font-size: var(--t-micro);
}
.hit {
  border-top: 1px solid var(--line-2);
  border-left: 2px solid var(--line-2);
  margin-left: -12px;
  padding: 12px 0 12px 12px;
}
.hit.hit {
  border-left-color: var(--ok-line);
}
.hit.miss {
  border-left-color: var(--line-3);
}
.hit.risk {
  border-left-color: var(--danger-line);
}
.hit-h {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hit-t {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex: 0 0 auto;
}
.hit-t.ok {
  color: var(--ok);
}
.hit-t.danger {
  color: var(--danger);
}
.hit-h b {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
}
.hit-n {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--brass-deep);
  letter-spacing: 0.06em;
}
.hit-note {
  font-size: var(--t-xs);
  color: var(--muted);
  line-height: 1.7;
  margin-top: 5px;
}
.hit blockquote {
  margin: 7px 0 0;
  padding: 7px 10px;
  background: var(--surface-2);
  border-radius: var(--r-xs);
  font-size: var(--t-xs);
  color: var(--ink-2);
  line-height: 1.65;
}
.hit-a {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.folio-img {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  overflow: hidden;
}
.folio-img img {
  display: block;
  width: 100%;
  transition: transform var(--t-base) var(--ease);
}
.folio-img:hover img {
  transform: scale(1.015);
}
.folio-t {
  font-size: var(--t-sm);
  margin-top: 7px;
  color: var(--ink);
}
.folio-m {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--muted-2);
  margin-top: 2px;
}
.note textarea {
  width: 100%;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  font-size: var(--t-sm);
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  resize: vertical;
  outline: none;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast);
}
.note textarea:focus {
  border-color: var(--ink-2);
  box-shadow: 0 0 0 3px #101e1612;
}
.note-m {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--muted-2);
  margin-top: 5px;
}
.decision {
  position: fixed;
  left: var(--rail-w);
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-top: 1px solid var(--line);
  background: #f2f0e9eb;
  -webkit-backdrop-filter: blur(12px) saturate(1.1);
  backdrop-filter: blur(12px) saturate(1.1);
}
.keys {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--t-micro);
  color: var(--muted-2);
}
.keys kbd {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-2);
  border: 1px solid var(--line-3);
  border-bottom-width: 2px;
  border-radius: 3px;
  padding: 1px 4px;
  background: var(--surface);
  margin: 0 1px 0 6px;
}
.keys kbd:first-child {
  margin-left: 0;
}
@media (max-width: 1180px) {
  .detail {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
  }
  .readout {
    overflow-x: auto;
  }
  .decision {
    left: 68px;
    padding: 10px 20px;
  }
}
@media (max-width: 1000px) {
  .detail {
    grid-template-columns: minmax(0, 1fr);
  }
  .ch-score {
    padding-left: 16px;
  }
  .ch-v b {
    font-size: 32px;
  }
}
@media (max-width: 900px) {
  .decision {
    left: 0;
    padding: 8px 12px;
  }
  .keys {
    display: none;
  }
  .readout .ro {
    padding-right: 14px;
    margin-right: 14px;
  }
}
.top-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.dirty {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--t-xs);
  color: var(--warn);
}
.dirty i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--warn);
}
.sc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 14px;
  align-items: start;
}
.sc-side {
  position: sticky;
  top: calc(var(--top-h) + 18px);
  display: flex;
  flex-direction: column;
}
.rows {
  padding: 0 16px 4px;
}
.row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-2);
}
.row:last-child {
  border-bottom: 0;
}
.row-t {
  flex: 1;
  min-width: 0;
}
.row-t b {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
}
.row-note {
  display: inline-block;
  margin-top: 3px;
  font-size: var(--t-xs);
  color: var(--muted-2);
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}
.row-note.hit {
  color: var(--warn);
}
.row-note.hit:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wsum {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: -0.01em;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.wsum.ok {
  color: var(--ok);
  border-color: var(--ok-line);
  background: var(--ok-soft);
}
.wsum.bad {
  color: var(--danger);
  border-color: var(--danger-line);
  background: var(--danger-soft);
}
.wbar-wrap {
  padding: 14px 16px 6px;
}
.wbar {
  display: flex;
  gap: 3px;
  height: 26px;
}
.wbar i {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  font-style: normal;
  transition: flex var(--t-base) var(--ease);
  min-width: 0;
  overflow: hidden;
}
.wbar i span {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: #fff;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.wbar i.w0,
.wbar-lg i.w0 {
  background: #1c6749;
}
.wbar i.w1,
.wbar-lg i.w1 {
  background: #3f8065;
}
.wbar i.w2,
.wbar-lg i.w2 {
  background: #86ac99;
}
.wbar i.w3,
.wbar-lg i.w3 {
  background: #cbdcd1;
}
.wbar i.w0 span,
.wbar i.w1 span {
  color: #fff;
}
.wbar i.w2 span,
.wbar i.w3 span {
  color: #14251c;
}
.wbar-lg {
  display: flex;
  gap: 16px;
  margin-top: 9px;
  flex-wrap: wrap;
}
.wbar-lg span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--t-micro);
  color: var(--muted);
}
.wbar-lg i {
  width: 7px;
  height: 7px;
  border-radius: 1px;
}
.wrow {
  padding: 11px 0 9px;
  border-bottom: 1px solid var(--line-2);
}
.wrow:last-child {
  border-bottom: 0;
}
.wrow-h {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
}
.wrow-h b {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
}
.wrow-h span {
  font-size: var(--t-xs);
  color: var(--muted-2);
  flex: 1;
}
.wrow-h em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: var(--t-md);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.wrow-h em small {
  font-size: var(--t-micro);
  color: var(--muted-2);
  margin-left: 1px;
}
.trial {
  padding: 4px 0 0;
}
.trial-h {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 88px 48px;
  gap: 8px;
  padding: 0 16px 7px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line);
}
.trial-h .r {
  text-align: right;
}
.trow {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 88px 48px;
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  border-bottom: 1px solid var(--line-2);
  transition: background var(--t-fast);
}
.trow:hover {
  background: var(--surface-2);
}
.trow:last-of-type {
  border-bottom: 0;
}
.trow .rk {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--muted-2);
}
.trow .nm {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--t-sm);
  min-width: 0;
}
.trow .nm > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.trow .sc {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.trow .sc b {
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.trow .killed {
  font-style: normal;
  font-size: var(--t-micro);
  color: var(--danger);
}
.trow .dl {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  text-align: right;
  color: var(--muted-2);
}
.trow .dl.up {
  color: var(--ok);
}
.trow .dl.down {
  color: var(--signal);
}
.trow.kill {
  opacity: 0.55;
}
.trial-f {
  padding: 9px 16px;
  font-size: var(--t-micro);
  color: var(--muted-2);
  background: var(--surface-2);
  border-top: 1px solid var(--line-2);
  border-radius: 0 0 var(--r-md) var(--r-md);
}
.vers {
  padding: 2px 16px 6px;
}
.ver {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
}
.ver:last-child {
  border-bottom: 0;
}
.ver .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line-3);
  margin-top: 6px;
  flex: 0 0 auto;
}
.ver.now .dot {
  background: var(--ok);
  box-shadow: 0 0 0 3px var(--ok-soft);
}
.ver-t {
  flex: 1;
  min-width: 0;
}
.ver-t b {
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  font-weight: 500;
  margin-right: 5px;
}
.ver-t span {
  font-size: var(--t-xs);
  color: var(--ink-2);
}
.ver-t em {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--muted-2);
  margin-top: 2px;
}
.sc-note {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: var(--t-xs);
  color: var(--muted);
  line-height: 1.65;
  background: var(--surface-2);
}
.sc-note svg {
  margin-top: 2px;
  flex: 0 0 auto;
  color: var(--muted-2);
}
@media (max-width: 1120px) {
  .sc-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .sc-side {
    position: static;
  }
}
.askbox {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.ask-l {
  padding: 16px 20px 14px;
  min-width: 0;
}
.ask-input {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 7px 7px 7px 13px;
  background: var(--surface);
  color: var(--muted-2);
  box-shadow: var(--sh-1);
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast);
}
.ask-input:focus-within {
  border-color: var(--ink-2);
  box-shadow: 0 0 0 3px #101e160f;
}
.ask-input input {
  flex: 1;
  min-width: 0;
  height: 32px;
  border: 0;
  outline: none;
  background: none;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.ask-input input::placeholder {
  color: var(--muted-2);
}
.ask-ex {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.ask-ex span {
  font-size: var(--t-micro);
  color: var(--muted-2);
  letter-spacing: 0.04em;
}
.ask-ex button {
  font-size: var(--t-micro);
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 2px 8px;
  transition:
    color var(--t-fast),
    border-color var(--t-fast),
    background var(--t-fast);
}
.ask-ex button:hover {
  color: var(--ink);
  border-color: var(--line-3);
  background: var(--surface-2);
}
.ask-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-left: 1px solid var(--line-2);
  background: var(--surface-2);
}
.stat {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-2);
}
.stat:nth-child(2n) {
  border-left: 1px solid var(--line-2);
}
.stat:nth-child(n + 3) {
  border-bottom: 0;
}
.stat span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.stat b {
  display: block;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-top: 4px;
}
.stat.warn b {
  color: var(--warn);
}
.stat.ok b {
  color: var(--ok);
}
.kwrow {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.kwrow .eyebrow-2 {
  margin-right: 4px;
}
.talent-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.dup {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--t-xs);
  color: var(--warn);
}
.dup:before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--warn);
}
.dup button {
  font-size: var(--t-xs);
  color: var(--warn);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dup button:hover {
  color: var(--ink);
}
.scrim {
  position: fixed;
  inset: 0;
  background: #08140e57;
  z-index: 94;
  animation: fade var(--t-base) var(--ease);
}
.drawer-name {
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.2;
  color: var(--ink);
}
.drawer-score {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
}
.drawer-score b {
  display: block;
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: var(--signal);
  line-height: 1.1;
  margin-top: 4px;
}
.kv {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
}
.kv div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.kv span {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.kv b {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-2);
}
.tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 14px 0 0;
}
.note-q {
  margin: 14px 0 0;
  padding: 10px 12px;
  background: var(--surface-2);
  border-left: 2px solid var(--line-3);
  border-radius: 0 var(--r-xs) var(--r-xs) 0;
  font-size: var(--t-sm);
  color: var(--ink-2);
  line-height: 1.7;
}
.drawer-sec {
  margin-top: 20px;
}
.thumb {
  display: flex;
  gap: 10px;
  margin-top: 9px;
  align-items: flex-start;
}
.thumb img {
  width: 62px;
  border: 1px solid var(--line);
  border-radius: 2px;
  display: block;
}
.thumb b {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
}
.thumb span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--muted-2);
  margin-top: 3px;
}
.timeline {
  margin-top: 10px;
}
.tl {
  display: flex;
  gap: 10px;
  padding-bottom: 14px;
  position: relative;
}
.tl:before {
  content: '';
  position: absolute;
  left: 2.5px;
  top: 10px;
  bottom: 2px;
  width: 1px;
  background: var(--line);
}
.tl:last-child:before {
  display: none;
}
.tl > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--line-3);
  margin-top: 4px;
  flex: 0 0 auto;
  z-index: 1;
}
.tl em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--muted-2);
}
.tl b {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  margin-top: 2px;
}
.tl span {
  display: block;
  font-size: var(--t-xs);
  color: var(--muted);
  margin-top: 1px;
  line-height: 1.6;
}
.jd-box {
  width: 100%;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  font-size: var(--t-sm);
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--surface-2);
  resize: vertical;
  outline: none;
}
.jd-box:focus {
  border-color: var(--ink-2);
  background: var(--surface);
  box-shadow: 0 0 0 3px #101e1612;
}
.modal-hint {
  font-size: var(--t-xs);
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.7;
}
@media (max-width: 1180px) {
  .askbox {
    grid-template-columns: minmax(0, 1fr);
  }
  .ask-stats {
    border-left: 0;
    border-top: 1px solid var(--line-2);
    grid-template-columns: repeat(4, 1fr);
  }
  .stat {
    border-bottom: 0;
    border-left: 1px solid var(--line-2);
  }
  .stat:first-child {
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-bottom: 0;
  }
}
.m-stage {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background:
    radial-gradient(52rem 34rem at 50% -8%, rgba(28, 103, 73, 0.07), transparent 62%),
    var(--paper-2);
}
.m-shell {
  width: 100%;
  max-width: 390px;
  min-height: 100vh;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow:
    0 0 0 1px var(--line),
    0 40px 90px -50px #101e168c;
}
@media (max-width: 430px) {
  .m-shell {
    box-shadow: none;
  }
}
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px 3px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.m-head {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 10px 20px 14px;
}
.m-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 5px;
}
.m-head h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.m-head-r {
  margin-left: auto;
  text-align: right;
}
.m-count {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.m-count em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted-2);
}
.m-dots {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
  margin-top: 7px;
}
.m-dots i {
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--line-3);
  transition: background var(--t-fast);
}
.m-dots i.done {
  background: var(--ink-2);
}
.m-dots i.on {
  background: var(--signal);
  width: 22px;
}
.m-body {
  flex: 1;
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.m-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 15px 16px 14px;
  box-shadow: 0 14px 30px -24px #101e1673;
  position: relative;
  overflow: hidden;
}
.m-card:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--signal) 0%, var(--signal) 22%, var(--line-2) 22%);
}
.m-card-h {
  display: flex;
  align-items: center;
  gap: 11px;
}
.m-who {
  min-width: 0;
  flex: 1;
}
.m-who h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.m-who span {
  display: block;
  margin-top: 3px;
  font-size: var(--t-xs);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-score {
  text-align: right;
}
.m-score b {
  display: block;
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1;
  color: var(--signal);
}
.m-score span {
  display: block;
  font-size: var(--t-micro);
  color: var(--muted-2);
  margin-top: 4px;
}
.m-scale {
  margin: 13px 0 11px;
  overflow: hidden;
}
.m-summary {
  font-family: var(--font-serif);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--ink);
  letter-spacing: 0.015em;
  padding: 11px 12px;
  background: var(--surface-2);
  border-radius: var(--r-sm);
}
.m-dims {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 16px;
  margin-top: 13px;
}
.m-dim {
  display: grid;
  grid-template-columns: 1fr 14px;
  align-items: center;
  gap: 0 6px;
}
.m-dim > span {
  font-size: var(--t-micro);
  color: var(--muted);
  grid-column: 1 / -1;
}
.m-dim > i {
  height: 4px;
  background: #e7e2d6;
  border-radius: 2px;
  overflow: hidden;
  display: block;
  margin-top: 5px;
}
.m-dim > i b {
  display: block;
  height: 100%;
  background: var(--ink);
  border-radius: 2px;
}
.m-dim > em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--ink-2);
  text-align: right;
  margin-top: 4px;
}
.m-hits {
  margin-top: 14px;
  border-top: 1px solid var(--line-2);
}
.m-hit {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 9px;
}
.m-hit span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--ok);
  flex: 0 0 34px;
}
.m-hit.risk span {
  color: var(--warn);
}
.m-hit.miss span {
  color: var(--muted-2);
}
.m-hit b {
  font-size: var(--t-xs);
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.5;
}
.m-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.m-meta span {
  display: block;
  font-size: var(--t-micro);
  color: var(--muted-2);
}
.m-meta b {
  display: block;
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--ink);
  margin-top: 2px;
}
.m-file {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  font-size: var(--t-xs);
  color: var(--ink);
}
.m-file span {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--muted-2);
}
.m-file:hover {
  color: var(--signal);
}
.m-next {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.m-next .m-eyebrow {
  margin-bottom: 0;
}
.m-next-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 11px 12px;
  opacity: 0.88;
  transition:
    opacity var(--t-fast),
    border-color var(--t-fast);
}
.m-next-card:hover {
  opacity: 1;
  border-color: var(--line-3);
}
.m-next-t {
  flex: 1;
  min-width: 0;
}
.m-next-t b {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
}
.m-next-t span {
  display: block;
  font-size: var(--t-micro);
  color: var(--muted);
  margin-top: 2px;
}
.m-next-card em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: var(--t-md);
  color: var(--ink-2);
}
.m-actions {
  position: sticky;
  bottom: 0;
  display: flex;
  gap: 8px;
  padding: 10px 16px 24px;
  background: linear-gradient(180deg, rgba(242, 240, 233, 0), var(--paper) 26%);
  border-top: 1px solid var(--line-2);
}
.m-btn {
  height: 44px;
  border-radius: var(--r-md);
  font-size: var(--t-base);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--t-fast),
    transform var(--t-fast);
}
.m-btn:active {
  transform: scale(0.99);
}
.m-btn.sec {
  flex: 0 0 36%;
  background: var(--surface);
  border: 1px solid var(--line-3);
  color: var(--ink-2);
}
.m-btn.pri {
  flex: 1;
  background: var(--signal);
  color: #fff;
  box-shadow: 0 6px 16px -8px #0a3c2ab3;
}
.m-btn.pri:active {
  background: var(--signal-deep);
}
.m-done {
  text-align: center;
  padding: 70px 24px;
}
.m-done-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--ok-soft);
  color: var(--ok);
  border: 1px solid var(--ok-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.m-done b {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
}
.m-done p {
  font-size: var(--t-xs);
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.7;
}
.m-scrim {
  position: fixed;
  inset: 0;
  background: #08140e5c;
  z-index: 60;
  animation: fade var(--t-fast);
}
.m-sheet {
  position: fixed;
  left: 50%;
  transform: translate(-50%);
  bottom: 0;
  width: 100%;
  max-width: 390px;
  background: var(--surface);
  border-radius: 16px 16px 0 0;
  padding: 10px 18px 30px;
  z-index: 61;
  animation: sheet-up var(--t-base) var(--ease);
}
@keyframes sheet-up {
  0% {
    transform: translate(-50%, 24px);
    opacity: 0.6;
  }
}
.m-sheet-bar {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: var(--line-3);
  margin: 0 auto 14px;
}
.m-sheet h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
}
.m-sheet p {
  font-size: var(--t-xs);
  color: var(--muted);
  margin: 5px 0 8px;
  line-height: 1.6;
}
.m-reason {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: var(--t-base);
  color: var(--ink);
}
.m-reason:hover {
  color: var(--signal);
}
.m-reason svg {
  color: var(--muted-2);
}
.m-scope {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 16px 12px;
  padding: 7px 10px;
  border: 1px solid var(--brass-line);
  background: var(--brass-soft);
  border-radius: var(--r-sm);
  font-size: var(--t-micro);
  color: var(--brass-deep);
}
.m-scope em {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.stage {
  display: inline-block;
  font-size: 9.5px;
  line-height: 1.7;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  white-space: nowrap;
}
.stage.st-todo {
  color: var(--danger);
  border-color: var(--danger-line);
  background: var(--danger-soft);
}
.stage.st-contacted {
  color: var(--ink-2);
  background: var(--surface-3);
  border-color: var(--line);
}
.stage.st-waiting {
  color: var(--warn);
  border-color: var(--warn-line);
  background: var(--warn-soft);
}
.stage.st-interview,
.stage.st-pushed {
  color: var(--ok);
  border-color: var(--ok-line);
  background: var(--ok-soft);
}
.stage.st-archived {
  color: var(--muted-2);
  background: var(--surface-2);
  border-style: dashed;
}
.follow {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px 0 10px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.follow-cell {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}
.follow-cell > span {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.follow-cell > b {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.contact.masked {
  color: var(--muted-2);
  letter-spacing: 0.02em;
}
.contact button {
  font-size: var(--t-micro);
  color: var(--brass-deep);
  border-bottom: 1px solid var(--brass-line);
  padding-bottom: 1px;
}
.contact button:hover {
  color: var(--ink);
  border-color: var(--ink-2);
}
.follow-act {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}
.next-due {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--muted-2);
}
.next-due.hot {
  color: var(--danger);
}
.touch {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-2);
}
.touch:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.touch-when {
  flex: 0 0 74px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.7;
  color: var(--muted-2);
  letter-spacing: -0.01em;
}
.touch-b {
  flex: 1;
  min-width: 0;
}
.touch-h {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.touch-ch {
  font-size: 9.5px;
  padding: 0 5px;
  border-radius: 2px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  background: var(--surface-2);
}
.touch-h b {
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--ink-2);
}
.touch-b p {
  font-size: var(--t-xs);
  line-height: 1.7;
  color: var(--ink-2);
  margin-top: 3px;
}
.touch-empty {
  padding: 14px 0 6px;
  font-size: var(--t-xs);
  color: var(--muted-2);
  line-height: 1.7;
}
.touch-add {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.touch-add select {
  height: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--surface);
  font-size: var(--t-micro);
  color: var(--ink-2);
  padding: 0 5px;
  outline: none;
}
.touch-add input {
  flex: 1;
  min-width: 0;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  padding: 0 7px;
  font-size: var(--t-micro);
  color: var(--ink);
  background: var(--surface);
  outline: none;
  transition: border-color var(--t-fast);
}
.touch-add input:focus {
  border-color: var(--ink-2);
}
.touch-add input::placeholder {
  color: var(--line-3);
}
.ib-sync {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.ib-sync i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px var(--ok-soft);
}
.ib-desk {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 208px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--sh-1);
}
.ib-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.ib-addr {
  padding: 15px 22px 16px;
  border-right: 1px solid var(--line-2);
  min-width: 0;
}
.ib-addr-v {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
}
.ib-addr-v code {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 5px 9px;
  white-space: nowrap;
}
.ib-copy {
  font-size: var(--t-micro);
  color: var(--brass-deep);
  border: 1px solid var(--brass-line);
  background: var(--brass-soft);
  border-radius: var(--r-xs);
  padding: 3px 8px;
  transition:
    background var(--t-fast),
    border-color var(--t-fast);
}
.ib-copy:hover {
  background: #f1e8d3;
  border-color: var(--brass);
}
.ib-addr p {
  margin-top: 8px;
  font-size: var(--t-xs);
  line-height: 1.7;
  color: var(--muted);
  max-width: 36em;
}
.ib-src {
  padding: 15px 20px 14px;
  border-right: 1px solid var(--line-2);
  min-width: 0;
}
.ib-src-bar {
  display: flex;
  gap: 2px;
  height: 8px;
  margin-top: 11px;
  border-radius: 2px;
  overflow: hidden;
}
.ib-src-bar i {
  display: block;
  height: 100%;
}
.ib-src-bar .src-mail,
.ib-src-legend .src-mail {
  background: #12503a;
}
.ib-src-bar .src-plat,
.ib-src-legend .src-plat {
  background: #1c6749;
}
.ib-src-bar .src-ref,
.ib-src-legend .src-ref {
  background: #b9a176;
}
.ib-src-bar .src-head,
.ib-src-legend .src-head {
  background: #86ac99;
}
.ib-src-bar .src-chat,
.ib-src-legend .src-chat {
  background: #cbdcd1;
}
.ib-src-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px 12px;
  margin-top: 11px;
}
.ib-src-legend li {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
}
.ib-src-legend i {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  flex: 0 0 auto;
}
.ib-src-legend b {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ib-src-legend span {
  font-size: var(--t-micro);
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ib-drop {
  margin: 12px;
  border: 1px dashed var(--line-3);
  border-radius: var(--r-md);
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--muted);
  transition:
    border-color var(--t-fast),
    background var(--t-fast),
    color var(--t-fast);
}
.ib-drop:hover {
  border-color: var(--brass);
  background: var(--brass-soft);
  color: var(--ink);
}
.ib-drop-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3px;
}
.ib-drop b {
  font-size: var(--t-sm);
  font-weight: 500;
}
.ib-drop span {
  font-size: var(--t-micro);
  color: var(--muted-2);
}
.ib-grid {
  display: grid;
  grid-template-columns: 348px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.ib-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 0 12px 10px;
  border-bottom: 1px solid var(--line-2);
}
.ib-tab {
  font-size: var(--t-micro);
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    color var(--t-fast),
    background var(--t-fast);
  white-space: nowrap;
}
.ib-tab span {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted-2);
  margin-left: 3px;
}
.ib-tab:hover {
  color: var(--ink);
  background: var(--surface-2);
}
.ib-tab.on {
  color: var(--ink);
  background: var(--surface-3);
}
.ib-tab.on span {
  color: var(--ink-2);
}
.ib-list {
  padding: 4px 0;
  max-height: 452px;
  overflow: auto;
}
.ib-row {
  width: 100%;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) max-content;
  gap: 10px;
  align-items: flex-start;
  padding: 9px 14px;
  border-left: 2px solid transparent;
  text-align: left;
  transition:
    background var(--t-fast),
    border-color var(--t-fast);
}
.ib-row:hover {
  background: var(--surface-2);
}
.ib-row.on {
  background: var(--surface-2);
  border-left-color: var(--brass);
}
.ib-ext {
  width: 30px;
  height: 34px;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.ib-ext.img {
  background: var(--warn-soft);
  border-color: var(--warn-line);
  color: var(--warn);
}
.ib-ext.lg {
  width: 38px;
  height: 44px;
  font-size: 8.5px;
}
.ib-row-t {
  min-width: 0;
}
.ib-row-t b {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.35;
}
.ib-row-t i {
  display: block;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted-2);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ib-row-t em {
  display: block;
  font-style: normal;
  font-size: var(--t-micro);
  color: var(--muted-2);
  margin-top: 2px;
}
.ib-kind {
  font-size: 9px;
  line-height: 1.7;
  padding: 0 5px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  white-space: nowrap;
  margin-top: 2px;
}
.ib-kind.tone-warn {
  color: var(--warn);
  border-color: var(--warn-line);
  background: var(--warn-soft);
}
.ib-kind.tone-danger {
  color: var(--danger);
  border-color: var(--danger-line);
  background: var(--danger-soft);
}
.ib-kind.tone-ink {
  color: var(--ink-2);
  background: var(--surface-3);
}
.ib-queue-f {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  border-top: 1px solid var(--line-2);
  font-size: var(--t-micro);
  color: var(--muted-2);
}
.ib-queue-f b {
  font-family: var(--font-mono);
  color: var(--ink-2);
}
.ib-empty {
  padding: 22px 14px;
  text-align: center;
  font-size: var(--t-xs);
  color: var(--muted-2);
}
.ib-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-2);
}
.ib-head-t {
  min-width: 0;
}
.ib-head-t b {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ib-head-t span {
  display: block;
  font-size: var(--t-micro);
  color: var(--muted-2);
  margin-top: 2px;
}
.ib-conf {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--muted);
  white-space: nowrap;
  flex: 0 0 auto;
}
.ib-conf.ok {
  color: var(--ok);
  border-color: var(--ok-line);
  background: var(--ok-soft);
}
.ib-conf.warn {
  color: var(--warn);
  border-color: var(--warn-line);
  background: var(--warn-soft);
}
.ib-conf.danger {
  color: var(--danger);
  border-color: var(--danger-line);
  background: var(--danger-soft);
}
.ib-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.ib-fields {
  padding: 13px 16px 15px;
  border-right: 1px solid var(--line-2);
  min-width: 0;
}
.ib-fields-h {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.ib-fgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin-top: 9px;
}
.ib-field {
  display: block;
  min-width: 0;
}
.ib-field > span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 3px;
}
.ib-field input,
.ib-field select {
  width: 100%;
  height: 28px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-xs);
  background: var(--surface);
  padding: 0 7px;
  font-size: var(--t-sm);
  color: var(--ink);
  outline: none;
  transition:
    border-color var(--t-fast),
    box-shadow var(--t-fast);
}
.ib-field input:focus,
.ib-field select:focus {
  border-color: var(--ink-2);
  box-shadow: 0 0 0 2px #1a201b0f;
}
.ib-field input::placeholder {
  color: var(--line-3);
}
.ib-field.empty input {
  border-style: dashed;
  border-color: var(--warn-line);
  background: var(--warn-soft);
}
.ib-field.empty > span {
  color: var(--warn);
}
.ib-ref {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 11px;
  padding: 7px 10px;
  border-radius: var(--r-sm);
  background: var(--brass-soft);
  border: 1px solid var(--brass-line);
}
.ib-ref b {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
}
.ib-ref span:last-child {
  font-size: var(--t-micro);
  color: var(--muted);
}
.ib-flags {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ib-flags p {
  display: flex;
  gap: 5px;
  font-size: var(--t-xs);
  line-height: 1.6;
  color: var(--warn);
}
.ib-flags svg {
  flex: 0 0 auto;
  margin-top: 3px;
}
.ib-preview {
  padding: 13px 16px 15px;
  background: var(--surface-2);
  min-width: 0;
}
.ib-preview-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}
.ib-paper {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 11px 12px;
  max-height: 322px;
  overflow: auto;
  box-shadow: 0 14px 28px -24px #101e1680;
}
.ib-paper-empty {
  padding: 40px 0;
  text-align: center;
  font-size: var(--t-xs);
  color: var(--muted-2);
}
.ib-paper-b {
  margin-bottom: 10px;
}
.ib-paper-b:last-child {
  margin-bottom: 0;
}
.ib-paper-t {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 4px;
  margin-bottom: 6px;
}
.ib-job {
  margin-bottom: 7px;
}
.ib-job:last-child {
  margin-bottom: 0;
}
.ib-job-h {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.ib-job-h b {
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--ink);
}
.ib-job-h span {
  font-size: var(--t-micro);
  color: var(--muted);
}
.ib-job-h em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted-2);
  white-space: nowrap;
}
.ib-job ul {
  margin-top: 3px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ib-job li {
  position: relative;
  padding-left: 8px;
  font-size: var(--t-micro);
  line-height: 1.6;
  color: var(--ink-2);
}
.ib-job li:before {
  content: '';
  position: absolute;
  left: 1px;
  top: 7px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--line-3);
}
.ib-dup {
  margin: 12px 16px 0;
  padding: 11px 13px 12px;
  border: 1px solid var(--brass-line);
  background: var(--brass-soft);
  border-radius: var(--r-md);
}
.ib-dup-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.ib-dup-sim {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--brass-deep);
}
.ib-dup-b {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
}
.ib-dup-who b {
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--ink);
}
.ib-dup-who span {
  display: block;
  font-size: var(--t-micro);
  color: var(--muted);
  margin-top: 2px;
}
.ib-dup-state {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex: 0 0 auto;
}
.ib-dup-why {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ib-dup-why li {
  position: relative;
  padding-left: 10px;
  font-size: var(--t-micro);
  color: var(--ink-2);
  line-height: 1.6;
}
.ib-dup-why li:before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 1px;
  background: var(--brass-deep);
}
.ib-need {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 9px 16px;
  border-bottom: 1px solid var(--line-2);
  background: var(--warn-soft);
}
.ib-need-tag {
  font-size: var(--t-micro);
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px dashed var(--warn-line);
  color: var(--warn);
  background: var(--surface);
}
.ib-need .hint {
  margin-left: auto;
}
.ib-fail {
  padding: 20px 18px 4px;
}
.ib-fail-h {
  display: flex;
  align-items: center;
  gap: 11px;
}
.ib-fail-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--danger-soft);
  border: 1px solid var(--danger-line);
  color: var(--danger);
  font-family: var(--font-mono);
  font-size: var(--t-base);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.ib-fail-h b {
  display: block;
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--ink);
}
.ib-fail-h span {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  color: var(--muted-2);
  margin-top: 2px;
}
.ib-fail > p {
  margin-top: 11px;
  font-size: var(--t-sm);
  line-height: 1.75;
  color: var(--muted);
  max-width: 40em;
}
.ib-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-top: 1px solid var(--line-2);
  background: var(--surface-2);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  flex-wrap: wrap;
}
.ib-fail .ib-actions {
  margin: 16px -18px 0;
  border-radius: 0;
}
.ib-jobsel {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ib-jobsel > span:first-child {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.ib-jobsel select {
  height: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  background: var(--surface);
  font-size: var(--t-sm);
  color: var(--ink);
  padding: 0 6px;
  outline: none;
}
.ib-sug {
  font-size: var(--t-micro);
  color: var(--brass-deep);
  font-family: var(--font-mono);
}
.ib-manual-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.ib-done {
  text-align: center;
  padding: 76px 20px;
}
.ib-done-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: var(--ok-soft);
  border: 1px solid var(--ok-line);
  color: var(--ok);
  font-size: var(--t-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ib-done b {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--ink);
}
.ib-done p {
  margin: 7px auto 16px;
  max-width: 34em;
  font-size: var(--t-sm);
  line-height: 1.75;
  color: var(--muted);
}
.chan-verdict {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 384px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--sh-1);
}
.chan-verdict-l {
  padding: 18px 24px 20px;
  min-width: 0;
}
.chan-verdict-l p {
  margin-top: 9px;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.92;
  letter-spacing: 0.012em;
  color: var(--ink);
  max-width: 40em;
}
.chan-verdict-l b {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.9em;
  letter-spacing: -0.02em;
  color: var(--accent-deep);
  border-bottom: 1px solid var(--brass-line);
  padding-bottom: 1px;
}
.chan-verdict-r {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-left: 1px solid var(--line-2);
  background: var(--surface-2);
}
.chan-kpi {
  padding: 15px 13px;
  border-left: 1px solid var(--line-2);
  min-width: 0;
}
.chan-kpi:first-child {
  border-left: 0;
}
.chan-kpi span {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.chan-kpi b {
  display: block;
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-top: 6px;
}
.chan-kpi em {
  display: block;
  font-style: normal;
  font-size: var(--t-micro);
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.5;
}
.chan-kpi.tone-ok b {
  color: var(--ok);
}
.chan-kpi.tone-warn b {
  color: var(--warn);
}
.chan-kpi.tone-danger b {
  color: var(--danger);
}
.chan-name {
  display: flex;
  align-items: center;
  gap: 6px;
}
.chan-name b {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink);
}
.chan-vol {
  display: flex;
  align-items: center;
  gap: 9px;
}
.chan-vol-bar {
  flex: 1;
  min-width: 0;
  height: 5px;
  border-radius: 2px;
  background: var(--surface-3);
  overflow: hidden;
}
.chan-vol-bar i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
}
.chan-vol b {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  color: var(--ink-2);
  min-width: 26px;
  text-align: right;
}
.chan-hi {
  color: var(--accent-deep);
}
.chan-rate {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  padding: 2px 5px;
  border-radius: var(--r-xs);
  color: var(--ink-2);
}
.chan-rate.top {
  color: var(--ok);
  background: var(--ok-soft);
}
.chan-rate.low {
  color: var(--danger);
  background: var(--danger-soft);
}
.chan-avg {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  color: var(--ink);
}
.chan-avg em {
  font-style: normal;
  font-size: 9px;
  color: var(--muted-2);
  margin-left: 1px;
}
.chan-note {
  font-size: var(--t-micro);
  line-height: 1.65;
  color: var(--muted);
  max-width: 360px;
}
.chan-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.chan-action {
  padding: 15px 17px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  border-top: 2px solid var(--ink);
}
.chan-action-n {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--brass-deep);
}
.chan-action b {
  display: block;
  margin-top: 7px;
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.chan-action p {
  margin-top: 6px;
  font-size: var(--t-xs);
  line-height: 1.75;
  color: var(--muted);
}
@media (max-width: 1280px) {
  .ib-desk {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .ib-drop {
    display: none;
  }
  .ib-src {
    border-right: 0;
  }
  .chan-verdict {
    grid-template-columns: minmax(0, 1fr) 340px;
  }
}
@media (max-width: 1080px) {
  .ib-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ib-list {
    max-height: 320px;
    overflow: auto;
  }
  .chan-verdict {
    grid-template-columns: minmax(0, 1fr);
  }
  .chan-verdict-r {
    border-left: 0;
    border-top: 1px solid var(--line-2);
  }
  .chan-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 860px) {
  .ib-desk {
    grid-template-columns: minmax(0, 1fr);
  }
  .ib-addr {
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
  }
  .ib-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .ib-fields {
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
  }
  .ib-manual-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .chan-table {
    min-width: 900px;
  }
}
