:root {
  color-scheme: light;
  --bg: #f5f6f3;
  --panel: #ffffff;
  --panel-soft: #f9faf7;
  --ink: #16201d;
  --muted: #66736f;
  --line: #dbe1dc;
  --line-strong: #b6c0ba;
  --good: #0f766e;
  --watch: #a16207;
  --risk: #b42318;
  --neutral: #3f4b57;
  --soft-good: #e7f3ef;
  --soft-watch: #fff5dd;
  --soft-risk: #fde9e7;
  --soft-neutral: #eef2f3;
  --shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(15, 118, 110, 0.11), rgba(245, 246, 243, 0) 280px),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  letter-spacing: 0;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.app-shell {
  width: min(1660px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 30px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 10px;
}

.site-nav a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--neutral);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.topbar,
.topbar-meta,
.panel-header,
.budget-head,
.module-head,
.gamma-summary,
.footer {
  display: flex;
  align-items: center;
}

.topbar {
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  padding: 14px 18px;
  border: 1px solid rgba(219, 225, 220, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.title-block {
  min-width: 0;
}

.eyebrow {
  margin-bottom: 6px;
  color: var(--good);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  font-size: 30px;
  line-height: 1.08;
}

h2 {
  font-size: 17px;
  line-height: 1.25;
}

.lead {
  margin-top: 6px;
  max-width: 780px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.topbar-meta {
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  text-align: right;
}

.topbar-meta > div {
  min-width: 104px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.topbar-meta strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
}

.meta-label,
.panel-header p,
.kpi-card span,
.kpi-card p,
.action-card span,
.module-card span,
.module-card dt,
.budget-item p,
.asset-cell span,
.gamma-copy,
.wall-list p,
.playbook-item span,
.playbook-item p,
.pipeline-step p,
.footer,
th {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
}

.status-pill {
  color: var(--good);
  font-size: 13px;
  font-weight: 800;
}

.status-pill.watch {
  color: var(--watch);
  background: var(--soft-watch);
  border-color: #f1d697;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(126px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.kpi-card,
.panel,
.committee-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.kpi-card {
  min-height: 112px;
  padding: 11px;
  display: grid;
  gap: 6px;
}

.kpi-card strong {
  display: block;
  margin-top: 4px;
  font-size: 22px;
  line-height: 1;
}

.kpi-card.good {
  border-color: #b8ded6;
}

.kpi-card.watch {
  border-color: #f1d697;
}

.kpi-card.risk {
  border-color: #f2b8b2;
}

.sparkline {
  width: 100%;
  height: 30px;
}

.sparkline line {
  stroke: var(--line);
}

.sparkline polyline {
  fill: none;
  stroke: var(--neutral);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sparkline.good polyline {
  stroke: var(--good);
}

.sparkline.watch polyline {
  stroke: var(--watch);
}

.sparkline.risk polyline {
  stroke: var(--risk);
}

.metric-guide-panel {
  margin-bottom: 10px;
}

.metric-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 12px 12px;
}

.metric-guide-card {
  min-height: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.metric-guide-card.good {
  border-color: #b8ded6;
}

.metric-guide-card.watch {
  border-color: #f1d697;
}

.metric-guide-card.risk {
  border-color: #f2b8b2;
}

.metric-guide-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
  margin-bottom: 8px;
}

.metric-guide-head span {
  color: var(--muted);
  font-size: 12px;
}

.metric-guide-head strong {
  font-size: 18px;
  white-space: nowrap;
}

.metric-guide-card dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.metric-guide-card dl > div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 7px;
}

.metric-guide-card .metric-current {
  margin-bottom: 1px;
  padding: 8px 9px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 8px;
  background: rgba(231, 243, 239, 0.72);
}

.metric-guide-card .metric-current dt {
  color: var(--good);
  font-weight: 800;
}

.metric-guide-card .metric-current dd {
  color: #263631;
  font-weight: 650;
}

.metric-guide-card.watch .metric-current {
  border-color: rgba(161, 98, 7, 0.2);
  background: rgba(255, 245, 221, 0.82);
}

.metric-guide-card.watch .metric-current dt {
  color: var(--watch);
}

.metric-guide-card.risk .metric-current {
  border-color: rgba(180, 35, 24, 0.18);
  background: rgba(253, 233, 231, 0.84);
}

.metric-guide-card.risk .metric-current dt {
  color: var(--risk);
}

.history-chart {
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid rgba(182, 192, 186, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.history-chart-head,
.history-axis {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

.history-chart-head span,
.history-axis span,
.history-caption {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.history-chart-head strong {
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}

.history-chart svg {
  width: 100%;
  height: 56px;
  margin: 3px 0 2px;
  display: block;
}

.history-grid {
  stroke: rgba(182, 192, 186, 0.55);
  stroke-width: 1;
}

.history-zero {
  stroke: rgba(22, 32, 29, 0.36);
  stroke-dasharray: 4 4;
  stroke-width: 1.2;
}

.history-series {
  fill: none;
  stroke: var(--neutral);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.history-series-dot,
.history-last {
  fill: var(--neutral);
}

.history-chart.good .history-series,
.history-chart.good .history-series-dot {
  stroke: var(--good);
  fill: var(--good);
}

.history-chart.watch .history-series,
.history-chart.watch .history-series-dot {
  stroke: var(--watch);
  fill: var(--watch);
}

.history-chart.risk .history-series,
.history-chart.risk .history-series-dot {
  stroke: var(--risk);
  fill: var(--risk);
}

.history-chart.good .history-last {
  fill: var(--good);
}

.history-chart.watch .history-last {
  fill: var(--watch);
}

.history-chart.risk .history-last {
  fill: var(--risk);
}

.history-chart p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.38;
}

.history-chart.empty {
  border-style: dashed;
  background: rgba(238, 242, 243, 0.58);
}

.history-caption {
  display: block;
  margin-top: 5px;
}

.metric-guide-card dt {
  color: var(--muted);
  font-size: 12px;
}

.metric-guide-card dd {
  margin: 0;
  color: #34413d;
  font-size: 12px;
  line-height: 1.36;
}

.committee-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-bottom: 10px;
}

.committee-summary {
  min-height: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  align-items: start;
  background: var(--soft-watch);
  border-color: #efd79a;
}

.committee-summary h2 {
  margin-bottom: 6px;
  font-size: 20px;
}

.committee-summary p {
  color: #37423e;
  font-size: 13px;
  line-height: 1.46;
}

.committee-badge {
  grid-column: 1 / -1;
  width: max-content;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--watch);
  font-size: 12px;
  font-weight: 800;
}

.score-ring {
  --score: 50;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  background:
    radial-gradient(circle at center, #fff 0 58%, transparent 59%),
    conic-gradient(var(--watch) calc(var(--score) * 1%), #eadfc3 0);
}

.score-ring strong {
  font-size: 24px;
  line-height: 1;
}

.score-ring span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.stance-box {
  grid-column: 1 / -1;
  padding: 9px 10px;
  border: 1px solid rgba(161, 98, 7, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.stance-box span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 5px;
}

.stance-box strong {
  font-size: 14px;
}

.panel {
  min-width: 0;
}

.panel-header {
  justify-content: space-between;
  gap: 12px;
  padding: 12px 12px 10px;
}

.panel-header.compact {
  padding-bottom: 6px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 12px 12px;
}

.action-card,
.module-card,
.budget-item,
.wall-list article,
.gamma-metric-grid article,
.gamma-screener-card,
.gamma-profile-card,
.gamma-expiry-card,
.gamma-strike-card,
.gamma-scenario-grid article,
.playbook-item,
.pipeline-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.action-card {
  min-height: 0;
  padding: 11px;
}

.action-card strong {
  display: block;
  margin: 5px 0 6px;
  font-size: 15px;
}

.action-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.48;
}

.action-card.good,
.module-card.good,
.gex-pill.good,
.gamma-scenario-grid article.good {
  border-color: #b8ded6;
  background: var(--soft-good);
  color: var(--good);
}

.action-card.watch,
.module-card.watch,
.gex-pill.watch,
.gamma-scenario-grid article.watch {
  border-color: #f1d697;
  background: var(--soft-watch);
  color: var(--watch);
}

.action-card.risk,
.module-card.risk,
.gex-pill.risk,
.gamma-scenario-grid article.risk {
  border-color: #f2b8b2;
  background: var(--soft-risk);
  color: var(--risk);
}

.dashboard-grid {
  display: grid;
  gap: 10px;
  align-items: start;
  margin-bottom: 10px;
}

.main-grid {
  grid-template-columns: minmax(0, 1fr) 350px;
}

.lower-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0 12px 12px;
}

.module-card {
  min-height: 0;
  padding: 11px;
  display: grid;
  gap: 8px;
}

.module-head {
  justify-content: space-between;
  gap: 8px;
}

.module-head strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
}

.module-head em {
  color: inherit;
  font-style: normal;
  font-size: 20px;
  font-weight: 800;
}

.score-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e6aaa4, #f3dc9c 45%, #cfe7df 100%);
}

.score-track i,
.score-zero {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 18px;
  border-radius: 99px;
  background: var(--ink);
}

.score-zero {
  left: 50%;
  background: rgba(22, 32, 29, 0.22);
}

.module-card dl {
  display: grid;
  gap: 6px;
  margin: 0;
}

.module-card div:has(> dt) {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 7px;
}

.module-card dd {
  margin: 0;
  color: #34413d;
  font-size: 12px;
  line-height: 1.34;
}

.module-card b {
  align-self: end;
  font-size: 12px;
}

.budget-stack {
  display: grid;
  gap: 8px;
  padding: 0 12px 12px;
}

.budget-item {
  padding: 10px;
}

.budget-head {
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.budget-head span {
  color: var(--muted);
  font-size: 12px;
}

.budget-head strong {
  font-size: 16px;
}

.meter {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ebe7;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--neutral);
}

.meter.good span {
  background: var(--good);
}

.meter.watch span {
  background: var(--watch);
}

.meter.risk span {
  background: var(--risk);
}

.budget-item p {
  margin-top: 6px;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.segment {
  min-height: 29px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.segment.active,
.segment:hover {
  border-color: rgba(15, 118, 110, 0.34);
  background: var(--soft-good);
  color: var(--good);
}

.table-wrap {
  overflow-x: auto;
  padding: 0 12px 12px;
}

.signal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1020px;
}

th,
td {
  padding: 8px 9px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

td {
  font-size: 13px;
  line-height: 1.34;
}

th.num,
td.num {
  text-align: right;
  white-space: nowrap;
}

.asset-cell strong {
  display: block;
  font-size: 14px;
}

.asset-cell span {
  display: block;
  margin-top: 3px;
}

.gex-pill {
  display: inline-flex;
  justify-content: center;
  min-width: 74px;
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.gamma-zone,
.playbook-list {
  padding: 0 12px 12px;
}

.gamma-symbol-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 116px;
  margin-bottom: 10px;
  overflow: auto;
  padding-right: 3px;
}

.gamma-symbol {
  min-width: 58px;
  min-height: 38px;
  padding: 6px 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.gamma-symbol strong,
.gamma-symbol span {
  display: block;
}

.gamma-symbol strong {
  font-size: 12px;
  line-height: 1.1;
}

.gamma-symbol span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.gamma-symbol.active {
  border-color: rgba(15, 118, 110, 0.45);
  background: var(--soft-good);
  color: var(--good);
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.18);
}

.gamma-symbol.active.watch {
  border-color: rgba(161, 98, 7, 0.42);
  background: var(--soft-watch);
  color: var(--watch);
}

.gamma-symbol.active.risk {
  border-color: rgba(180, 35, 24, 0.34);
  background: var(--soft-risk);
  color: var(--risk);
}

.gamma-screener-card {
  margin-bottom: 10px;
  padding: 10px;
}

.wall-recommendation-panel {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.wall-reco-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.wall-reco-column {
  min-width: 0;
}

.wall-reco-column h3 {
  margin: 0 0 7px;
  font-size: 13px;
}

.wall-reco-column.empty {
  padding: 9px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
}

.wall-reco-column.empty p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.wall-reco-list {
  display: grid;
  gap: 6px;
}

.wall-reco {
  min-height: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.wall-reco strong,
.wall-reco span,
.wall-reco em,
.wall-reco small {
  display: block;
}

.wall-reco strong {
  font-size: 13px;
}

.wall-reco span {
  margin-top: 4px;
  color: #34413d;
  font-size: 11px;
  line-height: 1.32;
}

.wall-reco em,
.wall-reco small,
.wall-reco-disclaimer {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.wall-reco em {
  margin-top: 5px;
  font-style: normal;
}

.wall-reco small {
  margin-top: 4px;
}

.wall-reco.good {
  border-color: rgba(15, 118, 110, 0.24);
  background: var(--soft-good);
}

.wall-reco.risk {
  border-color: rgba(180, 35, 24, 0.2);
  background: var(--soft-risk);
}

.wall-reco.watch {
  border-color: rgba(161, 98, 7, 0.22);
  background: var(--soft-watch);
}

.wall-reco-disclaimer {
  margin-top: 7px;
}

.gamma-screener-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  max-height: 420px;
  overflow: auto;
  padding-right: 3px;
}

.gamma-pick {
  display: grid;
  grid-template-columns: 46px minmax(72px, 1fr) 58px 34px;
  gap: 4px 8px;
  align-items: center;
  min-height: 52px;
  padding: 7px;
  border: 1px solid rgba(219, 225, 220, 0.94);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.gamma-pick strong,
.gamma-pick b {
  font-size: 12px;
}

.gamma-pick span,
.gamma-pick em,
.gamma-pick small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.gamma-pick em {
  font-style: normal;
  text-align: right;
}

.gamma-pick b {
  justify-self: end;
}

.gamma-pick small {
  grid-column: 1 / -1;
}

.gamma-pick.active {
  border-color: rgba(15, 118, 110, 0.45);
  background: var(--soft-good);
  color: var(--good);
}

.gamma-pick.active.watch {
  border-color: rgba(161, 98, 7, 0.42);
  background: var(--soft-watch);
  color: var(--watch);
}

.gamma-pick.active.risk {
  border-color: rgba(180, 35, 24, 0.34);
  background: var(--soft-risk);
  color: var(--risk);
}

.gamma-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.gamma-summary > div {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.gamma-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.gamma-summary small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.gamma-copy {
  margin: 10px 0 12px;
}

.gamma-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.gamma-metric-grid article {
  min-height: 0;
  padding: 9px;
}

.gamma-metric-grid span,
.gamma-card-head span,
.expiry-row span,
.strike-row span,
.strike-row small,
.gamma-scenario-grid span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.gamma-metric-grid strong {
  display: block;
  margin: 5px 0 5px;
  font-size: 16px;
}

.gamma-metric-grid p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.38;
}

.gamma-line {
  position: relative;
  height: 62px;
  margin: 0 8px 12px;
  border-bottom: 3px solid #d0d8d3;
}

.gamma-line i,
.spot-marker {
  position: absolute;
  bottom: -8px;
  transform: translateX(-50%);
}

.gamma-line i {
  width: 3px;
  height: 34px;
  border-radius: 999px;
  background: var(--neutral);
}

.gamma-line i.neg {
  background: var(--risk);
}

.gamma-line i.pos {
  background: var(--good);
}

.gamma-line i.zero {
  background: var(--watch);
}

.gamma-line b {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  white-space: nowrap;
}

.spot-marker {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 12px solid var(--ink);
  bottom: 26px;
}

.spot-marker b {
  position: absolute;
  top: -31px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
}

.wall-list,
.playbook-list {
  display: grid;
  gap: 8px;
}

.wall-list {
  grid-template-columns: repeat(4, 1fr);
}

.wall-list article {
  padding: 9px;
}

.wall-list strong {
  display: block;
  margin: 4px 0 5px;
}

.gamma-depth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(220px, 0.95fr);
  gap: 8px;
  margin-top: 8px;
}

.gamma-profile-card,
.gamma-expiry-card,
.gamma-strike-card {
  padding: 10px;
}

.gamma-card-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.gamma-card-head strong {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.25;
}

.gamma-profile-svg {
  width: 100%;
  height: 104px;
  display: block;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(249, 250, 247, 0.94));
}

.gamma-grid {
  stroke: rgba(182, 192, 186, 0.6);
}

.gamma-zero-line {
  stroke: rgba(22, 32, 29, 0.35);
  stroke-dasharray: 4 4;
}

.gamma-profile-line {
  fill: none;
  stroke: var(--watch);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gamma-spot-line {
  stroke: var(--ink);
  stroke-width: 1.6;
}

.gamma-flip-line {
  stroke: var(--risk);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
}

.gamma-profile-axis {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.gamma-profile-empty {
  padding: 24px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
}

.expiry-list {
  display: grid;
  gap: 6px;
}

.expiry-row {
  display: grid;
  grid-template-columns: minmax(86px, 1fr) auto;
  gap: 6px 10px;
  align-items: center;
}

.expiry-row strong {
  display: block;
  font-size: 13px;
}

.expiry-row em {
  color: var(--ink);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.expiry-bars {
  grid-column: 1 / -1;
  display: grid;
  gap: 3px;
}

.expiry-bars i {
  display: block;
  height: 5px;
  min-width: 2px;
  border-radius: 999px;
}

.expiry-bars .put {
  background: var(--risk);
}

.expiry-bars .call {
  background: var(--good);
}

.gamma-strike-card {
  margin-top: 8px;
}

.strike-ladder {
  display: grid;
  gap: 6px;
}

.strike-row {
  display: grid;
  grid-template-columns: 54px minmax(78px, 1fr) 44px minmax(64px, 0.9fr) minmax(104px, auto);
  gap: 6px;
  align-items: center;
  padding: 6px 7px;
  border: 1px solid rgba(219, 225, 220, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.strike-row strong,
.strike-row em {
  font-size: 12px;
}

.strike-row em {
  color: var(--muted);
  font-style: normal;
  text-align: right;
}

.strike-row small {
  text-align: right;
}

.strike-gex {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5ebe7;
}

.strike-gex i {
  display: block;
  height: 100%;
  min-width: 2px;
  border-radius: inherit;
  background: var(--neutral);
}

.strike-row.good .strike-gex i {
  background: var(--good);
}

.strike-row.risk .strike-gex i {
  background: var(--risk);
}

.strike-row.watch .strike-gex i {
  background: var(--watch);
}

.gamma-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.gamma-scenario-grid article {
  padding: 9px;
}

.gamma-scenario-grid strong {
  display: block;
  margin: 4px 0 5px;
  font-size: 15px;
}

.gamma-scenario-grid p {
  color: #34413d;
  font-size: 12px;
  line-height: 1.45;
}

.playbook-item {
  padding: 10px;
}

.playbook-item strong {
  display: block;
  margin: 5px 0 6px;
  font-size: 14px;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 12px 12px;
}

.pipeline-step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  padding: 10px;
}

.pipeline-step > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-good);
  color: var(--good);
  font-weight: 800;
}

.pipeline-step strong {
  display: block;
  margin-bottom: 5px;
}

.footer {
  justify-content: space-between;
  padding: 8px 2px 0;
}

@media (max-width: 1180px) {
  .kpi-grid,
  .module-grid,
  .metric-guide-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .committee-section,
  .main-grid,
  .lower-grid {
    grid-template-columns: 1fr;
  }

  .pipeline,
  .wall-list,
  .gamma-metric-grid,
  .gamma-depth-grid,
  .wall-reco-grid,
  .gamma-screener-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .app-shell {
    width: min(100% - 22px, 1540px);
    padding-top: 14px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-meta {
    width: 100%;
    justify-content: stretch;
    text-align: left;
  }

  .topbar-meta > div {
    flex: 1 1 120px;
  }

  h1 {
    font-size: 28px;
  }

  .module-grid,
  .metric-guide-grid,
  .action-grid,
  .pipeline,
  .wall-list,
  .gamma-metric-grid,
  .gamma-depth-grid,
  .gamma-scenario-grid,
  .wall-reco-grid,
  .gamma-screener-list,
  .gamma-summary {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strike-row {
    grid-template-columns: 58px minmax(0, 1fr) auto;
  }

  .strike-gex,
  .strike-row small {
    grid-column: 1 / -1;
  }

  .strike-row small {
    text-align: left;
  }

  .committee-summary {
    grid-template-columns: 1fr;
  }

  .panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .segmented {
    justify-content: flex-start;
  }

  .site-nav a {
    flex: 1 1 auto;
    justify-content: center;
  }
}
