:root {
  --ink: #17211c;
  --muted: #66706a;
  --paper: #f2f3ed;
  --panel: #fafbf7;
  --line: #d8ddd5;
  --green: #225843;
  --acid: #d9f24f;
  --amber: #e8a23a;
  --red: #b84d3f;
  --sidebar: #11201a;
  --mono: "DM Mono", monospace;
  --sans: "Manrope", sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 230px 1fr; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 230px; padding: 30px 18px 22px; color: #f5f7ef; background: var(--sidebar); display: flex; flex-direction: column; }
.brand { display: flex; gap: 12px; align-items: center; color: inherit; text-decoration: none; padding: 0 9px 35px; font-size: 15px; font-weight: 700; line-height: .96; letter-spacing: -.03em; }
.brand-mark { width: 33px; height: 33px; display: flex; align-items: flex-end; gap: 3px; padding: 8px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; transform: rotate(-8deg); }
.brand-mark i { display: block; width: 4px; border-radius: 3px 3px 0 0; background: var(--acid); }
.brand-mark i:nth-child(1) { height: 7px; }.brand-mark i:nth-child(2) { height: 14px; }.brand-mark i:nth-child(3) { height: 10px; }
nav { display: grid; gap: 6px; }
.nav-link { display: flex; align-items: center; gap: 13px; padding: 12px 13px; border-radius: 7px; color: #8fa098; font-size: 12px; font-weight: 600; text-decoration: none; transition: .2s ease; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.05); }
.nav-link.active { color: #17211c; background: var(--acid); }
.nav-link svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.nav-link:first-child svg { fill: currentColor; stroke: none; }
.sidebar-foot { margin-top: auto; display: grid; gap: 18px; }
.feed-health { display: flex; align-items: center; gap: 10px; padding: 12px 11px; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
.feed-health div { display: grid; gap: 2px; }.feed-health strong { font-size: 10px; font-weight: 600; }.feed-health small { color: #74837c; font-size: 9px; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 5px rgba(217,242,79,.09); }
.pulse-dot.error { background: var(--amber); box-shadow: 0 0 0 5px rgba(232,162,58,.1); }
.sec-link { display: flex; justify-content: space-between; padding: 0 11px; color: #88978f; font: 9px var(--mono); letter-spacing: .04em; text-decoration: none; text-transform: uppercase; }
.sec-link:hover { color: #fff; }

main { grid-column: 2; min-width: 0; }
.topbar { height: 68px; padding: 0 4.7vw; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; background: rgba(242,243,237,.9); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 20; }
.market-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 9px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.market-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.top-actions { display: flex; gap: 8px; align-items: center; }
.search-box { height: 35px; min-width: 280px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid var(--line); background: rgba(255,255,255,.5); border-radius: 6px; }
.search-box svg { width: 15px; fill: none; stroke: var(--muted); stroke-width: 1.7; }
.search-box input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 11px; }
.search-box input::placeholder { color: #929a95; }
kbd { border: 1px solid var(--line); padding: 2px 5px; border-radius: 3px; color: #8a938e; background: var(--panel); font: 8px var(--mono); }
.icon-button, .mobile-menu { border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.55); cursor: pointer; }
.icon-button { width: 35px; height: 35px; display: grid; place-items: center; color: var(--ink); }.icon-button:hover { background: #fff; }.icon-button.loading svg { animation: spin .9s linear infinite; }
.icon-button svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.mobile-menu { display: none; width: 35px; height: 35px; padding: 8px; }.mobile-menu span { display: block; height: 1px; background: var(--ink); margin: 4px 0; }

.content { padding: 0 4.7vw; max-width: 1540px; margin: 0 auto; }
.hero { min-height: 272px; padding: 55px 0 42px; display: grid; grid-template-columns: minmax(480px, 1.5fr) 1fr; gap: 7vw; align-items: end; border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 14px; color: var(--green); font: 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
h1 { margin: 0; font: 600 clamp(43px, 4.2vw, 70px)/.9 var(--serif); letter-spacing: -.055em; }
h1 em { color: var(--green); font-weight: 500; }
.hero-note { display: grid; grid-template-columns: 35px 1fr; column-gap: 15px; align-items: start; }
.hero-rule { height: 1px; margin-top: 7px; background: var(--ink); }
.hero-note p { margin: 0; max-width: 370px; color: var(--muted); font-size: 11px; line-height: 1.75; }
.hero-note .as-of { grid-column: 2; margin-top: 22px; color: var(--ink); font: 8px var(--mono); text-transform: uppercase; letter-spacing: .06em; }.as-of strong { font-weight: 500; }
.demo-banner { margin: 20px 0 -1px; padding: 14px 16px; border: 1px solid #d9cb89; background: #fffbea; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 6px; }
.demo-banner div { display: flex; align-items: center; gap: 10px; }.demo-banner span { padding: 3px 6px; background: var(--ink); color: #fff; font: 8px var(--mono); letter-spacing: .08em; }.demo-banner strong { font-size: 11px; }.demo-banner p { margin: 0; color: var(--muted); font-size: 10px; }
.demo-banner button { border: 0; border-bottom: 1px solid; background: transparent; color: var(--green); cursor: pointer; font-size: 9px; font-weight: 700; text-transform: uppercase; }

.metrics { display: grid; grid-template-columns: 1.12fr repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.metric-card { min-height: 172px; padding: 25px 23px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }.metric-card:last-child { border-right: 0; }.metric-card.primary { background: var(--green); color: #fff; margin-left: -4.7vw; padding-left: calc(4.7vw + 23px); }
.metric-head, .metric-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.metric-head { font-size: 9px; font-weight: 600; }.metric-card:not(.primary) .metric-head { color: var(--muted); }
.trend { color: var(--acid); font: 8px var(--mono); }.trend b { font-weight: inherit; }.subtle { font: 8px var(--mono); text-transform: uppercase; }
.metric-number { margin: auto 0; font: 500 42px/.9 var(--serif); letter-spacing: -.04em; }.metric-number.wide { font-size: 35px; }
.metric-footer { color: #7e8983; font: 8px var(--mono); text-transform: uppercase; letter-spacing: .05em; }.primary .metric-footer { color: #bdc9c2; }
.sparkline { height: 24px; width: 70px; display: flex; align-items: end; gap: 3px; }.sparkline i { flex: 1; min-height: 3px; border-radius: 1px 1px 0 0; background: var(--acid); opacity: .8; }
.ring { width: 23px; height: 23px; border: 4px solid #d9ded7; border-right-color: var(--green); border-radius: 50%; transform: rotate(-25deg); }.ring i { display: none; }
.mini-bars { height: 21px; display: flex; align-items: end; gap: 3px; }.mini-bars i { width: 4px; background: var(--green); opacity: .55; }.mini-bars i:nth-child(1){height: 7px}.mini-bars i:nth-child(2){height: 15px}.mini-bars i:nth-child(3){height: 11px}.mini-bars i:nth-child(4){height: 20px}
.arrow-mark { font-size: 17px; color: var(--green); }

.workspace { padding: 55px 0 28px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
h2 { margin: 0; font: 600 32px/1 var(--serif); letter-spacing: -.035em; }
.segmented { padding: 3px; display: flex; border: 1px solid var(--line); border-radius: 6px; background: #e8ebe4; }
.segmented button { min-width: 58px; padding: 7px 12px; border: 0; border-radius: 4px; color: var(--muted); background: transparent; cursor: pointer; font-size: 9px; }.segmented button.active { color: var(--ink); background: #fff; box-shadow: 0 1px 4px rgba(23,33,28,.08); }
.table-wrap { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; }
th { padding: 13px 10px; color: #7c8580; font: 9px var(--mono); text-align: left; text-transform: uppercase; letter-spacing: .07em; }
th:nth-child(1){width:78px}th:nth-child(2){width:19%}th:nth-child(3){width:22%}th:nth-child(4){width:10%}th:nth-child(5){width:9%}th:nth-child(6){width:12%}th:nth-child(7){width:14%}th:nth-child(8){width:36px}
td { height: 76px; padding: 11px 10px; border-top: 1px solid var(--line); vertical-align: middle; font-size: 12px; }
tbody tr { cursor: pointer; transition: background .15s ease; }.tbody-row:hover, tbody tr:hover { background: #f9faf5; }
.score-cell { display: flex; align-items: center; gap: 8px; }.score { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); font: 500 10px var(--mono); position: relative; }.score:after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border-top: 2px solid var(--color); transform: rotate(40deg); }.score.high { --color: var(--green); color: var(--green); }.score.medium { --color: var(--amber); color: #a66813; }.score.watch { --color: #9ba49f; }
.ticker-block, .insider-block { display: grid; gap: 4px; }.ticker-block strong { font: 500 14px var(--mono); }.ticker-block span, .insider-block span { color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.insider-block strong { font-size: 12px; }
.date-cell { color: var(--muted); font: 11px var(--mono); }.numeric { text-align: right; }.value-cell { font: 500 12px var(--mono); }.shares-cell { color: var(--muted); font: 11px var(--mono); }
.row-arrow { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 50%; font-size: 15px; transition: .2s; }tr:hover .row-arrow { border-color: var(--line); transform: translateX(2px); }
.sale-badge { width: max-content; display: inline-flex; align-items: center; gap: 6px; padding: 5px 7px; border-radius: 3px; font: 500 8px var(--mono); white-space: nowrap; text-transform: uppercase; letter-spacing: .02em; }
.sale-badge i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.sale-badge.none { color: #527161; background: #e6ece6; }.sale-badge.partial { color: #9a6417; background: #f5ead6; }.sale-badge.full { color: #9a463b; background: #f3e1dd; }
.empty-state { padding: 60px 20px; text-align: center; }.empty-state span { font: 24px var(--mono); color: var(--muted); }.empty-state h3 { font: 500 20px var(--serif); margin: 10px 0 4px; }.empty-state p { margin: 0; color: var(--muted); font-size: 10px; }
.table-footer { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; color: var(--muted); font: 8px var(--mono); text-transform: uppercase; letter-spacing: .05em; }.table-footer button { border: 0; background: none; color: var(--ink); cursor: pointer; font: inherit; text-transform: inherit; }.table-footer button:hover { color: var(--green); }

.methodology { margin: 55px 0 50px; padding: 48px 0; display: grid; grid-template-columns: 1fr 2fr; gap: 7vw; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }.method-grid article { border-left: 1px solid var(--line); padding-left: 16px; }.method-grid span { color: var(--green); font: 8px var(--mono); }.method-grid h3 { margin: 20px 0 8px; font: 600 16px var(--serif); }.method-grid p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
.page-footer { min-height: 75px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 8px; }.page-footer span { color: var(--ink); font: 600 11px var(--serif); }.page-footer p { margin: 0; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(9,17,13,.45); backdrop-filter: blur(3px); }
.detail-drawer { position: fixed; z-index: 51; inset: 0 0 0 auto; width: min(490px, 100%); padding: 45px; background: #fafbf7; box-shadow: -20px 0 60px rgba(16,31,24,.18); transform: translateX(105%); transition: transform .35s cubic-bezier(.22,.8,.32,1); overflow-y: auto; }.detail-drawer.open { transform: translateX(0); }
.drawer-close { position: absolute; top: 18px; right: 20px; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; font-size: 20px; line-height: 1; }.drawer-close:hover { background: var(--paper); }
.drawer-score { display: flex; align-items: center; gap: 12px; margin-bottom: 35px; }.drawer-score .score { width: 48px; height: 48px; font-size: 13px; }.drawer-score div { display: grid; gap: 2px; }.drawer-score strong { font-size: 11px; }.drawer-score span { color: var(--muted); font: 8px var(--mono); text-transform: uppercase; }
.drawer-company { padding-bottom: 28px; border-bottom: 1px solid var(--ink); }.drawer-company .ticker { color: var(--green); font: 10px var(--mono); }.drawer-company h2 { margin: 6px 0 10px; font-size: 38px; }.drawer-company p { margin: 0; color: var(--muted); font-size: 11px; }
.drawer-value { padding: 30px 0; border-bottom: 1px solid var(--line); }.drawer-value span { color: var(--muted); font: 8px var(--mono); text-transform: uppercase; }.drawer-value strong { display: block; margin-top: 5px; font: 500 42px var(--serif); letter-spacing: -.04em; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; padding: 28px 0; border-bottom: 1px solid var(--line); }.detail-grid div { display: grid; gap: 5px; }.detail-grid span { color: var(--muted); font: 8px var(--mono); text-transform: uppercase; }.detail-grid strong { font-size: 10px; }
.sale-check-card { margin-top: 24px; padding: 18px; border: 1px solid var(--line); border-left: 3px solid #8aa092; background: #f2f5ef; }.sale-check-card.partial { border-left-color: var(--amber); background: #fbf6eb; }.sale-check-card.full { border-left-color: var(--red); background: #faf0ed; }
.sale-check-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }.sale-check-head > span { color: var(--muted); font: 8px var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.sale-check-card > strong { font: 600 17px var(--serif); }.sale-check-card > p { margin: 7px 0 0; color: var(--muted); font-size: 9px; line-height: 1.65; }
.reasons { padding: 28px 0; }.reasons h3 { margin: 0 0 14px; font: 600 16px var(--serif); }.reason { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 10px; }.reason:before { content: '✓'; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #e1e9da; color: var(--green); font-size: 9px; }
.edgar-button { display: flex; justify-content: space-between; padding: 14px 16px; background: var(--green); color: #fff; border-radius: 4px; font-size: 10px; font-weight: 600; text-decoration: none; }.edgar-button:hover { background: #163e2e; }
.drawer-disclaimer { margin: 18px 0 0; color: var(--muted); font-size: 8px; line-height: 1.6; }
.toast { position: fixed; z-index: 80; left: 50%; bottom: 22px; transform: translate(-50%, 20px); padding: 11px 15px; border-radius: 5px; color: #fff; background: var(--ink); box-shadow: 0 8px 30px rgba(0,0,0,.2); font-size: 10px; opacity: 0; pointer-events: none; transition: .25s; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { animation: reveal .65s both; }.metrics { animation-delay: .08s; }.workspace { animation-delay: .16s; }

@keyframes reveal { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1050px) {
  .app-shell { grid-template-columns: 190px 1fr; }.sidebar { width: 190px; }.hero { grid-template-columns: 1.3fr 1fr; }.metrics { grid-template-columns: repeat(2, 1fr); }.metric-card:nth-child(2) { border-right: 0; }.metric-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.methodology { grid-template-columns: 1fr; }.search-box { min-width: 220px; }
}
@media (max-width: 760px) {
  .app-shell { display: block; }.sidebar { width: 230px; transform: translateX(-105%); transition: transform .25s ease; box-shadow: 15px 0 40px rgba(0,0,0,.2); }.sidebar.open { transform: translateX(0); }main { grid-column: auto; }.topbar { padding: 0 18px; }.mobile-menu { display: block; }.market-status, kbd { display: none; }.search-box { min-width: 0; width: min(230px, 56vw); }.content { padding: 0 18px; }.hero { min-height: auto; padding: 42px 0 34px; grid-template-columns: 1fr; gap: 30px; }.hero h1 { font-size: clamp(40px, 12vw, 55px); }.hero-note { max-width: 430px; }.demo-banner div { align-items: flex-start; flex-wrap: wrap; }.demo-banner p { width: 100%; }.metrics { grid-template-columns: 1fr 1fr; }.metric-card { padding: 20px 15px; min-height: 150px; }.metric-card.primary { margin-left: -18px; padding-left: 33px; }.metric-number { font-size: 36px; }.metric-number.wide { font-size: 29px; }.workspace { padding-top: 42px; }.section-head { align-items: flex-start; flex-direction: column; }.table-wrap { margin-right: -18px; }table { min-width: 880px; }.method-grid { grid-template-columns: 1fr; gap: 25px; }.method-grid article { padding-bottom: 8px; }.page-footer { align-items: flex-start; flex-direction: column; justify-content: center; }.detail-drawer { padding: 42px 28px; }
}
@media (max-width: 470px) {
  .search-box { width: 54vw; }.search-box input::placeholder { color: transparent; }.metrics { margin: 0 -18px; }.metric-card.primary { margin-left: 0; padding-left: 20px; }.metric-card { min-height: 142px; }.metric-head { align-items: flex-start; }.metric-head .subtle, .trend { display: none; }.metric-number.wide { font-size: 26px; }.metric-footer > span:first-child { max-width: 105px; line-height: 1.5; }.demo-banner button { white-space: nowrap; }.drawer-company h2 { font-size: 32px; }.segmented { max-width: 100%; overflow-x: auto; }
}
