/* GENESIS Mission Control + unified charting. Same palette, fewer dashboard callouts. */
.mc-root{display:flex;flex-direction:column;gap:18px;min-width:0;color:#e1f0f5;padding-bottom:24px}
.mc-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:12px 0 2px}
.mc-heading h2{margin:9px 0 4px;font-size:clamp(27px,3vw,39px);letter-spacing:-.045em;line-height:1.12}
.mc-heading p{margin:0;font-size:13px;color:#8facbe}
.mc-kicker{display:inline-flex;align-items:center;gap:8px;color:#86d5bd;font-size:10px;letter-spacing:.15em;font-weight:800}
.mc-kicker i,.mc-pulse{display:inline-block;width:8px;height:8px;border-radius:50%;background:#62d8a6;box-shadow:0 0 0 4px rgba(97,216,166,.12)}
.mc-sync{text-align:right;display:flex;flex-direction:column;gap:6px}.mc-sync strong{font-size:11px;color:#78dcb4;letter-spacing:.08em}.mc-sync small{font-size:10px;color:#869eaf}
.mc-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid #2b4356;border-radius:14px;overflow:hidden;background:linear-gradient(120deg,#122838 0%,#101f2d 100%)}
.mc-summary>div{padding:20px;display:flex;flex-direction:column;gap:7px;min-width:0}
.mc-summary>div+div{border-left:1px solid #294356}
.mc-summary small{font-size:10px;color:#9bb7c8;font-weight:700;letter-spacing:.09em}
.mc-summary strong{font-size:clamp(20px,2.6vw,31px);font-weight:700;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.mc-summary span{font-size:10px;color:#7997a8;line-height:1.5}
.mc-main-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(260px,1fr);gap:15px}
.mc-sub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.mc-panel{background:#111f2e;border:1px solid #2c4355;border-radius:14px;padding:20px;min-width:0;overflow:hidden}
.mc-panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}
.mc-panel-head small{font-size:10px;color:#80b59f;letter-spacing:.13em;font-weight:750}
.mc-panel-head h3{font-size:16px;letter-spacing:-.025em;margin:5px 0 0;color:#e3f0f4}
.mc-panel button,.mc-footer button{background:none;color:#92dcbf;border:0;font-size:11px;cursor:pointer;font-weight:700;white-space:nowrap}
.mc-panel button:hover,.mc-footer button:hover{color:#e5ffef}
.mc-pnl-summary{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin:0 0 12px}
.mc-pnl-summary strong{font-size:26px;letter-spacing:-.035em}.mc-pnl-summary span{font-size:11px;color:#91a9b8}
.mc-chart{min-height:265px;width:100%;position:relative}
.mc-caption{font-size:10px;color:#7795a7;line-height:1.65;margin:8px 0 0}
.mc-priority-item{display:flex!important;align-items:center;gap:12px;width:100%;padding:14px 8px!important;text-align:left!important;white-space:normal!important;border-bottom:1px solid #294151!important}
.mc-priority-item span:nth-child(2){flex:1;display:flex;flex-direction:column;gap:6px}.mc-priority-item strong{color:#e7f0f5;font-size:12px}.mc-priority-item small{color:#9bb3c2;font-size:11px;line-height:1.5}
.mc-priority-pip{width:8px;height:8px;border-radius:50%;background:#ffbc7d;flex:none}
.mc-clear{display:flex;gap:13px;align-items:center;background:#122d2b;padding:17px 14px;border-radius:9px}
.mc-clear>div{display:flex;flex-direction:column;gap:6px}.mc-clear strong{color:#b6ead4;font-size:13px}.mc-clear small{color:#8daea9;font-size:11px;line-height:1.6}
.mc-ops{border-top:1px solid #2c4152;margin-top:18px;padding-top:18px}.mc-ops strong{font-size:12px;color:#d4e6eb}
.mc-ops p{font-size:11px;line-height:1.6;color:#8facbe}.mc-ops button{padding:0!important}
.mc-regime{display:inline-flex;align-items:center;padding:7px 12px;margin:0 0 6px;border:1px solid #4b6773;border-radius:8px;letter-spacing:.1em;font-size:11px;font-weight:800;color:#b4d3de}
.mc-regime.mc-down{color:#ff9ba7;border-color:#85535b;background:#301f2a}.mc-regime.mc-up{color:#7de6b5;border-color:#325e4d;background:#153027}
.mc-muted{color:#809aaa;font-size:11px;line-height:1.6;margin:8px 0 14px}
.mc-market,.mc-mini-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #233b4e}
.mc-market>div,.mc-mini-link>span:first-child{display:flex;flex-direction:column;gap:5px}
.mc-market>div:last-child{align-items:flex-end}
.mc-market strong,.mc-mini-link strong{font-size:12px;color:#d7e9ee}.mc-market small,.mc-mini-link small{font-size:10px;color:#869eaf}
.mc-mini-link{width:100%;text-align:left!important;white-space:normal!important}.mc-mini-link>span:last-child{font-size:9px;color:#80cbad;white-space:nowrap}
.mc-news-item{display:flex;flex-direction:column;gap:8px;padding:13px 0;border-bottom:1px solid #263f51}
.mc-news-item span{color:#8cc6ad;font-size:10px}.mc-news-item strong{font-size:11px;line-height:1.58;color:#c9dce3;font-weight:500}
.mc-footer{display:flex;justify-content:space-between;align-items:center;gap:20px;color:#849eaf;font-size:10px}
.gc-wrap{display:flex;flex-direction:column;gap:12px;min-width:0;color:#d8e9ef}.gc-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.gc-intervals,.gc-commands{display:flex;gap:4px;flex-wrap:wrap}
.gc-toolbar button,.gc-footer button{border:1px solid #315165;background:#152c3d;color:#aac4d1;font-size:11px;font-weight:700;padding:8px 10px;border-radius:7px;cursor:pointer}
.gc-toolbar button:hover,.gc-footer button:hover{border-color:#6ed6ac}.gc-toolbar button.active{color:#103124;background:#90e6bb;border-color:#90e6bb}
.gc-toolbar button:disabled,.gc-footer button:disabled{opacity:.43;cursor:not-allowed}
.gc-quote{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap}.gc-quote strong{font-size:24px;letter-spacing:-.03em}.gc-quote span{color:#91aabc;font-size:11px}
.gc-canvas{width:100%;height:350px;position:relative;min-width:0}.gc-canvas.gc-portfolio{height:265px}
.gc-footer{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap}.gc-footer span{font-size:10px;color:#92adba}
.gc-note{font-size:10px;line-height:1.55;color:#7c9aa9}.gc-empty{min-height:210px;display:grid;place-items:center;text-align:center;color:#91adba;font-size:12px;padding:20px}
.atlas-chart-card .gc-canvas{height:350px}.atlas-chart-card .gc-wrap{margin-top:15px}
.atlas-dex-card{cursor:default}.atlas-dex-card [data-atlas-open-dex]{margin-top:11px;padding:10px 12px;border:1px solid #4b9f85;background:#173d36;border-radius:8px;color:#b7f3d7;font-weight:700;font-size:11px;cursor:pointer}
.atlas-dex-card [data-atlas-open-dex]:hover{background:#1d5447}
.atlas-dex-view{display:flex;flex-direction:column;gap:15px}.atlas-dex-view .atlas-dex-summary{display:flex;gap:18px;flex-wrap:wrap}
.atlas-dex-view .atlas-dex-summary>span{color:#91aaba;font-size:11px}.atlas-dex-view .atlas-dex-summary b{display:block;color:#e8f4f2;font-size:16px;margin:7px 0}
@media(max-width:1080px){.mc-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.mc-summary>div:nth-child(3){border-left:0;border-top:1px solid #294356}.mc-summary>div:nth-child(4){border-top:1px solid #294356}.mc-sub-grid{grid-template-columns:1fr 1fr}.mc-sub-grid>section:last-child{grid-column:1/-1}}
@media(max-width:700px){.mc-heading{align-items:flex-start;flex-direction:column}.mc-sync{text-align:left}.mc-summary>div{padding:16px}.mc-main-grid,.mc-sub-grid{grid-template-columns:1fr}.mc-sub-grid>section:last-child{grid-column:auto}.mc-panel{padding:17px}.mc-summary strong{font-size:25px}.mc-footer{align-items:flex-start;flex-direction:column}.gc-canvas,.atlas-chart-card .gc-canvas{height:290px}.gc-intervals button{padding:7px 8px}.gc-toolbar{align-items:flex-start}}

/* Native chart works without any third-party JavaScript; preserving trading-terminal palette. */
.gnc-chart{height:350px;width:100%;min-width:0;border:1px solid #253d4f;background:#101f2e;border-radius:9px;overflow:hidden}
.gc-portfolio .gnc-chart{height:265px}
.gnc-chart svg{display:block;min-width:0;max-width:100%}
.gc-modal-backdrop{position:fixed;inset:0;z-index:10000;background:rgba(1,8,16,.82);backdrop-filter:blur(12px);display:grid;place-items:center;padding:12px}
.gc-modal{width:min(1130px,100%);max-height:min(96vh,940px);overflow:auto;border:1px solid #345369;border-radius:18px;background:#101c2c;box-shadow:0 24px 90px rgba(0,0,0,.55);padding:22px;display:flex;flex-direction:column;gap:16px}
.gc-modal header{display:flex;justify-content:space-between;align-items:center;gap:12px}
.gc-modal header h2{margin:4px 0 0;font-size:25px;letter-spacing:-.04em;color:#e6f4f4}
.gc-modal header small{font-size:10px;color:#6fc9a8;letter-spacing:.1em;font-weight:800}
.gc-modal header button{border:1px solid #426276;border-radius:9px;background:#1a3041;color:#d7e8ee;padding:10px 12px}
.gc-modal-form{display:flex;align-items:end;gap:9px;flex-wrap:wrap}
.gc-modal-form label{display:flex;flex:1;flex-direction:column;gap:6px;min-width:100px;font-size:10px;color:#9cb4c4;text-transform:uppercase;letter-spacing:.06em}
.gc-modal-form label:has(input[name=pool]){flex:2;min-width:200px}
.gc-modal-form input,.gc-modal-form select{width:100%;padding:11px 10px;border:1px solid #39556a;border-radius:8px;background:#0d1928;color:#e5f0f3;font-size:12px;min-width:0}
.gc-modal-form .gc-apply{padding:11px 15px;border-radius:8px;background:#71d8b0;color:#062c23;font-size:12px;font-weight:750;white-space:nowrap;min-height:40px}
.gc-modal-chart{min-height:440px;border:1px solid #2b465a;border-radius:10px;padding:15px;background:#101f2e}
.gc-modal-chart .gc-canvas{height:350px}
.gc-view-chart{border:1px solid #3b5e6f;background:#1a3640;border-radius:7px;color:#9cebc8;padding:6px 9px;cursor:pointer;font-size:11px;font-weight:750;white-space:nowrap}
.gc-view-chart:hover{background:#245248}
.gc-refresh{margin-top:10px;background:#1e3c46;border:1px solid #42647a;border-radius:7px;color:#a9ead0;padding:9px 12px;font-weight:700;cursor:pointer}
@media(max-width:700px){.gc-modal{padding:15px;max-height:95vh}.gc-modal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.gc-modal-form label:has(input[name=pool]){grid-column:1/-1}.gc-modal-form .gc-apply{grid-column:1/-1}.gc-modal-chart{padding:9px;min-height:350px}.gnc-chart,.gc-modal-chart .gc-canvas{height:280px}.gc-portfolio .gnc-chart{height:245px}}

/* Official DexScreener chart embed: chart stays in GENESIS without calling rate-limited Worker OHLCV proxies. */
.gc-wrap:has(.gc-dex-iframe) .gc-canvas{height:500px;min-height:500px}
.gc-dex-iframe{display:block;border:0;width:100%;height:500px;min-height:500px;border-radius:8px;background:#101f2e}
.gc-modal-chart:has(.gc-dex-iframe) .gc-canvas{height:500px}
.gc-wrap:has(.gc-dex-iframe) .gc-quote{padding-top:3px}
@media(max-width:700px){.gc-wrap:has(.gc-dex-iframe) .gc-canvas,.gc-dex-iframe{height:440px;min-height:440px}}
