/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .table {
    display: table;
  }
  .table\! {
    display: table !important;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
}
:root {
  --bg: #0e1313;
  --panel: #151b1b;
  --panel2: #192120;
  --border: #2a3331;
  --text: #e5eae7;
  --muted: #8a9691;
  --accent: #c6ed91;
  --red: #e49696;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--panel2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.15s,
    border-color 0.15s;
}
button:hover {
  background: #25312b;
  border-color: #506046;
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
a {
  color: var(--accent);
  text-decoration: none;
}
input,
select {
  min-width: 0;
  background: #111716;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 11px;
  outline: none;
}
input[type='checkbox'] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
input[type='number'] {
  appearance: textfield;
}
input::-webkit-inner-spin-button {
  appearance: none;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h3 {
  font-size: 16px;
  font-weight: 600;
}
h4 {
  font-size: 14px;
  font-weight: 600;
}
.muted {
  color: var(--muted);
}
.positive {
  color: var(--accent) !important;
}
.negative {
  color: var(--red) !important;
}
.caption {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  width: 218px;
  inset: 0 auto 0 0;
  border-right: 1px solid var(--border);
  padding: 29px 15px 18px;
  display: flex;
  flex-direction: column;
  background: #111716;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 7px 45px;
  color: #f1f4ef;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.5px;
}
.brand-light {
  font-weight: 400;
  color: #c4cdc6;
}
.brand-mark {
  background: var(--accent);
  width: 31px;
  height: 33px;
  border-radius: 7px;
  color: #26321b;
  display: grid;
  place-items: center;
}
.nav-label {
  font-size: 10px;
  color: #718178;
  letter-spacing: 1.6px;
  padding: 0 13px;
  margin-bottom: 15px;
}
.nav {
  width: 100%;
  justify-content: flex-start;
  border: 0;
  background: transparent;
  color: #99a79f;
  min-height: 43px;
  font-size: 13px;
  padding: 11px 12px;
  margin-bottom: 6px;
}
.nav.active {
  background: #263126;
  color: #ddf6bb;
}
.nav-count {
  margin-left: auto;
  font-size: 11px;
  background: #3b4835;
  padding: 1px 6px;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
}
.analysis-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #bac6bb;
  padding: 15px 12px 5px;
  font-size: 13px;
}
.sidebar-bottom p {
  font-size: 12px;
  color: #76857c;
  padding: 0 12px 25px;
  line-height: 1.7;
}
.sidebar-bottom .nav {
  border-top: 1px solid var(--border);
  border-radius: 0;
  padding-top: 18px;
  margin-bottom: 23px;
}
.version {
  color: #607068;
  font-size: 10px;
  letter-spacing: 1.2px;
  padding: 0 12px;
}
main {
  min-width: 0;
  margin-left: 218px;
  flex: 1;
}
.topbar {
  height: 69px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #7e8b84;
  font-size: 12px;
}
.breadcrumb span {
  color: #d3dbd4;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.read-only {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9aaa9e;
  font-size: 10px;
  letter-spacing: 1px;
}
.icon-button {
  padding: 7px;
  border: 0;
  background: transparent;
}
.workspace {
  padding: 30px 32px 20px;
  max-width: 2100px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.eyebrow {
  color: #9fac9c;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.7px;
  margin-bottom: 8px;
}
h1 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.9px;
  line-height: 1.25;
}
.page-heading p {
  color: var(--muted);
  margin-top: 8px;
  font-size: 13px;
}
.refresh-button {
  font-size: 12px;
  padding: 9px 13px;
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.summary-card {
  padding: 18px 19px 16px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: linear-gradient(115deg, #171f1c, #151b1b);
  min-width: 0;
}
.summary-card > span {
  display: flex;
  justify-content: space-between;
  color: #a6b2a8;
  font-size: 12px;
  gap: 5px;
}
.summary-card > span svg {
  color: #6d8070;
  flex-shrink: 0;
}
.summary-card strong {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-top: 12px;
  font-variant-numeric: tabular-nums;
}
.summary-card strong small {
  font-size: 11px;
  color: #829180;
  letter-spacing: 0;
  font-weight: 400;
}
.summary-card p {
  margin-top: 8px;
  font-size: 11px;
  color: #7c8c81;
}
.summary-card.featured {
  border-color: #3d4c31;
  background: linear-gradient(115deg, #202a1d, #181f1a);
}
.controls-panel {
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel);
  margin-bottom: 24px;
}
.controls-main {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 1.1fr 1.2fr;
  gap: 20px;
  padding: 20px;
}
.controls-main label,
.custom-modes label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #99a79c;
  font-size: 12px;
}
.input-group {
  display: flex;
  align-items: center;
  background: #111716;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0 10px;
  gap: 8px;
  height: 39px;
}
.input-group input,
.input-group select {
  border: 0;
  padding: 8px 0;
  background: transparent;
  width: 100%;
  outline-offset: 0;
  font-size: 13px;
}
.input-group select {
  width: auto;
  max-width: 125px;
  flex-shrink: 0;
}
.controls-main > label > select {
  height: 39px;
  font-size: 13px;
}
.input-group > span {
  color: #77877b;
  font-size: 12px;
}
.input-group input[type='number'] {
  width: 68px;
}
.controls-main label:nth-child(2) input {
  width: 39px;
}
.search-label input {
  width: 100%;
}
.keycap {
  border: 1px solid #354137;
  padding: 0 4px;
  border-radius: 3px;
}
.venue-controls {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid var(--border);
  padding: 13px 20px;
  flex-wrap: wrap;
}
.venue-controls > span {
  font-size: 11px;
  color: #7c8b80;
  margin-right: 6px;
}
.venue-chip {
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 5px;
  color: #78847b;
  background: transparent;
}
.venue-chip.selected {
  color: #cdd9ce;
  border-color: #3a463b;
  background: #1d261f;
}
.venue-chip > span {
  margin-left: 3px;
  color: #98b782;
  font-size: 11px;
}
.venue-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
  background: #909893;
}
.venue-dot.hyperliquid {
  background: #93e6c6;
}
.venue-dot.variational {
  background: #d7b5f4;
}
.venue-dot.risex {
  background: #d4e799;
}
.venue-dot.extended {
  background: #91b8f0;
}
.data-time {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: #7f8d83;
  font-size: 10px;
}
.custom-modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  padding: 0 20px 15px;
}
.custom-modes select {
  font-size: 12px;
}
.status-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: -10px;
  margin-bottom: 18px;
  font-size: 12px;
  color: #b6a588;
}
.warning-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4b67c;
  margin-right: 6px;
}
.notice {
  padding: 13px 15px;
  border: 1px solid #424431;
  background: #25281e;
  color: #c5c9a5;
  border-radius: 7px;
  font-size: 13px;
  margin-bottom: 17px;
  line-height: 1.7;
}
.farming-notice {
  display: flex;
  align-items: center;
  gap: 13px;
}
.opportunities {
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--panel);
  overflow: hidden;
}
.table-heading {
  padding: 19px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}
.table-title {
  display: flex;
  gap: 11px;
  align-items: center;
}
.table-title h2 {
  font-size: 15px;
  font-weight: 500;
}
.count-badge {
  background: #29342a;
  border: 1px solid #3c493c;
  border-radius: 5px;
  color: #b9c8b4;
  font-size: 10px;
  padding: 1px 6px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9dab9e;
  font-size: 12px;
}
.table-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #415042 #121916;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-variant-numeric: tabular-nums;
  text-align: left;
  white-space: nowrap;
}
.opportunity-table th {
  height: 43px;
  padding: 0 17px;
  background: #111816;
  color: #89978b;
  font-weight: 400;
  font-size: 11px;
  border-bottom: 1px solid var(--border);
}
th button {
  font: inherit;
  background: none;
  border: 0;
  padding: 0;
  border-radius: 0;
  color: inherit;
  gap: 6px;
}
th button:hover {
  background: none;
  color: var(--accent);
}
.sort-active {
  color: var(--accent);
}
.opportunity-table td {
  padding: 15px 17px;
  height: 75px;
  border-bottom: 1px solid #252e28;
  font-size: 12px;
  color: #cdd6cf;
}
.opportunity-table tr:last-child td {
  border-bottom: 0;
}
.opportunity-table tbody tr {
  cursor: pointer;
}
.opportunity-table tbody tr:hover td {
  background: #202a20;
}
.sticky-cell {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #151b1b;
}
.opportunity-table thead .sticky-cell {
  z-index: 3;
}
.asset-button {
  border: 0;
  background: none;
  padding: 0;
  gap: 9px;
  justify-content: flex-start;
  text-align: left;
}
.asset-button:hover {
  background: none;
}
.asset-button > span:last-child {
  display: flex;
  flex-direction: column;
}
.asset-button b {
  font-size: 13px;
  font-weight: 500;
  color: #e5ece4;
}
.asset-button small {
  font-size: 9px;
  color: #788779;
  margin-top: 2px;
  letter-spacing: 0.7px;
}
.asset-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #344236;
  color: #cfddbf;
  font-size: 13px;
  font-weight: bold;
}
.asset-btc {
  background: #704e29;
  color: #efc58d;
}
.asset-eth {
  background: #373e57;
  color: #bac4f6;
}
.asset-sol {
  background: #304840;
  color: #b5e5cb;
}
.venue-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.long-label,
.short-label {
  font-size: 8px !important;
  letter-spacing: 1px;
  margin-left: 14px;
  display: block;
  margin-top: 3px;
}
.long-label {
  color: #8da875;
}
.short-label {
  color: #bd8d86;
}
.sub-value {
  display: block;
  font-size: 10px !important;
  color: #768779;
  margin-top: 4px;
  font-weight: 400;
}
.opportunity-table td > small {
  font-size: 10px;
}
.opportunity-table td.net-column {
  background: #1b251b;
}
.net-column b {
  font-weight: 500;
}
.freshness {
  font-size: 9px;
  letter-spacing: 0.4px;
  color: #9db38f;
  background: #253222;
  padding: 3px 6px;
  border-radius: 4px;
}
.freshness.stale {
  color: #d1b67e;
  background: #312c21;
}
.table-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 12px 18px;
  font-size: 11px;
  color: #7c8b80;
}
.table-footer > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-hint {
  margin-left: 20px;
  color: #65766a;
}
.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #829080;
  margin-top: 21px;
  font-size: 10px;
  line-height: 1.8;
}
.disclaimer svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.disclaimer p span {
  color: #5d7163;
}
.footer-brand {
  margin-left: auto;
  white-space: nowrap;
  letter-spacing: 1px;
  font-size: 9px;
  color: #576c5b;
  margin-top: 4px;
}
.empty-state {
  padding: 70px 24px;
  text-align: center;
  color: #718777;
  max-width: 650px;
  margin: auto;
}
.empty-state svg {
  margin: auto auto 16px;
}
.empty-state h3 {
  color: #c4d3c5;
  font-weight: 400;
}
.empty-state p {
  margin-top: 9px;
  color: #819186;
  font-size: 13px;
}
.spin {
  animation: spin 1.5s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.overlay {
  position: fixed;
  inset: 0;
  background: #050907b8;
  z-index: 40;
  backdrop-filter: blur(3px);
}
.sheet {
  position: fixed;
  inset: 0 0 0 auto;
  background: #121a17;
  z-index: 50;
  width: min(600px, 100vw);
  padding: 26px;
  overflow-y: auto;
  border-left: 1px solid #3a473b;
  box-shadow: -15px 0 60px #0006;
}
.sheet.wide {
  width: min(860px, 96vw);
}
.sheet-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.sheet-heading h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.sheet-heading p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 7px;
}
.sheet > section {
  margin-top: 24px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}
.section-title h3 {
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-title a {
  font-size: 12px;
}
.detail-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.detail-summary > div {
  background: #1c261e;
  border: 1px solid #303e31;
  border-radius: 6px;
  padding: 13px;
}
.detail-summary span {
  display: block;
  color: #8d9d8d;
  font-size: 11px;
}
.detail-summary strong {
  font-size: 21px;
  font-weight: 400;
  display: block;
  margin-top: 7px;
}
.sheet > .muted {
  font-size: 12px;
  line-height: 1.9;
}
.chart-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 17px;
}
.segments {
  display: flex;
  gap: 3px;
}
.segments button {
  font-size: 10px;
  padding: 4px 7px;
  background: transparent;
  border: 0;
}
.segments button.active,
.metric-tabs button.active {
  background: #35462c;
  color: var(--accent);
}
.metric-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.metric-tabs button {
  font-size: 11px;
  padding: 5px 8px;
  background: transparent;
  border: 0;
}
.chart-empty {
  height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #98a98f;
  font-size: 13px;
  text-align: center;
  gap: 10px;
}
.chart-empty p {
  color: #748b79;
  line-height: 1.8;
}
.detail-table {
  margin-top: 12px;
  font-size: 12px;
}
.detail-table th {
  font-weight: 400;
  color: #82987e;
  background: #1b261c;
  padding: 10px;
}
.detail-table td {
  padding: 11px 10px;
  border-bottom: 1px solid #29372a;
}
.badge {
  font-size: 9px;
  color: #a1b391;
  background: #2a3826;
  padding: 3px 7px;
  border-radius: 4px;
  letter-spacing: 0.7px;
}
.stress {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #364631;
  border-radius: 7px;
  background: #202c1e;
  margin-bottom: 22px;
}
.stress > div {
  padding: 16px;
  font-size: 12px;
  color: #9db193;
}
.stress strong {
  font-size: 22px;
  display: block;
  margin-top: 5px;
  color: #d8ebc7;
  font-weight: 400;
}
.liquidity-venue {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.liquidity-venue h4 {
  margin-bottom: 6px;
}
.liquidity-venue h4 span {
  font-size: 11px;
  margin-left: 8px;
  font-weight: 400;
}
.liquidity-venue .muted {
  font-size: 12px;
  margin-top: 10px;
}
.settings-venue {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 17px;
  margin-bottom: 18px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.settings-grid label:not(.check-label),
.full-label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #9db099;
  font-size: 12px;
}
.settings-grid input,
.full-label input,
.settings-grid select {
  width: 100%;
}
.settings-grid label.check-label input {
  width: 15px;
}
.full-label {
  margin-top: 17px;
}
.settings-venue p {
  font-size: 12px;
  margin: 13px 0;
}
.panel-actions {
  position: sticky;
  bottom: -26px;
  background: #121a17;
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.primary {
  background: var(--accent);
  color: #26351a;
  border-color: var(--accent);
}
.primary:hover {
  background: #d4f3ac;
}
.override-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  margin-top: 15px;
  padding-top: 15px;
}
.override-row > span {
  flex: 1;
  font-size: 12px;
}
.override-row label {
  width: 110px;
  font-size: 11px;
  color: var(--muted);
}
.override-row input {
  width: 100%;
}
.settings-venue > .settings-grid + button {
  margin-top: 14px;
}
@media (min-width: 1700px) {
  .workspace {
    padding: 38px 42px;
  }
  .summary-card strong {
    font-size: 34px;
  }
  .summary-card {
    padding: 23px;
  }
  .controls-main {
    gap: 30px;
  }
  .opportunity-table td,
  .opportunity-table th {
    padding-left: 22px;
    padding-right: 22px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 180px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .brand {
    font-size: 16px;
    gap: 7px;
  }
  .brand-mark {
    width: 27px;
  }
  main {
    margin-left: 180px;
  }
  .workspace {
    padding: 24px 20px;
  }
  .topbar {
    padding: 0 20px;
  }
  .summary-card {
    padding: 14px 12px;
  }
  .summary-card strong {
    font-size: 24px;
    flex-wrap: wrap;
    gap: 3px 8px;
  }
  .summary-card strong small {
    font-size: 10px;
  }
  .summary-card > span {
    font-size: 11px;
  }
  .controls-main {
    gap: 12px;
    padding: 16px;
    grid-template-columns: 1fr 1fr;
  }
  .data-time {
    width: 100%;
    margin-top: 6px;
    margin-left: 0;
  }
  .footer-brand {
    display: none;
  }
  .footer-hint {
    display: none;
  }
  h1 {
    font-size: 24px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: relative;
    width: auto;
    inset: auto;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand {
    margin: 0 auto 0 0;
  }
  .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar .nav {
    width: auto;
    margin: 0;
    padding: 8px;
    font-size: 11px;
  }
  .sidebar .nav svg,
  .nav-count {
    display: none;
  }
  .app-shell {
    display: block;
  }
  main {
    margin: 0;
  }
  .topbar {
    height: 49px;
    padding: 0 17px;
  }
  .workspace {
    padding: 22px 15px;
  }
  .page-heading {
    gap: 12px;
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .refresh-button {
    font-size: 0;
    gap: 0;
    padding: 10px;
    margin-top: 22px;
  }
  .refresh-button svg {
    width: 16px;
  }
  .summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .summary-card {
    padding: 14px;
  }
  .summary-card strong {
    font-size: 26px;
  }
  .summary-card strong small {
    display: block;
    width: 100%;
    margin-top: 2px;
  }
  .summary-card p {
    font-size: 10px;
  }
  .controls-main {
    grid-template-columns: 1fr 1fr;
    padding: 13px;
    gap: 14px;
  }
  .controls-main label {
    font-size: 11px;
  }
  .input-group {
    padding: 0 7px;
    gap: 5px;
  }
  .input-group input[type='number'] {
    width: 55px;
  }
  .input-group select {
    max-width: 92px;
  }
  .controls-main label:nth-child(2) input {
    width: 29px;
  }
  .venue-controls {
    padding: 12px;
    gap: 6px;
  }
  .venue-controls > span {
    width: 100%;
  }
  .venue-chip {
    font-size: 10px;
  }
  .table-heading {
    padding: 14px 12px;
  }
  .table-title h2 {
    font-size: 13px;
  }
  .check-label {
    font-size: 10px;
  }
  .table-footer {
    font-size: 10px;
    padding: 10px;
  }
  .sheet {
    padding: 20px;
  }
  .sheet.wide {
    width: 100vw;
  }
  .detail-summary {
    gap: 7px;
  }
  .detail-summary > div {
    padding: 10px;
  }
  .detail-summary strong {
    font-size: 18px;
  }
  .detail-summary span {
    font-size: 10px;
  }
  .section-title {
    flex-wrap: wrap;
  }
  .chart-panel {
    padding: 12px;
  }
  .settings-grid {
    gap: 12px;
  }
  .custom-modes {
    grid-template-columns: 1fr 1fr;
  }
  .disclaimer {
    font-size: 10px;
  }
  .panel-actions {
    bottom: -20px;
  }
  .breadcrumb {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
.opportunity-table td {
  font-size: 14px;
}
.opportunity-table th,
.venue-name {
  font-size: 12px;
}
.asset-button b {
  font-size: 14px;
}
.detail-table {
  font-size: 14px;
}
.nav {
  font-size: 14px;
}
.summary-card > span {
  font-size: 12px;
}
.input-group select[aria-label='Custom holding unit'] {
  width: 27px;
  padding-right: 0;
}
@media (max-width: 480px) {
  .controls-main {
    grid-template-columns: minmax(0, 1fr);
  }
  .controls-main label,
  .input-group {
    min-width: 0;
  }
  .input-group select[aria-label='Holding horizon'] {
    flex: 1;
    max-width: none;
  }
  .controls-main label:nth-child(2) input {
    width: 64px;
  }
  .settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.recording-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.recording-status small {
  flex-basis: 100%;
}
.access-grade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 26px;
  border-radius: 6px;
  font-weight: 700;
  border: 1px solid currentColor;
}
.grade-S {
  color: #c6ed91;
  background: #253a24;
}
.grade-A {
  color: #8fd6b5;
  background: #1d332d;
}
.grade-B {
  color: #9bbde4;
  background: #23303c;
}
.grade-C {
  color: #e3c58c;
  background: #3a3224;
}
.grade-D {
  color: #e49696;
  background: #3a2527;
}
.grade-unknown {
  color: var(--muted);
}
.access-method summary {
  cursor: pointer;
}
.access-method p {
  margin: 10px 0 0;
  max-width: 1000px;
}
.opportunities {
  min-width: 0;
  max-width: 100%;
}
.compact-table-scroll {
  overflow-x: auto;
  width: 100%;
  scrollbar-width: auto;
}
.compact-table-scroll:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.opportunity-table {
  width: max-content;
  min-width: 100%;
}
.opportunity-table th {
  padding: 7px 8px;
  height: 38px;
  font-size: 11px;
  white-space: normal;
}
.opportunity-table th button {
  max-width: 112px;
  text-align: left;
  gap: 3px;
}
.opportunity-table th button svg {
  flex-shrink: 0;
}
.opportunity-table td {
  padding: 8px;
  height: 56px;
  font-size: 12px;
}
.opportunity-table .venue-name,
.opportunity-table .asset-button b {
  font-size: 12px;
}
.opportunity-table .asset-icon {
  width: 24px;
  height: 24px;
  font-size: 11px;
}
.opportunity-table .asset-button {
  gap: 5px;
}
.opportunity-table .sub-value {
  max-width: 128px;
  white-space: normal;
  font-size: 10px;
  line-height: 1.35;
}
.table-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.table-actions button {
  padding: 5px 9px;
  font-size: 11px;
}
.table-actions button[aria-pressed='true'] {
  color: var(--accent);
  border-color: #536849;
  background: #253021;
}
.table-scroll-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
}
.table-scroll-controls button {
  padding: 4px;
}
.table-scroll-controls input {
  flex: 1;
  min-width: 50px;
  height: 18px;
  padding: 0;
  accent-color: var(--accent);
  cursor: ew-resize;
}
.grade-E {
  color: #f08ebd;
  background: #382338;
}
.venue-dot.bulk {
  background: #f9b568;
}
.venue-dot.arcus {
  background: #af94ff;
}
.research-shell {
  --text: #eff0f6;
  --muted: #999cac;
  --bg: #151722;
  --panel: #20222f;
  --panel2: #282b3c;
  --border: #363949;
  --accent: #8daaff;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: 100px;
  font-family: Arial,'Noto Sans',sans-serif;
}
.research-shell button,.research-shell select,.research-shell input,.research-shell textarea {
  background: #282b3b;
  border: 1px solid #3a3e51;
  color: #eef0f6;
  border-radius: 8px;
  font: inherit;
}
.research-shell button:hover {
  background: #35394c;
  border-color: #747b99;
}
.research-shell input,.research-shell select,.research-shell textarea {
  padding: 9px 11px;
  min-width: 0;
}
.research-shell a {
  text-decoration: none;
  color: inherit;
}
.research-header {
  height: 72px;
  border-bottom: 1px solid #2d3040;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  gap: 20px;
  background: #1b1d29;
}
.research-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  letter-spacing: -.5px;
}
.research-brand svg {
  color: #91b3ff;
}
.research-brand b {
  font-weight: 400;
  color: #a0a8bc;
}
.research-header>div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.research-back {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #aab0c3 !important;
  font-size: 12px;
}
.research-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 38px 36px 0;
}
.research-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 25px;
}
.research-title h1 {
  font-size: 29px;
  letter-spacing: -1px;
  line-height: 1.3;
  margin: 8px 0;
}
.research-title p {
  color: #999eaf;
  margin: 0;
  font-size: 13px;
}
.research-eyebrow {
  font-size: 10px;
  color: #929dc0;
  letter-spacing: 2px;
}
.research-tabs {
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid #333647;
}
.research-tabs a,.research-tabs>button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 13px;
  color: #9b9eb0;
}
.research-tabs a.active {
  color: #c7d6ff;
  border-bottom: 2px solid #83a9ff;
}
.research-tabs>button {
  margin-left: auto;
}
.research-source {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8e94a8;
  font-size: 11px;
  padding: 17px 0 23px;
  flex-wrap: wrap;
}
.research-source>span:last-child {
  margin-left: auto;
}
.research-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #78d9aa;
}
.research-controls {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.research-controls>div {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.research-filter button {
  font-size: 12px;
  padding: 8px 11px;
  background: transparent;
  border-color: transparent;
}
.research-filter button.active {
  background: #333950;
  color: #b4caff;
  border-color: #414e74;
}
.research-controls input {
  width: 165px;
  font-size: 12px;
}
.research-controls select {
  font-size: 12px;
}
.research-card-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  align-items: start;
}
.research-card {
  border: 1px solid #363948;
  background: linear-gradient(145deg,#232532,#1f212d);
  border-radius: 15px;
  padding: 21px 18px 0;
  box-shadow: 0 8px 25px #090a1420;
  overflow: hidden;
}
.research-card-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}
.research-avatar {
  position: relative;
  flex-shrink: 0;
  width: 48px;
  height: 53px;
  background: #121621;
  border: 1px solid #414859;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--venue);
  font-size: 32px;
  font-weight: bold;
  box-shadow: inset 0 0 15px #0003;
}
.research-badge {
  position: absolute;
  top: -8px;
  left: -6px;
  width: 18px;
  height: 18px;
  background: #bd9944;
  border-radius: 50%;
  border: 2px solid #3c3b3b;
  font-size: 10px;
  color: #fff;
  text-align: center;
  line-height: 14px;
}
.research-card-name {
  min-width: 0;
  flex: 1;
}
.research-card-name h2 {
  font-size: 18px;
  letter-spacing: -.5px;
  margin: 0;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.research-card-name h2>span {
  display: inline-block;
  font-size: 7px;
  letter-spacing: .8px;
  vertical-align: middle;
  background: #16392d;
  color: #81d8a7;
  padding: 2px 4px;
  border-radius: 3px;
  margin-left: 5px;
}
.research-card-name p {
  font-size: 11px;
  margin: 6px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 4px;
}
.research-card-name small {
  color: #9b9cac;
  font-size: 10px;
}
.research-stars {
  letter-spacing: 1px;
  color: #efa36c;
  white-space: nowrap;
}
.research-score {
  text-align: right;
  white-space: nowrap;
  align-self: flex-start;
}
.research-score>span {
  display: block;
  color: #b0b1c0;
  font-size: 10px;
  margin-bottom: 1px;
}
.research-score strong {
  font-size: 38px;
  line-height: 1.1;
  color: #7cdda1;
  font-weight: 700;
  letter-spacing: -1.5px;
}
.research-score>small {
  font-size: 9px;
  color: #8c92a5;
}
.research-progress {
  padding: 10px 0 16px;
  border-top: 1px solid #3b3c4c;
  border-bottom: 1px solid #3b3c4c;
}
.research-progress>div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}
.research-progress strong {
  display: flex;
  gap: 7px;
  align-items: center;
}
.research-progress svg {
  color: #85c5a9;
}
.research-progress>div>span {
  color: #92bca8;
  font-size: 10px;
}
.research-progress-track,.research-mini-bar {
  height: 5px;
  background: #3b3d4e;
  border-radius: 5px;
  overflow: hidden;
  margin: 10px 0 5px;
}
.research-progress-track i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg,#5a987d,#83d4b0);
  border-radius: 5px;
}
.research-progress>small {
  display: block;
  color: #858b9e;
  font-size: 9px;
}
.research-card-section {
  padding: 17px 0;
}
.research-card h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin: 0 0 12px;
  font-weight: 600;
}
.research-card h3>span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.research-card h3 svg {
  color: var(--venue);
}
.research-card h3>b {
  font-size: 16px;
  color: #7edba0;
  font-weight: 500;
}
.research-card h3 small {
  font-size: 9px;
  color: #9295a5;
}
.research-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  text-align: center;
}
.research-metrics>div+div {
  border-left: 1px solid #424554;
}
.research-metrics small {
  font-size: 9px;
  color: #8d93a7;
  display: block;
  margin-bottom: 5px;
}
.research-metrics strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.5px;
  white-space: nowrap;
}
.research-metrics em {
  font-style: normal;
  font-size: 11px;
  color: #a5a9ba;
  margin-left: 2px;
}
.research-metrics.two {
  grid-template-columns: 1fr 1fr;
}
.research-inset {
  background: #29283d;
  border: 1px solid #42405c;
  border-radius: 11px;
  padding: 13px;
}
.research-inset h3 {
  margin-bottom: 8px;
}
.research-inset p {
  font-size: 10px;
  color: #a2a2b6;
  margin: 0;
}
.research-mini-bar {
  height: 3px;
  margin-top: 12px;
  background: #403a55;
}
.research-mini-bar i {
  height: 100%;
  display: block;
  background: #a39bdb;
}
.research-card-details {
  border-top: 1px solid #3b3e4d;
  padding: 0 0 16px;
  font-size: 12px;
  color: #b8bbcb;
}
.research-card-details summary {
  cursor: pointer;
  text-align: center;
  padding: 13px 0 0;
  font-size: 10px;
  color: #a8aec1;
  list-style: none;
}
.research-card-details summary svg {
  display: inline;
  vertical-align: middle;
  color: #83aaff;
  margin-left: 6px;
}
.research-card-details p {
  font-size: 11px;
  margin: 12px 0;
  line-height: 1.7;
}
.research-card-details button {
  width: 100%;
  font-size: 11px;
}
.research-memo {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.research-map-panel,.research-ranking,.research-method {
  border: 1px solid #383b4b;
  background: #252837;
  border-radius: 14px;
  padding: 27px;
  margin-bottom: 24px;
}
.research-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.research-section-heading>span {
  color: #8f96ad;
  font-size: 12px;
}
.research-map-panel h2,.research-ranking h2,.research-method h2 {
  font-size: 19px;
  margin: 0 0 8px;
}
.research-muted {
  color: #9ca1b3;
  font-size: 12px;
  line-height: 1.8;
  margin: 0 0 14px;
}
.research-chart-scroll {
  width: 100%;
  overflow: auto;
}
.research-chart-scroll svg {
  display: block;
  width: 100%;
  min-width: 600px;
  max-height: 700px;
}
.research-chart-point {
  cursor: pointer;
  outline: none;
}
.research-chart-point:hover circle,.research-chart-point:focus-visible circle {
  stroke: #fff;
  stroke-width: 3;
}
.research-map-selection {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  background: #1e2233;
  border: 1px solid #48557b;
  border-radius: 9px;
  padding: 14px 18px;
  margin: 12px 0;
  font-size: 13px;
}
.research-map-selection button {
  margin-left: auto;
  padding: 4px;
}
.research-table-scroll {
  overflow-x: auto;
}
.research-ranking table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.research-ranking th {
  text-align: right;
  color: #989fb6;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 1px solid #46495b;
  padding: 8px 12px;
}
.research-ranking th:first-child {
  text-align: left;
}
.research-ranking th button {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}
.research-ranking td {
  border-bottom: 1px solid #34384a;
  padding: 14px 12px;
  text-align: right;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.research-ranking td:first-child {
  text-align: left;
}
.research-ranking td button {
  padding: 0;
  background: transparent;
  border: 0;
}
.research-ranking td button i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.research-ranking td small {
  display: block;
  color: #d69696;
  font-size: 10px;
  margin-left: 25px;
}
.research-rank {
  color: #7e879f;
  font-size: 11px;
  width: 15px;
}
.research-ranking tr.selected {
  background: #303951;
}
.research-method {
  font-size: 12px;
  line-height: 1.9;
  color: #b3b8ca;
}
.research-method ul {
  padding-left: 20px;
}
.research-alert {
  background: #453231;
  border: 1px solid #795b52;
  border-radius: 8px;
  color: #f1c4b5;
  padding: 12px;
  margin-bottom: 18px;
  font-size: 12px;
}
.research-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 35px 0;
  color: #697187;
  font-size: 9px;
  letter-spacing: 1px;
}
.research-bottom-nav {
  position: fixed;
  z-index: 20;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-around;
  width: min(570px,100%);
  padding: 12px 12px max(14px,env(safe-area-inset-bottom));
  background: #202330f5;
  border: 1px solid #424557;
  border-radius: 16px 16px 0 0;
  backdrop-filter: blur(18px);
  box-shadow: 0 -8px 25px #0002;
}
.research-bottom-nav button {
  flex-direction: column;
  gap: 5px;
  font-size: 10px;
  border: 0;
  background: transparent;
  color: #838a9f;
  padding: 2px 12px;
}
.research-bottom-nav button:nth-child(1) svg {
  color: #ed985d;
}
.research-bottom-nav button:nth-child(2) svg {
  color: #af82ee;
}
.research-bottom-nav button:nth-child(4) svg {
  color: #75ce93;
}
.research-bottom-nav button:nth-child(5) svg {
  color: #7ca6f0;
}
.research-bottom-nav button.active {
  color: #94b9ff;
}
.research-empty,.research-loading {
  padding: 50px;
  text-align: center;
  color: #a6b0c8;
}
.research-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.research-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #070a16b0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}
.research-dialog {
  width: 420px;
  max-width: 100%;
  padding: 25px;
  border: 1px solid #50566c;
  border-radius: 15px;
  background: #252938;
  box-shadow: 0 24px 100px #0009;
}
.research-dialog h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  margin: 0 0 20px;
}
.research-dialog label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 15px;
  font-size: 12px;
}
.research-dialog p {
  font-size: 11px;
  color: #9da5bd;
}
.research-dialog textarea {
  resize: vertical;
}
.research-dialog .research-save {
  width: 100%;
  background: #86a7f1;
  color: #151b2c;
  font-weight: 600;
}
.research-spin {
  animation: research-spin 1.5s linear infinite;
}
@keyframes research-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width:1450px) {
  .research-main {
    max-width: 1450px;
  }
  .research-card {
    padding: 25px 22px 0;
  }
  .research-score strong {
    font-size: 44px;
  }
  .research-card-name h2 {
    font-size: 20px;
  }
}
@media (max-width:1100px) {
  .research-card-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .research-main {
    max-width: 950px;
  }
  .research-controls {
    flex-direction: column;
  }
}
@media (max-width:620px) {
  .research-header {
    height: 60px;
    padding: 0 17px;
  }
  .research-brand {
    font-size: 15px;
  }
  .research-header>div {
    gap: 10px;
  }
  .research-back {
    font-size: 0;
  }
  .research-back svg {
    width: 19px;
    height: 19px;
  }
  .research-header button {
    padding: 5px 8px;
    font-size: 11px;
  }
  .research-main {
    padding: 24px 14px 0;
  }
  .research-title h1 {
    font-size: 23px;
  }
  .research-title p {
    font-size: 11px;
  }
  .research-eyebrow {
    font-size: 8px;
  }
  .research-title>button {
    font-size: 0;
    padding: 9px;
  }
  .research-title>button svg {
    width: 16px;
    height: 16px;
  }
  .research-tabs {
    gap: 17px;
  }
  .research-tabs a,.research-tabs>button {
    font-size: 11px;
    gap: 5px;
  }
  .research-tabs>button svg {
    display: none;
  }
  .research-source {
    font-size: 9px;
    gap: 5px;
    padding: 14px 0 18px;
  }
  .research-source>span:last-child {
    margin-left: 0;
    width: 100%;
    padding-left: 11px;
  }
  .research-controls {
    gap: 13px;
  }
  .research-filter {
    flex-wrap: nowrap !important;
    overflow: auto;
  }
  .research-filter button {
    font-size: 10px;
    white-space: nowrap;
    padding: 7px 8px;
  }
  .research-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 420px;
    margin: auto;
  }
  .research-card {
    padding: 21px 18px 0;
  }
  .research-card-name h2 {
    font-size: 21px;
  }
  .research-score strong {
    font-size: 44px;
  }
  .research-avatar {
    width: 52px;
    height: 56px;
  }
  .research-card-head {
    gap: 12px;
  }
  .research-card-name p {
    font-size: 12px;
  }
  .research-card h3 {
    font-size: 13px;
  }
  .research-metrics strong {
    font-size: 24px;
  }
  .research-metrics small {
    font-size: 10px;
  }
  .research-progress>small {
    font-size: 10px;
  }
  .research-inset p {
    font-size: 11px;
  }
  .research-map-panel,.research-ranking,.research-method {
    padding: 18px 13px;
  }
  .research-map-panel h2,.research-ranking h2 {
    font-size: 17px;
  }
  .research-chart-scroll {
    margin-top: 20px;
  }
  .research-map-selection {
    gap: 12px;
    font-size: 12px;
    padding: 12px;
  }
  .research-footer {
    font-size: 8px;
    letter-spacing: 0;
    flex-wrap: wrap;
  }
  .research-bottom-nav {
    border-radius: 12px 12px 0 0;
  }
  .research-bottom-nav button {
    padding: 2px 9px;
  }
  .research-ranking td {
    font-size: 12px;
    padding: 12px 8px;
  }
}
.research-modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 51;
  color: #eef0f6;
  max-height: 85vh;
  overflow: auto;
}
.research-modal-content input,.research-modal-content select,.research-modal-content textarea {
  padding: 9px;
  border: 1px solid #434c67;
  background: #1c2130;
  color: #eef0f6;
  border-radius: 7px;
  font: inherit;
}
.research-modal-content button {
  background: #323a50;
  color: #eef0f6;
  border-color: #505c78;
}
.research-dialog-overlay {
  z-index: 50;
}
.research-modal-content :focus-visible {
  outline: 2px solid #9dbaff;
  outline-offset: 3px;
}
.vf-page {
  max-width: 1600px;
  margin: auto;
  padding: 28px 32px 64px;
}
.vf-nav,.vf-toolbar {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}
.vf-nav a {
  color: var(--muted);
  text-decoration: none;
}
.vf-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 40px 0 28px;
}
.vf-hero small {
  color: #c5e59c;
  letter-spacing: .16em;
}
.vf-hero h1 {
  font-size: 32px;
  line-height: 1.3;
  margin: 12px 0;
}
.vf-hero p,.vf-toolbar p {
  color: #9da899;
  max-width: 780px;
  line-height: 1.8;
}
.vf-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin: 24px 0;
}
.vf-stats section {
  padding: 22px;
  border: 1px solid #30392c;
  border-radius: 12px;
  background: #151b16;
}
.vf-stats small,.vf-table small {
  display: block;
  color: #97a28f;
  margin-top: 6px;
  font-size: 11px;
}
.vf-stats strong {
  display: block;
  font-size: 30px;
  margin-top: 10px;
}
.vf-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  background: #171e17;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}
.vf-controls label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: #a8b29f;
}
.vf-page input,.vf-page select {
  background: #101610;
  color: #e5eddf;
  border: 1px solid #394333;
  border-radius: 6px;
  padding: 9px;
  max-width: 220px;
}
.vf-page button {
  cursor: pointer;
  border: 1px solid #3b4732;
  background: #202b1b;
  color: #d9e9c7;
  border-radius: 6px;
  padding: 8px 12px;
}
.vf-page button:disabled {
  opacity: .45;
  cursor: default;
}
.vf-table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
}
.vf-table th {
  font-size: 11px;
  color: #a4ae99;
  text-align: left;
  background: #1d251b;
  padding: 13px 12px;
}
.vf-table td {
  padding: 16px 12px;
  border-bottom: 1px solid #2c3528;
  vertical-align: top;
  font-variant-numeric: tabular-nums;
}
.vf-table .positive {
  color: #c1e994;
}
.vf-table summary {
  cursor: pointer;
}
.vf-alternatives {
  min-width: 260px;
  display: grid;
  gap: 6px;
  margin-top: 12px;
}
.vf-alternatives button {
  text-align: left;
  font-size: 11px;
}
.vf-method {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid #323c2c;
  border-radius: 10px;
  color: #acb7a2;
  line-height: 1.9;
}
.vf-method summary {
  cursor: pointer;
  color: #d4e1c7;
}
.vf-page>.muted {
  font-size: 12px;
  margin-bottom: 16px;
  color: #929f89;
}
@media (max-width:700px) {
  .vf-page {
    padding: 18px 14px;
  }
  .vf-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .vf-hero h1 {
    font-size: 25px;
  }
  .vf-stats {
    gap: 8px;
  }
  .vf-stats section {
    padding: 14px;
  }
  .vf-controls label {
    width: calc(50% - 8px);
  }
  .vf-controls input,.vf-controls select {
    width: 100%;
    min-width: 0;
  }
  .vf-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .vf-nav {
    gap: 12px;
    font-size: 12px;
  }
}
.equity-screen-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.equity-screen-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.equity-screen-controls input {
  width: 88px;
}
.equity-screen-controls input,.equity-screen-controls select {
  border: 1px solid #394333;
  background: #101610;
  color: #e5eddf;
  border-radius: 6px;
  padding: 7px;
}
.equity-screen-controls small {
  flex-basis: 100%;
  line-height: 1.7;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}
