:root {
  --bg: #09090d;
  --panel: #101016;
  --panel-2: #14141c;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.14);
  --text: #f1f0f3;
  --muted: #8e8d99;
  --soft: #b7b5c0;
  --violet: #9b7bff;
  --violet-bright: #bda9ff;
  --yellow: #f1c75b;
  --green: #72dd9b;
  --sidebar: 226px;
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 1100px; background: var(--bg); color: var(--text); }
button { font: inherit; color: inherit; cursor: pointer; }
.app-shell { display: flex; min-height: 100vh; }

.sidebar { width: var(--sidebar); border-right: 1px solid var(--line); padding: 26px 14px 16px; display: flex; flex-direction: column; background: #0c0c11; }
.brand-lockup { display: flex; align-items: center; gap: 10px; padding: 0 12px 30px; color: #f7f6fa; font-size: 13px; letter-spacing: .17em; font-weight: 800; }
.brand-mark { width: 22px; height: 22px; display: flex; align-items: end; gap: 3px; transform: skew(-15deg); }
.brand-mark span { display: block; width: 5px; border-radius: 3px; background: var(--violet); box-shadow: 0 0 14px rgba(155,123,255,.6); }
.brand-mark span:nth-child(1) { height: 10px; opacity: .6; }.brand-mark span:nth-child(2) { height: 17px; }.brand-mark span:nth-child(3) { height: 13px; opacity: .8; }
.workspace-switcher { display: flex; align-items: center; gap: 9px; padding: 10px 9px; border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: 7px; margin-bottom: 28px; }
.workspace-avatar { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; background: linear-gradient(145deg,#e5a47a,#7d59c9); color: #1b1422; font-size: 9px; font-weight: 800; }
.workspace-switcher div:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }.workspace-switcher strong { font-size: 10px; font-weight: 700; white-space: nowrap; }.workspace-switcher span { color: var(--muted); font-size: 9px; }
.nav-label { margin: 0; color: #62616d; font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }.primary-nav { display: flex; flex-direction: column; gap: 3px; }.nav-item, .recent-market { border: 0; background: transparent; display: flex; align-items: center; gap: 10px; border-radius: 6px; color: #9b99a5; text-align: left; font-size: 11px; padding: 10px 11px; }.nav-item:hover, .recent-market:hover, .nav-item.active, .recent-market.active { color: #f4f2f6; background: rgba(255,255,255,.06); }.nav-icon { width: 15px; color: #7f7c8b; text-align: center; font-size: 14px; }.nav-item.active .nav-icon { color: var(--violet-bright); }.sidebar-divider { height: 1px; background: var(--line); margin: 25px 8px 20px; }.section-heading { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 9px; }.tiny-button { border: 0; background: none; color: #6c6978; font-size: 16px; line-height: 1; }.recent-section { display: flex; flex-direction: column; gap: 3px; }.market-dot, .picker-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }.travel-dot { background: var(--violet); box-shadow: 0 0 9px rgba(155,123,255,.65); }.ai-dot { background: var(--yellow); }.health-dot { background: var(--green); }.recent-market { padding: 9px 11px; font-size: 10px; }.sidebar-footer { margin-top: auto; }.engine-status { display: flex; align-items: center; gap: 8px; margin: 0 8px 18px; padding: 11px 9px; background: rgba(114,221,155,.05); border: 1px solid rgba(114,221,155,.14); border-radius: 6px; }.status-pulse, .sync-dot, .green-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(114,221,155,.08), 0 0 10px var(--green); }.engine-status div { display: flex; flex-direction: column; gap: 2px; flex: 1; }.engine-status strong { font-size: 9px; }.engine-status span { color: #777984; font-size: 8px; }.engine-status .status-live { color: var(--green); font: 8px "DM Mono", monospace; }.settings { width: 100%; }

.main-content { flex: 1; min-width: 0; }.topbar { height: 72px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 34px; }.breadcrumbs { display: flex; align-items: center; gap: 11px; color: #777582; font: 9px "DM Mono", monospace; letter-spacing: .08em; }.breadcrumbs i { color: #3c3b45; font-style: normal; }.breadcrumbs strong { color: #d4d1da; font-weight: 500; }.topbar-actions { display: flex; align-items: center; gap: 19px; }.icon-button, .round-action, .panel-close, .modal-close { border: 0; background: none; color: #777582; position: relative; }.icon-button { font-size: 18px; transform: rotate(180deg); }.notification-dot { position: absolute; top: -2px; right: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--yellow); }
.main-content { flex: 1; min-width: 0; }.topbar { height: 72px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 34px; }.breadcrumbs { display: flex; align-items: center; gap: 11px; color: #777582; font: 9px "DM Mono", monospace; letter-spacing: .08em; }.breadcrumbs i { color: #3c3b45; font-style: normal; }.breadcrumbs strong { color: #d4d1da; font-weight: 500; }.topbar-actions { display: flex; align-items: center; gap: 19px; }.top-settings { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: rgba(255,255,255,.025); color: #9b99a5; border-radius: 4px; padding: 7px 9px; font: 8px "DM Mono", monospace; }.top-settings span { color: var(--violet-bright); font-size: 12px; }.top-settings:hover { color: #eeeaf5; border-color: rgba(189,169,255,.45); }.icon-button, .round-action, .panel-close, .modal-close { border: 0; background: none; color: #777582; position: relative; }.icon-button { font-size: 18px; transform: rotate(180deg); }.notification-dot { position: absolute; top: -2px; right: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--yellow); }
.explorer-view { padding: 40px 34px 32px; max-width: 1600px; margin: auto; }.page-intro { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 27px; }.eyebrow, .detail-type, .sim-label { display: flex; align-items: center; gap: 8px; color: #8b7cd4; font: 9px "DM Mono", monospace; letter-spacing: .15em; }.eyebrow-line { display: inline-block; height: 1px; width: 18px; background: var(--violet); box-shadow: 0 0 8px var(--violet); }.eyebrow-index { color: #575465; margin-left: 6px; }.page-intro h1 { margin: 13px 0 8px; font-size: clamp(30px, 3.1vw, 47px); letter-spacing: -.06em; line-height: 1.03; font-weight: 700; }.page-intro h1 em { color: var(--violet-bright); font-style: normal; }.page-intro p { margin: 0; color: var(--muted); font-size: 12px; }.page-intro p strong { color: #d7d4dd; font-weight: 600; }.intro-actions { display: flex; align-items: center; gap: 10px; padding-bottom: 5px; }.ghost-button, .round-action { border: 1px solid var(--line-strong); background: rgba(255,255,255,.025); border-radius: 5px; color: #aaa7b2; font-size: 10px; padding: 10px 13px; }.ghost-button span { color: var(--violet-bright); margin-left: 10px; }.round-action { width: 34px; height: 34px; padding: 0; font-size: 14px; letter-spacing: 1px; }
.explorer-grid { display: grid; grid-template-columns: minmax(560px, 1fr) 310px; gap: 17px; }.graph-card, .details-panel, .layer-dock { border: 1px solid var(--line); background: var(--panel); border-radius: 8px; }.graph-card { overflow: hidden; min-height: 655px; display: flex; flex-direction: column; }.graph-toolbar { height: 53px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }.graph-mode { background: #0b0b10; padding: 3px; border: 1px solid var(--line); border-radius: 5px; }.mode-button { border: 0; border-radius: 3px; background: none; color: #666572; font: 9px "DM Mono", monospace; padding: 6px 11px; }.mode-button.active { color: #e5e1ee; background: #252130; box-shadow: 0 0 14px rgba(155,123,255,.1); }.graph-tools { display: flex; gap: 17px; }.toolbar-button { border: 0; background: none; color: #6d6b77; font: 9px "DM Mono", monospace; }.toolbar-button:first-letter { color: #ae9bff; }.toolbar-button span { margin-left: 3px; }
.graph-canvas { flex: 1; position: relative; min-height: 560px; overflow: hidden; background: radial-gradient(ellipse at 50% 47%, rgba(74,58,126,.14) 0%, rgba(25,22,40,.08) 25%, transparent 57%), #0e0e15; }.graph-grid { position: absolute; inset: 0; opacity: .3; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, black, transparent 74%); }.orbit { position: absolute; border: 1px solid rgba(155,123,255,.1); border-radius: 50%; left: 50%; top: 51%; transform: translate(-50%,-50%) rotate(-14deg); }.orbit-one { width: 390px; height: 250px; }.orbit-two { width: 615px; height: 400px; border-color: rgba(255,255,255,.05); }.graph-lines { position: absolute; inset: 0; width: 100%; height: 100%; }.graph-lines path { fill: none; stroke: rgba(155,123,255,.21); stroke-width: 1; stroke-dasharray: 3 6; }.graph-lines .line-active { stroke: rgba(155,123,255,.9); stroke-width: 1.5; stroke-dasharray: none; filter: drop-shadow(0 0 5px rgba(155,123,255,.6)); }.graph-lines circle { fill: #8e72e9; opacity: .75; }.graph-label { position: absolute; color: #454351; font: 8px "DM Mono", monospace; letter-spacing: .13em; }.graph-label span { color: #73717e; margin-left: 7px; }.label-top { top: 24px; left: 24px; }.label-bottom { bottom: 20px; left: 24px; }.label-bottom span { color: var(--green); margin: 0 5px; }.graph-node { position: absolute; z-index: 2; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 1px solid rgba(255,255,255,.13); background: rgba(22,22,31,.93); color: var(--text); border-radius: 7px; box-shadow: 0 8px 30px rgba(0,0,0,.25); transition: transform .2s, border .2s, box-shadow .2s; }.graph-node:hover { transform: translate(-50%,-50%) scale(1.035); border-color: rgba(189,169,255,.7); box-shadow: 0 0 24px rgba(155,123,255,.14); }.graph-node strong { font-size: 12px; font-weight: 700; }.graph-node small { color: #777582; font: 8px "DM Mono", monospace; margin-top: 4px; }.node-icon { display: grid; place-items: center; width: 21px; height: 21px; margin-bottom: 9px; color: var(--violet-bright); background: rgba(155,123,255,.11); border-radius: 5px; font-size: 11px; }.expand-node { position: absolute; right: 9px; top: 9px; color: #766f89; font-size: 13px; }.node-flight { left: 23%; top: 23%; width: 138px; padding: 13px 14px; border-color: rgba(155,123,255,.75); box-shadow: 0 0 30px rgba(155,123,255,.13); }.node-flight.selected:after { content: ""; position: absolute; inset: -4px; border: 1px solid rgba(155,123,255,.32); border-radius: 9px; animation: breathe 2.4s infinite; }.node-hotel { left: 73%; top: 21%; width: 128px; padding: 12px; }.node-airport { left: 20%; top: 64%; width: 132px; padding: 12px; }.node-rewards { left: 78%; top: 64%; width: 126px; padding: 12px; }.node-visa { left: 50%; top: 14%; width: 119px; padding: 11px; }.node-baggage { left: 49%; top: 87%; width: 126px; padding: 11px; }.node-center { left: 50%; top: 51%; width: 136px; height: 136px; align-items: center; justify-content: center; text-align: center; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #26203d, #171522 65%); border-color: rgba(155,123,255,.7); box-shadow: 0 0 0 10px rgba(155,123,255,.035), 0 0 52px rgba(107,73,205,.28); }.node-center:before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(189,169,255,.13); border-radius: 50%; }.node-center .node-kicker { color: #8d7cce; font: 8px "DM Mono", monospace; letter-spacing: .15em; }.node-center strong { font-size: 21px; letter-spacing: -.04em; margin: 6px 0; }.node-center .node-caption { color: #7f7896; font: 8px "DM Mono", monospace; }.node-ring { position: absolute; inset: -21px; border: 1px solid rgba(155,123,255,.14); border-radius: 50%; border-left-color: transparent; transform: rotate(35deg); }.signal-ping { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(114,221,155,.06), 0 0 15px var(--green); }.ping-one { left: 35%; top: 37%; }.ping-two { right: 29%; top: 45%; background: var(--yellow); box-shadow: 0 0 0 6px rgba(241,199,91,.06), 0 0 15px var(--yellow); }.graph-tooltip { position: absolute; bottom: 42px; right: 23px; color: #6c6977; font: 9px "DM Mono", monospace; }.graph-tooltip span { color: #a795f6; margin-left: 6px; }.graph-footer { min-height: 41px; display: flex; align-items: center; justify-content: space-between; padding: 0 17px; border-top: 1px solid var(--line); }.legend { display: flex; gap: 16px; color: #777582; font: 8px "DM Mono", monospace; }.legend span { display: flex; align-items: center; gap: 5px; }.legend-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; }.legend-dot.violet { background: var(--violet); }.legend-dot.yellow { background: var(--yellow); }.legend-dot.green { background: var(--green); }.graph-zoom { display: flex; align-items: center; gap: 10px; color: #686673; font: 9px "DM Mono", monospace; }.graph-zoom button { border: 0; background: none; color: #918d9c; padding: 0; font-size: 14px; }

.details-panel { padding: 19px; display: flex; flex-direction: column; min-height: 655px; }.details-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 23px; }.detail-index { color: #686573; font: 8px "DM Mono", monospace; letter-spacing: .15em; }.panel-close { color: #5e5b68; font-size: 21px; line-height: 1; }.detail-header { display: flex; align-items: center; gap: 12px; }.detail-symbol { display: grid; place-items: center; width: 37px; height: 37px; color: var(--violet-bright); background: rgba(155,123,255,.13); border: 1px solid rgba(155,123,255,.25); border-radius: 7px; }.detail-type { font-size: 8px; color: #8f82d6; margin-bottom: 5px; }.detail-header h2 { margin: 0; font-size: 22px; letter-spacing: -.04em; }.detail-description { color: #96939f; line-height: 1.55; font-size: 10px; margin: 17px 0 12px; }.detail-tags { display: flex; flex-wrap: wrap; gap: 5px; }.detail-tags span { padding: 5px 7px; color: #85828f; border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: 3px; font: 8px "DM Mono", monospace; }.panel-section { margin-top: 26px; }.panel-section-heading { display: flex; justify-content: space-between; color: #bbb8c2; font: 9px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .12em; }.section-count { color: #666370; }.topic-list { border-top: 1px solid var(--line); margin-top: 10px; }.topic-list button { width: 100%; display: flex; align-items: center; gap: 9px; border: 0; border-bottom: 1px solid rgba(255,255,255,.055); background: none; padding: 10px 0; color: #adabb5; text-align: left; font-size: 10px; }.topic-list button:hover { color: var(--violet-bright); }.topic-list span { color: #575460; font: 8px "DM Mono", monospace; }.topic-list i { margin-left: auto; color: #514e5b; font-style: normal; }.signal-card { margin-top: 19px; padding: 12px; background: rgba(114,221,155,.045); border: 1px solid rgba(114,221,155,.11); border-radius: 6px; }.signal-card-header, .signal-card-footer { display: flex; justify-content: space-between; align-items: center; }.signal-card-header { color: #a3a1aa; font-size: 9px; }.signal-card-header strong { color: var(--green); font: 9px "DM Mono", monospace; }.green-dot { width: 5px; height: 5px; margin-right: 6px; box-shadow: 0 0 7px var(--green); }.signal-bars { display: flex; align-items: end; gap: 3px; height: 24px; margin: 11px 0 8px; }.signal-bars i { display: block; flex: 1; background: var(--green); opacity: .72; border-radius: 2px 2px 0 0; }.signal-bars i:nth-child(1),.signal-bars i:nth-child(7),.signal-bars i:nth-child(13) { height: 10px; opacity: .35; }.signal-bars i:nth-child(2),.signal-bars i:nth-child(9) { height: 16px; opacity: .5; }.signal-bars i:nth-child(3),.signal-bars i:nth-child(10),.signal-bars i:nth-child(15) { height: 20px; }.signal-bars i:nth-child(4),.signal-bars i:nth-child(5),.signal-bars i:nth-child(6),.signal-bars i:nth-child(8),.signal-bars i:nth-child(11),.signal-bars i:nth-child(12),.signal-bars i:nth-child(14),.signal-bars i:nth-child(16),.signal-bars i:nth-child(17),.signal-bars i:nth-child(18),.signal-bars i:nth-child(19),.signal-bars i:nth-child(20) { height: 24px; }.signal-card-footer { color: #68766d; font: 8px "DM Mono", monospace; }.signal-card-footer span:last-child { color: var(--green); }.opportunity-teaser { margin-top: auto; padding-top: 18px; }.teaser-heading { display: flex; align-items: center; justify-content: space-between; }.opportunity-badge { color: var(--yellow); font: 8px "DM Mono", monospace; letter-spacing: .1em; }.score { color: var(--yellow); font: 18px "DM Mono", monospace; }.score small, .cross-opportunity strong small { color: #82766a; font-size: 9px; }.opportunity-teaser h3 { margin: 11px 0 5px; font-size: 12px; }.opportunity-teaser p { color: #85828e; font-size: 9px; line-height: 1.5; margin: 0 0 12px; }.open-simulator, .primary-button, .synthesis-button { width: 100%; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(241,199,91,.27); background: rgba(241,199,91,.08); color: #e9cf8f; border-radius: 4px; padding: 10px 11px; font: 9px "DM Mono", monospace; }.open-simulator span, .primary-button span { color: var(--yellow); font-size: 14px; }
.layer-dock { min-height: 70px; margin-top: 17px; padding: 13px 16px; display: flex; align-items: center; gap: 25px; }.layer-label { display: flex; align-items: center; gap: 9px; min-width: 114px; }.layer-icon { display: grid; place-items: center; width: 25px; height: 25px; color: var(--violet-bright); border: 1px solid rgba(155,123,255,.2); background: rgba(155,123,255,.08); border-radius: 5px; font-size: 13px; }.layer-label div { display: flex; flex-direction: column; gap: 2px; }.layer-label strong { color: #c8c5ce; font-size: 9px; }.layer-label span:not(.layer-icon) { color: #6f6d79; font: 8px "DM Mono", monospace; }.layer-buttons { display: flex; gap: 6px; flex: 1; }.layer-button { white-space: nowrap; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: rgba(255,255,255,.02); color: #85828e; padding: 8px 9px; border-radius: 4px; font: 8px "DM Mono", monospace; }.layer-button.active { border-color: rgba(155,123,255,.35); color: #d2c8f6; background: rgba(155,123,255,.09); }.layer-dot { width: 5px; height: 5px; border-radius: 50%; background: #777; }.layer-dot.overview { background: var(--violet); }.layer-dot.companies { background: #7fb5e4; }.layer-dot.pain { background: #e88383; }.layer-dot.community { background: var(--green); }.layer-dot.opportunity { background: var(--yellow); }.layer-new { color: var(--yellow); font-size: 7px; margin-left: 2px; }.dock-settings { border: 0; background: none; color: #686572; font: 8px "DM Mono", monospace; white-space: nowrap; }.dock-settings span { color: #a09daa; font-size: 11px; margin-left: 5px; }

.modal-backdrop { display: none; position: fixed; z-index: 20; inset: 0; background: rgba(4,4,7,.75); backdrop-filter: blur(8px); place-items: center; padding: 30px; }.modal-backdrop.open { display: grid; animation: fade-in .2s ease; }.simulator-modal, .connect-modal { width: min(850px, 100%); max-height: calc(100vh - 60px); overflow: auto; border: 1px solid var(--line-strong); background: #111118; border-radius: 10px; box-shadow: 0 25px 90px rgba(0,0,0,.55); padding: 27px; }.connect-modal { width: min(680px, 100%); }.modal-header { display: flex; justify-content: space-between; align-items: flex-start; }.modal-header h2 { margin: 8px 0 0; font-size: 26px; letter-spacing: -.05em; }.modal-close { font-size: 27px; color: #706d7a; }.score-banner { display: flex; align-items: center; gap: 27px; padding: 15px 18px; margin: 25px 0 24px; border: 1px solid rgba(241,199,91,.16); background: linear-gradient(90deg, rgba(241,199,91,.08), rgba(155,123,255,.07)); border-radius: 7px; }.score-banner > div:first-child { display: flex; flex-direction: column; gap: 4px; min-width: 100px; }.score-banner span, .score-banner p, .side-metric > span, .side-metric small { color: #898690; font: 8px "DM Mono", monospace; }.score-banner strong { color: var(--yellow); font: 27px "DM Mono", monospace; }.score-banner strong small { color: #877868; font-size: 10px; }.score-banner p { flex: 1; line-height: 1.5; }.score-orbit { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid rgba(241,199,91,.3); border-radius: 50%; color: var(--yellow); }.simulator-grid { display: grid; grid-template-columns: 1fr 225px; gap: 27px; }.sim-tabs { display: flex; gap: 19px; border-bottom: 1px solid var(--line); }.sim-tabs button { border: 0; background: none; color: #73707d; padding: 0 0 11px; font: 9px "DM Mono", monospace; }.sim-tabs button.active { color: #d6c8ff; border-bottom: 1px solid var(--violet); }.sim-section { padding: 22px 0; border-bottom: 1px solid var(--line); }.sim-label { color: #7d70bc; font-size: 8px; }.sim-section h3 { max-width: 480px; margin: 10px 0 8px; font-size: 17px; line-height: 1.35; }.sim-section p { max-width: 515px; color: #96929e; font-size: 10px; line-height: 1.7; margin: 0; }.evidence-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 15px; }.evidence-row div { display: flex; flex-direction: column; gap: 4px; padding: 11px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,.018); }.evidence-row strong { color: #e4dfff; font: 19px "DM Mono", monospace; }.evidence-row span { color: #74717e; font: 8px "DM Mono", monospace; }.mvp-list { margin-top: 12px; border-top: 1px solid var(--line); }.mvp-list div { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05); color: #b7b3bf; font-size: 10px; }.mvp-list i { color: #6f6893; font: 8px "DM Mono", monospace; font-style: normal; }.mvp-list b { margin-left: auto; color: var(--green); font: 8px "DM Mono", monospace; font-weight: 400; }.simulator-side { border-left: 1px solid var(--line); padding-left: 22px; }.side-metric { display: flex; flex-direction: column; gap: 7px; padding: 0 0 17px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }.side-metric strong { font-size: 15px; }.side-metric small { line-height: 1.4; }.yellow-text { color: var(--yellow); }.violet-text { color: var(--violet-bright); }.difficulty { display: flex; gap: 4px; }.difficulty i { width: 19px; height: 3px; background: var(--yellow); }.difficulty i.muted { opacity: .16; }.api-list { display: flex; flex-wrap: wrap; gap: 5px; }.api-list span { padding: 5px 7px; color: #9d99a6; background: rgba(255,255,255,.05); border-radius: 3px; font: 8px "DM Mono", monospace; }.full-width { margin-top: 6px; color: #d7c5ff; border-color: rgba(155,123,255,.32); background: rgba(155,123,255,.1); }.full-width span { color: var(--violet-bright); }.connect-intro { margin: 13px 0 27px; color: #96929e; font-size: 11px; }.market-pickers { display: flex; align-items: center; gap: 12px; }.market-picker { display: flex; align-items: center; gap: 11px; flex: 1; border: 1px solid var(--line-strong); background: rgba(255,255,255,.025); border-radius: 6px; padding: 15px; text-align: left; }.picker-dot { width: 9px; height: 9px; }.market-picker span:nth-child(2) { display: flex; flex-direction: column; gap: 5px; flex: 1; }.market-picker small { color: #777480; font: 8px "DM Mono", monospace; }.market-picker strong { font-size: 12px; }.market-picker i { color: #6b6876; font-style: normal; }.connect-symbol { color: #7568ab; font-size: 22px; }.synthesis-button { margin-top: 19px; justify-content: center; gap: 11px; color: #d9caff; border-color: rgba(155,123,255,.32); background: rgba(155,123,255,.11); }.synthesis-button span { color: var(--violet-bright); }.synthesis-result { display: none; margin-top: 24px; padding: 19px; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 7px; animation: rise-in .35s ease; }.synthesis-result.show { display: block; }.result-header { display: flex; justify-content: space-between; color: #656370; font: 8px "DM Mono", monospace; }.path-line { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 19px 0; color: #bab5c6; font-size: 10px; }.path-line i { color: #5f5873; font-style: normal; }.path-highlight { color: var(--green); }.cross-opportunity { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-top: 17px; border-top: 1px solid var(--line); }.cross-opportunity > div span { color: #8d7fd1; font: 8px "DM Mono", monospace; }.cross-opportunity h3 { margin: 8px 0 5px; font-size: 15px; }.cross-opportunity p { color: #898590; font-size: 9px; margin: 0; }.cross-opportunity > strong { color: var(--green); font: 23px "DM Mono", monospace; }.cross-opportunity > strong small { color: #69796d; }
.empty-view { display: none; place-items: center; align-content: center; text-align: center; min-height: calc(100vh - 72px); padding-bottom: 100px; }.empty-view.active { display: grid; }.empty-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 24px; color: var(--violet-bright); border: 1px solid rgba(155,123,255,.25); border-radius: 50%; background: rgba(155,123,255,.08); font-size: 26px; }.empty-view h2 { margin: 15px 0 8px; font-size: 30px; letter-spacing: -.05em; }.empty-view p { color: #898690; font-size: 11px; margin: 0 0 22px; }.primary-button { width: auto; gap: 35px; color: #d7c6ff; border-color: rgba(155,123,255,.33); background: rgba(155,123,255,.11); }.toast { position: fixed; z-index: 30; right: 25px; bottom: 25px; display: flex; align-items: center; gap: 11px; padding: 12px 15px; min-width: 220px; border: 1px solid rgba(155,123,255,.25); background: #171521; border-radius: 6px; box-shadow: 0 12px 35px rgba(0,0,0,.3); transform: translateY(120px); opacity: 0; transition: .25s ease; }.toast.show { transform: translateY(0); opacity: 1; }.toast > span { color: var(--violet-bright); }.toast div { display: flex; flex-direction: column; gap: 2px; }.toast strong { font-size: 10px; }.toast small { color: #898590; font: 8px "DM Mono", monospace; }
@keyframes breathe { 0%,100% { opacity: .35; transform: scale(1); } 50% { opacity: .8; transform: scale(1.015); } } @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes rise-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1200px) { :root { --sidebar: 200px; }.explorer-view { padding-left: 22px; padding-right: 22px; }.layer-dock { gap: 12px; }.layer-buttons { overflow: hidden; }.layer-button { padding-left: 7px; padding-right: 7px; }.graph-tools span { display: none; } }

.progress-hud { position: fixed; z-index: 18; top: 87px; right: 34px; display: flex; align-items: center; gap: 11px; width: min(355px, calc(100vw - 68px)); padding: 11px 12px; border: 1px solid rgba(155,123,255,.28); background: rgba(21,20,31,.96); border-radius: 7px; box-shadow: 0 15px 45px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease; backdrop-filter: blur(12px); }.progress-hud.active { opacity: 1; pointer-events: auto; transform: translateY(0); }.progress-spinner { display: block; width: 17px; height: 17px; flex: 0 0 17px; border: 2px solid rgba(155,123,255,.2); border-top-color: var(--violet-bright); border-radius: 50%; animation: spin .8s linear infinite; }.progress-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 3px; }.progress-copy strong { color: #e5e0f3; font-size: 10px; }.progress-copy small { overflow: hidden; color: #8d8998; font: 8px "DM Mono", monospace; text-overflow: ellipsis; white-space: nowrap; }.progress-track { position: relative; height: 2px; margin-top: 4px; overflow: hidden; background: rgba(155,123,255,.13); border-radius: 2px; }.progress-track i { position: absolute; left: -30%; width: 35%; height: 100%; background: linear-gradient(90deg, transparent, var(--violet-bright), transparent); animation: progress-sweep 1.15s ease-in-out infinite; }.progress-hud button { border: 1px solid var(--line); background: rgba(255,255,255,.035); color: #9d99a7; border-radius: 4px; padding: 6px 8px; font: 8px "DM Mono", monospace; }.progress-hud button:hover { color: #eeeaf5; border-color: rgba(255,255,255,.25); }
@keyframes spin { to { transform: rotate(360deg); } } @keyframes progress-sweep { from { transform: translateX(0); } to { transform: translateX(380%); } }
@keyframes layer-focus { 0%,100% { box-shadow: 0 0 0 2px rgba(155,123,255,.04), 0 0 18px rgba(155,123,255,.08); } 50% { box-shadow: 0 0 0 4px rgba(155,123,255,.11), 0 0 28px rgba(155,123,255,.2); } }
.expansion-node span { flex: 1; }.expansion-node b { color: #787092; font: 11px "DM Mono", monospace; font-weight: 400; }

.graph-node.selected { border-color: rgba(189,169,255,.9); box-shadow: 0 0 0 4px rgba(155,123,255,.08), 0 0 34px rgba(155,123,255,.25); }
.graph-node.layer-muted { opacity: .16; filter: grayscale(.85) saturate(.25); pointer-events: none; }
.graph-node.layer-focus { animation: layer-focus 1.8s ease-in-out infinite; }
.hidden { display: none !important; }
.evidence-heading { display: flex; align-items: center; justify-content: space-between; }.evidence-status { color: #74717e; font: 8px "DM Mono", monospace; letter-spacing: .08em; }.evidence-copy { max-width: 560px; margin: 12px 0 0; color: #aaa6b3; font-size: 10px; line-height: 1.65; }
body.reduced-motion *, body.reduced-motion *::before, body.reduced-motion *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
.graph-node.ai-generated { border-color: rgba(155,123,255,.48); background: rgba(31,26,48,.9); }
.graph-node.ai-generated strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.violet-dot { background: var(--violet-bright); box-shadow: 0 0 9px rgba(189,169,255,.5); }
.graph-canvas.map-mode { background: radial-gradient(ellipse at 50% 47%, rgba(48,100,126,.18) 0%, rgba(21,42,54,.12) 28%, transparent 60%), #0e1519; }
.graph-canvas.map-mode .orbit { border-style: dashed; border-color: rgba(127,181,228,.18); }
.graph-canvas.map-mode .graph-lines path { stroke: rgba(127,181,228,.35); stroke-dasharray: 1 4; }
.graph-canvas.focus-mode .graph-node:not(.selected):not(.root-node) { opacity: .12; filter: blur(1px) grayscale(.7); pointer-events: none; }
.graph-canvas.focus-mode .graph-node.selected { transform: translate(-50%,-50%) scale(1.14); z-index: 8; }
.graph-canvas.zoom-110 .graph-node { transform: translate(-50%,-50%) scale(1.1); }
.graph-canvas.zoom-90 .graph-node { transform: translate(-50%,-50%) scale(.9); }
.graph-canvas.zoom-110 .graph-node:hover, .graph-canvas.zoom-110 .graph-node.selected { transform: translate(-50%,-50%) scale(1.14); }
.graph-canvas.zoom-90 .graph-node:hover, .graph-canvas.zoom-90 .graph-node.selected { transform: translate(-50%,-50%) scale(.94); }
.details-panel.collapsed { display: none; }
.explorer-grid.details-collapsed { grid-template-columns: 1fr; }
.view-content { width: min(780px, 100%); padding: 35px; text-align: left; }
.view-content h2 { margin: 15px 0 8px; font-size: 30px; letter-spacing: -.05em; }
.view-content > p { color: #898690; font-size: 11px; margin: 0 0 22px; }
.opportunity-feed, .signal-feed, .notification-list { display: grid; gap: 8px; margin: 20px 0 24px; }
.opportunity-card, .feed-item { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: 6px; }
.opportunity-card > div, .feed-item > div { display: flex; flex: 1; flex-direction: column; gap: 5px; }
.opportunity-card strong, .feed-item strong { color: #e2ddec; font-size: 11px; }
.opportunity-card span, .feed-item span { color: #898590; font-size: 9px; line-height: 1.45; }
.opportunity-card b { color: var(--yellow); font: 18px "DM Mono", monospace; }
.feed-item small { color: #6f6b79; font: 8px "DM Mono", monospace; }
.small-modal { width: min(520px, 100%); border: 1px solid var(--line-strong); background: #111118; border-radius: 10px; box-shadow: 0 25px 90px rgba(0,0,0,.55); padding: 27px; }
.modal-copy { color: #96929e; font-size: 10px; line-height: 1.6; margin: 13px 0 22px; }
.field-label { display: block; color: #7d70bc; font: 8px "DM Mono", monospace; letter-spacing: .1em; margin-bottom: 8px; }
.small-modal input[type="text"], .small-modal input:not([type]) { width: 100%; border: 1px solid var(--line-strong); background: rgba(255,255,255,.035); color: #e6e1ee; border-radius: 5px; padding: 12px; outline: none; font: 11px Manrope, sans-serif; }
.small-modal input:focus { border-color: rgba(155,123,255,.6); box-shadow: 0 0 0 3px rgba(155,123,255,.08); }
.modal-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.modal-form-actions .ghost-button { width: auto; }
.brief-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 22px; }
.brief-stats div { padding: 12px; border: 1px solid var(--line); border-radius: 5px; }.brief-stats strong { display: block; color: #e2ddec; font: 17px "DM Mono", monospace; }.brief-stats span { color: #777480; font: 8px "DM Mono", monospace; }
.settings-list { display: grid; gap: 9px; }.settings-list label { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.02); border-radius: 5px; }.settings-list label span { display: flex; flex-direction: column; gap: 4px; }.settings-list strong { color: #d8d3e2; font-size: 10px; }.settings-list small { color: #777480; font: 8px "DM Mono", monospace; }.settings-list input { accent-color: var(--violet); }
.action-menu { position: fixed; z-index: 21; top: 123px; right: 35px; display: none; min-width: 175px; padding: 5px; border: 1px solid var(--line-strong); background: #171521; border-radius: 6px; box-shadow: 0 15px 45px rgba(0,0,0,.4); }.action-menu.open { display: grid; }.action-menu button { border: 0; background: none; color: #aaa6b3; padding: 9px; text-align: left; font: 9px "DM Mono", monospace; }.action-menu button:hover { color: #eeeaf5; background: rgba(155,123,255,.1); }
.expansion-panel { position: absolute; z-index: 5; right: 18px; bottom: 46px; left: 18px; padding: 12px; border: 1px solid rgba(155,123,255,.3); background: rgba(17,16,25,.95); border-radius: 7px; box-shadow: 0 18px 45px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; backdrop-filter: blur(10px); }.expansion-panel.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }.expansion-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }.expansion-header div { display: flex; align-items: baseline; gap: 8px; }.expansion-kicker { color: #8e7fd0; font: 8px "DM Mono", monospace; letter-spacing: .14em; }.expansion-header strong { color: #e4dff0; font: 10px "DM Mono", monospace; letter-spacing: .08em; }.expansion-header > span { color: #706c7b; font: 8px "DM Mono", monospace; }.expansion-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }.expansion-node { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 9px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.035); border-radius: 4px; color: #b4b0bd; text-align: left; }.expansion-node:hover, .expansion-node:focus-visible { border-color: rgba(155,123,255,.65); color: #e8e2fa; outline: none; }.expansion-node em { color: #6b648b; font: 8px "DM Mono", monospace; font-style: normal; }.expansion-node span { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.score-breakdown { display: flex; flex-wrap: wrap; gap: 6px; margin: -13px 0 24px; }
.score-breakdown span { padding: 6px 8px; color: #8f8a99; border: 1px solid var(--line); border-radius: 4px; font: 8px "DM Mono", monospace; }
.score-breakdown b { color: #d7c5ff; font-weight: 400; }
.market-picker-menu { position: fixed; z-index: 40; display: grid; gap: 2px; max-height: 240px; overflow-y: auto; padding: 5px; border: 1px solid var(--line-strong); background: #171521; border-radius: 6px; box-shadow: 0 15px 45px rgba(0,0,0,.5); }
.market-picker-menu button { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; background: transparent; color: #aaa6b3; padding: 10px; text-align: left; font: 9px "DM Mono", monospace; }
.market-picker-menu button:hover, .market-picker-menu button[aria-selected="true"] { color: #eeeaf5; background: rgba(155,123,255,.13); }
.market-picker-menu button span { color: var(--green); }
.connection-simulator-button { margin-top: 14px; }
.signal-item { width: 100%; color: inherit; text-align: left; cursor: pointer; }
.signal-item:hover { border-color: rgba(155,123,255,.48); background: rgba(155,123,255,.07); }
.signal-kind { color: #8e7fd0; font: 8px "DM Mono", monospace; font-weight: 400; letter-spacing: .08em; }
.source-link { color: var(--violet-bright); white-space: nowrap; text-decoration: none; }
.source-link:hover { color: #eee8ff; text-decoration: underline; }
.recent-market-row { display: flex; align-items: center; gap: 2px; }
.recent-market-row .recent-market { flex: 1; min-width: 0; }
.remove-market { width: 22px; height: 22px; border: 0; background: transparent; color: #5f5c6b; border-radius: 4px; font-size: 15px; line-height: 1; opacity: .7; }
.recent-market-row:hover .remove-market, .remove-market:focus-visible { opacity: 1; }
.remove-market:hover { color: #e88383; background: rgba(232,131,131,.1); }
.settings-list select { min-width: 145px; border: 1px solid var(--line-strong); background: #171521; color: #d8d3e2; border-radius: 4px; padding: 8px; font: 8px "DM Mono", monospace; }
.evidence-row { grid-template-columns: repeat(5, 1fr); gap: 8px; }
.evidence-row div { min-width: 0; }
.settings-modal { width: min(800px, 100%); max-height: calc(100vh - 60px); overflow: auto; }
.provider-settings { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.settings-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.settings-section-heading small { max-width: 290px; color: #777480; font: 8px "DM Mono", monospace; line-height: 1.5; text-align: right; }
.provider-choice { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px; border: 1px solid rgba(155,123,255,.25); background: rgba(155,123,255,.06); border-radius: 5px; }
.provider-choice > span, .provider-card label { display: flex; flex-direction: column; gap: 5px; }
.provider-choice strong, .provider-card strong { color: #d8d3e2; font-size: 10px; }
.provider-choice small, .provider-card small { color: #777480; font: 8px "DM Mono", monospace; }
.provider-choice select, .provider-card select, .provider-card input[type="password"] { min-width: 145px; border: 1px solid var(--line-strong); background: #171521; color: #d8d3e2; border-radius: 4px; padding: 8px; outline: none; font: 8px "DM Mono", monospace; }
.provider-card input[type="password"] { width: 100%; min-width: 0; }
.provider-card input:focus, .provider-card select:focus, .provider-choice select:focus { border-color: rgba(155,123,255,.6); box-shadow: 0 0 0 3px rgba(155,123,255,.08); }
.provider-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 9px; }
.provider-card { display: flex; flex-direction: column; gap: 12px; padding: 13px; border: 1px solid var(--line); background: rgba(255,255,255,.02); border-radius: 5px; }
.provider-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.provider-card label > span { color: #898690; font: 8px "DM Mono", monospace; }
@media (max-width: 850px) { .provider-grid { grid-template-columns: 1fr; } }

/* Atlas theme wins the cascade. This block intentionally sits last. */
:root { --bg: #f3eee3; --panel: #fffdf7; --panel-2: #ebe4d7; --line: #d8d0c2; --line-strong: #bcb1a0; --text: #17243d; --muted: #6f746f; --soft: #4e5a68; --violet: #f06449; --violet-bright: #c94731; --yellow: #d7832f; --green: #32846b; --sidebar: 252px; font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); }
body { min-width: 0; color: var(--text); background: var(--bg); }
body::after { opacity: .16; background-image: radial-gradient(#26334d .55px, transparent .55px); background-size: 5px 5px; mix-blend-mode: multiply; }
.app-shell, .main-content { background: #f3eee3; }
.sidebar { width: var(--sidebar); background: #17243d; border-right: 0; box-shadow: 14px 0 0 rgba(23,36,61,.07); }
.brand-lockup { color: #fffaf0; }
.brand-mark span { background: #f06449; box-shadow: none; }
.workspace-switcher { border-color: rgba(255,250,240,.18); background: #223452; box-shadow: none; }
.workspace-avatar { background: #f06449; color: #fffaf0; border-radius: 10px; }
.workspace-switcher strong { color: #fffaf0; }
.workspace-switcher span, .nav-label { color: #aab6bf; }
.nav-item, .recent-market { color: #b9c4c8; border-radius: 11px; }
.nav-item:hover, .recent-market:hover { color: #fffaf0; background: rgba(255,250,240,.08); }
.nav-item.active, .recent-market.active { color: #fffaf0; background: #f06449; box-shadow: none; }
.nav-item.active::before, .recent-market.active::before { display: none; }
.nav-icon { color: #8fa0ac; }
.nav-item.active .nav-icon { color: #fffaf0; }
.sidebar-divider { background: rgba(255,250,240,.14); }
.engine-status { border-color: rgba(115,183,157,.24); background: #223452; }
.engine-status strong { color: #fffaf0; }
.engine-status span { color: #aab6bf; }
.engine-status .status-live { color: #8dd0b5; }
.topbar { border-bottom-color: #d8d0c2; background: rgba(243,238,227,.91); }
.breadcrumbs { color: #777a78; }
.breadcrumbs i { color: #b0a79a; }
.breadcrumbs strong { color: #17243d; }
.top-settings, .ghost-button, .round-action { border-color: #c9bfb0; background: #fffdf7; color: #4e5a68; box-shadow: 0 2px 0 rgba(23,36,61,.05); }
.top-settings:hover, .ghost-button:hover, .round-action:hover { border-color: #f06449; background: #fff6ee; color: #c94731; }
.top-settings span, .ghost-button span { color: #c94731; }
.icon-button { color: #687178; }
.page-intro h1 { color: #17243d; }
.page-intro h1 em { color: #c94731; background: #ffd9c9; padding: 0 .14em .04em; border-radius: 8px; }
.page-intro p { color: #6f746f; }
.page-intro p strong { color: #17243d; }
.eyebrow, .detail-type, .sim-label { color: #c94731; }
.eyebrow-line { background: #f06449; box-shadow: none; }
.explorer-grid { grid-template-columns: minmax(560px, 1fr) 340px; gap: 22px; }
.graph-card, .details-panel, .layer-dock { border-color: #d0c6b7; border-radius: 18px; background: #fffdf7; box-shadow: 0 12px 0 rgba(23,36,61,.06); }
.graph-toolbar { border-bottom-color: #e0d8cc; }
.graph-mode { border-color: #d6cbbb; background: #eee7da; }
.mode-button { color: #858780; }
.mode-button.active { background: #17243d; color: #fffaf0; box-shadow: none; }
.toolbar-button { color: #697275; }
.toolbar-button:hover { color: #c94731; background: #fff0e8; }
.graph-canvas { background-color: #f7f3ea; background-image: linear-gradient(#e6ded1 1px, transparent 1px), linear-gradient(90deg, #e6ded1 1px, transparent 1px); background-size: 48px 48px; }
.graph-canvas::before { opacity: 1; background: radial-gradient(circle at 50% 51%, transparent 0 22%, rgba(240,100,73,.05) 22.1%, transparent 22.5% 39%, rgba(23,36,61,.035) 39.1%, transparent 39.5% 57%, rgba(240,100,73,.03) 57.1%, transparent 57.5%); }
.graph-grid { opacity: 0; }
.orbit { border-color: rgba(240,100,73,.28); border-width: 2px; }
.orbit-two { border-color: rgba(23,36,61,.16); }
.graph-lines path { stroke: rgba(23,36,61,.22); }
.graph-lines .line-active { stroke: #f06449; filter: none; }
.graph-lines circle { fill: #f06449; }
.graph-label { color: #9b9183; }
.graph-node { border-color: #cfc4b4; border-radius: 15px; background: #fffdf7; color: #17243d; box-shadow: 4px 5px 0 rgba(23,36,61,.10); }
.graph-node:hover { border-color: #f06449; box-shadow: 6px 8px 0 rgba(23,36,61,.12); }
.graph-node strong { color: #17243d; }
.graph-node small { color: #777d7c; }
.node-icon { color: #c94731; background: #ffd9c9; border-radius: 8px; }
.node-flight { border-color: #f06449; background: #fff1e9; box-shadow: 5px 6px 0 rgba(240,100,73,.18); }
.node-hotel { background: #f0f5eb; }
.node-airport { background: #eef2f7; }
.node-rewards { background: #fff7dc; }
.node-visa { background: #f3efff; }
.node-baggage { background: #f8eee5; }
.node-center { background: #f06449; border-color: #c94731; box-shadow: 0 0 0 11px rgba(240,100,73,.12), 5px 7px 0 rgba(23,36,61,.16); }
.node-center:before { border-color: rgba(255,250,240,.42); }
.node-center .node-kicker, .node-center strong, .node-center .node-caption { color: #fffaf0; }
.node-ring { border-color: rgba(240,100,73,.35); border-left-color: transparent; }
.graph-footer { border-top-color: #e0d8cc; }
.legend, .graph-zoom { color: #777d7c; }
.legend-dot.violet { background: #f06449; }
.legend-dot.yellow { background: #d7832f; }
.legend-dot.green { background: #32846b; }
.graph-zoom button { color: #c94731; }
.details-panel { position: relative; padding: 26px; }
.details-panel::before { top: 24px; width: 4px; height: 76px; background: #f06449; box-shadow: none; }
.detail-index, .section-count { color: #9b9183; }
.detail-symbol { width: 45px; height: 45px; border-radius: 13px; color: #c94731; background: #ffd9c9; border-color: #f4b49e; }
.detail-header h2, .opportunity-teaser h3 { color: #17243d; }
.detail-description, .opportunity-teaser p { color: #697275; }
.detail-tags span { border-color: #d8d0c2; background: #f4eee5; color: #6f746f; border-radius: 7px; }
.panel-section-heading { color: #4e5a68; }
.topic-list { border-top-color: #d8d0c2; }
.topic-list button { color: #53606a; border-bottom-color: #e7dfd4; }
.topic-list button:hover, .panel-close:hover { color: #c94731; }
.topic-list span { color: #9b9183; }
.signal-card { border-color: #a9d0bd; border-radius: 12px; background: #edf7ee; }
.signal-card-header, .signal-card-footer { color: #536b60; }
.signal-card-header strong, .signal-card-footer span:last-child { color: #32846b; }
.signal-bars i { background: #32846b; }
.opportunity-badge, .score { color: #c94731; }
.open-simulator, .primary-button, .synthesis-button { border-color: #c94731; border-radius: 10px; background: #f06449; color: #fffaf0; box-shadow: 0 3px 0 #b94631; }
.open-simulator span, .primary-button span { color: #fffaf0; }
.open-simulator:hover, .primary-button:hover, .synthesis-button:hover { background: #d9573e; }
.layer-icon { color: #c94731; border-color: #f4b49e; background: #ffd9c9; }
.layer-label strong { color: #17243d; }
.layer-label span:not(.layer-icon) { color: #8b908b; }
.layer-button { border-color: #d8d0c2; border-radius: 9px; background: #f7f2e8; color: #707875; }
.layer-button.active { border-color: #f06449; background: #fff0e8; color: #c94731; }
.dock-settings { color: #7d827e; }
.dock-settings:hover { color: #c94731; background: #fff0e8; }
.modal-backdrop { background: rgba(23,36,61,.57); }
.simulator-modal, .connect-modal, .small-modal { border-color: #c9bfb0; border-radius: 18px; background: #fffdf7; box-shadow: 12px 14px 0 rgba(23,36,61,.16); }
.modal-header h2, .sim-section h3, .cross-opportunity h3 { color: #17243d; }
.modal-close { color: #89908d; }
.score-banner { border-color: #efc19d; border-radius: 13px; background: #fff1e2; }
.score-banner strong { color: #c94731; }
.score-banner span, .score-banner p, .side-metric > span, .side-metric small { color: #707875; }
.sim-tabs { border-bottom-color: #d8d0c2; }
.sim-tabs button { color: #7d827e; }
.sim-tabs button.active { color: #c94731; border-bottom-color: #f06449; }
.sim-section, .mvp-list div { border-bottom-color: #e3dbcf; }
.sim-section p, .evidence-copy, .connect-intro, .cross-opportunity p { color: #697275; }
.evidence-row div, .api-list span { border-color: #d8d0c2; background: #f7f2e8; border-radius: 9px; }
.evidence-row strong { color: #17243d; }
.evidence-row span { color: #7d827e; }
.mvp-list { border-top-color: #d8d0c2; }
.mvp-list div { color: #53606a; }
.mvp-list i { color: #c94731; }
.mvp-list b { color: #32846b; }
.simulator-side { border-left-color: #d8d0c2; }
.side-metric { border-bottom-color: #e3dbcf; }
.side-metric strong { color: #17243d; }
.yellow-text { color: #c27222; }
.violet-text { color: #c94731; }
.difficulty i { background: #d7832f; }
.market-picker { border-color: #d8d0c2; background: #f7f2e8; border-radius: 12px; }
.market-picker:hover { border-color: #f06449; background: #fff0e8; }
.market-picker small { color: #8b908b; }
.market-picker strong { color: #17243d; }
.connect-symbol { color: #c94731; }
.synthesis-button { background: #17243d; border-color: #17243d; box-shadow: 0 3px 0 #0d172b; }
.synthesis-button span { color: #ffd36d; }
.synthesis-result { background: #f7f2e8; border-color: #d8d0c2; }
.progress-hud { border-color: #f4b49e; background: #fffdf7; box-shadow: 8px 9px 0 rgba(23,36,61,.12); }
.progress-spinner { border-color: #ffd9c9; border-top-color: #f06449; }
.progress-copy strong { color: #17243d; }
.progress-copy small { color: #7d827e; }
.progress-track { background: #f1dfd2; }
.progress-track i { background: #f06449; }
.toast { border-color: #f4b49e; background: #17243d; border-radius: 12px; box-shadow: 8px 9px 0 rgba(23,36,61,.15); }
.toast > span { color: #ffd36d; }
.toast strong { color: #fffaf0; }
.toast small { color: #b9c4c8; }

@media (max-width: 1200px) { :root { --sidebar: 220px; } .explorer-grid { grid-template-columns: minmax(0, 1fr) 300px; } }
@media (max-width: 900px) { .sidebar { width: 100%; background: #17243d; box-shadow: none; } .topbar { padding: 0 24px; } .explorer-view { padding: 35px 24px; } .graph-card, .details-panel, .layer-dock { box-shadow: 0 8px 0 rgba(23,36,61,.06); } }
.graph-node.ai-generated { background: #fffdf7; border-color: #d9a48f; color: #17243d; }
.graph-node.ai-generated strong { color: #17243d; }
.graph-node.selected { background: #fff1e9; border-color: #f06449; color: #17243d; box-shadow: 0 0 0 4px rgba(240,100,73,.16), 5px 6px 0 rgba(23,36,61,.12); }
.graph-node.selected strong { color: #17243d; }
.graph-node.selected .node-icon { color: #c94731; background: #ffd9c9; }
.provider-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 850px) { .provider-grid { grid-template-columns: 1fr; } }

/* Readability pass: keep the compact visual language, but bring working text up to a comfortable size. */
body { font-size: 15px; line-height: 1.45; }
.workspace-switcher strong { font-size: 12px; }
.workspace-switcher span, .nav-label { font-size: 10px; }
.nav-item { font-size: 13px; }
.recent-market { font-size: 12px; }
.engine-status strong { font-size: 11px; }
.engine-status span, .engine-status .status-live { font-size: 10px; }
.breadcrumbs { font-size: 10px; }
.page-intro p { font-size: 14px; }
.ghost-button, .round-action { font-size: 12px; }
.graph-label, .graph-tooltip { font-size: 10px; }
.graph-node strong { font-size: 14px; }
.graph-node small { font-size: 10px; }
.details-panel { padding: 26px; }
.detail-description { font-size: 13px; }
.detail-tags span { font-size: 10px; }
.panel-section-heading { font-size: 11px; }
.topic-list button { font-size: 12px; }
.topic-list span { font-size: 10px; }
.signal-card-header { font-size: 11px; }
.signal-card-footer { font-size: 10px; }
.opportunity-teaser h3 { font-size: 14px; }
.opportunity-teaser p { font-size: 12px; }
.open-simulator, .primary-button, .synthesis-button { font-size: 11px; }
.layer-label strong { font-size: 11px; }
.layer-label span:not(.layer-icon), .layer-button, .dock-settings { font-size: 10px; }
.view-content > p { font-size: 14px; }
.opportunity-card strong, .feed-item strong { font-size: 14px; }
.opportunity-card span, .feed-item span { font-size: 12px; }
.feed-item small { font-size: 10px; }
.modal-copy { font-size: 13px; }
.field-label { font-size: 11px; }
.small-modal input[type="text"], .small-modal input:not([type]) { color: #17243d; background: #fffdf7; border-color: #bcb1a0; font-size: 14px; line-height: 1.4; }
.small-modal input::placeholder { color: #7d827e; opacity: 1; }
.settings-list strong, .provider-choice strong, .provider-card strong { font-size: 12px; }
.settings-list small, .provider-choice small, .provider-card small, .settings-section-heading small { font-size: 10px; }
.settings-list select, .provider-choice select, .provider-card select, .provider-card input[type="password"] { font-size: 11px; }
.provider-card label > span { font-size: 10px; }
.sim-tabs button { font-size: 10px; }
.sim-label { font-size: 10px; }
.sim-section p, .connect-intro { font-size: 13px; }
.evidence-row span, .mvp-list i, .mvp-list b, .api-list span, .market-picker small { font-size: 10px; }
.mvp-list div { font-size: 12px; }
.market-picker strong { font-size: 14px; }
.path-line { font-size: 12px; }
.cross-opportunity p { font-size: 12px; }
.progress-copy strong { font-size: 12px; }
.progress-copy small, .progress-hud button { font-size: 10px; }
.toast strong { font-size: 12px; }
.toast small { font-size: 10px; }

/* Simulator-specific scale: this modal is information-dense, so its working copy gets more room. */
.simulator-modal { width: min(960px, 100%); padding: 32px; }
.simulator-modal .modal-header h2 { font-size: 30px; }
.simulator-modal .detail-type { font-size: 11px; }
.simulator-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
.score-banner { gap: 30px; padding: 18px 22px; }
.score-banner span { font: 12px "DM Mono", monospace; letter-spacing: .08em; }
.score-banner p { font: 15px/1.55 "Space Grotesk", sans-serif; }
.score-banner strong { font-size: 32px; }
.score-banner strong small { font-size: 13px; }
.sim-tabs button { font-size: 13px; }
.sim-label, .evidence-status { font-size: 11px; }
.sim-section h3 { font-size: 22px; }
.sim-section p, .evidence-copy { font-size: 15px; line-height: 1.65; }
.evidence-row div { padding: 14px; }
.evidence-row strong { font-size: 24px; }
.evidence-row span { font-size: 11px; }
.mvp-list div { font-size: 14px; }
.mvp-list i, .mvp-list b { font-size: 11px; }
.side-metric > span { font: 12px "DM Mono", monospace; }
.side-metric strong { font-size: 19px; }
.side-metric small { font: 12px/1.5 "DM Mono", monospace; }
.api-list span { font-size: 11px; }
.simulator-modal .full-width { font-size: 13px; }

/* Settings keeps one active provider in view so the setup path reads as one decision. */
.provider-grid { grid-template-columns: 1fr; }
.provider-card[hidden] { display: none; }
.provider-card { padding: 18px; gap: 16px; }
.provider-heading strong { font-size: 15px; }
.provider-heading small { font-size: 11px; }

/* Opportunity feed cards sit on the light Atlas surface, so their copy must stay dark. */
.opportunity-card, .feed-item { border-color: #d8d0c2; background: #fffdf7; }
.opportunity-card strong, .feed-item strong { color: #17243d; }
.opportunity-card span, .feed-item span { color: #53606a; }
.feed-item small { color: #7d827e; }

/* Decision memo surfaces for the hackathon simulator flow. */
.decision-paths { margin-top: 24px; padding: 18px 0 4px; border-top: 1px solid #d8d0c2; }
.decision-paths-header, .build-stack-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.decision-paths-header > div { display: flex; flex-direction: column; gap: 5px; }
.decision-paths-header strong { color: #17243d; font-size: 16px; }
.decision-paths-header > span, .build-stack-heading > span:last-child { color: #7d827e; font: 11px "DM Mono", monospace; }
.decision-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 13px; }
.decision-path { min-width: 0; padding: 15px; border: 1px solid #d8d0c2; border-radius: 11px; background: #f7f2e8; }
.decision-path.recommended { border-color: #f06449; background: #fff0e8; box-shadow: 0 3px 0 rgba(240,100,73,.14); }
.decision-path h4 { margin: 0 0 6px; color: #17243d; font-size: 16px; }
.decision-path p { min-height: 43px; margin: 0; color: #53606a; font-size: 12px; line-height: 1.45; }
.decision-path dl { display: grid; gap: 7px; margin: 14px 0 0; }
.decision-path dl div { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #e3dbcf; padding-top: 7px; }
.decision-path dt { color: #7d827e; font: 10px "DM Mono", monospace; }
.decision-path dd { max-width: 62%; margin: 0; color: #17243d; font-size: 11px; text-align: right; }
.build-stack { margin: 20px 0 5px; padding: 15px; border: 1px solid #d8d0c2; border-radius: 11px; background: #f7f2e8; }
.stack-list { display: grid; gap: 8px; margin-top: 12px; }
.stack-list > div { display: grid; grid-template-columns: 105px 135px minmax(0, 1fr); align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid #e3dbcf; }
.stack-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.stack-list span { color: #c94731; font: 10px "DM Mono", monospace; text-transform: uppercase; }
.stack-list strong { color: #17243d; font-size: 13px; }
.stack-list small { color: #53606a; font-size: 12px; }
.decision-facts { display: grid; gap: 10px; margin: 18px 0; }
.decision-facts > div { padding: 11px 0; border-bottom: 1px solid #e3dbcf; }
.decision-facts span, .decision-lists > div > span { display: block; color: #7d827e; font: 10px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .06em; }
.decision-facts strong { display: block; margin-top: 4px; color: #17243d; font-size: 13px; line-height: 1.35; }
.decision-lists { display: grid; gap: 15px; margin-bottom: 18px; }
.decision-lists ul { display: grid; gap: 7px; margin: 8px 0 0; padding-left: 17px; color: #53606a; font-size: 12px; line-height: 1.4; }
@media (max-width: 760px) { .decision-path-grid { grid-template-columns: 1fr; } .stack-list > div { grid-template-columns: 1fr; gap: 3px; } }

/* Make the add-market action obvious in the sidebar. */
.recent-section .tiny-button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; color: #e8ddff; border: 1px solid rgba(189,169,255,.45); background: rgba(155,123,255,.14); border-radius: 6px; font-size: 25px; font-weight: 600; line-height: 1; }
.recent-section .tiny-button:hover, .recent-section .tiny-button:focus-visible { color: #fff; border-color: var(--violet-bright); background: rgba(155,123,255,.28); }

/* Responsive explorer layout: keep the graph usable first, then stack the supporting surfaces. */
@media (max-width: 900px) {
  body { min-width: 0; overflow-x: hidden; }
  .app-shell { display: block; width: 100%; }
  .main-content { width: 100%; min-width: 0; }
  .sidebar { width: 100%; min-height: 0; padding: 14px 14px 12px; border-right: 0; border-bottom: 1px solid rgba(255,250,240,.14); box-shadow: none; }
  .brand-lockup { padding: 0 8px 14px; }
  .workspace-switcher { display: none; }
  .sidebar-divider { margin: 10px 8px 12px; }
  .primary-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .nav-item { justify-content: center; gap: 4px; padding: 8px 4px; text-align: center; }
  .nav-icon { font-size: 16px; }
  .recent-section { margin-top: 12px; }
  .sidebar-footer { display: none; }
  .topbar { height: auto; min-height: 62px; padding: 12px 18px; }
  .explorer-grid { grid-template-columns: minmax(0, 1fr); }
  .graph-card, .details-panel { min-height: 0; }
  .graph-canvas { min-height: 0; height: clamp(390px, 72vw, 580px); }
  .layer-dock { flex-wrap: wrap; }
  .layer-buttons { min-width: 0; overflow-x: auto; padding-bottom: 2px; }
  .simulator-grid { grid-template-columns: minmax(0, 1fr); }
  .simulator-side { border-top: 1px solid #d8d0c2; border-left: 0; padding-top: 20px; padding-left: 0; }
  .modal-backdrop { padding: 14px; }
  .simulator-modal, .connect-modal, .small-modal { max-height: calc(100dvh - 28px); overflow-y: auto; }
}

@media (max-width: 600px) {
  .sidebar { padding: 12px 10px 10px; }
  .brand-lockup { padding: 0 6px 12px; }
  .primary-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-item { flex-direction: row; justify-content: flex-start; padding: 9px 10px; text-align: left; }
  .topbar { min-height: 58px; padding: 10px 12px; gap: 8px; }
  .breadcrumbs { min-width: 0; max-width: 52vw; overflow: hidden; font-size: 9px; white-space: nowrap; }
  .breadcrumbs strong { display: inline-block; max-width: 34vw; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; white-space: nowrap; }
  .topbar-actions { gap: 6px; }
  .top-settings { padding: 8px; font-size: 0; }
  .top-settings span { margin: 0; font-size: 17px; }
  .icon-button { font-size: 18px; }
  .explorer-view { padding: 22px 12px 24px; }
  .page-intro { display: block; margin-bottom: 18px; }
  .page-intro h1 { font-size: 31px; }
  .page-intro p { font-size: 13px; line-height: 1.45; }
  .intro-actions { margin-top: 14px; padding-bottom: 0; }
  .graph-toolbar { height: auto; min-height: 56px; flex-wrap: wrap; gap: 7px; padding: 10px 11px; }
  .graph-tools { flex: 1; justify-content: flex-end; gap: 7px; }
  .toolbar-button { padding: 5px; }
  .graph-tools span { display: none; }
  .graph-canvas { height: clamp(360px, 104vw, 500px); }
  .graph-node { max-width: 31vw; padding: 9px !important; }
  .graph-node strong { font-size: 12px; }
  .graph-node small { font-size: 9px; }
  .node-flight, .node-hotel, .node-airport, .node-rewards, .node-visa, .node-baggage { width: 27vw; min-width: 82px; }
  .node-center { width: 112px; height: 112px; max-width: none; }
  .node-center strong { font-size: 17px; }
  .node-ring { inset: -13px; }
  .orbit-one { width: 82vw; height: 53vw; }
  .orbit-two { width: 102vw; height: 68vw; }
  .graph-tooltip { right: 11px; bottom: 12px; max-width: 130px; line-height: 1.3; text-align: right; }
  .graph-footer { height: auto; flex-wrap: wrap; gap: 8px; padding: 9px 11px; }
  .legend { flex-wrap: wrap; gap: 8px; }
  .graph-zoom { margin-left: auto; }
  .layer-dock { display: block; padding: 12px; }
  .layer-label { margin-bottom: 10px; }
  .layer-buttons { display: flex; flex-wrap: nowrap; overflow-x: auto; }
  .layer-button { flex: 0 0 auto; }
  .dock-settings { display: none; }
  .details-panel { padding: 18px; }
  .detail-header h2 { font-size: 21px; }
  .modal-backdrop { padding: 10px; }
  .simulator-modal, .connect-modal, .small-modal { width: 100%; max-height: calc(100dvh - 20px); padding: 18px; border-radius: 14px; }
  .simulator-modal .modal-header h2 { font-size: 24px; }
  .score-banner { flex-wrap: wrap; gap: 12px; padding: 15px; margin: 18px 0; }
  .score-banner p { flex-basis: 100%; order: 3; margin: 0; }
  .sim-tabs { gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .sim-tabs::-webkit-scrollbar { display: none; }
  .sim-tabs button { flex: 0 0 auto; }
  .evidence-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .decision-paths-header, .build-stack-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .decision-path-grid { grid-template-columns: 1fr; }
  .decision-path p { min-height: 0; }
  .stack-list > div { grid-template-columns: 1fr; gap: 3px; }
  .market-pickers { flex-direction: column; }
  .connect-symbol { transform: rotate(90deg); }
  .market-picker { width: 100%; }
  .cross-opportunity { flex-direction: column; }
  .progress-hud { top: 76px; right: 10px; left: 10px; width: auto; padding: 10px; }
  .toast { right: 12px; bottom: 12px; left: 12px; min-width: 0; }
  .action-menu { top: 72px; right: 12px; left: 12px; min-width: 0; }
  .empty-view { min-height: calc(100dvh - 64px); padding: 48px 18px 80px; }
  .empty-view h2 { font-size: 28px; }
}
