:root{color-scheme:dark;--bg:#080e19;--panel:#101a29;--line:#243146;--text:#e9f0fa;--muted:#93a5be;--cyan:#6be0db;--up:#63d8ad;--down:#f48fa1;--amber:#eec176}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:radial-gradient(ellipse at 50% -20%,#152a3f 0,transparent 60%),var(--bg);color:var(--text);font:14px/1.5 Inter,system-ui,-apple-system,sans-serif}button,input,select{font:inherit;color:inherit}button,select{cursor:pointer}button,a,input,select{touch-action:manipulation}button{background:transparent;border:1px solid var(--line);padding:8px 12px;border-radius:7px}button:hover{background:#203347;border-color:#43617a}button:disabled{cursor:default;opacity:.45}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;top:-100px;left:90px;z-index:10;background:var(--cyan);color:#10202b;padding:10px}.skip:focus{top:10px}.rail{position:fixed;inset:0 auto 0 0;width:76px;background:#0c1422;border-right:1px solid var(--line);display:flex;align-items:center;flex-direction:column;padding:25px 12px;z-index:4}.rail nav{margin-top:48px;display:grid;gap:19px}.rail nav>*{font-size:23px;width:43px;height:43px;display:grid;place-items:center;border:0;padding:0;color:#7d94b0;border-radius:9px}.rail nav .rail-active{background:#183a42;color:var(--cyan)}.classic-link{margin-top:auto;color:var(--muted);font-size:23px}main{margin-left:76px;padding:0 32px;max-width:2100px}.topbar{display:flex;justify-content:space-between;align-items:center;min-height:84px;border-bottom:1px solid var(--line)}.wordmark{font-size:21px;font-weight:700;letter-spacing:-.7px}.wordmark>span{color:var(--cyan)}.wordmark small{font-size:9px;letter-spacing:2px;margin-left:22px;font-weight:500;color:var(--muted)}.top-actions{display:flex;align-items:center;gap:22px;font-size:11px}.avatar{border-radius:50%;width:34px;height:34px;background:#233749;display:grid;place-items:center;color:#b8d5de;font-size:11px}.icon-button{border:0;font-size:23px;padding:2px 8px}.heading{display:flex;justify-content:space-between;align-items:center;padding:26px 0 12px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:650;color:var(--muted)}.heading .eyebrow{color:var(--cyan)}h1{font-size:32px;letter-spacing:-1.15px;margin:6px 0}h1 span{color:var(--cyan)}.heading p{color:var(--muted);font-size:12px;margin:5px 0}.session-state{font-size:11px;border-left:2px solid var(--cyan);padding-left:12px;color:#b9d4dc}.session-state small{display:block;color:var(--muted);margin-top:3px}.status{font-size:11px;color:var(--muted);min-height:23px}.status.error{color:var(--down)}.primary-button{display:inline-block;background:var(--cyan);color:#082129;padding:10px 16px;border-radius:7px;margin:10px 0}.command-bar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:10px 0 20px}.asset-tabs{display:flex;background:#101a28;border:1px solid var(--line);padding:4px;border-radius:9px}.asset-tabs button{border:0;color:var(--muted);font-size:12px;padding:10px 19px;border-radius:6px;font-weight:600}.asset-tabs button[aria-pressed=true]{background:#24414a;color:var(--cyan)}.asset-tabs .tab-icon{margin-right:9px;font-size:15px}.controls{display:flex;gap:12px;align-items:center}select{border:1px solid var(--line);background:#101a29;border-radius:7px;padding:11px 29px 11px 12px;font-size:12px;max-width:235px}.date-control{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:7px;padding:9px 12px}.date-control span{font-size:8px;color:var(--muted);letter-spacing:1px}input[type=date]{font-size:11px;border:0;background:transparent;min-width:120px}.browse-button{font-size:11px;padding:11px;color:var(--muted)}.browse-button span{margin-left:16px}.panel{background:linear-gradient(125deg,#111d2e,#0f1927);border:1px solid var(--line);border-radius:12px;min-width:0;overflow:hidden}.timeline{padding:15px 20px;margin-bottom:20px}.timeline-top,.timeline-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.timeline-cadence{font-size:10px;color:var(--muted);margin-left:14px}.timeline-actions{display:flex;gap:7px}.timeline-actions button{font-size:10px;padding:6px 10px;border-color:transparent;color:var(--muted)}.timeline-actions .selected{color:var(--cyan);border-color:#315255;background:#153139}.slots{display:flex;gap:6px;overflow-x:auto;padding:17px 0 13px;scrollbar-width:thin;scrollbar-color:#354b63 transparent}.slot{flex:0 0 65px;min-height:44px;text-align:center;border-color:#263449;color:#b0c1d7;position:relative;font-size:11px;padding:7px 5px}.slot::after{content:'';display:block;height:3px;width:16px;margin:5px auto 0;border-radius:4px;background:#577886}.slot[aria-pressed=true]{color:var(--cyan);border-color:var(--cyan);background:#1a3a44;box-shadow:0 0 15px #58d9d311}.slot[aria-pressed=true]::after{background:var(--cyan)}.slot:disabled::after{background:#263449}.timeline-bottom{font-size:10px;color:var(--muted);padding-top:8px}.timeline-bottom>span:first-child{color:#b9d4df}.dot{display:inline-block;width:5px;height:5px;border-radius:50%;margin:0 5px 1px 12px}.dot.ready{background:var(--cyan)}.dot.waiting{background:#4c5a6d}.dashboard{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px}.pulse-card{grid-column:span 7}.ai-card{grid-column:span 5;display:flex;flex-direction:column}.watchlist-card{grid-column:span 4}.movers-card{grid-column:span 4}.news-card{grid-column:span 4}.card-head{display:flex;justify-content:space-between;align-items:center;padding:20px 22px 12px;gap:10px}h2{font-size:17px;letter-spacing:-.35px;margin:3px 0 0;font-weight:650}.badge{font-size:9px;border:1px solid #324252;border-radius:20px;padding:4px 9px;color:#b0c2d3;white-space:nowrap}.badge.positive{background:#123930;color:var(--up);border-color:#245a49}.badge.negative{color:var(--down);background:#34232e;border-color:#603443}.quiet{color:var(--muted)}.up{color:var(--up)}.down{color:var(--down)}.pulse-top{padding:3px 22px 0;display:flex;justify-content:space-between;gap:15px;align-items:center}.pulse-quote .quote-label{color:var(--muted);font-size:11px}.pulse-quote strong{display:block;font-size:34px;font-weight:550;letter-spacing:-1px;line-height:1.4;font-variant-numeric:tabular-nums}.pulse-quote strong small{font-size:11px;color:var(--muted);letter-spacing:0}.pulse-quote .quote-change{font-size:11px}.pulse-description{font-size:11px;color:#b1bfd1;max-width:235px;padding-left:17px;border-left:1px solid var(--line);margin:0}.chart-wrap{padding:7px 20px 0}.pulse-chart{display:block;width:100%;height:137px}.chart-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:9px;margin-top:1px}.chart-note{font-size:9px;color:var(--muted);margin-top:7px}.breadth{margin:13px 22px 20px;border-top:1px solid var(--line);padding-top:12px}.breadth-title{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.breadth-bar{height:5px;display:flex;background:#253247;border-radius:4px;overflow:hidden;margin:10px 0}.breadth-bar span{height:100%}.breadth-counts{display:flex;gap:25px;font-size:10px}.breadth-counts b{font-size:14px;font-weight:600;margin-right:5px}.ai-star{font-size:29px;color:var(--cyan)}#ai{padding:7px 22px 12px;flex:1;max-height:277px;overflow:auto;scrollbar-width:thin}.ai-headline{font-size:23px;line-height:1.3;letter-spacing:-.6px;margin:8px 0 12px;max-width:490px}.ai-summary{font-size:12px;color:#b0c1d5;line-height:1.8;margin:0 0 14px}.driver-list{padding:0;margin:13px 0 0;list-style:none;display:grid;gap:10px}.driver-list li{font-size:11px;color:#bbccdd;display:flex;gap:10px}.driver-list .driver-num{border:1px solid #2c5862;color:var(--cyan);border-radius:50%;flex:0 0 19px;height:19px;display:grid;place-items:center;font-size:9px}.card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 22px;border-top:1px solid var(--line);font-size:9px;min-height:42px}.card-footer button{border:0;color:var(--cyan);padding:0;font-size:10px}.small-button{padding:5px 9px;font-size:10px;color:var(--cyan)}.panel-note{font-size:10px;color:var(--muted);margin:0;padding:0 22px 13px}.bounded{height:242px;overflow:auto;scrollbar-width:thin;scrollbar-color:#354b63 transparent}.empty{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;min-height:140px;padding:25px;color:var(--muted);font-size:12px;gap:8px}.empty strong{color:#d0dbe9;font-size:14px}.empty small{font-size:11px;max-width:330px;line-height:1.8}.pulse-card .empty{min-height:293px}.ai-card .empty{min-height:214px}.empty-icon{font-size:26px;color:#527086}.quote-row{display:flex;justify-content:space-between;align-items:center;padding:12px 22px;border-top:1px solid #1f2d40;gap:10px;font-variant-numeric:tabular-nums}.quote-row:first-child{border-top:0}.symbol-name{font-size:12px;font-weight:650}.symbol-name small{display:block;font-size:9px;color:var(--muted);font-weight:400;max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:2px}.row-value{text-align:right;font-size:12px;margin-left:auto}.row-value small{display:block;font-size:10px;margin-top:2px}.remove-watch{padding:4px;border:0;color:#697c95;font-size:14px}.mover-controls{display:flex;justify-content:space-between;gap:6px;padding:0 22px 9px;align-items:center}.mover-controls nav{display:flex;gap:12px}.mover-controls button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:5px 0;font-size:10px;color:var(--muted)}.mover-controls button[aria-pressed=true]{color:var(--cyan);border-color:var(--cyan)}.mover-controls select{max-width:125px;font-size:9px;padding:5px;border:0;color:var(--muted)}.news-card .bounded{height:271px}.news-item{display:block;padding:13px 22px;border-bottom:1px solid #203047}.news-item:hover{background:#16273b}.news-item .news-meta{font-size:9px;color:var(--muted);display:flex;justify-content:space-between;gap:8px}.news-item h3{font-size:12px;line-height:1.6;margin:6px 0 0;font-weight:500}.news-item .news-arrow{color:var(--cyan);margin-left:5px}.macro-card{margin-top:18px}.macro-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:4px 0 20px;gap:0}.macro-item{border-right:1px solid var(--line);padding:0 22px}.macro-item:last-child{border-right:0}.macro-item .macro-label{font-size:10px;color:var(--muted)}.macro-item .macro-value{display:block;font-size:23px;font-weight:550;letter-spacing:-.5px;margin:5px 0}.macro-item .macro-value small{font-size:11px}.macro-item .macro-delta{font-size:10px}.macro-item .macro-date{font-size:9px;color:var(--muted);margin-top:7px}.macro-spark{width:100%;height:32px;display:block;margin:8px 0}.macro-card .empty{min-height:100px}.macro-footnote{font-size:9px;color:var(--muted);padding:0 22px 16px}.page-footer{display:flex;justify-content:space-between;gap:15px;padding:25px 0;font-size:9px;letter-spacing:.5px;color:#7e92ac}.page-footer .quiet{margin-left:10px}dialog{background:#111d2e;color:var(--text);border:1px solid #395367;border-radius:14px;padding:0;width:min(880px,calc(100vw - 32px));max-height:85vh;box-shadow:0 24px 100px #0009}dialog::backdrop{background:#030812bb;backdrop-filter:blur(7px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid var(--line);gap:15px}.dialog-head h2{font-size:22px}.dialog-head button{border:0}.dialog-filters{display:flex;gap:10px;padding:22px}.dialog-filters input{flex:1;min-width:80px;background:#0a1421;border:1px solid var(--line);border-radius:8px;padding:10px 12px;font-size:12px}.dialog-filters select{max-width:160px}.dialog-head+.panel-note{padding-top:15px}#catalog-results{max-height:48vh;overflow:auto}#catalog-results button[aria-pressed=true]{color:var(--cyan);border-color:#386263}#full-analysis{padding:24px;line-height:1.8;color:#becfe2;font-size:13px}#full-analysis h3{font-size:19px;color:var(--text)}#full-analysis ul{padding-left:20px}#full-analysis .provenance{padding:13px;background:#0c1624;font-size:11px;margin-top:20px}.loading .panel:not(.timeline){opacity:.6}.loading .empty{opacity:1}@media(min-width:1800px){main{padding:0 48px}.bounded{height:265px}.news-card .bounded{height:294px}.pulse-chart{height:160px}#ai{max-height:300px}}@media(max-width:1250px){main{padding:0 22px}.controls{gap:7px}.browse-button{display:none}.asset-tabs button{padding:10px 14px}.pulse-description{max-width:170px;font-size:10px}.wordmark small{display:none}.pulse-card{grid-column:span 6}.ai-card{grid-column:span 6}.watchlist-card{grid-column:span 6}.movers-card{grid-column:span 6}.news-card{grid-column:span 12}.news-card .bounded{height:180px;display:grid;grid-template-columns:1fr 1fr}.news-item{border-right:1px solid var(--line)}.timeline-cadence{display:none}.macro-item{padding:0 16px}.macro-item .macro-value{font-size:21px}.pulse-quote strong{font-size:29px}.mover-controls select{max-width:145px}}@media(max-width:850px){.rail{width:58px;padding:22px 7px}.rail nav>*{width:38px}main{margin-left:58px;padding:0 16px}.heading{align-items:flex-start}.heading p{max-width:310px}.session-state{font-size:10px;margin-top:10px}.command-bar{display:block}.asset-tabs{width:max-content;margin-bottom:12px}.controls{justify-content:space-between}.timeline{padding:13px}.timeline-top{align-items:flex-start}.timeline-actions{gap:0;flex-wrap:wrap;justify-content:flex-end}.timeline-actions button{padding:5px 7px;font-size:9px}.pulse-card,.ai-card{grid-column:span 12}.pulse-description{max-width:260px}.watchlist-card,.movers-card{grid-column:span 6}.macro-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:20px}.macro-item:nth-child(3){border-right:0}.top-actions{gap:10px}.top-actions #environment{display:none}.card-head{padding:17px 16px 12px}.quote-row{padding:12px 16px}.mover-controls{padding:0 16px 9px;flex-wrap:wrap}.mover-controls select{max-width:150px}.panel-note{padding-left:16px;padding-right:16px}.timeline-bottom>span:last-child{display:none}}@media(max-width:560px){.rail{display:none}main{margin:0;padding:0 14px}.topbar{min-height:65px}.wordmark{font-size:19px}.heading{padding:23px 0 10px}.heading h1{font-size:27px}.heading .eyebrow{font-size:8px;letter-spacing:1.4px}.heading p{font-size:11px;max-width:265px}.session-state{display:none}.asset-tabs{width:100%;justify-content:space-between}.asset-tabs button{padding:9px 13px;font-size:11px}.asset-tabs .tab-icon{margin-right:5px}.controls select{max-width:185px;width:100%;font-size:11px}.date-control{padding:8px}.date-control span{display:none}.date-control input{font-size:10px;min-width:112px}.controls>label:first-child{flex:1;min-width:0}.timeline-top{display:block}.timeline-actions{justify-content:flex-start;margin-top:9px;gap:4px}.timeline-actions button{font-size:9px}.slots{padding-top:13px}.slot{flex-basis:57px;font-size:10px}.timeline-bottom{font-size:9px}.dashboard{gap:14px}.watchlist-card,.movers-card,.news-card{grid-column:span 12}.news-card .bounded{display:block;height:265px}.pulse-top{padding:3px 16px 0}.pulse-quote strong{font-size:28px}.pulse-description{max-width:143px;font-size:10px;padding-left:12px}.pulse-chart{height:125px}.chart-wrap{padding:6px 16px 0}.breadth{margin-left:16px;margin-right:16px}.breadth-counts{gap:14px}.ai-headline{font-size:22px}#ai{padding:5px 16px 16px;max-height:320px}.ai-card .card-footer{padding:12px 16px}.bounded{height:233px}.macro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.macro-item:nth-child(3){border-right:1px solid var(--line)}.macro-item:nth-child(even){border-right:0}.macro-card>.card-head{align-items:flex-start}.macro-card .badge{font-size:8px;white-space:normal;max-width:95px;text-align:center}.page-footer{font-size:8px}.page-footer>span:last-child{display:none}.dialog-filters{padding:16px;flex-wrap:wrap;gap:8px}.dialog-filters input{flex-basis:100%}.dialog-filters select{max-width:none;flex:1;min-width:0}.dialog-head{padding:18px}#catalog-results .symbol-name small{max-width:170px}.card-head .eyebrow{font-size:8px}.status{font-size:10px}.macro-footnote{padding:0 16px 16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.radar-card{grid-column:span 12}.radar-strategies{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:3px 22px 18px}.strategy{padding:15px 17px;text-align:left;background:#132234;border:1px solid #293c51;display:flex;align-items:center;gap:15px}.strategy[aria-pressed=true]{background:linear-gradient(120deg,#1b3d45,#152b37);border-color:#5babae}.strategy .strategy-number{font-size:23px;color:#638da0;font-weight:300}.strategy strong{display:block;font-size:13px}.strategy small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.strategy .strategy-count{margin-left:auto;color:var(--cyan);font-size:20px}.radar-table{width:100%;border-collapse:collapse;font-size:11px}.radar-table th{text-align:left;font-weight:500;color:var(--muted);font-size:9px;padding:10px 22px;border-top:1px solid var(--line);background:#0e1a29}.radar-table td{padding:12px 22px;border-top:1px solid #203047;font-variant-numeric:tabular-nums}.radar-table .radar-evidence{border:0;padding:0;color:var(--cyan);font-size:10px}.radar-scroll{max-height:245px;overflow:auto}.rule-meter{display:flex;gap:4px;align-items:center}.rule-meter i{width:14px;height:4px;background:#30435a;border-radius:2px}.rule-meter i.met{background:var(--cyan)}.rule-meter span{margin-left:6px;font-size:10px;color:var(--muted)}#radar-detail{padding:24px;font-size:12px;color:#bccde0;line-height:1.8}#radar-detail h3{color:var(--text);font-size:18px}#radar-detail .evidence-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}#radar-detail .evidence-grid div{background:#0c1826;padding:13px;border-radius:8px}#radar-detail .evidence-grid strong{display:block;font-size:18px;color:var(--text)}@media(max-width:760px){.radar-strategies{gap:7px;padding:3px 16px 15px}.strategy{display:block;padding:11px}.strategy .strategy-number{display:none}.strategy strong{font-size:11px}.strategy small{font-size:9px}.strategy .strategy-count{font-size:17px;margin-top:7px;display:block}.radar-table th,.radar-table td{padding:11px 16px}.radar-scroll{overflow:auto}.radar-table{min-width:600px}.radar-card .card-footer{padding:12px 16px}.radar-card .card-footer span{max-width:230px}.macro-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:560px){.radar-table{min-width:0;display:block}.radar-table thead{display:none}.radar-table tbody{display:block}.radar-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:8px 0;border-top:1px solid var(--line);align-items:center}.radar-table td{border:0;padding:6px 12px;font-size:10px}.radar-table td:nth-child(4)::before{content:'RULES MET';display:block;font-size:8px;color:var(--muted);margin-bottom:4px}.radar-table td:nth-child(5)::before{content:'INVALIDATION';display:block;font-size:8px;color:var(--muted);margin-bottom:4px}.radar-table .badge{font-size:8px;white-space:normal}.radar-table .radar-evidence{font-size:9px}}

/* Command v3: macro context precedes decisions; five independently captured screens. */
.macro-card{margin:0 0 20px}.macro-card .macro-spark{height:32px}.macro-card .macro-value{font-size:23px}.macro-card .card-head{padding-top:14px}.macro-card .macro-date{font-size:9px}.macro-card .macro-footnote{padding-top:10px}.radar-strategies{grid-template-columns:repeat(5,minmax(0,1fr))}.strategy{gap:9px;padding:12px}.strategy-number{font-size:20px}.strategy strong{font-size:12px}.strategy small{font-size:9px}.radar-ai{padding:15px 22px;border-top:1px solid var(--line);background:#152b352f}.radar-ai-label{font-size:10px;color:var(--cyan);letter-spacing:1px;display:flex;justify-content:space-between;gap:12px}.radar-ai-label span{font-size:9px;color:var(--muted);letter-spacing:0}.radar-ai h3{font-size:15px;margin:9px 0}.radar-ai p{font-size:12px;margin:7px 0;max-width:1200px}.radar-ai p.quiet{font-size:11px}@media(max-width:900px){.radar-strategies{display:flex;overflow-x:auto}.strategy{flex:0 0 170px}.macro-grid{display:flex;overflow-x:auto;gap:15px}.macro-item{flex:0 0 165px}.macro-card .macro-footnote{font-size:9px}.radar-ai-label{flex-direction:column}.radar-ai{padding:14px 16px}}

.list-tools,.catalog-pages{display:flex;align-items:center;gap:10px;padding:10px 0;flex-wrap:wrap}.list-tools select{min-width:0;flex:1}.catalog-pages{justify-content:space-between}#list-form{display:flex;gap:10px;flex-wrap:wrap}#stock-category{max-width:220px}#catalog-exchange{margin:0 0 12px;max-width:100%}.catalog-price{font-size:12px;color:var(--muted);line-height:1.5}.catalog-pages button:disabled{opacity:.4}
/* Stage 2: compact Command Macro strip. Command-only stylesheet; Companion is untouched. */
.macro-card{margin:0 0 20px}
.macro-card .card-head{padding-top:14px}
.macro-grid{display:grid;grid-template-columns:repeat(10,minmax(112px,1fr));gap:8px;padding:4px 16px 14px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#354b63 transparent}
.macro-item{min-width:0;min-height:150px;padding:12px 10px 10px;border:1px solid #26384c;border-radius:9px;background:#101d2d;display:flex;flex-direction:column;align-items:flex-start}
.macro-item:last-child{border-right:1px solid #26384c}
.macro-icon{width:27px;height:27px;display:grid;place-items:center;margin-bottom:8px}
.macro-icon img{display:block;width:24px;height:24px}
.macro-item .macro-label{font-size:9px;line-height:1.25;color:#b8c8da;min-height:23px}
.macro-item .macro-value{display:block;font-size:20px;line-height:1.15;font-weight:650;letter-spacing:-.35px;margin:4px 0 2px;font-variant-numeric:tabular-nums;white-space:nowrap}
.macro-item .macro-value small{font-size:9px;color:var(--muted);font-weight:500;letter-spacing:0}
.macro-item .macro-delta{font-size:9px;min-height:14px;white-space:nowrap}
.macro-item .macro-spark{width:100%;height:27px;display:block;margin:7px 0 3px}
.macro-spark-placeholder{height:27px;width:100%;display:block;margin:7px 0 3px;border-bottom:1px solid #26384c}
.macro-item .macro-date{font-size:7.5px;line-height:1.35;color:#6f839d;margin-top:auto;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.macro-card .empty{min-height:100px}
.macro-footnote{font-size:8.5px;color:var(--muted);padding:0 18px 14px}
@media(max-width:1450px){.macro-grid{grid-template-columns:repeat(5,minmax(128px,1fr));overflow:visible}.macro-item{min-height:145px}}
@media(max-width:900px){.macro-grid{display:flex;overflow-x:auto;gap:10px}.macro-item{flex:0 0 142px;min-height:145px}.macro-card .macro-footnote{font-size:8.5px}}
@media(max-width:560px){.macro-grid{padding-left:14px;padding-right:14px}.macro-item{flex-basis:136px}.macro-card>.card-head{align-items:flex-start}.macro-card .badge{font-size:8px;white-space:normal;max-width:95px;text-align:center}.macro-footnote{padding:0 14px 14px}}

/* Stage 3: Market Capsules timeline refinement. Data model and 15-minute selection behavior are unchanged. */
.timeline{padding:18px 20px 14px;margin-bottom:20px}
.timeline-top{align-items:flex-start}
.timeline-title h2{font-size:18px;margin:3px 0 2px}
.timeline-title p{margin:0;color:var(--muted);font-size:10px;line-height:1.45}
.timeline-actions{align-items:center;flex-wrap:wrap;justify-content:flex-end}
.timeline-actions button{transition:background .15s ease,border-color .15s ease,color .15s ease}
.timeline-actions #latest.selected{box-shadow:inset 0 0 0 1px #4e9293}
.capsule-statebar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 0 2px;padding:11px 13px;border:1px solid #26394e;border-radius:9px;background:#0c1725}
.capsule-selection{min-width:0;display:grid;grid-template-columns:auto 1fr;align-items:baseline;column-gap:10px;row-gap:1px}
.capsule-state-label{font-size:8px;letter-spacing:1.25px;color:#6f879f;grid-row:1}
.capsule-selection strong{font-size:15px;line-height:1.2;color:#dce8f4;font-variant-numeric:tabular-nums;grid-row:1}
.capsule-selection small{font-size:9px;color:var(--muted);grid-column:1/-1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.capsule-state-pills{display:flex;gap:7px;align-items:center;flex:0 0 auto}
.capsule-pill{font-size:8px;letter-spacing:.5px;text-transform:uppercase;border:1px solid #30445a;border-radius:999px;padding:4px 8px;color:#a9bdd1;background:#111f30;white-space:nowrap}
.capsule-pill.current{border-color:#2f6767;color:var(--cyan);background:#123033}
.capsule-pill.replay{border-color:#5a4d2e;color:var(--amber);background:#2a2418}
.capsule-pill.available{border-color:#2d5a4c;color:var(--up);background:#102a25}
.capsule-pill.muted{color:#7d90a7}
.slots{display:flex;align-items:stretch;gap:9px;overflow-x:auto;padding:13px 1px 12px;scrollbar-width:thin;scrollbar-color:#354b63 transparent;scroll-snap-type:x proximity}
.slot-hour{flex:0 0 170px;padding:8px;border:1px solid #223248;border-radius:9px;background:#0c1725;scroll-snap-align:start;transition:border-color .15s ease,background .15s ease}
.slot-hour.has-selection{border-color:#355e67;background:#0f202c}
.slot-hour-label{font-size:8px;letter-spacing:1px;color:#71869f;margin:0 0 6px 2px;text-transform:uppercase}
.slot-quarter-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.slot{min-width:0;min-height:38px;width:100%;padding:6px 5px;display:flex;align-items:center;justify-content:center;gap:6px;border-color:#29394c;color:#aebfd2;background:#101d2c;font-size:10px;font-variant-numeric:tabular-nums}
.slot::after{content:none}
.slot-time{line-height:1;white-space:nowrap}
.slot-status-dot{width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#41536a}
.slot.is-ready .slot-status-dot{background:#558c91}
.slot.is-latest:not([aria-pressed=true]){border-color:#365e61;box-shadow:inset 0 2px 0 #4f9d9d}
.slot.is-latest:not([aria-pressed=true]) .slot-status-dot{background:var(--cyan)}
.slot[aria-pressed=true]{color:#e7ffff;border-color:var(--cyan);background:#173943;box-shadow:0 0 0 1px #62ded94d,0 0 16px #58d9d318}
.slot[aria-pressed=true] .slot-status-dot{background:var(--cyan);box-shadow:0 0 0 3px #63ded526}
.slot:disabled{background:#0b1420;color:#66788f;opacity:.62;border-color:#1e2b3b}
.slot:disabled .slot-status-dot{background:#344255}
.capsule-empty{display:flex;align-items:center;min-height:64px;padding:0 8px}
.timeline-bottom{border-top:1px solid #1f2d40;padding-top:10px;flex-wrap:wrap}
.timeline-legend{white-space:nowrap}
.dot.latest{background:var(--cyan);box-shadow:0 0 0 2px #63ded526}
@media(max-width:850px){.capsule-statebar{align-items:flex-start}.capsule-selection{grid-template-columns:1fr}.capsule-state-label,.capsule-selection strong,.capsule-selection small{grid-column:1;grid-row:auto}.slot-hour{flex-basis:164px}}
@media(max-width:560px){.timeline{padding:14px}.timeline-title p{font-size:9px}.capsule-statebar{display:block}.capsule-state-pills{margin-top:9px}.slot-hour{flex-basis:152px;padding:7px}.slot{font-size:9.5px}.timeline-legend{display:none}}

/* Stage 4: make the selected frozen Market Capsule visibly precede its AI interpretation. */
.ai-capsule-context{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:11px 12px;margin:2px 0 8px;border:1px solid #29465c;border-radius:10px;background:#0b1725}.ai-capsule-context>div:first-child{display:grid;gap:2px}.ai-capsule-context>div:first-child>span{font-size:8px;letter-spacing:1.35px;color:var(--cyan);font-weight:700}.ai-capsule-context strong{font-size:13px;color:#e3edf7}.ai-capsule-context small{font-size:9px;color:var(--muted)}.ai-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.ai-meta .badge{white-space:nowrap}.ai-generated{color:var(--cyan);border-color:#2d665f;background:#102a2b}.ai-tone{text-transform:capitalize}.confidence-high{color:#81e6b8;border-color:#316650}.confidence-medium{color:#e5c676;border-color:#685b32}.confidence-low{color:#e69a9a;border-color:#704343}.ai-generated-time{font-size:9px;color:var(--muted);margin:0 0 3px}.ai-key-label{font-size:8px;letter-spacing:1.2px;color:#758da7;margin-top:10px}.ai-capsule-link{width:calc(100% - 44px);margin:0 22px 12px;padding:11px 13px;border:1px solid #29465c;border-radius:10px;background:#0c1826;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left}.ai-capsule-link:hover:not(:disabled){border-color:#4d8d91;background:#102130}.ai-capsule-link:disabled{opacity:.55;cursor:not-allowed}.ai-capsule-copy{display:grid;gap:2px}.ai-capsule-kicker{font-size:8px;letter-spacing:1.2px;color:var(--cyan);font-weight:700}.ai-capsule-copy strong{font-size:11px;color:#d8e5f1}.ai-capsule-copy small{font-size:9px;color:var(--muted);line-height:1.4}.ai-capsule-action{font-size:10px;color:var(--cyan);white-space:nowrap}.analysis-capsule-context{display:grid;gap:5px;padding:12px 14px;margin-bottom:18px;border:1px solid #2b455b;border-radius:10px;background:#0c1624}.analysis-capsule-context small{font-size:10px;color:var(--muted)}#capsule-detail{padding:0 24px 24px;line-height:1.6;color:#becfe2;font-size:12px}.capsule-detail-hero{padding:22px 0 18px;border-bottom:1px solid var(--line)}.capsule-detail-hero h3{font-size:21px;color:var(--text);margin:9px 0 3px}.capsule-detail-hero p{margin:0;color:var(--muted);font-size:10px}.capsule-evidence-section{padding:18px 0;border-bottom:1px solid var(--line)}.capsule-evidence-section:last-child{border-bottom:0}.capsule-evidence-section h4{font-size:12px;letter-spacing:.4px;color:#e0ebf7;margin:0 0 10px}.capsule-evidence-section>p{font-size:11px;color:#aebfd1;margin:0}.capsule-evidence-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.capsule-evidence-grid.macro{grid-template-columns:repeat(3,minmax(0,1fr))}.capsule-evidence-stat{display:grid;gap:3px;padding:10px;border:1px solid #273c51;border-radius:8px;background:#0b1522}.capsule-evidence-stat span{font-size:8px;letter-spacing:.6px;color:var(--muted)}.capsule-evidence-stat strong{font-size:15px;color:#e0ebf7}.capsule-evidence-stat small{font-size:8px;color:#7288a0}.capsule-quote-table-wrap{max-height:300px;overflow:auto;border:1px solid #263b50;border-radius:8px}.capsule-quote-table{width:100%;border-collapse:collapse;font-size:10px;font-variant-numeric:tabular-nums}.capsule-quote-table th,.capsule-quote-table td{padding:8px 10px;border-bottom:1px solid #1f3042;text-align:right}.capsule-quote-table th:first-child,.capsule-quote-table td:first-child{text-align:left}.capsule-quote-table th{position:sticky;top:0;background:#101d2d;color:#8399b0;font-size:8px;letter-spacing:.7px}.capsule-quote-table td small{display:block;color:var(--muted);max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.capsule-news-list{margin:0;padding:0;list-style:none;display:grid;gap:8px}.capsule-news-list li{display:grid;gap:3px;padding:9px 10px;border:1px solid #263b50;border-radius:8px;background:#0b1522}.capsule-news-list span{font-size:8px;color:var(--muted)}.capsule-news-list strong{font-size:10px;font-weight:500;color:#d5e1ed}@media(max-width:850px){.ai-capsule-context{display:block}.ai-meta{justify-content:flex-start;margin-top:8px}.capsule-evidence-grid,.capsule-evidence-grid.macro{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.ai-capsule-link{width:calc(100% - 32px);margin-left:16px;margin-right:16px}.ai-capsule-action{display:none}#capsule-detail{padding:0 16px 18px}.capsule-evidence-grid,.capsule-evidence-grid.macro{grid-template-columns:1fr}}

/* Stage 5: Market Pulse presentation refinement. Existing Pulse data, breadth and trend flows are unchanged. */
.pulse-card{position:relative}
.pulse-card .card-head{padding-bottom:14px}
#pulse{display:flex;flex-direction:column;min-height:0}
.pulse-overview{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(260px,1.1fr);gap:18px;align-items:stretch;padding:2px 22px 13px}
.pulse-primary{min-width:0;padding:13px 14px;border:1px solid #26394e;border-radius:10px;background:linear-gradient(135deg,#0c1927,#0c1723)}
.pulse-asset-line{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}
.pulse-asset-line strong{font-size:12px;color:#dce8f4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px}
.pulse-family{font-size:8px;letter-spacing:1.05px;text-transform:uppercase;color:var(--cyan);font-weight:700}
.pulse-symbol{font-size:8px;color:#8398b0;border:1px solid #304258;border-radius:999px;padding:2px 6px;font-variant-numeric:tabular-nums}
.pulse-price-line{display:flex;align-items:baseline;gap:7px;margin-top:8px;font-variant-numeric:tabular-nums;min-width:0}
.pulse-price-line>strong{font-size:30px;line-height:1.05;font-weight:650;letter-spacing:-.8px;color:#f1f6fb;min-width:0;overflow:hidden;text-overflow:ellipsis}
.pulse-currency{font-size:9px;color:#758aa2}
.pulse-change{font-size:10px;font-weight:650;margin-left:auto;white-space:nowrap}
.pulse-basis{display:block;margin-top:7px;font-size:8px;color:#6f849d;letter-spacing:.15px}
.pulse-summary-card{display:flex;flex-direction:column;justify-content:center;padding:13px 15px;border:1px solid #26394e;border-radius:10px;background:#0b1624;min-width:0}
.pulse-summary-card>span{font-size:8px;letter-spacing:1.2px;color:#7188a2;font-weight:700}
.pulse-summary-card p{font-size:11px;line-height:1.65;color:#b9c9d9;margin:6px 0 5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pulse-summary-card small{font-size:8px;color:#71869d}
.chart-wrap{padding:8px 22px 0}
.pulse-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 7px;color:#758ba4;font-size:8px;letter-spacing:.45px;text-transform:uppercase}
.pulse-chart-heading span:last-child{color:#62778e;text-transform:none;letter-spacing:0;white-space:nowrap}
.pulse-chart{height:132px;border-radius:8px;background:linear-gradient(180deg,#0b1724 0,#0a1420 100%);border:1px solid #1d3043}
.pulse-chart-empty{min-height:132px;border:1px solid #1d3043;border-radius:8px;background:#0b1623}
.chart-labels{padding:0 2px;margin-top:4px}
.chart-note{line-height:1.45}
.breadth{margin:15px 22px 20px;padding-top:13px}
.breadth-title{align-items:flex-end;gap:12px}
.breadth-title>div{display:grid;gap:2px}
.breadth-title>div>span{font-size:9px;letter-spacing:.7px;color:#9db0c4;font-weight:700}
.breadth-title small{font-size:8px;color:#657b93;font-weight:400}
.breadth-title>span{font-size:9px;white-space:nowrap}
.breadth-bar{height:6px;margin:10px 0 11px;box-shadow:inset 0 0 0 1px #29394d}
.breadth-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.breadth-counts>span{display:grid;grid-template-columns:auto 1fr;align-items:baseline;column-gap:6px;padding:8px 9px;border:1px solid #223449;border-radius:8px;background:#0b1623}
.breadth-counts b{font-size:16px;line-height:1;font-weight:650;margin:0}
.breadth-counts small{font-size:8px;color:#71869e;white-space:nowrap}
.crypto-five-charts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.crypto-coin-chart{min-width:0;padding:10px;border:1px solid #26394e;border-radius:9px;background:#0b1623}
.crypto-coin-head{display:flex;justify-content:space-between;align-items:flex-start;gap:7px}
.crypto-coin-head>div{display:grid;gap:1px;min-width:0}
.crypto-coin-head strong{font-size:10px;color:#dbe7f2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crypto-coin-head small,.crypto-coin-chart>small{font-size:7.5px;color:#6f849d}
.crypto-coin-head>span{font-size:8px;font-variant-numeric:tabular-nums;white-space:nowrap}
.crypto-coin-price{font-size:14px;font-weight:650;margin-top:7px;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.crypto-coin-price small{font-size:7px;color:#6f849d;font-weight:500}
.crypto-coin-chart .macro-spark{height:46px;width:100%;margin:7px 0 4px}
.crypto-spark-empty{height:46px;display:grid;place-items:center;margin:7px 0 4px;border-bottom:1px solid #26394e;color:#667c94;font-size:7px;text-align:center}
@media(max-width:1450px){.crypto-five-charts{grid-template-columns:repeat(3,minmax(0,1fr))}.crypto-coin-chart:nth-child(n+4){min-height:108px}}
@media(max-width:1100px){.pulse-overview{grid-template-columns:1fr}.pulse-summary-card p{-webkit-line-clamp:2}.crypto-five-charts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.pulse-overview{padding-left:16px;padding-right:16px}.chart-wrap{padding-left:16px;padding-right:16px}.breadth{margin-left:16px;margin-right:16px}.pulse-price-line>strong{font-size:28px}}
@media(max-width:560px){.pulse-overview{display:block;padding:1px 16px 12px}.pulse-summary-card{margin-top:8px}.pulse-asset-line strong{max-width:150px}.pulse-price-line>strong{font-size:27px}.pulse-summary-card p{-webkit-line-clamp:3}.pulse-chart-heading{align-items:flex-start}.pulse-chart-heading span:last-child{text-align:right}.breadth-counts{gap:5px}.breadth-counts>span{display:block;padding:7px}.breadth-counts b{display:block;margin-bottom:3px}.crypto-five-charts{grid-template-columns:1fr 1fr}.crypto-coin-chart:last-child{grid-column:1/-1}.crypto-coin-chart .macro-spark{height:42px}}

/* Stage 6: AI Signal Radar presentation refinement.
   The five existing signal screens and stored rule results are unchanged. */
.radar-card .card-head{align-items:center}
.radar-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.radar-view-all{white-space:nowrap;color:var(--cyan);border-color:#34546a;background:#102033}
.radar-view-all:hover,.radar-view-all[aria-pressed=true]{border-color:#62bfc2;background:#17333d;color:#d9ffff}
.radar-strategies{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:4px 22px 18px}
.strategy{min-height:108px;padding:13px 14px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;border-radius:10px;background:#101f30;border:1px solid #293c51;transition:border-color .15s ease,background .15s ease,transform .15s ease}
.strategy:hover{border-color:#3d6176;background:#13283a;transform:translateY(-1px)}
.strategy[aria-pressed=true]{background:linear-gradient(135deg,#173b42,#13293a);border-color:#5babae;box-shadow:0 0 0 1px #5babae22 inset}
.strategy-icon{width:34px;height:34px;border:1px solid #315168;border-radius:9px;background:#0c1928;display:grid;place-items:center}
.strategy-icon img{width:20px;height:20px;display:block}
.strategy-copy{min-width:0;display:grid;grid-template-columns:auto 1fr;column-gap:7px;align-items:baseline}
.strategy-copy .strategy-number{font-size:10px;letter-spacing:.08em;color:#6e9aad;font-weight:600}
.strategy-copy strong{font-size:12px;line-height:1.25;color:var(--text)}
.strategy-copy small{grid-column:1/-1;display:block;font-size:9px;line-height:1.35;color:var(--muted);margin-top:5px}
.strategy-count-wrap{min-width:48px;text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.strategy-count-wrap .strategy-count{font-size:22px;line-height:1;color:var(--cyan);font-variant-numeric:tabular-nums}
.strategy-count-wrap small{font-size:8px;line-height:1.1;text-transform:uppercase;letter-spacing:.06em;color:#7690a8;white-space:nowrap}
.radar-ai{border-top:1px solid var(--line);border-bottom:1px solid #1c3146;background:linear-gradient(90deg,#102631aa,#101c2b66);padding:15px 22px}
.radar-table th{height:38px;vertical-align:middle}
.radar-table td{height:46px;vertical-align:middle}
.radar-evidence{white-space:nowrap}
@media(max-width:1180px){.radar-strategies{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.radar-strategies{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:14px}.strategy{flex:0 0 220px;scroll-snap-align:start}.radar-head-actions{align-items:flex-end}.radar-view-all{font-size:10px}}
@media(max-width:560px){.radar-card .card-head{align-items:flex-start}.radar-head-actions{width:100%;justify-content:space-between}.strategy{flex-basis:210px;min-height:101px}.strategy-icon{width:30px;height:30px}.strategy-icon img{width:18px;height:18px}.strategy-count-wrap .strategy-count{font-size:19px}}
.radar-signal-name{display:block;margin-top:3px;color:#7894aa;font-size:8px;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}

/* Stage 7: My Lists, Top Movers and Market News presentation refinement.
   Existing list APIs, mover rankings and capsule-linked news data are unchanged. */
.watchlist-card,.movers-card,.news-card{display:flex;flex-direction:column;min-height:0}
.watchlist-card .card-head,.movers-card .card-head,.news-card .card-head{min-height:68px;align-items:center}
.card-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.watchlist-card .panel-note{padding-bottom:10px;line-height:1.45}
.watchlist-card .list-tools{margin:0 22px 10px;padding:9px 10px;border:1px solid #25394d;border-radius:9px;background:#0b1623;gap:8px;flex-wrap:nowrap}
.list-tools-label{font-size:8px;letter-spacing:1.05px;color:#7189a2;font-weight:700;white-space:nowrap}
.watchlist-card #list-select{min-width:0;max-width:none;flex:1;border:0;background:#101d2b;padding:7px 25px 7px 9px;font-size:10px}
.watchlist-card #list-manage{white-space:nowrap;border-color:#31475c;background:#101d2c}
.watchlist-card .bounded,.movers-card .bounded,.news-card .bounded{flex:1;height:252px;min-height:0}
.watchlist-card .quote-row,.movers-card .quote-row{min-height:57px;transition:background .15s ease,border-color .15s ease}
.watchlist-card .quote-row:hover,.movers-card .quote-row:hover{background:#132235}
.watchlist-card .symbol-name,.movers-card .symbol-name{min-width:0}
.watchlist-card .row-value,.movers-card .row-value{font-variant-numeric:tabular-nums}
.watch-missing{margin:-3px 22px 7px;padding:6px 9px;border-left:2px solid #435873;background:#0b1522;color:#768ba2;font-size:8px;line-height:1.45}
.watchlist-card #watch-status{margin-top:auto}
.movers-card .mover-controls{min-height:48px;padding-top:0;padding-bottom:10px}
.mover-controls nav{gap:5px;padding:3px;border:1px solid #24384c;border-radius:8px;background:#0b1623;min-width:0}
.mover-controls button{display:flex;align-items:center;gap:5px;border:0;border-radius:6px;padding:6px 7px;color:#7f94aa;white-space:nowrap}
.mover-controls button[aria-pressed=true]{background:#19343f;color:var(--cyan);border:0}
.mover-controls .tab-count{display:grid;place-items:center;min-width:18px;height:17px;padding:0 4px;border-radius:999px;background:#182739;color:#8ca1b7;font-size:8px;font-variant-numeric:tabular-nums}
.mover-controls button[aria-pressed=true] .tab-count{background:#24505a;color:#cffffa}
.movers-card #sector{border:1px solid #26394d;background:#0b1623;border-radius:7px;padding:6px 24px 6px 8px}
.movers-card #mover-note{margin-top:auto}
.news-card #news{padding:0 10px 10px;height:252px}
.news-item{margin-top:8px;padding:11px 12px;border:1px solid #21364a;border-radius:9px;background:#0b1623;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.news-item:first-child{margin-top:0}
.news-item:hover{background:#122538;border-color:#345168;transform:translateY(-1px)}
.news-item .news-meta{align-items:center;gap:10px;font-size:8px}
.news-source{display:flex;align-items:center;gap:6px;min-width:0;color:#9eb1c4;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.news-source i{display:block;width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 3px #6be0db12}
.news-time{color:#70869d;white-space:nowrap;font-variant-numeric:tabular-nums}
.news-item h3{margin-top:7px;font-size:11px;line-height:1.5;color:#d6e1ec;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-item .news-arrow{display:inline-block;color:var(--cyan);margin-left:6px;font-size:10px}
.news-card #news-note{margin-top:auto}
@media(max-width:1250px){.news-card #news{height:190px;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 10px 10px}.news-item,.news-item:first-child{margin-top:0}.news-item{height:100%}.news-item h3{-webkit-line-clamp:3}}
@media(max-width:850px){.watchlist-card .list-tools{margin-left:16px;margin-right:16px}.watch-missing{margin-left:16px;margin-right:16px}.mover-controls nav{overflow-x:auto;max-width:100%}.mover-controls button{font-size:9px}}
@media(max-width:560px){.card-head-actions{gap:5px}.card-head-actions .badge{font-size:8px}.watchlist-card .list-tools{flex-wrap:wrap}.watchlist-card #list-select{flex:1 1 150px}.watchlist-card .bounded,.movers-card .bounded{height:236px}.news-card #news{display:block;height:265px;padding:0 8px 8px}.news-item,.news-item:first-child{margin-top:7px}.news-item:first-child{margin-top:0}.mover-controls{align-items:stretch}.mover-controls nav{width:100%;justify-content:space-between}.mover-controls button{flex:1;justify-content:center;padding-left:5px;padding-right:5px}.movers-card #sector{max-width:none;width:100%}}

/* Stage 8: overall Command View visual polish.
   Presentation only: preserve the current dark palette, data flows, component structure and interactions. */
:root{
  --panel:#0f1927;
  --panel-raised:#111d2c;
  --panel-soft:#0b1623;
  --line:#223246;
  --line-strong:#30445a;
  --hover:#152538;
  --selected:#17343c;
  --radius-panel:10px;
  --radius-control:7px;
  --shadow-panel:0 8px 22px rgba(0,0,0,.14);
}
body{background:#080e19;font-size:13px;color:#e7eef7}
main{margin-left:72px;padding:0 26px 28px;max-width:1920px}
.rail{width:72px;padding:20px 10px;background:#0b1421;border-color:#1f2e41}
.rail nav{margin-top:40px;gap:14px}
.rail nav>*{width:40px;height:40px;font-size:21px;border-radius:8px;color:#7890aa;transition:background .12s ease,color .12s ease,border-color .12s ease}
.rail nav>*:hover{background:#111f2e;color:#b8c9da}
.rail nav .rail-active{background:#17363d;color:var(--cyan);box-shadow:inset 0 0 0 1px #315b62}
.classic-link{font-size:21px}
.topbar{min-height:72px;border-color:#1f2e41}
.wordmark{font-size:20px;letter-spacing:-.55px}
.wordmark small{font-size:8px;letter-spacing:1.7px;margin-left:18px}
.top-actions{gap:14px}
.avatar{width:32px;height:32px;background:#17283a;border:1px solid #2c4358;color:#cae5ea;font-weight:700;letter-spacing:.02em}
.icon-button{font-size:20px;border-radius:var(--radius-control);transition:background .12s ease,color .12s ease}
.icon-button:hover{background:#122236;color:var(--cyan)}
.heading{padding:20px 0 10px}
.heading .eyebrow{font-size:8px;letter-spacing:1.55px}
h1{font-size:30px;letter-spacing:-1px;margin:4px 0}
.heading p{font-size:11px;margin:3px 0}
.session-state{font-size:10px;padding-left:10px;border-left-width:1px}
.status{min-height:18px;font-size:10px}
.command-bar{gap:12px;margin:8px 0 14px}
.asset-tabs{padding:3px;border-radius:8px;background:#0d1826;border-color:#26364a}
.asset-tabs button{min-height:34px;padding:7px 14px;border-radius:6px;font-size:11px;transition:background .12s ease,color .12s ease}
.asset-tabs button:hover{background:#142538;color:#c5d4e3}
.asset-tabs button[aria-pressed=true]{background:#1b3941;color:var(--cyan);box-shadow:inset 0 0 0 1px #34585f}
.asset-tabs .tab-icon{font-size:14px;margin-right:7px}
.controls{gap:8px}
select,.date-control,.browse-button{min-height:36px;border-color:#26384c;background:#0e1927;border-radius:var(--radius-control)}
select{padding:8px 28px 8px 10px;font-size:11px}
.date-control{padding:7px 10px}
.browse-button{padding:8px 11px;font-size:10px}
button{border-color:#293b50;border-radius:var(--radius-control);transition:background .12s ease,border-color .12s ease,color .12s ease}
button:hover{background:#162638;border-color:#3a526a}
button:active:not(:disabled){background:#1a2b3e}
.panel{background:var(--panel);border-color:var(--line);border-radius:var(--radius-panel);box-shadow:var(--shadow-panel)}
.timeline{padding:14px 16px 12px;margin-bottom:14px}
.timeline-title h2{font-size:16px;margin-top:2px}
.timeline-title p{font-size:9.5px}
.timeline-actions{gap:5px}
.timeline-actions button{padding:5px 8px}
.capsule-statebar{margin:11px 0 1px;padding:9px 11px;border-radius:8px;background:#0b1623;border-color:#24364a}
.capsule-selection strong{font-size:14px}
.capsule-pill{padding:3px 7px}
.slots{gap:7px;padding:10px 1px}
.slot-hour{flex-basis:164px;padding:7px;border-radius:8px;background:#0b1623;transition:border-color .12s ease,background .12s ease}
.slot-hour.has-selection{background:#10202b}
.slot{min-height:36px;border-radius:6px;transition:background .12s ease,border-color .12s ease,color .12s ease,box-shadow .12s ease}
.slot[aria-pressed=true]{box-shadow:0 0 0 1px #62ded93d}
.timeline-bottom{padding-top:8px}
.macro-card{margin-bottom:14px}
.dashboard{gap:14px}
.card-head{padding:16px 18px 10px;gap:8px;min-height:58px}
.watchlist-card .card-head,.movers-card .card-head,.news-card .card-head{min-height:58px}
.eyebrow{font-size:8px;letter-spacing:1.45px}
h2{font-size:16px;letter-spacing:-.25px;margin-top:2px}
.badge{font-size:8px;padding:3px 8px;border-color:#2b3d52;background:#0d1927}
.small-button{padding:5px 8px;font-size:9px}
.card-footer{min-height:38px;padding:9px 18px;border-color:#1e3043}
.panel-note{padding:0 18px 10px;font-size:9px}
.empty{min-height:128px;padding:22px;font-size:11px;background:#0c1622}
.empty strong{font-size:13px}
.empty small{font-size:10px;line-height:1.6}
.empty-icon{font-size:22px;color:#4f687f}
.pulse-overview{padding:0 18px 11px;gap:12px}
.pulse-primary,.pulse-summary-card{padding:11px 12px;border-radius:8px;background:#0b1623;border-color:#24374b}
.pulse-price-line>strong{font-size:29px}
.chart-wrap{padding:6px 18px 0}
.pulse-chart{height:126px;border-radius:7px;background:#0b1623}
.breadth{margin:12px 18px 16px;padding-top:11px}
.breadth-counts{gap:6px}
.breadth-counts>span{padding:7px 8px;border-radius:7px}
#ai{padding:4px 18px 10px;max-height:268px}
.ai-headline{font-size:21px;line-height:1.32;margin:7px 0 10px}
.ai-summary{font-size:11px;line-height:1.7;margin-bottom:12px}
.ai-capsule-context{padding:9px 10px;border-radius:8px;background:#0b1623}
.ai-capsule-link{width:calc(100% - 36px);margin:0 18px 10px;padding:9px 11px;border-radius:8px;background:#0b1623}
.radar-strategies{gap:8px;padding:2px 18px 14px}
.strategy{min-height:101px;padding:11px 12px;grid-template-columns:32px minmax(0,1fr) auto;border-radius:8px;background:#0d1a28;transition:background .12s ease,border-color .12s ease}
.strategy:hover{transform:none;background:#122335;border-color:#38566d}
.strategy[aria-pressed=true]{background:#16333a;border-color:#548e91;box-shadow:inset 0 0 0 1px #548e9122}
.strategy-icon{width:32px;height:32px;border-radius:8px;background:#0a1521}
.strategy-icon img{width:18px;height:18px}
.radar-ai{padding:12px 18px;background:#0d1b28;border-color:#1e3043}
.watchlist-card .list-tools{margin:0 18px 8px;padding:7px 8px;border-radius:7px;background:#0b1623}
.watchlist-card .bounded,.movers-card .bounded,.news-card .bounded{height:236px}
.quote-row{padding:10px 18px;border-color:#1d2d3f}
.watchlist-card .quote-row,.movers-card .quote-row{min-height:53px;transition:background .12s ease}
.watchlist-card .quote-row:hover,.movers-card .quote-row:hover{background:#112134}
.watch-missing{margin:-2px 18px 6px}
.mover-controls{padding:0 18px 8px;min-height:44px}
.mover-controls nav{border-radius:7px}
.news-card #news{height:236px;padding:0 8px 8px}
.news-item{padding:9px 10px;border-radius:7px;background:#0b1623;transition:background .12s ease,border-color .12s ease}
.news-item:hover{transform:none;background:#112235;border-color:#304b61}
.news-item h3{margin-top:6px}
.page-footer{margin-top:18px;padding-top:14px;border-color:#1c2b3b;color:#71859d}
dialog{border-color:#2a3c50;border-radius:10px;background:#0d1724;box-shadow:0 24px 70px rgba(0,0,0,.5)}
.dialog-head{border-color:#203246}
.dialog-head button{border:0}
.dialog-filters input,.dialog-filters select,#list-form input{background:#0a1521;border-color:#2a3d52;border-radius:7px}
@media(max-width:1250px){main{padding-left:20px;padding-right:20px}.dashboard{gap:12px}.card-head{padding-left:16px;padding-right:16px}.card-footer{padding-left:16px;padding-right:16px}}
@media(max-width:850px){.rail{width:58px;padding-left:7px;padding-right:7px}.rail nav>*{width:38px;height:38px}main{margin-left:58px;padding-left:16px;padding-right:16px}.heading{padding-top:16px}.command-bar{gap:8px}.panel{box-shadow:none}.timeline{padding:13px}.pulse-overview,.chart-wrap{padding-left:16px;padding-right:16px}.breadth{margin-left:16px;margin-right:16px}.radar-strategies{padding-left:16px;padding-right:16px}}
@media(max-width:560px){.rail{display:none}main{margin-left:0;padding-left:12px;padding-right:12px}.topbar{min-height:64px}.wordmark small{display:none}h1{font-size:26px}.heading p{font-size:10px}.card-head{padding:14px 14px 9px}.card-footer{padding:9px 14px}.panel-note{padding-left:14px;padding-right:14px}.ai-capsule-link{width:calc(100% - 28px);margin-left:14px;margin-right:14px}.watchlist-card .list-tools{margin-left:14px;margin-right:14px}.mover-controls{padding-left:14px;padding-right:14px}.quote-row{padding-left:14px;padding-right:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

/* Stage 12.1: approved concept alignment for the existing Command View.
   Presentation only: keep current data flows, Market Capsules, Mobile separation and backend architecture. */
:root{
  --mc-cyan:#22d9e8;
  --mc-cyan-soft:#0e303a;
  --mc-cyan-line:#15556a;
  --mc-panel:#0b1826;
  --mc-panel-2:#0d1d2d;
  --mc-rail:#071422;
  --mc-border:#18354b;
  --mc-border-strong:#1d5066;
}
body{background:#07111d;color:#ecf4fb}
main{margin-left:86px;padding:0 22px 22px;max-width:none}
.rail{width:86px;padding:14px 8px 16px;background:linear-gradient(180deg,#071625,#06111d);border-color:#153248}

.rail nav{width:100%;margin-top:20px;gap:7px}
.rail nav>*{width:100%;height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:7px;color:#8fa6bb;font-size:8px;line-height:1.05}
.rail nav>* img{width:17px;height:17px;opacity:.86}
.rail nav>* span{display:block;font-size:8px;letter-spacing:.01em}
.rail nav>*:hover{background:#0c2232;color:#d9edf5}
.rail nav .rail-active{background:#0a3342;color:#6ff3ef;box-shadow:inset 3px 0 0 #25dce8,inset 0 0 0 1px #1a5366}
.rail nav .rail-active img{filter:brightness(1.4)}
.classic-link{font-size:17px}
.topbar{min-height:58px;display:grid;grid-template-columns:minmax(240px,1fr) minmax(260px,520px) minmax(240px,1fr);gap:18px;border-color:#163247}
.wordmark{font-size:20px;justify-self:start;display:flex;align-items:center;white-space:nowrap}
.wordmark small{font-size:7.5px;letter-spacing:1.75px;margin-left:15px}
.workspace-search{justify-self:center;width:100%;min-height:34px;display:flex;align-items:center;gap:9px;text-align:left;padding:7px 12px;border-color:#1c4960;background:#091827;color:#7f96ac;font-size:10px}
.workspace-search:hover{background:#0c2132;border-color:#26718a;color:#bad2df}
.workspace-search>span:first-child{font-size:16px;line-height:1;color:#a2bfd0}
.top-actions{justify-self:end;gap:10px}.top-actions #environment{font-size:9px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.avatar{width:32px;height:32px;background:linear-gradient(145deg,#0c756d,#0c3946);border-color:#188f8e;color:#dffffc}
.heading{padding:14px 4px 7px}.heading .eyebrow{font-size:7px;color:#39ddea}.heading h1{font-size:31px;line-height:1.05;margin:3px 0 4px}.heading p{font-size:10.5px;color:#91a6ba}.session-state{font-size:9px;color:#c2d5e2;border-color:#1ed9e3}
.status{min-height:12px;font-size:9px}.command-bar{margin:6px 0 10px;align-items:center}.asset-tabs{background:#081827;border-color:#183b50;min-width:430px}.asset-tabs button{min-width:105px;min-height:32px;padding:6px 13px;font-size:10px}.asset-tabs button[aria-pressed=true]{background:#0b3946;color:#78f7f0;box-shadow:inset 0 0 0 1px #22d9e8}.controls{margin-left:auto}.controls select,.date-control,.browse-button{background:#081827;border-color:#1b4055;min-height:34px}
.panel{background:linear-gradient(145deg,#0b1928,#091624);border-color:#17394e;border-radius:7px;box-shadow:none}.panel:hover{border-color:#1b435a}
.timeline{padding:8px 11px 8px;margin-bottom:9px;border-color:#1b7f8c}.timeline-top{align-items:center}.timeline-title{display:flex;align-items:center;gap:10px;min-width:0}.timeline-title .eyebrow{display:none}.timeline-title h2{font-size:13px;text-transform:uppercase;letter-spacing:.06em;margin:0;white-space:nowrap}.timeline-title h2::before{content:'◫';color:#32e5e8;margin-right:7px}.timeline-title p{font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.timeline-actions{gap:4px}.timeline-actions button{padding:4px 7px;font-size:8px}.capsule-statebar{margin:6px 0 0;padding:5px 8px;min-height:31px;display:flex;align-items:center;background:#081725;border-color:#18394d}.capsule-selection{display:flex;align-items:baseline;gap:8px;min-width:0}.capsule-state-label{font-size:6.5px;letter-spacing:.09em}.capsule-selection strong{font-size:11px;white-space:nowrap}.capsule-selection small{font-size:7.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.capsule-state-pills{margin-left:auto;gap:4px}.capsule-pill{font-size:7px;padding:2px 6px}.slots{gap:5px;padding:6px 0 5px}.slot-hour{flex:0 0 136px;padding:5px;border-color:#17364b;border-radius:6px;background:#081725}.slot-hour.has-selection{border-color:#21b6c2;background:#092632}.slot-hour-label{font-size:6.5px;margin:0 0 3px 1px}.slot-quarter-list{gap:3px}.slot{min-height:29px;padding:4px 3px;font-size:8px;border-radius:5px}.slot::after{display:none}.slot-time{font-size:8px}.slot-status-dot{width:4px;height:4px}.timeline-bottom{font-size:7.5px;padding-top:5px;border-color:#163247}.timeline-legend{font-size:7px}
.macro-card{margin-bottom:9px}.macro-card .card-head{min-height:38px;padding:8px 11px 4px}.macro-card .card-head .eyebrow{display:none}.macro-card .card-head h2{font-size:13px;text-transform:uppercase;letter-spacing:.05em}.macro-card .card-head h2::after{content:none!important}.macro-grid{grid-template-columns:repeat(10,minmax(100px,1fr));gap:5px;padding:2px 8px 8px}.macro-item{min-height:102px;padding:8px 8px 6px;border-color:#17384d;border-radius:5px;background:#0a1a29;align-items:center;text-align:center}.macro-icon{width:22px;height:22px;margin-bottom:3px}.macro-item .macro-label{font-size:8px;min-height:17px}.macro-item .macro-value{font-size:15px;margin:2px 0}.macro-item .macro-delta{font-size:7.5px;min-height:12px}.macro-item .macro-spark{height:20px;margin:4px 0 0}.macro-item .macro-date{display:none}.macro-footnote{padding:0 10px 7px;font-size:7px}
.dashboard{gap:9px}.pulse-card{grid-column:span 6}.ai-card{grid-column:span 6}.radar-card{grid-column:1/-1}.watchlist-card,.movers-card,.news-card{grid-column:span 4}.card-head{min-height:43px;padding:9px 12px 6px}.card-head .eyebrow{font-size:6.5px;letter-spacing:.1em;color:#28dce7}.card-head h2{font-size:13px;margin-top:1px}.badge{font-size:7px;padding:2px 6px}.small-button{font-size:8px;padding:4px 7px}
/* Borrowed from concept 2: stronger Pulse chart emphasis while retaining stored Pulse data. */
.pulse-card{min-height:330px}.pulse-overview{grid-template-columns:minmax(180px,.72fr) minmax(220px,1.28fr);padding:0 12px 7px;gap:8px}.pulse-primary,.pulse-summary-card{padding:8px 9px;border-radius:5px;background:#081725;border-color:#18394d}.pulse-family{font-size:6.5px}.pulse-asset-line strong{font-size:10px}.pulse-symbol{font-size:7px}.pulse-price-line>strong{font-size:27px}.pulse-change{font-size:9px}.pulse-basis{font-size:6.5px}.pulse-summary-card>span{font-size:6.5px}.pulse-summary-card p{font-size:9px;line-height:1.45;margin:3px 0}.pulse-summary-card small{font-size:6.5px}.chart-wrap{padding:3px 12px 0}.pulse-chart-heading{font-size:6.5px;margin-bottom:3px}.pulse-chart{height:148px;border-radius:5px;background:#071522}.chart-labels,.chart-note{font-size:6.5px}.breadth{margin:7px 12px 9px;padding-top:6px}.breadth-title{font-size:7px}.breadth-title small{font-size:6.5px}.breadth-counts{grid-template-columns:repeat(3,1fr);gap:4px}.breadth-counts>span{padding:5px 6px;border-radius:5px}.breadth-counts b{font-size:12px}.breadth-counts small{font-size:6.5px}.crypto-five-charts{gap:5px}.crypto-coin-chart{padding:7px;min-height:88px;border-radius:5px}.crypto-coin-price{font-size:12px}.crypto-coin-chart .macro-spark{height:34px}
#ai{padding:1px 12px 7px;max-height:252px}.ai-capsule-context{padding:6px 7px;border-radius:5px}.ai-capsule-context strong{font-size:10px}.ai-capsule-context small{font-size:7px}.ai-meta{gap:4px}.ai-generated-time{font-size:7px;margin-top:4px}.ai-headline{font-size:15px;line-height:1.3;margin:5px 0 6px}.ai-summary{font-size:9px;line-height:1.55;margin-bottom:7px}.ai-key-label{font-size:6.5px}.driver-list{gap:4px}.driver-list li{font-size:8px}.driver-num{width:16px;height:16px;font-size:7px}.ai-capsule-link{width:calc(100% - 24px);margin:0 12px 7px;padding:7px 8px;border-radius:5px}.ai-capsule-kicker{font-size:6.5px}.ai-capsule-copy strong{font-size:9px}.ai-capsule-copy small{font-size:7px}.ai-capsule-action{font-size:7.5px}.card-footer{min-height:29px;padding:6px 12px;font-size:7px}.card-footer button{font-size:7.5px;padding:3px 6px}
.radar-card .card-head{min-height:40px}.radar-strategies{gap:5px;padding:1px 10px 7px}.strategy{min-height:62px;padding:7px 8px;grid-template-columns:24px minmax(0,1fr) auto;gap:6px;border-radius:5px}.strategy-icon{width:24px;height:24px;border-radius:5px}.strategy-icon img{width:15px;height:15px}.strategy-copy .strategy-number{font-size:7px}.strategy-copy strong{font-size:9px}.strategy-copy small{font-size:6.5px;margin-top:2px}.strategy-count-wrap{min-width:32px}.strategy-count-wrap .strategy-count{font-size:15px}.strategy-count-wrap small{font-size:5.5px}.radar-ai{padding:7px 11px}.radar-ai-label{font-size:7px}.radar-ai h3{font-size:11px;margin:5px 0}.radar-ai p{font-size:8px;margin:4px 0}.radar-scroll{max-height:190px}.radar-table th{height:28px;font-size:7px}.radar-table td{height:34px;font-size:8px}
.watchlist-card,.movers-card,.news-card{min-height:255px}.watchlist-card .card-head,.movers-card .card-head,.news-card .card-head{min-height:43px}.panel-note{padding:0 12px 5px;font-size:7px}.watchlist-card .list-tools{margin:0 12px 5px;padding:5px 6px;border-radius:5px}.watchlist-card #list-select{font-size:8px;padding:5px 20px 5px 7px}.list-tools-label{font-size:6px}.watchlist-card .bounded,.movers-card .bounded,.news-card .bounded{height:176px}.quote-row{padding:6px 11px}.watchlist-card .quote-row,.movers-card .quote-row{min-height:35px}.symbol-name strong{font-size:9px}.symbol-name small,.row-value small{font-size:6.5px}.row-value strong{font-size:9px}.mover-controls{min-height:31px;padding:0 11px 5px}.mover-controls button{font-size:7px;padding:4px 6px}.mover-controls .tab-count{height:14px;min-width:15px;font-size:6px}.movers-card #sector{font-size:7px;padding-top:4px;padding-bottom:4px}.news-card #news{height:176px;padding:0 7px 6px}.news-item{margin-top:0;padding:7px 6px;border:0;border-top:1px solid #162f42;border-radius:0;background:transparent}.news-item:first-child{border-top:0}.news-item:hover{transform:none;background:#0c1d2d}.news-item .news-meta{font-size:6.5px}.news-item h3{font-size:8.5px;line-height:1.35;margin-top:4px}.news-time{font-size:6.5px}
.page-footer{margin-top:9px;padding:8px 2px 2px;font-size:7px}.footer-health{display:inline-block;width:6px;height:6px;border-radius:50%;background:#2df09b;margin-right:5px;box-shadow:0 0 0 3px #2df09b12}
@media(max-width:1450px){.macro-grid{grid-template-columns:repeat(5,minmax(120px,1fr));gap:5px}.macro-item{min-height:96px}.topbar{grid-template-columns:minmax(215px,.8fr) minmax(240px,420px) minmax(210px,.8fr)}.asset-tabs{min-width:380px}.asset-tabs button{min-width:92px}.slot-hour{flex-basis:128px}}
@media(max-width:1250px){main{padding-left:16px;padding-right:16px}.workspace-search{max-width:330px}.pulse-overview{grid-template-columns:1fr}.pulse-summary-card{display:none}.pulse-card,.ai-card{grid-column:1/-1}.watchlist-card,.movers-card,.news-card{grid-column:span 4}.macro-grid{grid-template-columns:repeat(5,minmax(112px,1fr))}}
@media(max-width:900px){.workspace-search{display:none}.topbar{grid-template-columns:1fr auto}.top-actions{grid-column:2}.rail{width:58px}.rail nav>* span{display:none}.rail nav>*{height:40px}.rail nav>* img{width:17px;height:17px}main{margin-left:58px}.asset-tabs{min-width:0}.asset-tabs button{min-width:auto}.timeline-title p{max-width:300px}.watchlist-card,.movers-card,.news-card{grid-column:1/-1}.macro-grid{display:flex}.macro-item{flex:0 0 132px}.radar-strategies{display:flex;overflow-x:auto}.strategy{flex:0 0 190px}}
@media(max-width:560px){main{margin-left:0}.topbar{grid-template-columns:1fr auto}.heading{padding-left:0}.command-bar{display:block}.asset-tabs{width:100%}.asset-tabs button{flex:1}.controls{margin-top:7px;overflow-x:auto}.timeline-title p{display:none}.capsule-statebar{display:none}.slot-hour{flex-basis:120px}.macro-grid{padding-left:8px;padding-right:8px}.pulse-overview{padding-left:10px;padding-right:10px}.chart-wrap{padding-left:10px;padding-right:10px}.breadth{margin-left:10px;margin-right:10px}.radar-strategies{padding-left:9px;padding-right:9px}.strategy{flex-basis:180px}.page-footer{display:block}.page-footer>span{display:block;margin-bottom:4px}}

/* Stage C / 1.2.4-alpha: compact brand-first Command cleanup. */
.classic-link{display:none!important}
.topbar{min-height:66px;grid-template-columns:minmax(310px,.9fr) minmax(260px,500px) minmax(300px,.9fr);gap:16px}
.wordmark{min-width:0;gap:10px;align-items:center;text-decoration:none}
.brand-mark{width:34px;height:34px;display:block;object-fit:contain;flex:0 0 auto}
.brand-copy{display:flex;flex-direction:column;min-width:0;line-height:1.05}
.brand-name{font-size:20px;font-weight:720;letter-spacing:-.55px;color:#edf6fb;white-space:nowrap}
.brand-name>span{color:var(--cyan)}
.brand-tagline{margin:5px 0 0!important;font-size:8px!important;line-height:1.15;letter-spacing:.05em!important;text-transform:none;color:#8ea6ba!important;font-weight:520!important;white-space:nowrap}
.top-actions{min-width:0}
.market-state-cluster{display:flex;align-items:center;gap:8px;min-width:0}
.top-actions #environment{max-width:118px}
.session-state{display:inline-flex;align-items:center;min-height:24px;max-width:210px;padding:3px 8px;border:1px solid #19445a;border-left:1px solid #19445a;border-radius:999px;background:#081b29;color:#bdd4df;font-size:7.5px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.status:empty{display:none}
.status:not(:empty){margin:6px 0 0}
.command-bar{margin-top:10px}
.page-footer{font-size:8px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:#7890a7}
.footer-brand{display:inline-flex;align-items:center;gap:7px;color:#9fb3c5;font-weight:600}
.release-version{display:inline-flex;align-items:center;min-height:18px;padding:2px 7px;border:1px solid #1a4054;border-radius:999px;background:#081926;color:#66dedb;font-size:7.5px;font-weight:650;letter-spacing:.03em}
@media(max-width:1450px){.topbar{grid-template-columns:minmax(285px,.9fr) minmax(230px,420px) minmax(275px,.9fr)}.brand-tagline{font-size:7.5px!important}.session-state{max-width:170px}.top-actions #environment{display:none}}
@media(max-width:1100px){.topbar{grid-template-columns:minmax(260px,1fr) minmax(220px,330px) auto}.market-state-cluster{display:none}}
@media(max-width:900px){.topbar{grid-template-columns:1fr auto}.brand-mark{width:31px;height:31px}.brand-name{font-size:18px}.brand-tagline{font-size:7px!important}.top-actions{grid-column:2}.workspace-search{display:none}}
@media(max-width:560px){.topbar{min-height:60px}.brand-mark{width:29px;height:29px}.brand-name{font-size:17px}.brand-tagline{max-width:210px;overflow:hidden;text-overflow:ellipsis}.page-footer{display:block}.page-footer>span{display:flex;margin-bottom:5px}.release-version{font-size:7px}}
.rail-version{margin-top:auto;display:inline-flex;align-items:center;justify-content:center;min-height:20px;padding:3px 6px;border:1px solid #173b4e;border-radius:999px;background:#071a28;color:#5fcfce;font-size:6.5px;font-weight:650;letter-spacing:.025em;white-space:nowrap}
@media(max-width:900px){.rail-version{font-size:0;width:24px;height:20px;padding:0}.rail-version::after{content:'v';font-size:7px;color:#5fcfce}}
@media(max-width:1450px) and (min-width:1101px){.macro-grid{grid-template-columns:repeat(10,minmax(0,1fr));gap:4px}.macro-item{min-height:92px;padding:7px 5px 5px}.macro-icon{width:20px;height:20px}.macro-item .macro-label{font-size:6.8px;min-height:15px}.macro-item .macro-value{font-size:13px}.macro-item .macro-delta{font-size:6.8px}.macro-item .macro-spark{height:18px}.macro-footnote{font-size:6.5px}}
@media(max-width:1350px) and (min-width:1251px){.pulse-price-line{gap:4px}.pulse-price-line>strong{font-size:23px;letter-spacing:-.5px;overflow:visible;text-overflow:clip}.pulse-currency{font-size:7px}.pulse-change{font-size:7.5px}}

/* 1.2.5-alpha — Command / tablet / capsule refinement. */
.rail nav>*{font-family:Inter,system-ui,-apple-system,sans-serif;font-weight:700;letter-spacing:.01em}
.rail nav>* img{width:19px;height:19px;object-fit:contain;opacity:.92}
.rail nav .rail-active img,.rail nav .is-open img{filter:brightness(1.45) saturate(1.08)}
.rail .rail-market-trigger.is-open{background:#0a3342;color:#6ff3ef;box-shadow:inset 3px 0 0 #25dce8,inset 0 0 0 1px #1a5366}
.topbar{grid-template-columns:minmax(310px,.9fr) minmax(260px,500px) auto}
.top-actions{gap:9px}
.market-state-cluster{display:none!important}

.market-status-popover{position:fixed;z-index:40;left:98px;top:91px;width:min(330px,calc(100vw - 120px));padding:14px;border:1px solid #1c5067;border-radius:9px;background:linear-gradient(145deg,#0b1a29,#081522);box-shadow:0 24px 70px rgba(0,0,0,.5),0 0 0 1px rgba(40,221,232,.05);font-family:Inter,system-ui,-apple-system,sans-serif}
.market-status-popover[hidden]{display:none!important}
.market-status-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:11px;border-bottom:1px solid #17394d}
.market-status-head h2{font-size:14px;margin:2px 0 0}
.market-status-head .eyebrow{font-size:7px;color:#2cdce7;letter-spacing:.13em}
.market-status-close{border:0;padding:3px 5px;color:#8399ad;font-size:13px}
.market-status-primary{display:flex;align-items:center;gap:10px;padding:13px 4px 12px}
.market-status-primary>div{display:grid;gap:2px;min-width:0}
.market-status-primary strong{font-size:11px;color:#e8f4f7}
.market-status-primary small{font-size:8px;color:#8198ad;white-space:normal}
.market-status-dot{width:9px;height:9px;border-radius:50%;background:#637489;box-shadow:none;flex:0 0 auto}
.market-status-dot.regular{background:#3fe3a3;box-shadow:0 0 0 4px rgba(63,227,163,.08),0 0 12px rgba(63,227,163,.42)}
.market-status-dot.premarket{background:#f0be65;box-shadow:0 0 0 4px rgba(240,190,101,.08)}
.market-status-dot.extended{background:#39dce7;box-shadow:0 0 0 4px rgba(57,220,231,.08)}
.market-status-rows{display:grid;border-top:1px solid #173247}
.market-status-rows>div{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 3px;border-bottom:1px solid #132b3d;font-size:9px;color:#8da1b5}
.market-status-rows strong{font-size:9px;color:#d4e1ec;font-weight:650;text-align:right}
.market-status-rows .market-status-live{color:#63d8ad}
.market-status-source{display:block;margin-top:9px;color:#60788f;font-size:7px;line-height:1.45}

.capsule-state-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.capsule-open-button{display:inline-flex;align-items:center;gap:7px;min-height:26px;padding:4px 8px;border:1px solid #245469;border-radius:6px;background:#0a2130;color:#65e4e0;font-size:7.5px;font-weight:700;white-space:nowrap}
.capsule-open-button:hover:not(:disabled){background:#0d2c3a;border-color:#2d7e8f;color:#92fffa}
.capsule-open-button:disabled{opacity:.42}

#capsule-dialog{width:min(980px,calc(100vw - 32px));max-height:90vh}
#capsule-detail{padding:0 22px 22px}
.capsule-overview{border-bottom:1px solid #1e3448}
.capsule-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0;padding:14px 0 18px}
.capsule-summary-grid>div,.capsule-tech-grid>div{min-width:0;padding:9px 10px;border:1px solid #203d52;border-radius:6px;background:#091725}
.capsule-summary-grid dt,.capsule-tech-grid dt{margin:0 0 3px;color:#70879d;font-size:7px;letter-spacing:.09em;text-transform:uppercase}
.capsule-summary-grid dd,.capsule-tech-grid dd{margin:0;color:#e0ebf5;font-size:10px;font-weight:650;overflow-wrap:anywhere}
.capsule-detail-section{padding:17px 0;border-bottom:1px solid #1e3448}
.capsule-section-title{margin-bottom:9px;color:#32dce4;font-size:7px;font-weight:750;letter-spacing:.12em}
.capsule-data-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.capsule-data-group{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:1px solid #21394c;border-radius:6px;background:#091624}
.capsule-data-group>div{min-width:0}
.capsule-data-group strong{display:block;color:#dbe7f1;font-size:9px}
.capsule-data-group p{margin:2px 0 0;color:#748ba1;font-size:7.5px;line-height:1.4}
.capsule-data-group>span{flex:0 0 auto;border:1px solid #2b5960;border-radius:999px;padding:2px 6px;color:#6dd9c8;background:#102827;font-size:6px;font-weight:750;letter-spacing:.04em}
.capsule-data-group.is-unavailable>span{border-color:#3b4654;background:#151c26;color:#77899b}
.capsule-data-group.is-loading>span{border-color:#65582f;background:#282314;color:#e4c97a}
.capsule-technical{padding:14px 0 17px;border-bottom:1px solid #1e3448}
.capsule-technical>summary{cursor:pointer;color:#a7bacb;font-size:8px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;list-style:none}
.capsule-technical>summary::-webkit-details-marker{display:none}
.capsule-technical>summary::after{content:'⌄';margin-left:7px;color:#4fd8d8}
.capsule-tech-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:10px 0 0}
.capsule-frozen-header{padding:18px 0 3px}
.capsule-frozen-header .eyebrow{color:#32dce4;font-size:7px}
.capsule-frozen-header h3{margin:4px 0 4px;color:#e7f0f7;font-size:14px}
.capsule-frozen-header p{margin:0;color:#7890a7;font-size:8.5px;line-height:1.55}

/* Tablet remains a compact Command workstation rather than switching to phone UI. */
@media(max-width:1100px) and (min-width:601px) and (orientation:portrait){
  .rail{width:78px;padding:14px 7px 16px}
  .rail nav{margin-top:18px;gap:6px}
  .rail nav>*{height:50px;gap:3px}
  .rail nav>* span{display:block!important;font-size:7.5px}
  .rail nav>* img{width:18px;height:18px}
  main{margin-left:78px;padding-left:14px;padding-right:14px}
  .market-status-popover{left:88px;top:88px;width:min(320px,calc(100vw - 108px))}
  .topbar{grid-template-columns:minmax(250px,1fr) auto;gap:10px;min-height:62px}
  .workspace-search{display:none}
  .top-actions{grid-column:2}
  .brand-mark{width:31px;height:31px}
  .brand-name{font-size:18px}
  .brand-tagline{font-size:7px!important;max-width:240px;overflow:hidden;text-overflow:ellipsis}
  .command-bar{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
  .asset-tabs{width:auto;min-width:0;margin:0}
  .asset-tabs button{min-width:78px;padding:7px 10px}
  .controls{width:100%;margin-left:0;justify-content:flex-start;overflow-x:auto;padding-bottom:2px}
  .controls select{max-width:210px}
  .timeline-top{align-items:flex-start}
  .timeline-actions{flex-wrap:wrap;justify-content:flex-end}
  .capsule-statebar{align-items:center}
  .capsule-selection{min-width:0;flex:1}
  .capsule-state-actions{margin-left:auto}
  .macro-grid{display:flex;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#29485d transparent;padding-bottom:8px}
  .macro-item{flex:0 0 128px;min-height:92px}
  .pulse-card,.ai-card,.radar-card{grid-column:1/-1}
  .watchlist-card,.movers-card{grid-column:span 6}
  .news-card{grid-column:1/-1}
  .news-card #news{height:190px;display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:0 7px 7px}
  .news-item{border:1px solid #163246;border-radius:5px}
  .capsule-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .capsule-tech-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px) and (min-width:601px) and (orientation:portrait){
  .rail{width:74px}
  main{margin-left:74px;padding-left:11px;padding-right:11px}
  .market-status-popover{left:83px}
  .brand-tagline{max-width:210px}
  .asset-tabs{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
  .asset-tabs button{min-width:0;padding-left:6px;padding-right:6px}
  .controls{gap:7px}
  .date-control{min-width:max-content}
  .timeline-top{display:block}
  .timeline-actions{justify-content:flex-start;margin-top:7px}
  .capsule-statebar{align-items:flex-start}
  .capsule-state-actions{align-items:flex-end;flex-direction:column;gap:5px}
  .watchlist-card,.movers-card,.news-card{grid-column:1/-1}
  .news-card #news{display:block;height:220px;padding:0 7px 7px}
  .capsule-data-groups{grid-template-columns:1fr}
}

/* Tablet landscape promotes to the desktop Command composition.
   Portrait stays compact; rotation only reflows CSS and never changes app entry. */
@media(orientation:landscape) and (min-width:960px) and (max-width:1250px){
  main{margin-left:86px;padding-left:14px;padding-right:14px}
  .rail{width:86px;padding:14px 8px 16px}
  .rail nav{margin-top:20px;gap:7px}
  .rail nav>*{height:52px;gap:3px}
  .rail nav>* span{display:block!important;font-size:8px}
  .rail nav>* img{width:19px;height:19px}
  .rail-version{font-size:6.5px;width:auto;height:auto;padding:3px 6px}
  .rail-version::after{content:none}
  .market-status-popover{left:98px;top:91px;width:min(330px,calc(100vw - 120px))}
  .topbar{grid-template-columns:minmax(250px,.9fr) minmax(210px,1fr) auto;gap:10px;min-height:66px}
  .workspace-search{display:flex;max-width:330px}
  .top-actions{grid-column:auto}
  .brand-mark{width:34px;height:34px}
  .brand-name{font-size:20px}
  .brand-tagline{font-size:7.5px!important;max-width:none}
  .command-bar{display:flex;flex-wrap:nowrap;gap:8px;align-items:center}
  .asset-tabs{width:auto;min-width:330px;margin:0}
  .asset-tabs button{min-width:78px;padding-left:8px;padding-right:8px}
  .controls{width:auto;margin-left:auto;justify-content:flex-end;overflow:visible;padding-bottom:0;gap:7px}
  .controls select{max-width:190px}
  .timeline-top{display:flex;align-items:center}
  .timeline-actions{justify-content:flex-end;margin-top:0;flex-wrap:nowrap}
  .capsule-statebar{align-items:center}
  .capsule-state-actions{margin-left:auto;align-items:center;flex-direction:row}
  .macro-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:4px;padding-bottom:8px;overflow:visible}
  .macro-item{min-width:0;min-height:92px;padding:7px 5px 5px}
  .macro-icon{width:20px;height:20px}
  .macro-item .macro-label{font-size:6.8px;min-height:15px}
  .macro-item .macro-value{font-size:13px}
  .macro-item .macro-delta{font-size:6.8px}
  .macro-item .macro-spark{height:18px}
  .macro-footnote{font-size:6.5px}
  .pulse-card,.ai-card{grid-column:span 6}
  .radar-card{grid-column:1/-1}
  .watchlist-card,.movers-card,.news-card{grid-column:span 4}
  .pulse-overview{grid-template-columns:minmax(150px,.72fr) minmax(180px,1.28fr);gap:7px}
  .pulse-summary-card{display:block}
  .news-card #news{display:block;height:176px;padding:0 7px 6px}
  .capsule-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .capsule-data-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
  .capsule-tech-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:600px){
  .market-status-popover{left:12px;right:12px;top:72px;width:auto}
  .capsule-state-actions{margin-top:8px;align-items:flex-start;flex-direction:column}
  .capsule-open-button{font-size:8px}
  .capsule-summary-grid,.capsule-data-groups,.capsule-tech-grid{grid-template-columns:1fr}
}

/* 1.2.6-alpha — compact capsules, shared notifications, macro history, mobile-aligned nav. */
.rail-section-label{margin-top:3px;color:#4f6f86;font-size:6px;font-weight:800;letter-spacing:.13em;line-height:1;text-align:center}
.rail nav{margin-top:12px;gap:5px}
.rail nav>*{height:48px}
.rail-version{cursor:pointer;font-family:Inter,system-ui,-apple-system,sans-serif}
.rail-version:hover{border-color:#2a7081;background:#0a2433;color:#8ef5ef}
.notification-button{position:relative;display:grid;place-items:center;width:34px;height:34px;padding:6px;border:1px solid transparent}
.notification-button svg{width:19px;height:19px}
.notification-button.is-open{background:#102a37;color:var(--cyan);border-color:#28576a}
.notification-dot{position:absolute;right:4px;top:3px;width:7px;height:7px;border-radius:50%;background:#3ae6e7;box-shadow:0 0 0 2px #081522}
.notification-popover{position:fixed;z-index:41;right:31px;top:72px;width:min(330px,calc(100vw - 40px));padding:14px;border:1px solid #1c5067;border-radius:9px;background:linear-gradient(145deg,#0b1a29,#081522);box-shadow:0 24px 70px rgba(0,0,0,.5),0 0 0 1px rgba(40,221,232,.05)}
.notification-popover[hidden]{display:none!important}.popover-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.popover-head h2{font-size:16px;margin:2px 0}.popover-close{border:0;color:#829ab0;padding:4px 6px}.notification-message{margin-top:12px;padding:12px;border:1px solid #193347;border-radius:7px;background:#071522;color:#b5c8d8;font-size:11px;line-height:1.6}

/* Capsule rail: one compact quarter-hour row per hour, optimized for horizontal scan. */
.timeline{padding-top:7px;padding-bottom:7px}.timeline-top{min-height:27px}.capsule-statebar{margin-top:4px;min-height:28px;padding:4px 7px}.slots{gap:4px;padding:5px 0 4px}.slot-hour{flex:0 0 208px;padding:4px 5px;border-radius:6px}.slot-hour-label{font-size:6px;margin:0 0 2px 1px;line-height:1}.slot-quarter-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px}.slot{min-height:24px;padding:3px 2px;font-size:7.5px;border-radius:4px}.slot-time{font-size:7.5px;white-space:nowrap}.slot-status-dot{width:3px;height:3px}.timeline-bottom{padding-top:3px;min-height:18px}.capsule-open-button{padding:4px 8px;font-size:8px}.capsule-state-pills{display:none}

/* Macro cards: denser terminal-like controls with a clear chart affordance. */
.macro-card .card-head{min-height:34px;padding-top:6px;padding-bottom:3px}.macro-grid{gap:4px;padding:1px 7px 7px}.macro-item{appearance:none;width:100%;min-height:78px;padding:5px 5px 4px;position:relative;border-color:#17384d;transition:border-color .12s ease,background .12s ease,transform .12s ease}
.macro-item:hover{background:#0d2434;border-color:#2b6877;transform:translateY(-1px)}.macro-item:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}
.macro-icon{width:18px;height:18px;margin-bottom:1px}.macro-item .macro-label{font-size:6.7px;min-height:13px}.macro-item .macro-value{font-size:12.5px;margin:1px 0}.macro-item .macro-delta{font-size:6.5px;min-height:10px}.macro-item .macro-spark{height:13px;margin:2px 0 0}.macro-item .macro-date{display:none}.macro-chart-affordance{margin-top:auto;color:#62cfd1;font-size:6px;line-height:1;letter-spacing:.02em}.macro-footnote{padding:0 8px 5px;font-size:6.5px}

.macro-chart-dialog{width:min(980px,calc(100vw - 40px));max-width:none;padding:0;background:#091522}.macro-chart-summary{display:flex;align-items:baseline;gap:12px;padding:16px 22px 8px}.macro-chart-summary strong{font-size:28px;font-weight:650;letter-spacing:-.03em}.macro-chart-summary span{color:var(--muted);font-size:10px}.macro-chart-ranges{display:flex;gap:4px;padding:4px 22px 10px;overflow-x:auto}.macro-chart-ranges button{min-width:44px;padding:5px 8px;border-color:#1b3447;color:#8299ad;font-size:9px}.macro-chart-ranges button.selected{border-color:#2ba6b2;background:#10343d;color:#74eeea}.macro-chart-ranges button:disabled{opacity:.28}.macro-chart-stage{position:relative;min-height:350px;padding:8px 22px 4px}.macro-chart-canvas{position:relative;width:100%;height:330px}.macro-chart-canvas svg{display:block;width:100%;height:100%;overflow:visible}.macro-chart-grid line{stroke:#1f3244;stroke-width:1;stroke-dasharray:3 6}.macro-chart-area{fill:#55d9d3;opacity:.065}.macro-chart-line{fill:none;stroke:#68dfd9;stroke-width:2;vector-effect:non-scaling-stroke}.macro-chart-hit{fill:transparent;stroke:transparent;pointer-events:all;cursor:crosshair}.macro-chart-tooltip{position:absolute;z-index:2;transform:translateX(-50%);padding:6px 8px;border:1px solid #28586a;border-radius:6px;background:#07131f;color:#dbe8f2;font-size:9px;white-space:nowrap;pointer-events:none}.macro-chart-source{padding:6px 22px 18px;color:#71889c;font-size:9px;border-top:1px solid #182b3c}.macro-chart-loading,.macro-chart-empty{min-height:310px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#7890a6;font-size:11px;text-align:center}.macro-chart-empty strong{color:#c7d6e2;font-size:13px}

.whats-new-dialog{width:min(430px,calc(100vw - 32px));padding:0;background:#091522}.whats-new-content{padding:17px 22px 22px}.whats-new-version{display:inline-flex;padding:3px 7px;border:1px solid #1d5362;border-radius:999px;color:#69e5e2;background:#09242f;font-size:8px}.whats-new-content h3{font-size:18px;margin:10px 0 12px}.whats-new-content ul{margin:0;padding-left:18px;display:grid;gap:8px;color:#b9c9d8;font-size:11px;line-height:1.5}.whats-new-date{margin:15px 0 0;padding-top:10px;border-top:1px solid #1b2e40;color:#6f869a;font-size:9px}

@media(max-width:1450px){.macro-item{min-height:76px}.slot-hour{flex-basis:196px}}
@media(max-width:900px){.rail-section-label{display:none}.rail nav{margin-top:18px}.slot-hour{flex-basis:188px}.macro-item{flex:0 0 116px;min-height:78px}.notification-popover{right:14px;top:70px}.macro-chart-dialog{width:calc(100vw - 22px)}.macro-chart-stage{padding-left:12px;padding-right:12px}}
@media(max-width:560px){.slot-hour{flex-basis:180px}.macro-chart-summary,.macro-chart-ranges{padding-left:14px;padding-right:14px}.macro-chart-stage{min-height:280px}.macro-chart-canvas{height:260px}.macro-chart-source{padding-left:14px;padding-right:14px}}

/* 1.2.7-alpha — header market status, Mobile-aligned menu, grouped Macro intelligence. */
.topbar{display:grid;grid-template-columns:minmax(270px,.9fr) minmax(360px,1.2fr) minmax(370px,.9fr);gap:20px;align-items:center}
.workspace-search{justify-self:center;width:min(100%,620px)}
.top-actions{justify-self:end;gap:9px}
.header-market-status{display:flex;align-items:center;gap:8px;min-width:224px;min-height:38px;padding:5px 10px;border:1px solid #1e4054;border-radius:9px;background:#091724;color:#c9d8e5;text-align:left}
.header-market-status:hover,.header-market-status.is-open{border-color:#2b7180;background:#0c2230}.header-market-copy{display:grid;gap:1px;min-width:0;flex:1}.header-market-copy strong{font-size:8px;color:#dce8f2;white-space:nowrap}.header-market-copy small{font-size:7px;color:#72899f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:170px}.header-market-chevron{color:#60798f;font-size:10px;flex:0 0 16px;margin-left:auto;text-align:center}
.market-status-dot{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#64748b}.market-status-dot.regular{background:#34d399;box-shadow:0 0 0 0 rgba(52,211,153,.45);animation:mc-market-pulse 1.8s ease-out infinite}.market-status-dot.pre,.market-status-dot.post{background:#f6c75b}.market-status-dot.closed{background:#64748b}@keyframes mc-market-pulse{0%{box-shadow:0 0 0 0 rgba(52,211,153,.38)}70%{box-shadow:0 0 0 7px rgba(52,211,153,0)}100%{box-shadow:0 0 0 0 rgba(52,211,153,0)}}
.market-status-popover{top:71px;left:auto;right:176px}

body.mc-theme-dim{background:radial-gradient(ellipse at 50% -20%,#20384d 0,transparent 60%),#0b1220}body.mc-theme-dim .panel,body.mc-theme-dim .macro-group,body.mc-theme-dim .market-status-popover,body.mc-theme-dim .notification-popover{filter:brightness(1.08)}body.mc-theme-dim .rail{background:#101b2b}body.mc-theme-dim .topbar{border-color:#2e4054}

.asset-tabs .tab-icon{width:17px;height:17px;display:inline-grid;place-items:center;margin-right:7px;vertical-align:-3px;color:currentColor}.asset-tabs .tab-icon svg{width:17px;height:17px}.asset-tabs .tab-coin{display:grid;place-items:center;width:16px;height:16px;border:1.5px solid currentColor;border-radius:50%;font-size:10px;font-weight:800;line-height:1}

/* Grouped Macro intelligence keeps more context in less vertical space. */
.macro-card{overflow:visible}.macro-intelligence-grid{display:grid;grid-template-columns:2.2fr 1.08fr 1.45fr 1.05fr 1.05fr;gap:6px;padding:3px 7px 6px}.macro-secondary-grid{display:grid;grid-template-columns:1.55fr 1fr;gap:6px;padding:0 7px 6px}.macro-group{min-width:0;border:1px solid #17364a;border-radius:8px;background:linear-gradient(135deg,#0a1724,#09131f);padding:7px}.macro-group-head{min-height:27px;display:flex;justify-content:space-between;align-items:flex-start;gap:8px;padding:0 1px 5px;border-bottom:1px solid #162e40}.macro-group-head>div{display:grid;gap:1px}.macro-group-head span{font-size:6px;font-weight:800;letter-spacing:.13em;color:#5fcfd1}.macro-group-head strong{font-size:9px;color:#d8e6f1}.macro-group-head small{font-size:6.5px;color:#627b91}.macro-group-head button{border:0;padding:2px 3px;color:#61d2d2;font-size:6.5px;background:transparent}.macro-group-head button:hover{color:#a0fbf4;background:transparent}
.macro-gauge-row{--gauge-pos:50%;display:grid;grid-template-columns:minmax(72px,1fr) minmax(54px,.85fr);grid-template-rows:auto auto;column-gap:7px;row-gap:1px;width:100%;min-height:31px;padding:4px 2px;border:0;border-bottom:1px solid #132a3b;border-radius:0;background:transparent;text-align:left}.macro-gauge-row:last-child{border-bottom:0}.macro-gauge-row:hover{background:#0d2130}.macro-row-copy{display:grid;grid-row:1/3;gap:1px}.macro-row-copy strong{font-size:7.5px;color:#d1deea}.macro-row-copy small{font-size:6.7px;color:#8195a8;font-style:normal;white-space:nowrap}.macro-row-copy i{font-style:normal;margin-left:3px}.macro-gauge{position:relative;align-self:end;height:5px;border-radius:999px;background:#172d3f;box-shadow:inset 0 0 0 1px #213c50}.macro-gauge-fill{position:absolute;inset:0 auto 0 0;width:var(--gauge-pos);border-radius:inherit;background:linear-gradient(90deg,#356e7a,#5ed8d3)}.macro-gauge-thumb{position:absolute;left:var(--gauge-pos);top:50%;width:8px;height:8px;transform:translate(-50%,-50%);border:2px solid #8bf1eb;border-radius:50%;background:#0c1824;box-shadow:0 0 8px rgba(107,224,219,.25)}.macro-gauge-caption{align-self:start;color:#60768c;font-size:5.7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.macro-compact-card{width:100%;height:calc(100% - 31px);min-height:105px;display:flex;flex-direction:column;align-items:stretch;padding:7px;border:0;background:transparent;text-align:left}.macro-compact-card:hover{background:#0d2130}.macro-compact-head{display:flex;align-items:center;gap:5px}.macro-compact-head img{width:15px;height:15px}.macro-compact-head strong{font-size:7.5px;color:#d8e5f0}.macro-compact-value{margin-top:5px;font-size:14px;font-weight:650;color:#edf4fa;letter-spacing:-.02em}.macro-compact-delta{font-size:7px}.macro-live-spark{min-height:31px;display:grid;place-items:center;margin-top:auto;color:#5f768c;font-size:6px}.macro-live-spark .macro-spark{width:100%;height:29px;margin:0}.macro-compact-card>small{font-size:6px;color:#5ec7ca;margin-top:2px}
.macro-table{display:grid}.macro-table-row{min-height:28px;display:grid;grid-template-columns:minmax(95px,1fr) auto minmax(72px,.7fr);align-items:center;gap:7px;padding:4px 2px;border:0;border-bottom:1px solid #132a3b;background:transparent;color:inherit;text-align:left}.macro-table-row:last-child{border-bottom:0}.macro-table-row.action:hover{background:#0d2130}.macro-table-row>span{font-size:7px;color:#b9cad8}.macro-table-row>span small{display:block;color:#5f758a;font-size:5.5px}.macro-table-row>strong{font-size:8px;color:#e2edf5;white-space:nowrap}.macro-table-row>i{font-style:normal;color:#647c92;font-size:6px;text-align:right;white-space:nowrap}.macro-history-note{padding:5px 2px 0;color:#61778c;font-size:5.7px;line-height:1.4}.macro-footnote{padding:1px 8px 6px;font-size:6px}
.macro-multiples{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.macro-multiple{min-width:0;padding:9px;border:1px solid #193449;border-radius:8px;background:#081522}.macro-multiple-head{display:flex;justify-content:space-between;gap:8px;margin-bottom:5px}.macro-multiple-head strong{font-size:10px}.macro-multiple-head span{font-size:7px;color:#71899e}.macro-chart-canvas.compact{height:150px}.macro-chart-empty.compact{min-height:150px;font-size:8px}

@media(max-width:1450px){.topbar{grid-template-columns:minmax(240px,.85fr) minmax(280px,1fr) auto;gap:12px}.header-market-status{min-width:200px}.header-market-copy small{max-width:145px}.macro-intelligence-grid{grid-template-columns:2fr 1fr 1.4fr 1fr 1fr}}
@media(max-width:1100px){.header-market-status{min-width:0}.header-market-copy small{display:none}.header-market-copy strong{font-size:7px}.macro-intelligence-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.macro-rates,.macro-metals{grid-row:span 2}.macro-secondary-grid{grid-template-columns:1fr}.macro-multiples{grid-template-columns:1fr 1fr}}
@media(max-width:850px){.topbar{grid-template-columns:minmax(200px,1fr) auto;gap:8px}.workspace-search{grid-column:1/-1;grid-row:2;width:100%;max-width:none;margin-bottom:7px}.top-actions{grid-column:2;grid-row:1}.header-market-status{max-width:140px}.header-market-copy strong{max-width:92px;overflow:hidden;text-overflow:ellipsis}.macro-intelligence-grid{grid-template-columns:1fr}.macro-secondary-grid{grid-template-columns:1fr}.macro-group{min-height:0}.macro-compact-card{min-height:88px}.macro-multiples{grid-template-columns:1fr}}
@media(max-width:600px){.header-market-status{padding:5px 6px}.header-market-copy{display:none}.market-status-popover{right:12px}.macro-intelligence-grid,.macro-secondary-grid{padding-left:5px;padding-right:5px}}


/* 1.2.7-alpha navigation correction — one integrated, collapsible Command rail using Mobile Companion language. */
body{--command-rail-width:220px}
body.mc-rail-collapsed{--command-rail-width:72px}
.rail{width:var(--command-rail-width)!important;padding:12px 10px 10px!important;align-items:stretch!important;overflow:hidden!important;transition:width 180ms ease;background:#0c1422!important}
main{margin-left:var(--command-rail-width)!important;transition:margin-left 180ms ease}
.rail-collapse-toggle{align-self:flex-end;flex:0 0 auto;width:34px;height:32px;display:grid;place-items:center;padding:0;border:0;border-radius:9px;color:#7890a6;background:transparent}
.rail-collapse-toggle:hover{background:rgba(8,145,178,.15);color:#67e8f9}
.rail-collapse-toggle svg{width:17px;height:17px;transition:transform 180ms ease}
body.mc-rail-collapsed .rail-collapse-toggle{align-self:center}
body.mc-rail-collapsed .rail-collapse-toggle svg{transform:rotate(180deg)}
.rail-scroll{min-height:0;flex:1 1 auto;width:100%;overflow-y:auto;overflow-x:hidden;padding:2px 1px 10px;scrollbar-width:thin;scrollbar-color:#294356 transparent}
.rail-group{width:100%;padding:10px 0 5px}
.rail-group+.rail-group{border-top:1px solid rgba(51,65,85,.45)}
.rail-category-label{display:block;margin:.18rem .35rem .42rem;font-size:.62rem;line-height:1;font-weight:850;letter-spacing:.115em;text-transform:uppercase;color:rgba(148,163,184,.78);white-space:nowrap}
.rail-command-title{position:relative;margin:.18rem .28rem .5rem;padding:.16rem 0 .18rem .72rem;font-size:.78rem;line-height:1.1;font-weight:950;letter-spacing:.16em;color:#67e8f9;text-shadow:0 0 1.05rem rgba(34,211,238,.42)}
.rail-command-title::before{content:"";position:absolute;left:0;top:.12rem;bottom:.1rem;width:.18rem;border-radius:999px;background:linear-gradient(180deg,rgba(103,232,249,1),rgba(34,211,238,.35));box-shadow:0 0 .9rem rgba(34,211,238,.45)}
.rail-nav{display:flex!important;flex-direction:column!important;gap:2px!important;margin:0!important;width:100%}
.rail-link{width:100%!important;min-height:38px!important;height:auto!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:.62rem!important;padding:.48rem .66rem!important;border:0!important;border-radius:.88rem!important;background:transparent!important;color:#f8fafc!important;font-family:Inter,system-ui,-apple-system,sans-serif!important;font-size:.92rem!important;font-weight:500!important;letter-spacing:.01em!important;text-align:left;transition:background-color 160ms ease,color 160ms ease,transform 160ms ease}
button.rail-link{cursor:pointer}
.rail-link:hover,.rail-link:focus-visible{background:rgba(8,145,178,.15)!important;color:#67e8f9!important;transform:translateX(2px)}
.rail-link.rail-active{background:rgba(8,145,178,.16)!important;color:#67e8f9!important;box-shadow:inset 2px 0 0 #22d3ee}
.rail-link-icon{display:inline-flex;width:1.08rem;height:1.08rem;flex:0 0 1.08rem;align-items:center;justify-content:center;color:rgba(103,232,249,.92)}
.rail-link-icon img,.rail-link-icon svg{display:block;width:1.08rem!important;height:1.08rem!important;object-fit:contain}
.rail-link-icon svg{stroke:currentColor}.rail-social-icon svg{stroke:none!important;fill:currentColor}
.rail-link-secondary .rail-link-icon{color:rgba(226,232,240,.82)}
.rail-link-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rail-link>.rail-link-icon,.rail-link>.rail-link-label{align-self:center!important}
.rail-link-meta{margin-left:auto;border:1px solid rgba(34,211,238,.26);border-radius:999px;padding:.13rem .42rem;font-size:.64rem;font-weight:850;letter-spacing:.05em;color:#a7f3ff;background:rgba(8,145,178,.12)}
.rail-version{flex:0 0 auto;margin:5px auto 0!important;cursor:pointer;font-family:Inter,system-ui,-apple-system,sans-serif!important}
body.mc-rail-collapsed .rail-scroll{padding-left:0;padding-right:0}
body.mc-rail-collapsed .rail-category-label{display:none!important}
body.mc-rail-collapsed .rail-group{padding:5px 0;border-top:0}
body.mc-rail-collapsed .rail-nav{gap:3px!important}
body.mc-rail-collapsed .rail-link{width:48px!important;min-height:42px!important;margin:0 auto!important;justify-content:center!important;padding:8px!important;gap:0!important;border-radius:10px!important}
body.mc-rail-collapsed .rail-link:hover,body.mc-rail-collapsed .rail-link:focus-visible{transform:none}
body.mc-rail-collapsed .rail-link-label,body.mc-rail-collapsed .rail-link-meta{display:none!important}
body.mc-rail-collapsed .rail-link-icon{width:1.18rem;height:1.18rem;flex-basis:1.18rem}
body.mc-rail-collapsed .rail-link-icon img,body.mc-rail-collapsed .rail-link-icon svg{width:1.18rem!important;height:1.18rem!important}
body.mc-rail-collapsed .rail-version{font-size:0!important;width:26px!important;height:21px!important;padding:0!important}
body.mc-rail-collapsed .rail-version::after{content:'v';font-size:7px;color:#5fcfce}
body.mc-theme-dim .rail{background:#101b2b!important}
body.mc-theme-dim .rail-link:hover,body.mc-theme-dim .rail-link:focus-visible,body.mc-theme-dim .rail-link.rail-active{background:rgba(30,64,82,.46)!important}
@media(max-width:900px){.rail{width:var(--command-rail-width)!important;padding:10px 7px!important}.rail nav>* span{display:initial}.rail nav>*{height:auto}.rail nav>* img{width:1.08rem;height:1.08rem}main{margin-left:var(--command-rail-width)!important}.rail-version{font-size:6.5px;width:auto;height:auto;padding:3px 6px}.rail-version::after{content:none}}
@media(max-width:760px){body:not(.mc-rail-user-expanded){--command-rail-width:72px}.rail-command-title{font-size:.74rem;letter-spacing:.145em}}
/* Preserve Mobile Companion menu typography against legacy compact-rail span rules. */
.rail .rail-link .rail-link-label{font-size:.96rem!important;line-height:1.12!important;font-weight:500!important;letter-spacing:.01em!important}
body.mc-rail-collapsed .rail .rail-link .rail-link-label{display:none!important}

/* 1.2.8-alpha — focused views, compact integrated navigation, movable Macro rail. */
.rail-command-home{appearance:none;width:calc(100% - .56rem);border:0;background:transparent;text-align:left;cursor:pointer}
.rail-command-home:hover,.rail-command-home:focus-visible{color:#a6fbf7;background:rgba(8,145,178,.09);border-radius:6px}
.rail-category-label{font-size:.56rem!important;letter-spacing:.11em!important}
.rail-command-title{font-size:.70rem!important;letter-spacing:.145em!important}
.rail .rail-link .rail-link-label{font-size:.84rem!important;line-height:1.1!important}
.rail-link{min-height:35px!important;padding:.42rem .6rem!important;gap:.55rem!important}
.rail-link-icon{width:.98rem!important;height:.98rem!important;flex-basis:.98rem!important}
.rail-link-icon img,.rail-link-icon svg{width:.98rem!important;height:.98rem!important}
.rail-group{padding:8px 0 4px!important}
body.mc-rail-collapsed .rail-link-icon,body.mc-rail-collapsed .rail-link-icon img,body.mc-rail-collapsed .rail-link-icon svg{width:1.08rem!important;height:1.08rem!important;flex-basis:1.08rem!important}

.card-head-actions{display:flex;align-items:center;gap:7px;min-width:0}.card-expand{width:25px;height:25px;min-width:25px;display:grid;place-items:center;padding:0;border:1px solid transparent;border-radius:6px;color:#6be0db;font-size:19px;line-height:1;background:transparent}.card-expand:hover,.card-expand:focus-visible{border-color:#245568;background:#0d2633;color:#a6fbf7}.radar-head-actions .card-expand{margin-right:2px}

.account-popover{position:fixed;right:24px;top:72px;z-index:12;width:min(330px,calc(100vw - 28px));border:1px solid #254156;border-radius:12px;background:linear-gradient(145deg,#101d2d,#091522);box-shadow:0 24px 65px rgba(0,0,0,.5);padding:13px}.account-popover[hidden]{display:none}.account-popover-profile{display:flex;align-items:center;gap:11px;padding:7px 7px 12px;border-bottom:1px solid #1e3446}.account-popover-avatar{width:38px;height:38px;border:1px solid #246477;border-radius:50%;display:grid;place-items:center;color:#91f4ee;background:#0a2833;font-size:11px;font-weight:800}.account-popover-profile>div:last-child{display:grid;gap:2px;min-width:0}.account-popover-profile strong{font-size:12px;color:#eef7fb;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-popover-profile small{font-size:8px;color:#7890a6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-plan{justify-self:start;margin-top:3px;border:1px solid #1e5967;border-radius:999px;padding:2px 6px;color:#67e8e0;background:#092630;font-size:7px;font-weight:800;letter-spacing:.06em}.account-popover-nav{display:grid;padding:7px 2px}.account-popover-nav a{padding:8px 9px;border-radius:7px;color:#cad8e5;font-size:10px}.account-popover-nav a:hover,.account-popover-nav a:focus-visible{background:#10283a;color:#7be8e2}.account-popover-nav .account-logout{color:#f0a3b0}.account-popover-release{padding:8px 4px 1px;border-top:1px solid #1e3446}.account-popover-release button{width:100%;border:0;padding:6px 7px;color:#6ecfce;background:transparent;font-size:8px;text-align:left}.account-popover-release button:hover{background:#0d2431;color:#9bf4ef}.avatar{border:1px solid #29465b;cursor:pointer}.avatar.is-open{border-color:#5fd9d5;color:#80ece8;background:#12313b}

.command-full-view{margin:10px 0 22px;border:1px solid #243d52;border-radius:12px;background:linear-gradient(125deg,#111d2e,#0c1724);min-height:520px;overflow:hidden}.command-full-view[hidden]{display:none}.full-view-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 22px 15px;border-bottom:1px solid #1d3447}.full-view-head h1{margin:5px 0 3px;font-size:25px}.full-view-head p{margin:0;color:#8da1b6;font-size:10px}.full-view-back{padding:7px 10px;border-color:#285369;color:#74e3df;background:#0a2130;font-size:9px}.full-view-body{padding:16px 20px 22px}.full-view-body .full-list{display:grid;border:1px solid #1b3447;border-radius:9px;overflow:hidden;background:#091522}.full-view-body .quote-row{min-height:52px}.full-news-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.full-news-list .news-item{border:1px solid #1e364a;border-radius:8px;background:#091725}.full-pulse{max-width:1200px;margin:0 auto}.full-pulse .pulse-chart{height:230px}.full-radar{max-height:none}.full-macro-grid .macro-card-rail{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible!important;padding:0!important}.full-macro-grid .macro-rail-toolbar{display:none}.full-macro-grid .macro-rail-card{width:auto!important;min-width:0!important}.full-macro-grid .macro-footnote{margin-top:10px}

/* Capsule hour groups size to the slots that actually exist. */
.slots{align-items:stretch}.slot-hour{flex:0 0 auto!important;width:max-content!important;min-width:0!important;padding:4px 5px!important}.slot-quarter-list{display:flex!important;grid-template-columns:none!important;gap:2px!important}.slot{flex:0 0 45px!important;width:45px!important;min-height:27px!important}.slot.is-close{width:58px!important;border-color:#35677a}.slot.is-post-close{width:58px!important;border-style:dashed}.slot-session-label{display:block;margin-top:1px;color:#6fdad6;font-size:5.5px;font-weight:850;letter-spacing:.11em;line-height:1}.slot.is-close .slot-status-dot,.slot.is-post-close .slot-status-dot{display:none}

/* Macro overview becomes a horizontally movable/reorderable rail. */
.macro-card{overflow:hidden!important}.macro-rail-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:3px 8px 5px;color:#71889d;font-size:7px}.macro-rail-toolbar>div{display:flex;gap:4px}.macro-rail-toolbar button{padding:3px 7px;border-color:#1f4053;color:#67d9d5;font-size:7px}.macro-card-rail{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden;padding:2px 7px 8px;scrollbar-width:thin;scrollbar-color:#335166 transparent;scroll-snap-type:x proximity;cursor:grab}.macro-card-rail:active{cursor:grabbing}.macro-rail-card{flex:0 0 190px;min-width:190px;min-height:132px;border:1px solid #17364a;border-radius:8px;background:linear-gradient(135deg,#0a1724,#09131f);padding:7px;scroll-snap-align:start}.macro-rail-card[draggable=true]{cursor:grab}.macro-rail-card.is-dragging{opacity:.55;border-color:#61d7d3}.macro-gauge-card{flex-basis:170px;min-width:170px}.macro-rail-card .macro-gauge-row{width:100%;padding:6px 2px 2px}.macro-rail-card .macro-gauge-caption{font-size:5.8px}.macro-rail-card .macro-table-row{min-height:27px}.macro-money,.macro-policy{flex-basis:265px;min-width:265px}.macro-metals{flex-basis:225px;min-width:225px}

/* Overview lists are previews: content height follows at most five rows. */
.watchlist-card .bounded,.movers-card .bounded,.news-card .bounded{height:auto!important;max-height:205px!important;overflow:hidden!important}.watchlist-card,.movers-card,.news-card{min-height:0!important}.news-card #news{height:auto!important;max-height:205px!important}.watchlist-card .card-footer,.movers-card .card-footer,.news-card .card-footer{min-height:34px}

@media(max-width:1100px){.account-popover{right:14px;top:68px}.full-macro-grid .macro-card-rail{grid-template-columns:1fr}.full-news-list{grid-template-columns:1fr}.macro-rail-card{flex-basis:180px;min-width:180px}.macro-money,.macro-policy{flex-basis:250px;min-width:250px}}
@media(max-width:850px){.rail-category-label{font-size:.53rem!important}.rail-command-title{font-size:.66rem!important}.rail .rail-link .rail-link-label{font-size:.80rem!important}.full-view-body{padding:12px}.full-view-head{padding:16px 14px}.full-view-head h1{font-size:21px}.macro-rail-toolbar>span{display:none}}
/* 1.2.8 focused Command workspace: hidden overview sections must stay removed even when their layout classes define display. */
main>.command-bar[hidden],main>.timeline[hidden],main>.macro-card[hidden],main>.dashboard[hidden]{display:none!important}
/* Collapsed navigation keeps COMMAND VIEW usable as the Home action instead of leaving a blank control. */
.rail-command-home-icon{display:none;align-items:center;justify-content:center}.rail-command-home-icon img{width:17px;height:17px;object-fit:contain}.rail-command-home-label{display:inline}
body.mc-rail-collapsed .rail-category-label.rail-command-home{display:flex!important;width:46px;height:42px;margin:4px auto 8px;padding:0;align-items:center;justify-content:center;border:1px solid #16526a;border-radius:8px;background:#0b2030}
body.mc-rail-collapsed .rail-command-home::before{display:none!important}body.mc-rail-collapsed .rail-command-home .rail-command-home-label{display:none}body.mc-rail-collapsed .rail-command-home .rail-command-home-icon{display:flex}

/* 1.2.8-alpha amendment — unified Macro groups, title icons, cleaner collapsed rail. */
.card-title{display:inline-flex;align-items:center;gap:7px;margin:3px 0 0}.card-title img{width:16px;height:16px;flex:0 0 16px;object-fit:contain}.timeline-title .card-title{font-size:13px;text-transform:uppercase;letter-spacing:.06em;margin:0;white-space:nowrap}.timeline-title .card-title::before{content:none!important}.timeline-title .card-title img{width:15px;height:15px;flex-basis:15px}
body.mc-rail-collapsed .rail-command-home{display:none!important}.rail-command-home-icon{display:none!important}

/* All overview Macro groups share one proportional card footprint. */
.macro-card-rail{gap:8px;padding:3px 8px 9px}.macro-rail-card,.macro-money,.macro-policy,.macro-metals,.macro-rates,.macro-volatility,.macro-energy,.macro-fx,.macro-crypto{flex:0 0 248px!important;width:248px!important;min-width:248px!important;height:204px!important;min-height:204px!important;max-height:204px!important;padding:8px!important;overflow:hidden}.macro-group-head{min-height:32px;padding-bottom:6px}.macro-group-head span{font-size:6.2px}.macro-group-head strong{font-size:8.4px}.macro-group-rows{display:grid;min-height:0}.macro-gauge-rows{gap:0}.macro-rates .macro-gauge-row,.macro-volatility .macro-gauge-row{min-height:38px;padding:4px 2px}.macro-rates .macro-row-copy strong,.macro-volatility .macro-row-copy strong{font-size:7.3px}.macro-rates .macro-row-copy small,.macro-volatility .macro-row-copy small{font-size:6.2px}.macro-rates .macro-gauge-caption{font-size:5.2px}
.macro-quote-row{display:grid;grid-template-columns:minmax(105px,1fr) 82px;align-items:center;gap:7px;min-height:39px;padding:4px 2px;border:0;border-bottom:1px solid #132a3b;border-radius:0;background:transparent;color:inherit;text-align:left}.macro-quote-row:last-child{border-bottom:0}.macro-quote-row:hover,.macro-quote-row:focus-visible{background:#0d2130}.macro-quote-row.unavailable{opacity:.62}.macro-row-main{display:grid;gap:2px;min-width:0}.macro-row-main strong{font-size:7.2px;color:#d1deea;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.macro-row-main small{font-size:6.4px;color:#7d92a5;white-space:nowrap}.macro-row-main i{font-style:normal;margin-left:3px}.macro-row-spark{height:27px;display:grid;place-items:center;color:#566f84;font-size:5.5px;overflow:hidden}.macro-row-spark .macro-spark{width:100%;height:25px;margin:0}.macro-table-row{min-height:27px!important;grid-template-columns:minmax(90px,1fr) auto minmax(62px,.65fr)!important;gap:5px!important}.macro-money .macro-table-row{min-height:25px!important;padding:3px 2px!important}.macro-money .macro-table-row>span{font-size:6.6px}.macro-money .macro-table-row>strong{font-size:7.5px}.macro-money .macro-table-row>i{font-size:5.5px}.macro-money .macro-history-note{font-size:5.3px;padding-top:3px}.macro-policy .macro-table-row{min-height:37px!important}.macro-footnote{padding-top:2px}
.full-macro-grid .macro-card-rail{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.full-macro-grid .macro-rail-card{width:auto!important;min-width:0!important;height:220px!important;max-height:220px!important}

@media(max-width:1100px){.macro-rail-card,.macro-money,.macro-policy,.macro-metals,.macro-rates,.macro-volatility,.macro-energy,.macro-fx,.macro-crypto{flex-basis:238px!important;width:238px!important;min-width:238px!important}.full-macro-grid .macro-rail-card{width:auto!important;min-width:0!important}}
@media(max-width:850px){.card-title{gap:6px}.card-title img{width:14px;height:14px;flex-basis:14px}.macro-rail-card,.macro-money,.macro-policy,.macro-metals,.macro-rates,.macro-volatility,.macro-energy,.macro-fx,.macro-crypto{flex-basis:228px!important;width:228px!important;min-width:228px!important;height:198px!important;min-height:198px!important;max-height:198px!important}.full-macro-grid .macro-rail-card{width:auto!important;min-width:0!important;height:210px!important;max-height:210px!important}}
/* Amendment correction: collapsed rail starts directly with Macro; COMMAND VIEW is expanded-only. */
body.mc-rail-collapsed .rail-category-label.rail-command-home{display:none!important}


/* 1.2.9-alpha — Macro readability, edge navigation, chart parity and avatar alignment. */
.avatar,.account-popover-avatar{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;padding:0!important;line-height:1!important;letter-spacing:0!important;font-variant-numeric:tabular-nums}
.macro-group-head span{font-size:7.8px!important;letter-spacing:.11em}.macro-group-head strong{font-size:10.2px!important}.macro-rates .macro-row-copy strong,.macro-volatility .macro-row-copy strong{font-size:9px!important}.macro-rates .macro-row-copy small,.macro-volatility .macro-row-copy small{font-size:10.2px!important;line-height:1.05;font-weight:650}.macro-rates .macro-gauge-caption{font-size:5.8px!important}.macro-row-main strong{font-size:9px!important}.macro-row-main small{font-size:9.8px!important;line-height:1.05;color:#b8c7d5!important;font-weight:600}.macro-money .macro-table-row>span,.macro-policy .macro-table-row>span{font-size:7.5px!important}.macro-money .macro-table-row>strong,.macro-policy .macro-table-row>strong{font-size:10.5px!important;line-height:1.05;color:#f2f7fb!important}.macro-money .macro-table-row>i,.macro-policy .macro-table-row>i{font-size:6.2px!important}.macro-money .macro-history-note{font-size:5.8px!important}
.macro-rail-toolbar{padding:3px 34px 5px 34px}.macro-rail-toolbar>button{padding:3px 7px;border-color:#1f4053;color:#67d9d5;font-size:7px}.macro-rail-shell{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr) 28px;align-items:center;gap:4px;padding:0 4px}.macro-rail-shell .macro-card-rail{padding-left:3px;padding-right:3px}.macro-rail-edge{align-self:center;display:flex;align-items:center;justify-content:center;min-width:28px;width:28px;height:28px;padding:0;border:1px solid #28566a;border-radius:50%;background:#0a1b29;color:#76e4df;font-size:18px;line-height:1;box-shadow:0 7px 18px rgba(0,0,0,.20)}.macro-rail-edge:hover:not(:disabled){background:#123345;border-color:#4c8994;color:#a7faf5}.macro-rail-edge:disabled{opacity:.22}.full-macro-grid .macro-rail-shell{display:block;padding:0}.full-macro-grid .macro-rail-edge{display:none!important}.full-macro-grid .macro-rail-toolbar{display:none!important}
.macro-chart-grid line{stroke:#263447!important;stroke-dasharray:none!important}.macro-chart-canvas.positive .macro-chart-line{stroke:#34D399!important;stroke-width:3}.macro-chart-canvas.negative .macro-chart-line{stroke:#F87171!important;stroke-width:3}.macro-chart-canvas.positive .macro-chart-area{fill:#34D399!important;opacity:.16!important}.macro-chart-canvas.negative .macro-chart-area{fill:#F87171!important;opacity:.14!important}.macro-chart-axis,.macro-chart-date{position:absolute;color:#FBBF24;font-size:10px;font-weight:750;text-shadow:0 0 6px rgba(251,191,36,.18);pointer-events:none}.macro-chart-axis-max{left:5px;top:27px}.macro-chart-axis-min{left:5px;bottom:36px}.macro-chart-date{bottom:8px}.macro-chart-date-first{left:42px}.macro-chart-date-last{right:42px}.macro-chart-move{position:absolute;left:42px;top:7px;font-size:12px;font-weight:800}.macro-chart-canvas.positive .macro-chart-move{color:#34D399}.macro-chart-canvas.negative .macro-chart-move{color:#F87171}.macro-chart-tooltip{border-color:#334155!important;background:#07131f!important;color:#e2e8f0!important}.macro-chart-ranges button.selected{border-color:#06b6d4!important;background:rgba(6,182,212,.13)!important;color:#a5f3fc!important}.signal-full-sections{display:grid;gap:14px}.signal-full-section{border:1px solid #1b3447;border-radius:9px;background:#091522;overflow:hidden}.signal-full-heading{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid #1b3447;color:#67d9d5;font-size:8px;letter-spacing:.13em;font-weight:800}.signal-full-heading strong{font-size:11px;color:#e5eef6}.signal-full-empty{padding:14px;margin:0}
@media(max-width:850px){.macro-rail-shell{grid-template-columns:26px minmax(0,1fr) 26px}.macro-rail-edge{width:26px;min-width:26px;height:26px;font-size:17px}.macro-rail-toolbar{padding-left:31px;padding-right:31px}.macro-row-main small{font-size:9px!important}.macro-money .macro-table-row>strong,.macro-policy .macro-table-row>strong{font-size:9.7px!important}.macro-rates .macro-row-copy small,.macro-volatility .macro-row-copy small{font-size:9.4px!important}}

.macro-rail-edge-left,.macro-rail-edge-right{position:relative}


/* 1.2.10-alpha: density, destination clarity, descriptive gauges, pulse history, collapsible overview */
.card-view-action{border:0!important;background:transparent!important;color:#68ddd8!important;padding:3px 5px!important;font-size:7px!important;font-weight:800;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.card-view-action:hover,.card-view-action:focus-visible{color:#a9faf5!important;background:#0e2735!important}.section-collapse{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:24px!important;height:24px!important;min-width:24px!important;padding:0!important;border:1px solid #28495d!important;border-radius:7px!important;background:#091824!important;color:#8aa2b4!important;font-size:14px!important;line-height:1!important}.section-collapse:hover,.section-collapse:focus-visible{border-color:#4a8090!important;color:#7ee9e4!important;background:#0d2432!important}.section-collapse span{display:block;transform:translateY(-1px)}
.mc-section-collapsed{min-height:0!important;height:auto!important}.mc-section-collapsed.panel> :not(.card-head){display:none!important}.timeline.mc-section-collapsed> :not(.timeline-top){display:none!important}.timeline.mc-section-collapsed{padding-top:11px!important;padding-bottom:11px!important}.timeline.mc-section-collapsed .timeline-title p{display:none!important}.timeline.mc-section-collapsed .timeline-actions> :not(.section-collapse){display:none!important}.mc-section-collapsed .card-head{padding-bottom:9px!important;min-height:48px!important}.dashboard .mc-section-collapsed{align-self:start}.card-head-actions,.radar-head-actions{display:flex;align-items:center;gap:6px;min-width:0}
.watchlist-card .bounded,.movers-card .bounded,.news-card .bounded{height:auto!important;max-height:205px!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin!important;scrollbar-color:#335166 transparent!important;overscroll-behavior:contain}.news-card #news{height:auto!important;max-height:205px!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin!important;scrollbar-color:#335166 transparent!important}.watchlist-card .bounded::-webkit-scrollbar,.movers-card .bounded::-webkit-scrollbar,.news-card .bounded::-webkit-scrollbar{width:6px}.watchlist-card .bounded::-webkit-scrollbar-thumb,.movers-card .bounded::-webkit-scrollbar-thumb,.news-card .bounded::-webkit-scrollbar-thumb{background:#335166;border-radius:10px}
.catalog-context-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:10px 0 4px}.catalog-context-control{display:grid;gap:5px;padding:8px 10px;border:1px solid #20394b;border-radius:8px;background:#091725}.catalog-context-control[hidden]{display:none!important}.catalog-context-control>span{font-size:7px;letter-spacing:.12em;font-weight:800;color:#6bded9}.catalog-context-control select{width:100%;max-width:none;background:#0d1d2b;border-color:#284358;padding:7px 28px 7px 9px;font-size:10px}.catalog-save-status{min-height:17px;margin:2px 0 4px;color:#74dcd5;font-size:9px}.catalog-price+*{}#catalog-results .quote-row button[data-watch]{max-width:180px;white-space:normal;text-align:center;font-size:9px;line-height:1.3;padding:7px 9px}#catalog-results .quote-row button[data-watch][aria-pressed=true]{color:#8fded7;border-color:#2b665e;background:#0d2b2a}
.macro-gauge-caption{display:flex!important;align-items:center;justify-content:space-between;gap:4px;width:100%;font-variant-numeric:tabular-nums}.macro-gauge-caption span{font-size:5.3px;color:#758b9f}.macro-gauge-caption strong{font-size:5.5px;color:#9fe8e2;font-weight:800;white-space:nowrap}
.pulse-history-panel{margin:16px 0 0;padding:16px;border:1px solid #1b3447;border-radius:10px;background:#071522}.pulse-history-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:8px}.pulse-history-head>div:first-child{display:grid;gap:2px}.pulse-history-head span{font-size:7px;letter-spacing:.12em;color:#61d8d3;font-weight:800}.pulse-history-head strong{font-size:13px;color:#e5eef6}.pulse-history-ranges{margin:0!important}.pulse-history-stage{min-height:280px}.full-pulse .pulse-chart{height:190px}.full-pulse .breadth{margin-bottom:8px}
@media(max-width:850px){.section-collapse{width:22px!important;height:22px!important;min-width:22px!important}.card-view-action{font-size:6.5px!important}.catalog-context-row{grid-template-columns:1fr}.pulse-history-head{align-items:flex-start;flex-direction:column}.pulse-history-stage{min-height:220px}.macro-gauge-caption strong{font-size:5.1px}.macro-gauge-caption span{font-size:4.9px}}

/* 1.2.11-alpha: one canonical Market Pulse chart, centered legal footer, resilient Market Capsules collapse */
.pulse-card .pulse-history-panel{margin:10px 12px 8px;padding:12px;border-color:#1b3447;background:#071522}
.pulse-card .pulse-history-head{margin-bottom:6px;align-items:center}
.pulse-card .pulse-history-stage{min-height:205px}
.pulse-card .macro-chart-canvas{height:190px!important;min-height:190px}
.pulse-card .macro-chart-ranges{gap:4px;flex-wrap:wrap;justify-content:flex-end}
.pulse-card .macro-chart-ranges button{min-width:30px;padding:4px 6px;font-size:7px}
.full-pulse .pulse-history-panel{margin:12px 0 0;padding:16px}
.full-pulse .pulse-history-stage,.full-pulse .macro-chart-canvas{min-height:320px}
.page-footer{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;text-align:center!important;padding:16px 8px 6px!important;color:#7890a7!important}
.page-footer>span{display:block!important;margin:0!important;width:100%;text-align:center}
.timeline.mc-section-collapsed .timeline-top{display:flex!important;position:relative;z-index:2}
.timeline.mc-section-collapsed .timeline-actions{display:flex!important;position:relative;z-index:3;pointer-events:auto!important}
.timeline.mc-section-collapsed .section-collapse{display:inline-flex!important;visibility:visible!important;pointer-events:auto!important}
@media(max-width:850px){.pulse-card .pulse-history-stage{min-height:180px}.pulse-card .macro-chart-canvas{height:168px!important;min-height:168px}.pulse-card .pulse-history-head{align-items:flex-start}.pulse-card .macro-chart-ranges{justify-content:flex-start}.full-pulse .pulse-history-stage,.full-pulse .macro-chart-canvas{min-height:250px}}

/* 1.2.12-alpha: rail alignment, inspectable charts, clearer capsule times. */
.rail{position:fixed!important}
.rail-collapse-toggle{position:absolute!important;top:12px!important;right:10px!important;z-index:5!important;align-self:auto!important}
.rail-scroll{padding-top:0!important;margin-top:0!important}
.rail-command-group{padding-top:0!important}
.rail-command-home{min-height:32px;padding-right:42px!important;display:flex;align-items:center}
body.mc-rail-collapsed .rail-collapse-toggle{left:50%!important;right:auto!important;transform:translateX(-50%)}
body.mc-rail-collapsed .rail-scroll{padding-top:40px!important}
body.mc-rail-collapsed .rail-command-home{display:none!important}

/* Market Capsule slots remain auto-width but gain readable type and touch targets. */
.slots{gap:8px!important;padding:8px 0 7px!important}
.slot-hour{padding:6px 7px!important}
.slot-hour-label{margin:0 0 5px 1px!important;color:#9fb4c7!important;font-size:8.5px!important;font-weight:800!important;letter-spacing:.055em!important;line-height:1.1!important}
.slot-quarter-list{gap:5px!important}
.slot{flex:0 0 58px!important;width:58px!important;min-height:34px!important;padding:6px 7px!important;border-color:#31445a!important;color:#d7e6f2!important;font-size:10px!important;font-weight:700!important}
.slot-time{font-size:10px!important;font-weight:750!important;line-height:1.1!important;color:inherit!important}
.slot[aria-pressed=true]{color:#a4fbf5!important;border-color:#62ddd8!important;background:#173945!important;box-shadow:0 0 16px rgba(88,217,211,.12)!important}
.slot.is-close,.slot.is-post-close{width:72px!important;flex-basis:72px!important}
.slot-session-label{margin-top:2px!important;font-size:6.5px!important;letter-spacing:.10em!important;color:#82e8e3!important}
.slot-status-dot{width:4px!important;height:4px!important;margin-top:3px!important}

/* Click/tap inspection for the shared Market Pulse + Macro chart engine. */
.macro-chart-canvas{touch-action:manipulation;cursor:crosshair}
.macro-chart-selected-guide{stroke:#7f95a9;stroke-width:1.15;stroke-dasharray:6 7;vector-effect:non-scaling-stroke;pointer-events:none}
.macro-chart-selected-point{stroke:#07131f;stroke-width:2.25;vector-effect:non-scaling-stroke;pointer-events:none}
.macro-chart-canvas.positive .macro-chart-selected-point{fill:#34D399}
.macro-chart-canvas.negative .macro-chart-selected-point{fill:#F87171}
.macro-chart-detail{position:absolute;z-index:5;top:52px;min-width:178px;max-width:230px;display:grid;gap:2px;padding:11px 13px;border:1px solid #334155;border-radius:12px;background:rgba(3,8,18,.97);box-shadow:0 14px 38px rgba(0,0,0,.48);color:#e8f0f8;pointer-events:none;transform:none;text-align:left}
.macro-chart-detail.align-left{transform:translateX(-100%)}
.macro-chart-detail[hidden]{display:none!important}
.macro-chart-detail>[data-chart-detail-label]{font-size:8px;line-height:1.2;font-weight:850;letter-spacing:.09em;text-transform:uppercase;color:#8ba1b5}
.macro-chart-detail>[data-chart-detail-date]{font-size:9px;line-height:1.3;color:#91a4b6}
.macro-chart-detail>[data-chart-detail-value]{margin-top:3px;font-size:21px;line-height:1.15;font-weight:800;letter-spacing:-.02em;color:#f3f8fc;font-variant-numeric:tabular-nums}
.macro-chart-detail-change{font-size:9px;font-style:normal;font-weight:750;font-variant-numeric:tabular-nums}
.macro-chart-detail-change.up{color:#34D399}.macro-chart-detail-change.down{color:#F87171}.macro-chart-detail-change.quiet{color:#8297aa}
.macro-chart-canvas.compact .macro-chart-detail{top:9px;min-width:145px;max-width:175px;padding:8px 9px;border-radius:9px}
.macro-chart-canvas.compact .macro-chart-detail>[data-chart-detail-value]{font-size:15px}
.macro-chart-canvas.compact .macro-chart-detail>[data-chart-detail-label]{font-size:6.5px}.macro-chart-canvas.compact .macro-chart-detail>[data-chart-detail-date],.macro-chart-canvas.compact .macro-chart-detail-change{font-size:7px}
.macro-chart-hit{cursor:crosshair}

@media(max-width:850px){
  .rail-collapse-toggle{top:10px!important;right:7px!important}
  .rail-command-home{padding-right:37px!important}
  body.mc-rail-collapsed .rail-scroll{padding-top:38px!important}
  .slot{flex-basis:56px!important;width:56px!important;min-height:36px!important;padding:7px 6px!important}
  .slot-time{font-size:10px!important}
  .slot-hour-label{font-size:8px!important}
  .slot.is-close,.slot.is-post-close{width:70px!important;flex-basis:70px!important}
  .macro-chart-detail{top:40px;min-width:158px;max-width:190px;padding:9px 10px}
  .macro-chart-detail>[data-chart-detail-value]{font-size:18px}
}
.macro-chart-selected-guide[hidden],.macro-chart-selected-point[hidden]{display:none!important}


/* 1.2.13-alpha: Pulse hierarchy, readability, social icon cleanup, and AI typography. */
/* Market Pulse reads quote -> breadth -> chart. */
.pulse-card .breadth{margin:7px 12px 8px!important;padding:7px 0 8px!important;border-top:1px solid #17384d!important;border-bottom:1px solid #17384d!important}
.pulse-card .pulse-history-panel{margin-top:7px!important}
.full-pulse .breadth{margin:10px 0 10px!important;padding:10px 0!important;border-top:1px solid #1c3448!important;border-bottom:1px solid #1c3448!important}

/* Rules-derived source belongs visually below the Read Full Analysis action baseline. */
.ai-card .card-footer{align-items:flex-start!important}
.ai-card #ai-source{display:block;padding-top:6px;line-height:1.25}
.ai-card #read-full{align-self:flex-start}

/* News headlines are primary content; metadata remains secondary. */
.news-item h3{font-size:11px!important;line-height:1.45!important;font-weight:650!important;color:#e4edf6!important;letter-spacing:-.01em}
.news-item .news-meta,.news-time{font-size:7.2px!important}
.full-news-list .news-item h3{font-size:13px!important;line-height:1.5!important}
.full-news-list .news-item .news-meta,.full-news-list .news-time{font-size:8px!important}

/* FOLLOW is intentionally icon-only in expanded Command navigation. */
body:not(.mc-rail-collapsed) .rail-follow-group .rail-nav{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;padding:1px 6px 4px!important}
body:not(.mc-rail-collapsed) .rail-follow-group .rail-link{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;justify-content:center!important;border:1px solid #1d3c50!important;border-radius:9px!important;background:#091827!important}
body:not(.mc-rail-collapsed) .rail-follow-group .rail-link:hover{border-color:#3f7287!important;background:#0c2232!important;color:#7de7e1!important}
.rail-follow-group .rail-social-icon{margin:0!important;width:18px!important;height:18px!important;flex-basis:18px!important}
.rail-follow-group .rail-social-icon svg{width:18px!important;height:18px!important}

/* AI Market Read + AI Interpretation: denser than editorial pages, but comfortably readable. */
#ai{line-height:1.55}
.ai-headline{font-size:17px!important;line-height:1.35!important;margin:7px 0 8px!important}
.ai-summary{font-size:10.5px!important;line-height:1.65!important;color:#c2d0df!important}
.ai-key-label{font-size:7.4px!important}
.driver-list li{font-size:9.5px!important;line-height:1.5!important}
.driver-list .driver-num{font-size:7.5px!important}
#full-analysis{font-size:13px;line-height:1.75;color:#c5d2df}
#full-analysis h3{font-size:21px;line-height:1.35;color:#f0f6fb}
#full-analysis h4{font-size:12px;margin:16px 0 6px;color:#dfeaf4}
#full-analysis p,#full-analysis li{font-size:13px;line-height:1.75}
#full-analysis .provenance{font-size:10px;line-height:1.6;color:#8095aa}

/* AI Signal interpretation + table values are readable without losing terminal density. */
.radar-ai-label{font-size:8px!important}
.radar-ai-label span{font-size:7.5px!important}
.radar-ai h3{font-size:13px!important;line-height:1.35!important}
.radar-ai p{font-size:10px!important;line-height:1.55!important}
.radar-ai p.quiet{font-size:9px!important}
.radar-table th{font-size:8.5px!important;line-height:1.25!important;font-weight:650!important;color:#a8b9c9!important}
.radar-table td{font-size:10px!important;line-height:1.35!important}
.radar-table td strong{font-size:10.5px!important}
.radar-signal-name{font-size:7.5px!important}
.rule-meter span{font-size:9px!important}
.radar-table .radar-evidence{font-size:9px!important}

@media(max-width:850px){
  .news-item h3{font-size:10.5px!important}
  .ai-headline{font-size:16px!important}
  .ai-summary{font-size:10px!important}
  .driver-list li{font-size:9px!important}
  .radar-table{min-width:650px}
  .radar-table th{font-size:8px!important}
  .radar-table td{font-size:9.5px!important}
}


/* 1.2.14-alpha: Light/Dark themes, stronger capsule states, clickable list charts, release history. */
.theme-icon-sun{display:none!important}
html[data-theme="light"]{color-scheme:light;--bg:#f7f6f2;--panel:#ffffff;--line:#deddd7;--text:#181817;--muted:#6e6d68;--cyan:#087f83;--up:#108a62;--down:#c94f62;--amber:#a96e14}
html[data-theme="light"] .theme-icon-moon{display:none!important}html[data-theme="light"] .theme-icon-sun{display:grid!important}
html[data-theme="dark"] .theme-icon-moon{display:grid!important}html[data-theme="dark"] .theme-icon-sun{display:none!important}
html[data-theme="light"] body{background:#f7f6f2;color:var(--text)}
html[data-theme="light"] .rail{background:#fbfaf7!important;border-color:#e1dfd9!important}
html[data-theme="light"] main{background:transparent}
html[data-theme="light"] .topbar{border-color:#e2e0da}
html[data-theme="light"] .wordmark,html[data-theme="light"] h1,html[data-theme="light"] h2,html[data-theme="light"] h3,html[data-theme="light"] .symbol-name,html[data-theme="light"] .pulse-quote strong,html[data-theme="light"] .macro-compact-value,html[data-theme="light"] .macro-row-main strong{color:#171715!important}
html[data-theme="light"] .panel,html[data-theme="light"] .macro-group,html[data-theme="light"] .macro-rail-card{background:#fff!important;border-color:#dfddd7!important;box-shadow:0 1px 3px rgba(28,27,24,.035)}
html[data-theme="light"] button,html[data-theme="light"] select,html[data-theme="light"] input{color:#292824}
html[data-theme="light"] button:hover,html[data-theme="light"] .quote-row-chart:hover{background:#f1f0eb;border-color:#cbc8bf}
html[data-theme="light"] select,html[data-theme="light"] .date-control,html[data-theme="light"] .asset-tabs,html[data-theme="light"] .workspace-search{background:#fff!important;border-color:#d8d6cf!important}
html[data-theme="light"] .asset-tabs button[aria-pressed=true]{background:#e9f4f3!important;color:#087f83!important}
html[data-theme="light"] .rail-link{color:#5d5b55!important}html[data-theme="light"] .rail-link:hover,html[data-theme="light"] .rail-link:focus-visible,html[data-theme="light"] .rail-link.rail-active{background:#edf4f3!important;color:#087f83!important}
html[data-theme="light"] .rail-category-label,html[data-theme="light"] .rail-link-meta{color:#77756f!important}
html[data-theme="light"] .account-popover,html[data-theme="light"] .market-status-popover,html[data-theme="light"] .notification-popover{background:#fff!important;border-color:#d7d5ce!important;box-shadow:0 20px 50px rgba(30,27,20,.13);color:#22211e}
html[data-theme="light"] .account-popover-profile,html[data-theme="light"] .account-popover-release{border-color:#e3e1db!important}
html[data-theme="light"] .account-popover-profile strong,html[data-theme="light"] .market-status-primary strong{color:#1c1b18!important}
html[data-theme="light"] .account-popover-avatar{background:#edf7f6!important;color:#087f83!important;border-color:#a9d6d3!important}
html[data-theme="light"] .account-plan{background:#eff8f7!important;color:#087f83!important;border-color:#bbdeda!important}
html[data-theme="light"] .account-popover-nav a{color:#4e4c47!important}html[data-theme="light"] .account-popover-nav a:hover{background:#f2f5f3!important;color:#087f83!important}
html[data-theme="light"] .timeline-actions button{color:#696762!important}html[data-theme="light"] .timeline-actions .selected{background:#eaf5f4!important;border-color:#9bcac7!important;color:#087f83!important}
html[data-theme="light"] .slot{background:#fff!important;border-color:#d4d1ca!important;color:#4d4b46!important}html[data-theme="light"] .slot[aria-pressed=true]{background:#e9f5f4!important;color:#087f83!important;border-color:#65aaa7!important;box-shadow:none!important}
html[data-theme="light"] .slot-hour{background:#faf9f6!important;border-color:#e4e1db!important}html[data-theme="light"] .slot-hour-label{color:#706e68!important}
html[data-theme="light"] .capsule-statebar{background:#fbfaf7!important;border-color:#e4e1db!important}html[data-theme="light"] .capsule-selection strong{color:#24231f!important}
html[data-theme="light"] .capsule-pill{background:#f3f2ee!important;color:#55534e!important;border-color:#d8d5cf!important}html[data-theme="light"] .capsule-pill.current,html[data-theme="light"] .capsule-pill.available{background:#edf7f6!important;color:#087f83!important;border-color:#b6d9d6!important}
html[data-theme="light"] .quote-row,html[data-theme="light"] .news-item,html[data-theme="light"] .macro-quote-row{border-color:#ece9e2!important}
html[data-theme="light"] .row-value,html[data-theme="light"] .pulse-primary strong,html[data-theme="light"] .macro-gauge-row strong{color:#1d1c19!important}
html[data-theme="light"] .panel-note,html[data-theme="light"] .quiet,html[data-theme="light"] .chart-note,html[data-theme="light"] .macro-chart-source,html[data-theme="light"] .news-meta,html[data-theme="light"] .news-time{color:#77746d!important}
html[data-theme="light"] .news-item h3{color:#26251f!important}
html[data-theme="light"] .pulse-summary-card,html[data-theme="light"] .radar-ai,html[data-theme="light"] .macro-history-panel,html[data-theme="light"] .pulse-history-panel{background:#fbfaf7!important;border-color:#e3e0d9!important}
html[data-theme="light"] .breadth,html[data-theme="light"] .full-pulse .breadth{border-color:#e5e2db!important}
html[data-theme="light"] .macro-chart-grid line{stroke:#dedbd3!important}
html[data-theme="light"] .macro-chart-axis,html[data-theme="light"] .macro-chart-date,html[data-theme="light"] .macro-chart-move{color:#706d66!important}
html[data-theme="light"] .macro-chart-detail{background:rgba(255,255,252,.98)!important;border-color:#d1cec6!important;box-shadow:0 12px 32px rgba(27,25,20,.16)!important;color:#20201d!important}
html[data-theme="light"] .macro-chart-detail>[data-chart-detail-value]{color:#181815!important}html[data-theme="light"] .macro-chart-detail>[data-chart-detail-label],html[data-theme="light"] .macro-chart-detail>[data-chart-detail-date]{color:#6f6d67!important}
html[data-theme="light"] dialog{background:#fff!important;color:#1c1b18!important;border-color:#d8d5ce!important;box-shadow:0 24px 70px rgba(25,23,18,.2)}
html[data-theme="light"] dialog::backdrop{background:rgba(72,70,63,.3)}
html[data-theme="light"] .dialog-head{border-color:#e3e0d9!important;background:#fbfaf7!important}
html[data-theme="light"] .command-full-view{color:#1c1b18}html[data-theme="light"] .full-view-head{border-color:#dedbd4!important}
html[data-theme="light"] .full-view-back{background:#fff!important;color:#087f83!important;border-color:#bed8d5!important}
html[data-theme="light"] .radar-table th{color:#66645e!important}html[data-theme="light"] .radar-table td{color:#292823!important;border-color:#e7e4dc!important}
html[data-theme="light"] body:not(.mc-rail-collapsed) .rail-follow-group .rail-link{background:#fff!important;border-color:#dedbd4!important}html[data-theme="light"] body:not(.mc-rail-collapsed) .rail-follow-group .rail-link:hover{background:#edf5f4!important;border-color:#aed0cd!important;color:#087f83!important}

/* Theme control: moon represents Dark, sun represents Light. */
.theme-mode-toggle .theme-icon{grid-area:1/1}.theme-mode-toggle .theme-icon svg{width:100%;height:100%}

/* Market Capsule state controls are intentionally prominent without changing layout semantics. */
.timeline-actions #previous-close,.timeline-actions #market-open,.timeline-actions #latest,.timeline-actions #play{font-size:11.5px!important;font-weight:800!important;letter-spacing:.01em!important;padding:7px 11px!important;min-height:32px!important}
.timeline-actions #latest.selected{box-shadow:0 0 0 1px rgba(107,224,219,.08) inset}
#capsule-mode,#capsule-availability{font-size:9.5px!important;font-weight:800!important;letter-spacing:.035em!important;padding:4px 9px!important}
.timeline-legend{font-size:10.5px!important;font-weight:750!important;color:#aebed0!important;white-space:nowrap}.timeline-legend .dot{width:7px!important;height:7px!important;margin-left:13px!important}.timeline-legend .dot:first-child{margin-left:0!important}.dot.latest{background:var(--cyan)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--cyan) 20%,transparent)}
html[data-theme="light"] .timeline-legend{color:#68665f!important}

/* Watchlist + Movers rows: larger changes and one canonical click target for the shared chart dialog. */
.quote-row{padding:0!important}.quote-row-chart{flex:1;min-width:0;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 22px;border:0;border-radius:0;background:transparent;text-align:left;font-variant-numeric:tabular-nums}.quote-row-chart:hover,.quote-row-chart:focus-visible{background:#102333}.quote-row-chart .row-value{font-size:13px!important}.quote-row-chart .row-value small{font-size:12px!important;font-weight:800!important;line-height:1.15!important;margin-top:3px!important}.full-list .quote-row-chart{padding:14px 16px}.full-list .quote-row-chart .symbol-name{font-size:13px!important}.full-list .quote-row-chart .row-value{font-size:14px!important}.full-list .quote-row-chart .row-value small{font-size:13px!important}.remove-watch{align-self:stretch;padding:0 12px!important;border-left:1px solid #1f2d40!important;border-radius:0!important}
html[data-theme="light"] .quote-row-chart:hover,html[data-theme="light"] .quote-row-chart:focus-visible{background:#f4f3ef!important}html[data-theme="light"] .remove-watch{border-color:#ece9e2!important}

/* What's New is now a semantic newest-first release history. */
.whats-new-dialog{width:min(760px,calc(100vw - 30px))!important;max-height:min(86vh,900px)!important}.whats-new-content{max-height:calc(86vh - 92px)!important;overflow:auto!important;padding:14px 16px 18px!important;scrollbar-width:thin}.whats-new-intro{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;padding:3px 2px 13px;border-bottom:1px solid #203348}.whats-new-intro>div{display:grid;gap:2px}.whats-new-intro span{font-size:7px;font-weight:850;letter-spacing:.15em;color:var(--cyan)}.whats-new-intro strong{font-size:14px}.whats-new-intro small{font-size:8px;color:var(--muted)}.release-history{display:grid;gap:8px;padding-top:11px}.release-entry{border:1px solid #203448;border-radius:10px;background:#0a1623;overflow:hidden}.release-entry.current{border-color:#2e777b;background:#0b1d28;box-shadow:inset 3px 0 0 var(--cyan)}.release-entry summary{list-style:none;display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:11px 12px;cursor:pointer}.release-entry summary::-webkit-details-marker{display:none}.release-version{font-size:10px;font-weight:850;color:#e7eff7;white-space:nowrap}.release-summary-copy{display:grid;gap:1px;min-width:0}.release-summary-copy strong{font-size:10px;color:#dce7f1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.release-summary-copy small{font-size:7.5px;color:#71869b}.release-current-badge{border:1px solid #2f7274;border-radius:999px;padding:2px 6px;font-size:6.5px;font-weight:900;letter-spacing:.1em;color:#77e5df;background:#0d2930}.release-chevron{color:#698095;transition:transform .15s ease}.release-entry[open] .release-chevron{transform:rotate(180deg)}.release-entry-body{padding:0 14px 13px;border-top:1px solid #1b3042}.release-entry-body ul{margin:10px 0 0;padding-left:18px;display:grid;gap:6px}.release-entry-body li{font-size:9.5px;line-height:1.55;color:#b4c5d5}.release-entry-body p{font-size:9.5px;line-height:1.55}
html[data-theme="light"] .whats-new-intro{border-color:#e3e0d9!important}html[data-theme="light"] .release-entry{background:#fff!important;border-color:#e0ddd6!important}html[data-theme="light"] .release-entry.current{background:#f4fbfa!important;border-color:#a8d2ce!important}html[data-theme="light"] .release-version,html[data-theme="light"] .release-summary-copy strong{color:#25241f!important}html[data-theme="light"] .release-summary-copy small{color:#77746d!important}html[data-theme="light"] .release-entry-body{border-color:#ebe8e1!important}html[data-theme="light"] .release-entry-body li{color:#504e48!important}html[data-theme="light"] .release-current-badge{background:#e8f6f4!important;color:#087f83!important;border-color:#aed7d3!important}

@media(max-width:850px){.timeline-actions #previous-close,.timeline-actions #market-open,.timeline-actions #latest,.timeline-actions #play{font-size:10.5px!important;padding:7px 9px!important}.timeline-legend{font-size:9.5px!important}.release-entry summary{grid-template-columns:auto minmax(0,1fr) auto;gap:8px}.release-current-badge{display:none}.whats-new-intro{align-items:flex-start;flex-direction:column;gap:4px}.quote-row-chart{padding:11px 14px}}

/* 1.2.14 light-mode contrast audit — keep the clean white surface readable end-to-end. */
html[data-theme="light"] .brand-name{color:#171715!important}
html[data-theme="light"] .brand-name>span{color:#087f83!important}
html[data-theme="light"] .brand-tagline{color:#74716a!important}
html[data-theme="light"] .pulse-primary{background:#f7fbfa!important;border-color:#cfe3e0!important}
html[data-theme="light"] .pulse-primary .pulse-family,html[data-theme="light"] .pulse-primary .pulse-symbol,html[data-theme="light"] .pulse-primary .pulse-basis{color:#706e68!important}
html[data-theme="light"] .pulse-primary .pulse-price-line>strong{color:#171715!important}
html[data-theme="light"] .pulse-summary-card p{color:#44423d!important}
html[data-theme="light"] .pulse-summary-card small{color:#77746d!important}
html[data-theme="light"] .ai-headline{color:#201f1b!important}
html[data-theme="light"] .ai-summary{color:#4f4d47!important}
html[data-theme="light"] .driver-list li{color:#504e48!important}
html[data-theme="light"] .ai-key-label{color:#087f83!important}
html[data-theme="light"] .strategy{background:#fff!important;border-color:#dedbd4!important}
html[data-theme="light"] .strategy:hover{background:#f4f6f4!important;border-color:#b9cecb!important}
html[data-theme="light"] .strategy[aria-pressed=true]{background:#edf7f6!important;border-color:#94c7c3!important;box-shadow:inset 0 0 0 1px rgba(8,127,131,.08)!important}
html[data-theme="light"] .strategy-icon{background:#f4f7f6!important;border-color:#d7e4e2!important}
html[data-theme="light"] .strategy-copy strong{color:#25241f!important}
html[data-theme="light"] .strategy-copy small,html[data-theme="light"] .strategy-copy .strategy-number,html[data-theme="light"] .strategy-count-wrap small{color:#77746d!important}
html[data-theme="light"] .radar-ai{background:#fbfaf7!important;border-color:#e3e0d9!important}
html[data-theme="light"] .radar-ai h3,html[data-theme="light"] .radar-ai p{color:#393732!important}
html[data-theme="light"] .radar-table th{background:#f4f3ef!important;color:#66645e!important;border-color:#e2dfd8!important}
html[data-theme="light"] .rule-meter i{background:#d5d2cb!important}
html[data-theme="light"] .rule-meter i.met{background:#087f83!important}
html[data-theme="light"] .rule-meter span{color:#77746d!important}
html[data-theme="light"] .card-footer{border-color:#e4e1db!important;color:#77746d!important}

/* 1.2.14-alpha — light-mode contrast refinement after visual review.
   Dark mode is intentionally untouched. */
html[data-theme="light"]{
  --muted:#5c5a54;
  --cyan:#066f75;
}
html[data-theme="light"] .brand-mark{
  opacity:1!important;
  filter:saturate(1.35) contrast(1.28) brightness(.72)!important;
}
html[data-theme="light"] .brand-name{
  color:#121210!important;
  font-weight:800!important;
}
html[data-theme="light"] .brand-name>span{
  color:#066f75!important;
  font-weight:850!important;
}
html[data-theme="light"] .brand-tagline{
  color:#55524c!important;
  font-weight:650!important;
}
html[data-theme="light"] .rail-link{
  color:#34332f!important;
  font-weight:600!important;
}
html[data-theme="light"] .rail-link-icon{
  color:#066f75!important;
  opacity:1!important;
}
html[data-theme="light"] .rail-link-icon img,
html[data-theme="light"] .card-title img{
  opacity:1!important;
  filter:saturate(1.45) contrast(1.3) brightness(.68)!important;
}
html[data-theme="light"] .rail-link-secondary .rail-link-icon{
  color:#4c4a45!important;
}
html[data-theme="light"] .rail-category-label{
  color:#54514b!important;
  font-weight:900!important;
}
html[data-theme="light"] .rail-command-title{
  color:#055f65!important;
  text-shadow:none!important;
}
html[data-theme="light"] .rail-link:hover,
html[data-theme="light"] .rail-link:focus-visible,
html[data-theme="light"] .rail-link.rail-active{
  color:#055f65!important;
}
html[data-theme="light"] .rail-link.rail-active .rail-link-icon img{
  filter:saturate(1.55) contrast(1.35) brightness(.58)!important;
}
html[data-theme="light"] .card-head .eyebrow,
html[data-theme="light"] .timeline-title>.eyebrow,
html[data-theme="light"] .radar-ai-label,
html[data-theme="light"] .ai-key-label{
  color:#066f75!important;
  font-weight:900!important;
}
html[data-theme="light"] .card-title,
html[data-theme="light"] .timeline-title .card-title{
  color:#161512!important;
  font-weight:800!important;
}
html[data-theme="light"] .card-view-action,
html[data-theme="light"] .small-button,
html[data-theme="light"] .card-footer button{
  color:#066f75!important;
  font-weight:850!important;
}
html[data-theme="light"] .timeline-title p,
html[data-theme="light"] .panel-note,
html[data-theme="light"] .quiet,
html[data-theme="light"] .chart-note,
html[data-theme="light"] .macro-chart-source,
html[data-theme="light"] .card-footer{
  color:#5f5c56!important;
  font-weight:550!important;
}
html[data-theme="light"] .timeline-bottom>span:first-child,
html[data-theme="light"] .timeline-legend{
  color:#55524c!important;
  font-weight:800!important;
}
html[data-theme="light"] .macro-group-head span{
  color:#055f65!important;
  font-weight:950!important;
}
html[data-theme="light"] .macro-group-head strong{
  color:#37352f!important;
  font-weight:750!important;
}
html[data-theme="light"] .macro-group-head small{
  color:#62605a!important;
  font-weight:650!important;
}
html[data-theme="light"] .macro-group-head button{
  color:#066f75!important;
  font-weight:800!important;
}
html[data-theme="light"] .macro-row-copy small,
html[data-theme="light"] .macro-row-main small,
html[data-theme="light"] .macro-table-row>span,
html[data-theme="light"] .macro-table-row>span small,
html[data-theme="light"] .macro-table-row>i,
html[data-theme="light"] .macro-gauge-caption,
html[data-theme="light"] .macro-history-note,
html[data-theme="light"] .macro-footnote{
  color:#66635d!important;
}
html[data-theme="light"] .macro-row-main small,
html[data-theme="light"] .macro-row-copy small{
  font-weight:650!important;
}
html[data-theme="light"] .watchlist-card .symbol-name small,
html[data-theme="light"] .movers-card .symbol-name small,
html[data-theme="light"] .full-list .symbol-name small{
  color:#605d57!important;
  font-weight:550!important;
}
html[data-theme="light"] .watchlist-card .list-tools-label,
html[data-theme="light"] .mover-controls button,
html[data-theme="light"] .movers-card #sector{
  color:#5d5a54!important;
  font-weight:650!important;
}
html[data-theme="light"] .mover-controls button[aria-pressed="true"]{
  color:#055f65!important;
  font-weight:850!important;
}
html[data-theme="light"] .news-source{
  color:#55524c!important;
  font-weight:750!important;
}
html[data-theme="light"] .news-time,
html[data-theme="light"] .news-item .news-meta{
  color:#66635d!important;
  font-weight:600!important;
}
html[data-theme="light"] .news-item h3{
  color:#1f1e1a!important;
  font-weight:720!important;
}
html[data-theme="light"] .news-item .news-arrow{
  color:#066f75!important;
  font-weight:900!important;
}
html[data-theme="light"] .badge{
  color:#55524c!important;
  border-color:#cfcac1!important;
  font-weight:700!important;
}
html[data-theme="light"] .full-view-head p,
html[data-theme="light"] .release-summary-copy small,
html[data-theme="light"] .release-entry-body li{
  color:#5e5b55!important;
}

/* 1.2.14-alpha — complete light-mode full-view contrast pass. */
html[data-theme="light"] .command-full-view{
  background:#fff!important;
  border-color:#d9d6cf!important;
  box-shadow:0 1px 3px rgba(28,27,24,.04)!important;
  color:#1c1b18!important;
}
html[data-theme="light"] .full-view-head{
  background:#fbfaf7!important;
  border-color:#ddd9d2!important;
}
html[data-theme="light"] .full-view-head .eyebrow{
  color:#066f75!important;
  font-weight:900!important;
}
html[data-theme="light"] .full-view-head h1{
  color:#161512!important;
  font-weight:800!important;
}
html[data-theme="light"] .full-view-head p{
  color:#55524c!important;
  font-weight:550!important;
}
html[data-theme="light"] .full-view-body{
  background:#f7f6f2!important;
}
html[data-theme="light"] .full-view-body .full-list,
html[data-theme="light"] .full-news-list .news-item{
  background:#fff!important;
  border-color:#ddd9d2!important;
}
html[data-theme="light"] .pulse-history-head span,
html[data-theme="light"] .breadth-title>div>span{
  color:#066f75!important;
  font-weight:900!important;
}
html[data-theme="light"] .pulse-history-head strong{
  color:#25231f!important;
  font-weight:800!important;
}
html[data-theme="light"] .breadth-title,
html[data-theme="light"] .breadth-title small,
html[data-theme="light"] .breadth-title>span{
  color:#5a5751!important;
  font-weight:600!important;
}
html[data-theme="light"] .macro-money .macro-table-row>strong,
html[data-theme="light"] .macro-policy .macro-table-row>strong,
html[data-theme="light"] .macro-table-row>strong{
  color:#2b2924!important;
  font-weight:750!important;
}
html[data-theme="light"] .macro-money .macro-table-row>span,
html[data-theme="light"] .macro-policy .macro-table-row>span,
html[data-theme="light"] .macro-money .macro-table-row>i,
html[data-theme="light"] .macro-policy .macro-table-row>i{
  color:#5d5a54!important;
  font-weight:600!important;
}
html[data-theme="light"] .macro-chart-ranges button{
  color:#393732!important;
  border-color:#9e9a91!important;
  background:#fff!important;
  font-weight:700!important;
}
html[data-theme="light"] .macro-chart-ranges button[aria-pressed="true"],
html[data-theme="light"] .macro-chart-ranges button.active{
  color:#055f65!important;
  border-color:#5aa5a5!important;
  background:#e9f5f4!important;
}


/* 1.2.15-alpha — focused Light Mode contrast and surface corrections.
   Dark Mode remains inherited from the approved 1.2.14-alpha baseline. */
html[data-theme="light"] .brand-name{color:#12304a!important;font-weight:850!important}
html[data-theme="light"] .brand-name>span{color:#067a80!important}
html[data-theme="light"] .brand-mark{opacity:1!important;filter:saturate(1.45) contrast(1.35) brightness(.66)!important}

/* Capsule action + selected-capsule context */
html[data-theme="light"] .capsule-open-button{background:#fff!important;color:#075f66!important;border-color:#8fbfbd!important;box-shadow:0 1px 2px rgba(30,45,50,.06)!important;font-weight:850!important}
html[data-theme="light"] .capsule-open-button:hover:not(:disabled),html[data-theme="light"] .capsule-open-button:focus-visible{background:#eaf6f5!important;color:#054f55!important;border-color:#5fa4a2!important}
html[data-theme="light"] .capsule-open-button:disabled{background:#f4f2ed!important;color:#77736b!important;border-color:#d2cec5!important;opacity:.7!important}
html[data-theme="light"] #macro-basis,html[data-theme="light"] #mover-basis,html[data-theme="light"] .pulse-basis,html[data-theme="light"] .analysis-capsule-context .badge{background:#fff!important;color:#31434b!important;border-color:#c9c6be!important;font-weight:800!important}
html[data-theme="light"] .capsule-state-label{color:#075f66!important;font-weight:900!important}
html[data-theme="light"] .capsule-selection small,html[data-theme="light"] #capsule-window{color:#57544e!important;font-weight:650!important}

/* Small nav / previous-next / collapse controls */
html[data-theme="light"] .section-collapse,html[data-theme="light"] .macro-rail-edge,html[data-theme="light"] .market-status-close,html[data-theme="light"] .popover-close,html[data-theme="light"] .dialog-close{background:#fff!important;color:#12304a!important;border-color:#bdb9b1!important;box-shadow:0 1px 2px rgba(25,40,45,.04)!important}
html[data-theme="light"] .section-collapse:hover,html[data-theme="light"] .section-collapse:focus-visible,html[data-theme="light"] .macro-rail-edge:hover,html[data-theme="light"] .macro-rail-edge:focus-visible,html[data-theme="light"] .market-status-close:hover,html[data-theme="light"] .popover-close:hover{background:#eaf6f5!important;color:#066f75!important;border-color:#71aaa8!important}
html[data-theme="light"] .section-collapse span,html[data-theme="light"] .macro-rail-edge{font-weight:950!important;text-shadow:none!important}
html[data-theme="light"] .timeline-actions #previous-close,html[data-theme="light"] .timeline-actions #market-open,html[data-theme="light"] .timeline-actions #latest,html[data-theme="light"] .timeline-actions #play{background:#fff!important;border-color:#c9c6be!important;color:#34322e!important}
html[data-theme="light"] .timeline-actions #latest.selected{background:#e8f5f3!important;color:#055f65!important;border-color:#73aaa7!important}
html[data-theme="light"] .timeline-actions #previous-close:hover,html[data-theme="light"] .timeline-actions #market-open:hover,html[data-theme="light"] .timeline-actions #play:hover{background:#f2f6f5!important;color:#075f66!important;border-color:#9fc2bf!important}

/* 1.2.15 amendment — preserve the original dark U.S. Market Session header label
   as an intentional status accent on the Light Mode canvas. The opened popover stays light. */
html[data-theme="light"] .header-market-status{background:#091724!important;border-color:#1e4054!important;color:#c9d8e5!important;box-shadow:none!important}
html[data-theme="light"] .header-market-status:hover,html[data-theme="light"] .header-market-status.is-open{background:#0c2230!important;border-color:#2b7180!important}
html[data-theme="light"] .header-market-copy strong{color:#dce8f2!important;font-weight:850!important}
html[data-theme="light"] .header-market-copy small{color:#72899f!important;font-weight:650!important}
html[data-theme="light"] .header-market-chevron{color:#60798f!important;font-weight:950!important}
html[data-theme="light"] .market-status-popover{background:#fff!important;border-color:#c9c6be!important;color:#25231f!important}
html[data-theme="light"] .market-status-primary{background:#fbfaf7!important;border-radius:8px!important;padding-left:10px!important;padding-right:10px!important}
html[data-theme="light"] .market-status-primary strong{color:#12304a!important}
html[data-theme="light"] .market-status-primary small,html[data-theme="light"] .market-status-source{color:#5e5a54!important}
html[data-theme="light"] .market-status-rows{border-color:#e1ddd5!important}
html[data-theme="light"] .market-status-rows>div{border-color:#ece8e0!important;color:#55524c!important}
html[data-theme="light"] .market-status-rows strong{color:#25231f!important}
html[data-theme="light"] .market-status-rows .market-status-live{color:#0c7f5c!important}

/* AI Interpretation and Signal tables use the same light table language as Watchlist. */
html[data-theme="light"] .radar-ai-label{color:#066f75!important;font-weight:950!important}
html[data-theme="light"] .radar-ai-label span{color:#5b5852!important;font-weight:700!important}
html[data-theme="light"] .radar-ai h3{color:#1f2b35!important;font-weight:800!important}
html[data-theme="light"] .radar-ai p,html[data-theme="light"] .radar-ai p.quiet{color:#504d47!important}
html[data-theme="light"] .radar-scroll{background:#fff!important;border-color:#ddd9d2!important}
html[data-theme="light"] .radar-table{background:#fff!important;color:#27251f!important}
html[data-theme="light"] .radar-table thead,html[data-theme="light"] .radar-table thead tr{background:#f5f4f0!important}
html[data-theme="light"] .radar-table th{background:#f5f4f0!important;color:#4d4a44!important;border-color:#ddd9d2!important;font-weight:850!important}
html[data-theme="light"] .radar-table tbody,html[data-theme="light"] .radar-table tbody tr,html[data-theme="light"] .radar-table td{background:#fff!important;color:#27251f!important;border-color:#e8e4dc!important}
html[data-theme="light"] .radar-table tbody tr:nth-child(even),html[data-theme="light"] .radar-table tbody tr:nth-child(even) td{background:#fbfaf7!important}
html[data-theme="light"] .radar-table tbody tr:hover,html[data-theme="light"] .radar-table tbody tr:hover td{background:#eef7f6!important}
html[data-theme="light"] .radar-table td strong{color:#12304a!important}
html[data-theme="light"] .radar-table .radar-signal-name,html[data-theme="light"] .radar-table .rule-meter span{color:#5e5a54!important}
html[data-theme="light"] .radar-table .radar-evidence{background:#fff!important;color:#066f75!important;border-color:#b7d1cf!important;font-weight:800!important}
html[data-theme="light"] .radar-table .badge{background:#f2f1ed!important;color:#45423c!important;border-color:#cec9c0!important}
html[data-theme="light"] .radar-table .badge.positive{background:#e9f7f1!important;color:#0b7453!important;border-color:#9dccb8!important}
html[data-theme="light"] .radar-table .badge.negative{background:#fff0f2!important;color:#a53f51!important;border-color:#e2b4bc!important}

/* What's New release history: never inherit dark/black rows in Light Mode. */
html[data-theme="light"] .whats-new-dialog,html[data-theme="light"] .whats-new-content{background:#fff!important;color:#24231f!important}
html[data-theme="light"] .whats-new-intro{background:#fbfaf7!important;border-color:#ddd9d2!important}
html[data-theme="light"] .whats-new-intro strong{color:#12304a!important}
html[data-theme="light"] .whats-new-intro small{color:#5d5a54!important}
html[data-theme="light"] .release-history{background:#fff!important}
html[data-theme="light"] .release-entry,html[data-theme="light"] .release-entry summary,html[data-theme="light"] .release-entry-body{background:#fff!important;color:#26241f!important}
html[data-theme="light"] .release-entry{border-color:#ddd9d2!important;box-shadow:none!important}
html[data-theme="light"] .release-entry.current,html[data-theme="light"] .release-entry.current summary{background:#eff8f7!important;border-color:#92c1be!important}
html[data-theme="light"] .release-version{color:#12304a!important;font-weight:950!important}
html[data-theme="light"] .release-summary-copy strong{color:#25231f!important;font-weight:800!important}
html[data-theme="light"] .release-summary-copy small{color:#5f5b54!important;font-weight:650!important}
html[data-theme="light"] .release-entry-body{border-color:#e7e3dc!important}
html[data-theme="light"] .release-entry-body li,html[data-theme="light"] .release-entry-body p{color:#49463f!important}
html[data-theme="light"] .release-chevron{color:#066f75!important;font-weight:950!important}
html[data-theme="light"] .release-current-badge{background:#dff2f0!important;color:#055f65!important;border-color:#8dc2be!important}
html[data-theme="light"] .release-version{background:#eef7f6!important;color:#12304a!important;border-color:#a9cfcb!important}
html[data-theme="light"] .release-entry.current .release-version{background:#dff2f0!important;color:#0a5960!important;border-color:#82b8b4!important}


/* 1.2.16-alpha — Light Mode nested-surface and capsule-detail refinement.
   This block is intentionally Light Mode only. Approved Dark Mode is untouched. */
html[data-theme="light"]{
  --mc-light-card:#fff;
  --mc-light-card-alt:#fbfaf7;
  --mc-light-line:#ddd9d2;
  --mc-light-line-strong:#c8c3ba;
  --mc-light-text:#162d42;
  --mc-light-text-2:#4f514d;
  --mc-light-muted:#67645e;
  --mc-light-teal:#066f75;
  --mc-light-teal-soft:#e9f6f4;
  --mc-light-green:#0b7a58;
  --mc-light-green-soft:#e9f7f1;
  --mc-light-red:#b34153;
  --mc-light-red-soft:#fff0f2;
}

/* Full AI Market Read: capsule metadata is a light information surface. */
html[data-theme="light"] .analysis-capsule-context,
html[data-theme="light"] .ai-capsule-context,
html[data-theme="light"] .ai-capsule-link{
  background:var(--mc-light-card-alt)!important;
  border-color:var(--mc-light-line)!important;
  color:var(--mc-light-text)!important;
  box-shadow:none!important;
}
html[data-theme="light"] .analysis-capsule-context small,
html[data-theme="light"] .ai-capsule-context small,
html[data-theme="light"] .ai-capsule-copy small{color:var(--mc-light-muted)!important;font-weight:650!important}
html[data-theme="light"] .ai-capsule-context strong,
html[data-theme="light"] .ai-capsule-copy strong{color:var(--mc-light-text)!important}
html[data-theme="light"] .ai-capsule-kicker,
html[data-theme="light"] .ai-capsule-action{color:var(--mc-light-teal)!important;font-weight:850!important}

/* Market Breadth: light semantic counters instead of dark bars. */
html[data-theme="light"] .breadth-counts>span{
  background:var(--mc-light-card)!important;
  border:1px solid var(--mc-light-line)!important;
  color:var(--mc-light-text-2)!important;
  box-shadow:none!important;
}
html[data-theme="light"] .breadth-counts>span:nth-child(1){background:var(--mc-light-green-soft)!important;border-color:#a8d6c4!important}
html[data-theme="light"] .breadth-counts>span:nth-child(1) b{color:var(--mc-light-green)!important}
html[data-theme="light"] .breadth-counts>span:nth-child(2){background:var(--mc-light-red-soft)!important;border-color:#e3b9c1!important}
html[data-theme="light"] .breadth-counts>span:nth-child(2) b{color:var(--mc-light-red)!important}
html[data-theme="light"] .breadth-counts>span:nth-child(3) b{color:#52616d!important}
html[data-theme="light"] .breadth-counts small{color:var(--mc-light-muted)!important}

/* Watchlist selector and Manage action: same light surface as the card. */
html[data-theme="light"] .watchlist-card .list-tools,
html[data-theme="light"] .full-list .list-tools{
  background:var(--mc-light-card-alt)!important;
  border:1px solid var(--mc-light-line)!important;
  color:var(--mc-light-text)!important;
}
html[data-theme="light"] .watchlist-card #list-select,
html[data-theme="light"] .full-list #list-select{
  background:#fff!important;
  color:var(--mc-light-text)!important;
  border:1px solid var(--mc-light-line-strong)!important;
}
html[data-theme="light"] .watchlist-card .list-tools button,
html[data-theme="light"] .full-list .list-tools button{
  background:#fff!important;
  color:var(--mc-light-teal)!important;
  border-color:#9dc4c1!important;
}

/* Top Movers segmented control: light segmented selector, teal selected state. */
html[data-theme="light"] .mover-controls nav{
  background:#f1f0ec!important;
  border:1px solid var(--mc-light-line)!important;
  border-radius:8px!important;
  padding:3px!important;
  gap:3px!important;
}
html[data-theme="light"] .mover-controls nav button{
  background:transparent!important;
  color:#5b5852!important;
  border:1px solid transparent!important;
  border-radius:6px!important;
  padding:5px 8px!important;
}
html[data-theme="light"] .mover-controls nav button[aria-pressed="true"]{
  background:var(--mc-light-teal-soft)!important;
  color:#055f65!important;
  border-color:#9fc9c6!important;
  box-shadow:0 1px 2px rgba(25,55,58,.05)!important;
}
html[data-theme="light"] .mover-controls .tab-count{
  background:#fff!important;
  color:#48515a!important;
  border:1px solid #cecac2!important;
}
html[data-theme="light"] .mover-controls nav button[aria-pressed="true"] .tab-count{
  background:#d9efed!important;
  color:#055f65!important;
  border-color:#9bc5c2!important;
}

/* Small overview badges/counts should never be dark-on-dark. */
html[data-theme="light"] .watchlist-card .badge,
html[data-theme="light"] .movers-card .badge,
html[data-theme="light"] .news-card .badge,
html[data-theme="light"] .card-head-actions .badge{
  background:#f4f3ef!important;
  color:#4d4a44!important;
  border-color:#d0cbc3!important;
}

/* Full Capsule Detail: every ordinary data/evidence surface becomes native Light Mode. */
html[data-theme="light"] #capsule-detail{color:var(--mc-light-text-2)!important}
html[data-theme="light"] .capsule-overview,
html[data-theme="light"] .capsule-detail-section,
html[data-theme="light"] .capsule-technical,
html[data-theme="light"] .capsule-evidence-section{border-color:var(--mc-light-line)!important}
html[data-theme="light"] .capsule-detail-hero .badge{
  background:#edf7f6!important;
  color:#075f66!important;
  border-color:#a6cfcc!important;
  font-weight:850!important;
}
html[data-theme="light"] .capsule-detail-hero h3{color:var(--mc-light-text)!important}
html[data-theme="light"] .capsule-detail-hero p{color:var(--mc-light-muted)!important;font-weight:650!important}

html[data-theme="light"] .capsule-summary-grid>div,
html[data-theme="light"] .capsule-tech-grid>div,
html[data-theme="light"] .capsule-evidence-stat{
  background:var(--mc-light-card)!important;
  border-color:var(--mc-light-line)!important;
  box-shadow:0 1px 2px rgba(25,35,40,.025)!important;
}
html[data-theme="light"] .capsule-summary-grid dt,
html[data-theme="light"] .capsule-tech-grid dt,
html[data-theme="light"] .capsule-evidence-stat span{
  color:#5e6a72!important;
  font-weight:800!important;
}
html[data-theme="light"] .capsule-summary-grid dd,
html[data-theme="light"] .capsule-tech-grid dd,
html[data-theme="light"] .capsule-evidence-stat strong{
  color:var(--mc-light-text)!important;
  font-weight:800!important;
}
html[data-theme="light"] .capsule-evidence-stat small{color:var(--mc-light-muted)!important;font-weight:600!important}

html[data-theme="light"] .capsule-section-title,
html[data-theme="light"] .capsule-frozen-header .eyebrow{
  color:var(--mc-light-teal)!important;
  font-weight:950!important;
}
html[data-theme="light"] .capsule-frozen-header h3,
html[data-theme="light"] .capsule-evidence-section h4{
  color:var(--mc-light-text)!important;
  font-weight:850!important;
}
html[data-theme="light"] .capsule-frozen-header p,
html[data-theme="light"] .capsule-evidence-section>p{
  color:#5d6570!important;
  font-weight:550!important;
}
html[data-theme="light"] .capsule-technical>summary{
  color:#355468!important;
  font-weight:850!important;
}
html[data-theme="light"] .capsule-technical>summary::after{color:var(--mc-light-teal)!important}

/* Available Data Groups: light cards + readable semantic status pills. */
html[data-theme="light"] .capsule-data-group{
  background:var(--mc-light-card)!important;
  border-color:var(--mc-light-line)!important;
  color:var(--mc-light-text)!important;
}
html[data-theme="light"] .capsule-data-group strong{color:var(--mc-light-text)!important;font-weight:800!important}
html[data-theme="light"] .capsule-data-group p{color:var(--mc-light-muted)!important;font-weight:550!important}
html[data-theme="light"] .capsule-data-group>span{
  background:var(--mc-light-green-soft)!important;
  color:#087653!important;
  border-color:#9dceb9!important;
  font-weight:900!important;
}
html[data-theme="light"] .capsule-data-group.is-unavailable>span{
  background:#f1f1ee!important;
  color:#5e6468!important;
  border-color:#cfcac2!important;
}
html[data-theme="light"] .capsule-data-group.is-loading>span{
  background:#fff7e6!important;
  color:#8a621a!important;
  border-color:#dec58e!important;
}

/* Captured Quotes table: light table, readable labels and values. */
html[data-theme="light"] .capsule-quote-table-wrap{
  background:#fff!important;
  border-color:var(--mc-light-line-strong)!important;
}
html[data-theme="light"] .capsule-quote-table{background:#fff!important;color:var(--mc-light-text)!important}
html[data-theme="light"] .capsule-quote-table th{
  background:#eef4f3!important;
  color:#35515f!important;
  border-color:#d7ddd9!important;
  font-weight:900!important;
}
html[data-theme="light"] .capsule-quote-table td{
  background:#fff!important;
  color:var(--mc-light-text)!important;
  border-color:#e5e1da!important;
}
html[data-theme="light"] .capsule-quote-table tbody tr:nth-child(even) td{background:#fbfaf7!important}
html[data-theme="light"] .capsule-quote-table td strong{color:#24506b!important}
html[data-theme="light"] .capsule-quote-table td small{color:#5f625e!important;font-weight:550!important}
html[data-theme="light"] .capsule-quote-table td.up{color:var(--mc-light-green)!important;font-weight:800!important}
html[data-theme="light"] .capsule-quote-table td.down{color:var(--mc-light-red)!important;font-weight:800!important}

/* Attached news in Capsule Detail follows the same light card system. */
html[data-theme="light"] .capsule-news-list li{
  background:var(--mc-light-card-alt)!important;
  border-color:var(--mc-light-line)!important;
}
html[data-theme="light"] .capsule-news-list strong{color:var(--mc-light-text)!important}
html[data-theme="light"] .capsule-news-list span{color:var(--mc-light-muted)!important}

/* Intentional exception: U.S. Market Session header stays dark, popover remains light. */
html[data-theme="light"] .header-market-status{background:#091724!important;border-color:#1e4054!important;color:#c9d8e5!important}
html[data-theme="light"] .header-market-status:hover,
html[data-theme="light"] .header-market-status.is-open{background:#0c2230!important;border-color:#2b7180!important}
html[data-theme="light"] .header-market-copy strong{color:#dce8f2!important}
html[data-theme="light"] .header-market-copy small{color:#72899f!important}
html[data-theme="light"] .header-market-chevron{color:#60798f!important}


/* 1.2.16-alpha amendment — final Light Mode badge/brand contrast pass.
   Fixes the four remaining AI pills and strengthens the radar mark. Dark Mode unchanged. */
html[data-theme="light"] .ai-meta .badge{
  background:#f4f3ef!important;
  color:#24384a!important;
  border-color:#c7c4bc!important;
  font-weight:900!important;
}
html[data-theme="light"] .ai-meta .ai-generated{
  background:#e7f5f3!important;
  color:#075f66!important;
  border-color:#8fc4c0!important;
}
html[data-theme="light"] .ai-meta .confidence-high{
  background:#e9f7f1!important;
  color:#0b7453!important;
  border-color:#9dccb8!important;
}
html[data-theme="light"] .ai-meta .confidence-medium{
  background:#fff6dc!important;
  color:#705815!important;
  border-color:#d9bf72!important;
}
html[data-theme="light"] .ai-meta .confidence-low{
  background:#fff0f2!important;
  color:#a53f51!important;
  border-color:#e2b4bc!important;
}
html[data-theme="light"] #radar-coverage{
  background:#e7f5f3!important;
  color:#075f66!important;
  border-color:#8fc4c0!important;
  font-weight:900!important;
}
html[data-theme="light"] #radar-view-all{
  background:#087f83!important;
  color:#fff!important;
  border-color:#087f83!important;
  font-weight:900!important;
}
html[data-theme="light"] #radar-view-all:hover,
html[data-theme="light"] #radar-view-all:focus-visible,
html[data-theme="light"] #radar-view-all[aria-pressed="true"]{
  background:#056b70!important;
  color:#fff!important;
  border-color:#056b70!important;
}
html[data-theme="light"] .brand-mark{
  opacity:1!important;
  filter:saturate(1.75) contrast(1.55) brightness(.50)!important;
}

/* 1.2.17-alpha — final Light Mode legacy surface and interactive-state cleanup.
   Ordinary inputs, selectors and list rows stay in the canonical light system.
   The approved dark U.S. Market Session header remains an intentional exception. */
html[data-theme="light"]{
  --mc-control-bg:#fff;
  --mc-control-text:#173047;
  --mc-control-placeholder:#76736c;
  --mc-control-border:#c9c5bd;
  --mc-control-hover:#f1f7f6;
  --mc-control-focus:#087f83;
  --mc-row-hover:#eef7f6;
  --mc-row-selected:#e6f3f2;
}

/* Personal Lists modal: remove the remaining dark list-name field. */
html[data-theme="light"] #lists-dialog #list-name,
html[data-theme="light"] #list-form input{
  background:var(--mc-control-bg)!important;
  color:var(--mc-control-text)!important;
  border-color:var(--mc-control-border)!important;
  box-shadow:none!important;
}
html[data-theme="light"] #lists-dialog #list-name::placeholder,
html[data-theme="light"] #list-form input::placeholder{
  color:var(--mc-control-placeholder)!important;
  opacity:1!important;
}
html[data-theme="light"] #lists-dialog #list-name:hover,
html[data-theme="light"] #list-form input:hover{
  background:#fff!important;
  border-color:#aaa69d!important;
}
html[data-theme="light"] #lists-dialog #list-name:focus,
html[data-theme="light"] #lists-dialog #list-name:focus-visible,
html[data-theme="light"] #list-form input:focus,
html[data-theme="light"] #list-form input:focus-visible{
  background:#fff!important;
  color:var(--mc-control-text)!important;
  border-color:var(--mc-control-focus)!important;
  outline:2px solid rgba(8,127,131,.16)!important;
  outline-offset:1px!important;
}

/* Explore Instruments: search/filter controls are light in every interaction state. */
html[data-theme="light"] #instrument-dialog .dialog-filters input,
html[data-theme="light"] #instrument-dialog .dialog-filters select,
html[data-theme="light"] #instrument-dialog #search,
html[data-theme="light"] #instrument-dialog #catalog-type,
html[data-theme="light"] #instrument-dialog #catalog-category,
html[data-theme="light"] #instrument-dialog #catalog-exchange,
html[data-theme="light"] #instrument-dialog #catalog-list-select{
  background:var(--mc-control-bg)!important;
  color:var(--mc-control-text)!important;
  border-color:var(--mc-control-border)!important;
  box-shadow:none!important;
}
html[data-theme="light"] #instrument-dialog #search::placeholder{
  color:var(--mc-control-placeholder)!important;
  opacity:1!important;
}
html[data-theme="light"] #instrument-dialog .dialog-filters input:hover,
html[data-theme="light"] #instrument-dialog .dialog-filters select:hover,
html[data-theme="light"] #instrument-dialog .catalog-context-control select:hover{
  background:#fff!important;
  border-color:#aaa69d!important;
}
html[data-theme="light"] #instrument-dialog .dialog-filters input:focus,
html[data-theme="light"] #instrument-dialog .dialog-filters input:focus-visible,
html[data-theme="light"] #instrument-dialog .dialog-filters select:focus,
html[data-theme="light"] #instrument-dialog .dialog-filters select:focus-visible,
html[data-theme="light"] #instrument-dialog .catalog-context-control select:focus,
html[data-theme="light"] #instrument-dialog .catalog-context-control select:focus-visible{
  background:#fff!important;
  color:var(--mc-control-text)!important;
  border-color:var(--mc-control-focus)!important;
  outline:2px solid rgba(8,127,131,.16)!important;
  outline-offset:1px!important;
}

/* Save-to-Watchlist context: remove the last dark container. */
html[data-theme="light"] #instrument-dialog .catalog-context-row,
html[data-theme="light"] #instrument-dialog .catalog-context-control{
  color:var(--mc-control-text)!important;
}
html[data-theme="light"] #instrument-dialog .catalog-context-control{
  background:#fbfaf7!important;
  border-color:var(--mc-light-line)!important;
  box-shadow:none!important;
}
html[data-theme="light"] #instrument-dialog .catalog-context-control>span{
  color:#066f75!important;
  font-weight:900!important;
}
html[data-theme="light"] #instrument-dialog .catalog-save-status{
  color:#4f615f!important;
}

/* Instrument result rows and Watchlist actions: no dark interaction surfaces. */
html[data-theme="light"] #catalog-results .quote-row,
html[data-theme="light"] #catalog-results .quote-row-chart{
  background:#fff!important;
  color:var(--mc-control-text)!important;
  border-color:#e5e1d9!important;
}
html[data-theme="light"] #catalog-results .quote-row:hover,
html[data-theme="light"] #catalog-results .quote-row:focus-within,
html[data-theme="light"] #catalog-results .quote-row:hover .quote-row-chart,
html[data-theme="light"] #catalog-results .quote-row:focus-within .quote-row-chart{
  background:var(--mc-row-hover)!important;
}
html[data-theme="light"] #catalog-results .symbol-name strong,
html[data-theme="light"] #catalog-results .row-value strong{
  color:#173047!important;
}
html[data-theme="light"] #catalog-results .symbol-name small,
html[data-theme="light"] #catalog-results .catalog-price,
html[data-theme="light"] #catalog-results .row-value small{
  color:#5f5c56!important;
}
html[data-theme="light"] #catalog-results button[data-watch]{
  background:#fff!important;
  color:#173047!important;
  border-color:#8f9cac!important;
}
html[data-theme="light"] #catalog-results button[data-watch]:hover,
html[data-theme="light"] #catalog-results button[data-watch]:focus-visible{
  background:#eaf6f5!important;
  color:#055f65!important;
  border-color:#6ba8a5!important;
}
html[data-theme="light"] #catalog-results button[data-watch][aria-pressed="true"]{
  background:#dff2ef!important;
  color:#075f66!important;
  border-color:#85bdb8!important;
}

/* Market News: default, hover, focus and active states remain light. */
html[data-theme="light"] .news-card .news-item,
html[data-theme="light"] .full-news-list .news-item{
  background:#fff!important;
  color:#1f1e1a!important;
  border-color:#e5e1d9!important;
}
html[data-theme="light"] .news-card .news-item:hover,
html[data-theme="light"] .news-card .news-item:focus,
html[data-theme="light"] .news-card .news-item:focus-visible,
html[data-theme="light"] .news-card .news-item:active,
html[data-theme="light"] .full-news-list .news-item:hover,
html[data-theme="light"] .full-news-list .news-item:focus,
html[data-theme="light"] .full-news-list .news-item:focus-visible,
html[data-theme="light"] .full-news-list .news-item:active{
  background:var(--mc-row-hover)!important;
  color:#1f1e1a!important;
  border-color:#acd0cd!important;
  outline:none!important;
}
html[data-theme="light"] .news-card .news-item:focus-visible,
html[data-theme="light"] .full-news-list .news-item:focus-visible{
  box-shadow:0 0 0 2px rgba(8,127,131,.18)!important;
}
html[data-theme="light"] .news-card .news-item h3,
html[data-theme="light"] .full-news-list .news-item h3{
  color:#1f1e1a!important;
}
html[data-theme="light"] .news-card .news-item:hover h3,
html[data-theme="light"] .news-card .news-item:focus-visible h3,
html[data-theme="light"] .full-news-list .news-item:hover h3,
html[data-theme="light"] .full-news-list .news-item:focus-visible h3{
  color:#173047!important;
}

/* Protected intentional dark accent. */
html[data-theme="light"] .header-market-status{
  background:#091724!important;
  border-color:#1e4054!important;
}

/* Modal button press states also remain in the Light Mode control system. */
html[data-theme="light"] #lists-dialog button:active:not(:disabled),
html[data-theme="light"] #instrument-dialog button:active:not(:disabled){
  background:#eaf6f5!important;
  color:#12304a!important;
  border-color:#6ba8a5!important;
}

/* 1.2.17-alpha amendment — SVG-backed Command icons.
   Critical Command navigation/card icons are inline so missing asset paths cannot render broken-image boxes. */
.mc-inline-icon{display:block;overflow:visible;color:#22d3ee}
.rail-link-icon .mc-inline-icon{width:1.08rem!important;height:1.08rem!important;flex:0 0 1.08rem}
.rail-link-icon .mc-icon-macro-treasury{color:#f48fa1}
.card-title .mc-inline-icon{width:16px;height:16px;flex:0 0 16px;color:#22d3ee}
.timeline-title .card-title .mc-inline-icon{width:15px;height:15px;flex-basis:15px}
.strategy-icon .mc-inline-icon{width:20px;height:20px;color:#72d4d5}
.macro-compact-head .mc-inline-icon{width:15px;height:15px;flex:0 0 15px}
@media(max-width:560px){.strategy-icon .mc-inline-icon{width:18px;height:18px}}
@media(max-width:850px){.card-title .mc-inline-icon{width:14px;height:14px;flex-basis:14px}}
body.mc-rail-collapsed .rail-link-icon .mc-inline-icon{width:1.08rem!important;height:1.08rem!important;flex-basis:1.08rem!important}
html[data-theme="light"] .card-title .mc-inline-icon{color:#087f83}
html[data-theme="light"] .rail-link-icon .mc-inline-icon{color:inherit;opacity:1}
html[data-theme="light"] .rail-link-icon .mc-icon-macro-treasury{color:#bd5169}
html[data-theme="light"] .strategy-icon .mc-inline-icon{color:#087f83}
.brand-mark.mc-brand-radar{color:#22d3ee;object-fit:initial;filter:none!important}
html[data-theme="light"] .brand-mark.mc-brand-radar{color:#087f83!important;filter:none!important}

/* 1.2.20-alpha amendment — compact Light Mode notification control and high-contrast account initials.
   The notification affordance stays subtle on the cream canvas while the account initials mirror
   the intentional dark U.S. Market Session status language. Dark Mode is unchanged. */
html[data-theme="light"] .notification-button{
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  padding:5px!important;
  border-radius:50%!important;
  background:#edf6f5!important;
  color:#173047!important;
  border:1px solid #c4d9d7!important;
  box-shadow:none!important;
}
html[data-theme="light"] .notification-button svg{
  width:17px!important;
  height:17px!important;
}
html[data-theme="light"] .notification-button:hover,
html[data-theme="light"] .notification-button:focus-visible,
html[data-theme="light"] .notification-button.is-open{
  background:#dff0ee!important;
  color:#075f66!important;
  border-color:#8dbdb9!important;
}
html[data-theme="light"] .notification-dot{
  width:6px!important;
  height:6px!important;
  right:2px!important;
  top:1px!important;
  background:#0aa6a6!important;
  box-shadow:0 0 0 2px #fbfaf7!important;
}
html[data-theme="light"] .avatar{
  background:#091724!important;
  color:#fff!important;
  border-color:#1e4054!important;
  box-shadow:none!important;
  font-weight:850!important;
}
html[data-theme="light"] .avatar:hover,
html[data-theme="light"] .avatar:focus-visible,
html[data-theme="light"] .avatar.is-open{
  background:#0c2230!important;
  color:#fff!important;
  border-color:#2b7180!important;
}


/* 1.2.20 amendment — keep all Market Universe tabs on one visual baseline. */
.asset-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.asset-tabs .tab-icon{margin-right:0;vertical-align:0;line-height:0;flex:0 0 17px;align-self:center}
.asset-tabs .tab-coin{display:inline-grid;place-items:center;align-self:center;width:16px;height:16px;line-height:1;transform:none}


/* 1.2.22-alpha — one canonical Watchlist workspace and unclipped Explore Instruments results. */
.full-watchlist-toolbar{display:flex;align-items:end;justify-content:space-between;gap:12px;padding:14px 16px;margin-bottom:10px;border:1px solid #1b3447;border-radius:9px;background:#091522}
.full-watchlist-toolbar label{display:grid;gap:5px;min-width:min(360px,52%)}.full-watchlist-toolbar label>span{font-size:7px;letter-spacing:.13em;font-weight:850;color:#67d9d5}.full-watchlist-toolbar select{width:100%;max-width:none}.full-watchlist-actions{display:flex;align-items:center;gap:8px}.full-watchlist-list{border:1px solid #1b3447;border-radius:9px;overflow:hidden}.full-watchlist-list .quote-row:first-child{border-top:0}
#instrument-dialog{width:min(1100px,calc(100vw - 36px));max-width:1100px;padding:0;overflow:hidden}
#instrument-dialog .dialog-head{padding-left:28px;padding-right:28px}
#instrument-dialog .dialog-filters{display:grid;grid-template-columns:minmax(300px,1fr) 132px 170px;gap:12px;padding:20px 24px 12px}
#instrument-dialog .dialog-filters input,#instrument-dialog .dialog-filters select{width:100%;max-width:none;min-width:0}
#instrument-dialog .catalog-context-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:4px 24px 6px}
#instrument-dialog .panel-note,#instrument-dialog .catalog-save-status{margin-left:24px;margin-right:24px;padding-left:0;padding-right:0}
#instrument-dialog #catalog-results{padding:8px 24px 4px;overflow-x:hidden}
#instrument-dialog #catalog-results .quote-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(170px,auto);align-items:center;gap:18px;width:100%;padding:13px 0;border-top:1px solid #203047}
#instrument-dialog #catalog-results .quote-row:first-child{border-top:0}
#instrument-dialog #catalog-results .symbol-name{min-width:0;overflow:hidden}
#instrument-dialog #catalog-results .symbol-name small{max-width:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#instrument-dialog #catalog-results .catalog-price{min-width:0;overflow-wrap:anywhere}
#instrument-dialog #catalog-results button[data-watch]{justify-self:end;width:auto;min-width:150px;max-width:210px;margin:0;white-space:normal}
#instrument-dialog .catalog-pages{padding:10px 24px 18px}
html[data-theme="light"] .full-watchlist-toolbar{background:#fbfaf7!important;border-color:#dedad2!important}html[data-theme="light"] .full-watchlist-toolbar label>span{color:#066f75!important}html[data-theme="light"] .full-watchlist-list{border-color:#e1ddd5!important}
@media(max-width:850px){#instrument-dialog .dialog-filters{grid-template-columns:1fr 1fr;padding-left:18px;padding-right:18px}#instrument-dialog .dialog-filters input{grid-column:1/-1}#instrument-dialog .catalog-context-row{margin-left:18px;margin-right:18px}#instrument-dialog #catalog-results{padding-left:18px;padding-right:18px}#instrument-dialog .panel-note,#instrument-dialog .catalog-save-status{margin-left:18px;margin-right:18px}.full-watchlist-toolbar{align-items:stretch;flex-direction:column}.full-watchlist-toolbar label{min-width:0;width:100%}.full-watchlist-actions{justify-content:space-between}}
@media(max-width:620px){#instrument-dialog{width:calc(100vw - 16px)}#instrument-dialog .dialog-filters{grid-template-columns:1fr}#instrument-dialog .dialog-filters input{grid-column:auto}#instrument-dialog .catalog-context-row{grid-template-columns:1fr}#instrument-dialog #catalog-results .quote-row{grid-template-columns:1fr;gap:9px}#instrument-dialog #catalog-results button[data-watch]{justify-self:start;width:100%;max-width:none}}

/* 1.2.22-alpha amendment — canonical full Watchlist Light Mode surfaces. */
html[data-theme="light"] .full-watchlist-list{background:#fff!important;border-color:#dedad2!important}
html[data-theme="light"] .full-watchlist-list .quote-row{background:#fff!important;border-color:#e7e3dc!important;color:#1f1e1a!important}
html[data-theme="light"] .full-watchlist-list .quote-row-chart{background:#fff!important;color:#1f1e1a!important}
html[data-theme="light"] .full-watchlist-list .quote-row-chart:hover,
html[data-theme="light"] .full-watchlist-list .quote-row-chart:focus-visible{background:#f1f7f6!important}
html[data-theme="light"] .full-watchlist-list .remove-watch{background:#fff!important;color:#41413d!important;border-color:#e7e3dc!important}
html[data-theme="light"] .full-watchlist-list .remove-watch:hover,
html[data-theme="light"] .full-watchlist-list .remove-watch:focus-visible{background:#f1f7f6!important;color:#066f75!important}
html[data-theme="light"] .full-watchlist-list .watch-missing{background:#eef7f6!important;color:#506568!important;border-left-color:#5baaa8!important}
html[data-theme="light"] .full-watchlist-toolbar select{background:#fff!important;color:#1f1e1a!important;border-color:#cfcbc3!important}
html[data-theme="light"] .full-watchlist-actions button{background:#fff!important;color:#066f75!important;border-color:#9dc4c1!important}


/* 1.2.22-alpha — Explore Instruments owns a protected scroll region and footer.
   Keep Previous / Next inside the dialog at every supported Command viewport. */
#instrument-dialog[open]{
  display:flex;
  flex-direction:column;
  max-height:calc(100dvh - 24px);
  overflow:hidden;
}
#instrument-dialog[open] .dialog-head,
#instrument-dialog[open] .dialog-filters,
#instrument-dialog[open] .catalog-context-row,
#instrument-dialog[open] .panel-note,
#instrument-dialog[open] .catalog-save-status,
#instrument-dialog[open] .catalog-pages{
  flex:0 0 auto;
}
#instrument-dialog[open] #catalog-results{
  flex:1 1 auto;
  min-height:120px;
  max-height:none;
  overflow-y:auto;
  overscroll-behavior:contain;
}
#instrument-dialog .catalog-pages{
  margin:0;
  border-top:1px solid #203047;
  background:#0b1724;
  position:relative;
  z-index:2;
}
#instrument-dialog .catalog-pages button{
  min-width:108px;
}
html[data-theme="light"] #instrument-dialog .catalog-pages{
  background:#fbfaf7!important;
  border-top-color:#ddd9d2!important;
}
html[data-theme="light"] #instrument-dialog .catalog-pages button{
  background:#fff!important;
  color:#173047!important;
  border-color:#9aa6b4!important;
}
html[data-theme="light"] #instrument-dialog .catalog-pages button:hover:not(:disabled),
html[data-theme="light"] #instrument-dialog .catalog-pages button:focus-visible:not(:disabled){
  background:#eaf6f5!important;
  color:#055f65!important;
  border-color:#6ba8a5!important;
}
html[data-theme="light"] #instrument-dialog .catalog-pages button:disabled{
  background:#f3f1ec!important;
  color:#8b8983!important;
  border-color:#d8d4cc!important;
  opacity:1!important;
}

/* Full Watchlist count must use a native Light Mode badge, not a dark pill. */
html[data-theme="light"] .full-watchlist-count{
  background:#e7f5f3!important;
  color:#075f66!important;
  border-color:#8fc4c0!important;
  font-weight:900!important;
}


/* 1.2.23-alpha — Signal Evidence Light Mode + canonical Watchlist management. */
html[data-theme="light"] #radar-dialog{background:#fff!important;color:#1b2f42!important;border-color:#d9e0e3!important}
html[data-theme="light"] #radar-dialog .dialog-head{background:#fbfaf7!important;border-bottom-color:#dfe4e6!important}
html[data-theme="light"] #radar-detail>.badge{background:#e6f5f3!important;color:#075f66!important;border-color:#8fc4c0!important}
html[data-theme="light"] #radar-detail h3,html[data-theme="light"] #radar-detail h4{color:#16334a!important}
html[data-theme="light"] #radar-detail .evidence-grid>div{background:#fff!important;color:#4b5d68!important;border:1px solid #d9e1e4!important;box-shadow:0 1px 2px rgba(16,38,54,.04)}
html[data-theme="light"] #radar-detail .evidence-grid strong{color:#173047!important}
html[data-theme="light"] #radar-detail .evidence-grid>div:nth-child(3) strong,html[data-theme="light"] #radar-detail .evidence-grid>div:nth-child(4) strong{color:#a13a42!important}
html[data-theme="light"] #radar-detail .signal-observed{color:#374f60!important}
html[data-theme="light"] #radar-detail .signal-observed strong{color:#173047!important}
html[data-theme="light"] #radar-detail .signal-disclaimer{color:#596b76!important}
.watchlist-manage-dialog{width:min(520px,calc(100vw - 28px))}.watchlist-manage-body{padding:20px;display:grid;gap:14px}.watchlist-manage-body label{display:grid;gap:6px}.watchlist-manage-body label>span{font-size:8px;letter-spacing:.12em;font-weight:850;color:#67d9d5}.watchlist-manage-body input{width:100%;max-width:none}.watchlist-manage-actions{display:flex;flex-wrap:wrap;gap:9px}.watchlist-manage-actions .danger{border-color:#83404a;color:#ff9ba6}.full-watchlist-manage{white-space:nowrap}
html[data-theme="light"] .watchlist-manage-dialog{background:#fff!important;color:#1f1e1a!important;border-color:#dedad2!important}html[data-theme="light"] .watchlist-manage-dialog .dialog-head{background:#fbfaf7!important;border-bottom-color:#dedad2!important}html[data-theme="light"] .watchlist-manage-body label>span{color:#066f75!important}html[data-theme="light"] .watchlist-manage-body input{background:#fff!important;color:#1f1e1a!important;border-color:#cfcac1!important}html[data-theme="light"] .watchlist-manage-actions .danger{background:#fff6f6!important;color:#9b3340!important;border-color:#d6a0a6!important}
.command-update-indicator{position:fixed;right:18px;bottom:18px;z-index:70;padding:7px 10px;border-radius:999px;background:#0c2230;color:#b7f3ef;border:1px solid #245267;font-size:11px;box-shadow:0 8px 24px rgba(0,0,0,.18);opacity:0;pointer-events:none;transform:translateY(5px);transition:opacity .2s ease,transform .2s ease}.command-update-indicator.is-visible{opacity:.96;transform:none}html[data-theme="light"] .command-update-indicator{background:#fff;color:#075f66;border-color:#9dc4c1}
.mc-value-updated{animation:mcSoftUpdate .35s ease}@keyframes mcSoftUpdate{from{background-color:rgba(43,180,168,.12)}to{background-color:transparent}}

/* 1.2.35-alpha Rates & Volatility provider provenance */
.macro-rates .macro-row-copy,.macro-volatility .macro-row-copy{min-width:0}.macro-rate-source{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5f7b91;font-size:5.4px;font-style:normal;font-weight:500;line-height:1.05}.macro-rates .macro-gauge-row,.macro-volatility .macro-gauge-row{grid-template-rows:auto auto;min-height:42px}.macro-chart-ranges [data-range="official"]{min-width:max-content}
html[data-theme="light"] .macro-rate-source{color:#64748b!important}
@media(max-width:850px){.macro-rate-source{font-size:5.2px}.macro-rates .macro-gauge-row,.macro-volatility .macro-gauge-row{min-height:42px}}

/* 1.2.35: hidden Macro range actions must remain hidden even when button display rules apply. */
.macro-chart-ranges button[hidden]{display:none!important}


/* 1.2.45-alpha · compact managed Rates / Volatility movement gauges */
.macro-rates .macro-gauge-row,.macro-volatility .macro-gauge-row{grid-template-columns:minmax(88px,.95fr) minmax(105px,1.2fr);grid-template-rows:1fr;min-height:38px!important;padding:3px 2px!important;column-gap:7px;align-items:center}
.macro-rates .macro-row-copy,.macro-volatility .macro-row-copy{display:grid;grid-row:auto;gap:1px;min-width:0}
.macro-rates .macro-row-copy strong,.macro-volatility .macro-row-copy strong{font-size:9px!important;line-height:1.05}
.macro-rates .macro-row-copy small,.macro-volatility .macro-row-copy small{font-size:9.6px!important;line-height:1.05;font-weight:650;color:#b8c7d5!important;white-space:nowrap}
.macro-rates .macro-row-copy i,.macro-volatility .macro-row-copy i{font-size:7.1px;font-weight:800;margin-left:3px}
.macro-gauge-cell{display:grid;grid-template-rows:auto 6px auto;gap:1px;min-width:0;align-items:center}
.macro-gauge-scale{display:flex;align-items:center;justify-content:space-between;color:#758b9f;font-size:5.2px;line-height:1;font-variant-numeric:tabular-nums}
.macro-gauge-scale strong{color:#8aa0b4!important;font-size:5.2px!important;font-weight:700}
.macro-rates .macro-gauge,.macro-volatility .macro-gauge{position:relative;height:5px;border-radius:999px;box-shadow:inset 0 0 0 1px #213c50;overflow:visible}
.macro-treasury-gauge{background:linear-gradient(90deg,#3a8f78 0%,#6b857e 44%,#6b7680 56%,#c34f62 100%)}
.macro-vix-gauge{background:linear-gradient(90deg,#47bf88 0%,#77cc79 25%,#d8c75e 48%,#df944f 70%,#d84f5f 100%)}
.macro-gauge-center{position:absolute;left:50%;top:-2px;bottom:-2px;width:1px;background:rgba(210,224,236,.6);transform:translateX(-.5px)}
.macro-rates .macro-gauge-thumb,.macro-volatility .macro-gauge-thumb{position:absolute;left:var(--gauge-pos);top:50%;width:7px;height:7px;transform:translate(-50%,-50%);border:1.5px solid #e7f3f7;border-radius:50%;background:#0c1824;box-shadow:0 0 5px rgba(107,224,219,.18)}
.macro-gauge-state{text-align:center;color:#8299ad;font-size:5.8px;line-height:1;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.macro-gauge-state.up{color:#48d29e}.macro-gauge-state.down{color:#f16676}.macro-gauge-state.vix-elevated{color:#d6a452}
.macro-rate-source{display:none!important}
html[data-theme="light"] .macro-rates .macro-row-copy small,.macro-volatility .macro-row-copy small{color:#38485a!important}
html[data-theme="light"] .macro-gauge-scale{color:#718096!important}
html[data-theme="light"] .macro-gauge-scale strong{color:#526174!important}
html[data-theme="light"] .macro-rates .macro-gauge,.macro-volatility .macro-gauge{box-shadow:inset 0 0 0 1px #c8d5df}
html[data-theme="light"] .macro-rates .macro-gauge-thumb,.macro-volatility .macro-gauge-thumb{border-color:#ffffff;background:#526174;box-shadow:0 1px 3px rgba(15,23,42,.18)}
html[data-theme="light"] .macro-gauge-center{background:rgba(82,97,116,.48)}
@media(max-width:850px){.macro-rates .macro-gauge-row,.macro-volatility .macro-gauge-row{grid-template-columns:minmax(82px,.92fr) minmax(98px,1.08fr);column-gap:6px}.macro-gauge-state{font-size:5.5px}.macro-gauge-scale,.macro-gauge-scale strong{font-size:4.9px!important}}

/* 1.2.37 Live Macro display mode */
.macro-mode-wrap{display:flex;align-items:center;gap:8px;min-width:0}
.macro-mode-toggle{display:inline-flex;align-items:center;padding:2px;border:1px solid var(--line,#26354a);border-radius:999px;background:color-mix(in srgb,var(--panel,#101a2b) 82%,transparent)}
.macro-mode-toggle button{border:0;background:transparent;color:var(--muted,#8da0b8);font:700 10px/1 system-ui;padding:6px 9px;border-radius:999px;cursor:pointer;text-transform:uppercase;letter-spacing:.06em}
.macro-mode-toggle button[aria-pressed="true"]{background:var(--accent,#2084ff);color:#fff;box-shadow:0 2px 8px rgba(32,132,255,.22)}
.macro-mode-status{font-size:10px;color:var(--muted,#8da0b8);white-space:nowrap}
.macro-mode-status.stale{color:#e3a23b}
[data-theme="light"] .macro-mode-toggle{background:#f4f7fb;border-color:#d7e0eb}
@media(max-width:900px){.macro-rail-toolbar{gap:8px;flex-wrap:wrap}.macro-mode-wrap{order:-1;width:100%}}

/* 1.2.41-alpha · Macro education popover */
.macro-info-trigger{width:18px!important;height:18px!important;display:grid!important;place-items:center!important;padding:0!important;border:1px solid #28566a!important;border-radius:50%!important;background:#0a1b29!important;color:#76e4df!important;font:800 10px/1 system-ui!important;flex:0 0 18px}.macro-info-trigger:hover,.macro-info-trigger:focus-visible,.macro-info-trigger[aria-expanded="true"]{background:#123345!important;border-color:#4c8994!important;color:#a7faf5!important}.macro-info-popover{position:fixed;z-index:65;max-height:min(520px,calc(100vh - 24px));overflow:auto;padding:14px;border:1px solid #1c5067;border-radius:11px;background:linear-gradient(145deg,#0b1a29,#081522);box-shadow:0 24px 70px rgba(0,0,0,.5),0 0 0 1px rgba(40,221,232,.05);color:#e7eff9}.macro-info-popover[hidden]{display:none!important}.macro-info-content{display:grid;gap:11px;margin-top:10px}.macro-info-list{display:grid;gap:8px}.macro-info-list section{padding:9px 10px;border:1px solid #18384c;border-radius:8px;background:#091725}.macro-info-list strong{display:block;color:#e7f1f8;font-size:11px}.macro-info-list p{margin:4px 0 5px;color:#a9bccd;font-size:9.5px;line-height:1.48}.macro-info-list small{display:inline-block;color:#63d9d5;font-size:8px;font-weight:800;letter-spacing:.02em}.macro-info-relationship{padding:9px 10px;border:1px solid #28566a;border-radius:8px;background:#0b2430;color:#9ff0eb;font-size:9px;font-weight:800;line-height:1.45}.macro-energy .macro-group-head strong{font-size:9.3px!important;letter-spacing:-.01em}.macro-group-head>.macro-info-trigger{margin-top:1px}
html[data-theme="light"] .macro-info-popover{background:#fff!important;border-color:#d7d5ce!important;box-shadow:0 20px 50px rgba(30,27,20,.13);color:#22211e!important}html[data-theme="light"] .macro-info-list section{background:#fbfaf7!important;border-color:#e3e0d9!important}html[data-theme="light"] .macro-info-list strong{color:#24231f!important}html[data-theme="light"] .macro-info-list p{color:#66635d!important}html[data-theme="light"] .macro-info-list small{color:#087f83!important}html[data-theme="light"] .macro-info-relationship{background:#edf7f6!important;border-color:#b9d9d6!important;color:#086f73!important}html[data-theme="light"] .macro-info-trigger{background:#fff!important;color:#087f83!important;border-color:#a9cfcd!important}
@media(max-width:850px){.macro-energy .macro-group-head strong{font-size:8.8px!important}}

/* 1.2.45-alpha · dedicated Volatility card keeps the primary VIX gauge plus two compact market-history rows aligned with the Macro rail. */
.macro-volatility-rows{gap:0}.macro-volatility .macro-gauge-row{border-bottom:1px solid #132a3b}.macro-volatility .macro-quote-row{min-height:48px}.macro-volatility .macro-group-head strong{font-size:9.6px!important}
html[data-theme="light"] .macro-volatility .macro-gauge-row{border-color:#ece9e2}


/* 1.2.51-alpha · Macro gauge readability + concise semantics footer */
.macro-rates .macro-gauge-scale,.macro-volatility .macro-gauge-scale{color:#a9bed0;font-size:6.4px;font-weight:700;line-height:1.05}
.macro-rates .macro-gauge-scale strong,.macro-volatility .macro-gauge-scale strong{color:#d0deea!important;font-size:6.4px!important;font-weight:850}
.macro-rates .macro-gauge-state,.macro-volatility .macro-gauge-state{color:#b8c9d8;font-size:7px;line-height:1.05;font-weight:900;letter-spacing:.01em}
.macro-rates .macro-gauge-state.up,.macro-volatility .macro-gauge-state.up{color:#63d8ad}
.macro-rates .macro-gauge-state.down,.macro-volatility .macro-gauge-state.down{color:#ff8392}
.macro-volatility .macro-gauge-state.vix-elevated{color:#e7b85c}
.macro-footnote{padding:4px 8px 7px;font-size:7.4px;line-height:1.42;color:#8fa5b8}
html[data-theme="light"] .macro-rates .macro-gauge-scale,html[data-theme="light"] .macro-volatility .macro-gauge-scale{color:#566574!important}
html[data-theme="light"] .macro-rates .macro-gauge-scale strong,html[data-theme="light"] .macro-volatility .macro-gauge-scale strong{color:#344453!important}
html[data-theme="light"] .macro-rates .macro-gauge-state,html[data-theme="light"] .macro-volatility .macro-gauge-state{color:#445563!important}
html[data-theme="light"] .macro-rates .macro-gauge-state.up,html[data-theme="light"] .macro-volatility .macro-gauge-state.up{color:#147a57!important}
html[data-theme="light"] .macro-rates .macro-gauge-state.down,html[data-theme="light"] .macro-volatility .macro-gauge-state.down{color:#b23a4a!important}
html[data-theme="light"] .macro-volatility .macro-gauge-state.vix-elevated{color:#8a6216!important}
html[data-theme="light"] .macro-footnote{color:#5f625f!important}
@media(max-width:850px){.macro-rates .macro-gauge-scale,.macro-volatility .macro-gauge-scale,.macro-rates .macro-gauge-scale strong,.macro-volatility .macro-gauge-scale strong{font-size:6px!important}.macro-rates .macro-gauge-state,.macro-volatility .macro-gauge-state{font-size:6.5px}.macro-footnote{font-size:7.1px;line-height:1.4}}

/* 1.2.52-alpha · observation-time semantics + Money & Liquidity education */
.macro-observation{display:block;min-width:0;margin:1px 0 0;color:#7890a4;font-size:6.2px;font-style:normal;font-weight:700;line-height:1.12;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.macro-rates .macro-observation,.macro-volatility .macro-observation{font-size:6.1px;color:#91a8ba}
.macro-quote-row .macro-observation{font-size:6px;color:#7f95a7}
.macro-money .macro-table-row>i{line-height:1.16;white-space:normal;max-width:86px}
.macro-money .macro-table-row>span small{line-height:1.14;margin-top:1px}
.macro-mode-wrap>.macro-info-trigger{margin-left:-2px}
.macro-group-head>.macro-info-trigger+button{margin-left:-5px}
html[data-theme="light"] .macro-observation{color:#5d6e7d!important}
html[data-theme="light"] .macro-rates .macro-observation,html[data-theme="light"] .macro-volatility .macro-observation{color:#536574!important}
html[data-theme="light"] .macro-quote-row .macro-observation{color:#5f707d!important}
@media(max-width:850px){.macro-observation{font-size:5.9px}.macro-rates .macro-observation,.macro-volatility .macro-observation{font-size:5.8px}.macro-money .macro-table-row>i{max-width:80px}}

/* 1.2.55-alpha — Money & Liquidity Full Report (Command View only) */
.macro-liquidity-entry{cursor:pointer;position:relative}.macro-liquidity-entry:focus-visible{outline:2px solid var(--accent,#2ec4c7);outline-offset:-2px}.macro-liquidity-open{margin-top:auto;padding:5px 8px 7px;border-top:1px solid #16384a;color:#64ddd8;font-size:7px;font-weight:900;letter-spacing:.04em;text-align:right}.macro-liquidity-entry:hover .macro-liquidity-open{color:#a8fffb}html[data-theme="light"] .macro-liquidity-open{border-color:#e4e1da;color:#087f83}.liquidity-report-loading,.liquidity-report-error{min-height:320px;display:grid;place-content:center;gap:8px;text-align:center;color:var(--muted,#8da0b8)}.liquidity-report-error strong{color:var(--text,#e8f0f8);font-size:18px}.liquidity-report-error span{font-size:13px}.liquidity-report{display:grid;grid-template-columns:190px minmax(0,1fr);gap:16px;align-items:start}.liquidity-report-nav{position:sticky;top:12px;border:1px solid #18384b;border-radius:12px;background:#091725;padding:10px;max-height:calc(100vh - 24px);overflow:auto}.liq-nav-title{display:grid;grid-template-columns:22px 1fr;column-gap:8px;align-items:center;padding:4px 5px 10px;border-bottom:1px solid #18384b}.liq-nav-title>span{grid-row:1/3;color:#61d8d3}.liq-nav-title strong{font-size:12px;color:#edf7fb}.liq-nav-title small{font-size:7px;color:#8299ac}.liquidity-report-nav nav{display:grid;gap:3px;margin-top:8px}.liquidity-report-nav a{padding:7px 8px;border-radius:7px;color:#a7bac9;font-size:8px;font-weight:800;text-decoration:none}.liquidity-report-nav a:hover,.liquidity-report-nav a:focus-visible{background:#0e2737;color:#71e2dc}.liquidity-report-main{display:grid;gap:14px;min-width:0}.liq-hero,.liq-section,.liq-relation-card,.liq-metric-card,.liq-chart-card{border:1px solid #18384b;border-radius:12px;background:#091725}.liq-hero{padding:12px}.liq-section-title,.liq-section-head,.liq-chart-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.liq-section-title>span,.liq-section-head>div>span,.liq-relation-card>span,.liq-metric-card>span,.liq-chart-head span{color:#6bded8;font-size:7px;font-weight:900;letter-spacing:.08em}.liq-section-title small,.liq-section-head>small{color:#7f95a8;font-size:7px}.liq-hero-grid{display:grid;grid-template-columns:1.05fr 1fr 1.05fr;gap:10px;margin-top:8px}.liq-gauge-card,.liq-why,.liq-changes-card{border:1px solid #16384a;border-radius:10px;background:#08131f;padding:10px;min-width:0}.liq-gauge{--liq-score:50;position:relative;width:min(240px,100%);height:112px;margin:0 auto 2px;overflow:hidden}.liq-gauge-arc{position:absolute;inset:4px 6px 0;height:104px;border-radius:120px 120px 0 0;background:conic-gradient(from 270deg at 50% 100%,#e85a68 0 22.5deg,#df9b4c 22.5deg 45deg,#d1bd55 45deg 67.5deg,#69b982 67.5deg 112.5deg,#3fc49a 112.5deg 157.5deg,#43d0b6 157.5deg 180deg,transparent 180deg);mask:radial-gradient(circle at 50% 100%,transparent 0 55%,#000 56% 100%)}.liq-gauge-needle{position:absolute;left:50%;bottom:3px;width:42%;height:2px;background:#dceaf3;transform-origin:0 50%;transform:rotate(calc(-90deg + (var(--liq-score) * 1.8deg)));box-shadow:0 0 7px rgba(255,255,255,.35)}.liq-gauge-needle:after{content:"";position:absolute;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:#edf7fb}.liq-gauge-center{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);display:flex;align-items:baseline;gap:3px}.liq-gauge-center strong{font-size:24px;color:#edf7fb}.liq-gauge-center span{font-size:8px;color:#8299ac}.liq-condition{text-align:center;display:flex;justify-content:center;gap:8px;align-items:center}.liq-condition strong{font-size:11px;color:#6be0ca}.liq-condition span{font-size:8px;color:#d6b05b;font-weight:800}.liq-gauge-card>p,.liq-changes-card>div+p{margin:7px 0 0;color:#9eb1c0;font-size:8px;line-height:1.5}.liq-why{display:grid;gap:5px}.liq-component{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:7px;align-items:center;padding:5px 0;border-bottom:1px solid #132b3b}.liq-component:last-child{border-bottom:0}.liq-dot{width:6px;height:6px;border-radius:50%;background:#778a98}.liq-dot.positive{background:#45cb97}.liq-dot.negative{background:#ec6a78}.liq-component div{display:grid;gap:1px}.liq-component strong{font-size:8px;color:#e8f1f7}.liq-component small{font-size:6.6px;color:#8095a7;line-height:1.25}.liq-component em{font-style:normal;font-size:7px;font-weight:900}.positive{color:#4ed09a!important}.negative{color:#ef7180!important}.neutral{color:#a7b5c0!important}.liq-periods{display:flex;gap:2px}.liq-periods button,.liq-chart-ranges button{border:1px solid #244356;border-radius:6px;background:#0b1b29;color:#9db1c1;font-size:6.5px;font-weight:900;padding:4px 6px;cursor:pointer}.liq-periods button.selected,.liq-chart-ranges button.selected{background:#0d6367;border-color:#28898b;color:#e8ffff}.liq-change-rows{display:grid;gap:4px;margin-top:7px}.liq-change-rows>div{display:grid;grid-template-columns:1fr auto;gap:2px 8px;padding:4px 0;border-bottom:1px solid #132b3b}.liq-change-rows span{font-size:7px;font-weight:800;color:#e4edf4}.liq-change-rows strong{font-size:8px}.liq-change-rows small{grid-column:1/3;color:#758b9d;font-size:6px}.liq-section{padding:12px;scroll-margin-top:12px}.liq-section-head h2{margin:2px 0 0;font-size:16px;color:#e9f2f7}.liq-stack{display:flex;min-height:92px;margin-top:10px;border:1px solid #17384a;border-radius:9px;overflow:hidden}.liq-stack-segment{flex:0 0 max(var(--liq-share),7%);display:grid;align-content:center;gap:2px;padding:8px;border-right:1px solid #143246;background:linear-gradient(180deg,#0c2635,#0a1d2a);min-width:72px}.liq-stack-segment:last-child{border-right:0}.liq-stack-segment span{font-size:6px;color:#8ea5b5}.liq-stack-segment strong{font-size:9px;color:#e6f0f6}.liq-stack-segment small{font-size:6px;color:#61d8d3}.liq-accounting-note{display:flex;justify-content:space-between;gap:10px;margin-top:7px;color:#8198aa;font-size:7px}.liq-accounting-note strong{color:#cbd9e2}.liq-empty{padding:28px;text-align:center;color:#8299ac;font-size:9px}.liq-relationships{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.liq-relation-card{padding:11px}.liq-relation-card strong{display:block;margin-top:4px;color:#dce8ef;font-size:10px}.liq-relation-card strong b{display:block;margin-top:2px;color:#69ddd7;font-size:18px}.liq-relation-card p{margin:6px 0 0;color:#91a5b5;font-size:7.5px;line-height:1.45}.liq-metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.liq-metric-card{padding:11px;scroll-margin-top:12px}.liq-metric-card>strong{display:block;margin:5px 0 2px;font-size:17px;color:#e9f2f7}.liq-metric-card>small{font-size:6.7px;color:#7e96a8}.liq-metric-card p{margin:7px 0 4px;font-size:8px;line-height:1.45;color:#a2b4c1}.liq-metric-card em{font-style:normal;font-size:7px;line-height:1.35;color:#6bded8}.liq-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.liq-chart-card{padding:10px;min-width:0}.liq-chart-head>div:first-child{display:grid;gap:2px}.liq-chart-head strong{font-size:10px;color:#e9f2f7}.liq-chart-ranges{display:flex;gap:2px;flex-wrap:wrap;justify-content:flex-end}.liq-chart-stage{min-height:118px;margin-top:8px}.liq-chart-stage .macro-chart-canvas{min-height:112px}.liq-chart-source{margin-top:5px;font-size:6.5px;color:#7f95a6}.liq-takeaways ol{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:0;list-style:none;counter-reset:liqstep}.liq-takeaways li{counter-increment:liqstep;border:1px solid #16384a;border-radius:9px;padding:9px;display:grid;gap:4px}.liq-takeaways li:before{content:counter(liqstep);width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#0d6669;color:#eaffff;font-size:9px;font-weight:900}.liq-takeaways li strong{font-size:8px;color:#e3edf4}.liq-takeaways li span{font-size:7px;line-height:1.4;color:#8fa4b4}.liq-formula{margin-top:10px;border:1px solid #17384a;border-radius:9px;padding:9px}.liq-formula strong{font-size:8px;color:#6bded8}.liq-formula pre{margin:6px 0 0;white-space:pre-wrap;font:6.5px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;color:#8fa4b4}
html[data-theme="light"] .liquidity-report-nav,html[data-theme="light"] .liq-hero,html[data-theme="light"] .liq-section,html[data-theme="light"] .liq-relation-card,html[data-theme="light"] .liq-metric-card,html[data-theme="light"] .liq-chart-card{background:#fff;border-color:#dedbd3}html[data-theme="light"] .liq-nav-title{border-color:#e5e1d9}html[data-theme="light"] .liq-nav-title strong,html[data-theme="light"] .liq-section-head h2,html[data-theme="light"] .liq-metric-card>strong,html[data-theme="light"] .liq-chart-head strong,html[data-theme="light"] .liq-relation-card strong,html[data-theme="light"] .liq-component strong{color:#1f2a30}html[data-theme="light"] .liquidity-report-nav a{color:#536670}html[data-theme="light"] .liquidity-report-nav a:hover{background:#edf7f6;color:#087f83}html[data-theme="light"] .liq-gauge-card,html[data-theme="light"] .liq-why,html[data-theme="light"] .liq-changes-card{background:#fbfaf7;border-color:#e6e1d9}html[data-theme="light"] .liq-gauge-needle{background:#344653}html[data-theme="light"] .liq-gauge-needle:after{background:#344653}html[data-theme="light"] .liq-gauge-center strong{color:#26343d}html[data-theme="light"] .liq-component,html[data-theme="light"] .liq-change-rows>div{border-color:#ece8e1}html[data-theme="light"] .liq-periods button,html[data-theme="light"] .liq-chart-ranges button{background:#fff;border-color:#d8d4cc;color:#536670}html[data-theme="light"] .liq-periods button.selected,html[data-theme="light"] .liq-chart-ranges button.selected{background:#dff2f0;border-color:#91cac7;color:#096e72}html[data-theme="light"] .liq-stack{border-color:#dedbd3}html[data-theme="light"] .liq-stack-segment{background:linear-gradient(180deg,#eef8f7,#e5f1ef);border-color:#c9ddda}html[data-theme="light"] .liq-stack-segment strong{color:#26343d}html[data-theme="light"] .liq-accounting-note strong{color:#3e4e57}html[data-theme="light"] .liq-takeaways li,html[data-theme="light"] .liq-formula{border-color:#e4e0d8}html[data-theme="light"] .liq-takeaways li strong{color:#2c3941}html[data-theme="light"] .liq-gauge-card>p,html[data-theme="light"] .liq-changes-card>div+p,html[data-theme="light"] .liq-relation-card p,html[data-theme="light"] .liq-metric-card p,html[data-theme="light"] .liq-formula pre{color:#596b74}
@media(max-width:1180px){.liquidity-report{grid-template-columns:160px minmax(0,1fr)}.liq-hero-grid{grid-template-columns:1fr 1fr}.liq-changes-card{grid-column:1/3}.liq-metric-grid{grid-template-columns:repeat(2,1fr)}.liq-takeaways ol{grid-template-columns:repeat(2,1fr)}}
@media(max-width:850px){.liquidity-report{grid-template-columns:1fr}.liquidity-report-nav{position:relative;top:auto;max-height:none}.liquidity-report-nav nav{grid-template-columns:repeat(3,1fr)}.liq-hero-grid,.liq-relationships,.liq-chart-grid{grid-template-columns:1fr}.liq-changes-card{grid-column:auto}.liq-metric-grid{grid-template-columns:1fr 1fr}.liq-stack{overflow-x:auto}.liq-takeaways ol{grid-template-columns:1fr 1fr}}
.liq-preview-banner{margin-bottom:10px;padding:7px 10px;border:1px solid #826f35;border-radius:8px;background:#2a2412;color:#e8cf75;font-size:7px;font-weight:900;letter-spacing:.06em;text-align:center}html[data-theme="light"] .liq-preview-banner{background:#fff8df;border-color:#ddca83;color:#796215}

/* 1.2.56-alpha — Money & Liquidity visual readability pass (Command View only)
   Larger typography, stronger light-mode contrast and roomier report cards.
   No Mobile Companion selectors are changed. */
.liquidity-report{grid-template-columns:220px minmax(0,1fr);gap:18px}
.liquidity-report-nav{padding:13px}
.liq-nav-title{grid-template-columns:24px 1fr;column-gap:9px;padding:5px 6px 12px}
.liq-nav-title strong{font-size:14px;line-height:1.2}
.liq-nav-title small{font-size:9.5px;line-height:1.35}
.liquidity-report-nav nav{gap:4px;margin-top:10px}
.liquidity-report-nav a{padding:9px 9px;font-size:10.5px;line-height:1.25}
.liquidity-report-main{gap:16px}
.liq-hero,.liq-section{padding:15px}
.liq-section-title>span,.liq-section-head>div>span,.liq-relation-card>span,.liq-metric-card>span,.liq-chart-head span{font-size:9.5px;line-height:1.2;letter-spacing:.075em}
.liq-section-title small,.liq-section-head>small{font-size:9.5px;line-height:1.35}
.liq-hero-grid{gap:12px;margin-top:10px}
.liq-gauge-card,.liq-why,.liq-changes-card{padding:14px}
.liq-gauge{width:min(270px,100%);height:126px}
.liq-gauge-arc{height:116px}
.liq-gauge-center strong{font-size:30px}
.liq-gauge-center span{font-size:10px}
.liq-condition{gap:10px}
.liq-condition strong{font-size:13px}
.liq-condition span{font-size:10.5px}
.liq-gauge-card>p,.liq-changes-card>div+p{margin-top:9px;font-size:10.5px;line-height:1.55}
.liq-why{gap:6px}
.liq-component{grid-template-columns:9px minmax(0,1fr) auto;gap:8px;padding:7px 0}
.liq-dot{width:7px;height:7px}
.liq-component strong{font-size:10.5px;line-height:1.25}
.liq-component small{font-size:9px;line-height:1.35}
.liq-component em{font-size:9.5px;line-height:1.2}
.liq-periods{gap:4px;flex-wrap:wrap;justify-content:flex-end}
.liq-periods button,.liq-chart-ranges button{font-size:8.5px;padding:5px 7px;min-height:26px}
.liq-change-rows{gap:5px;margin-top:9px}
.liq-change-rows>div{gap:3px 10px;padding:6px 0}
.liq-change-rows span{font-size:10px;line-height:1.25}
.liq-change-rows strong{font-size:10.5px;line-height:1.25}
.liq-change-rows small{font-size:8.5px;line-height:1.3}
.liq-section-head h2{margin-top:4px;font-size:19px;line-height:1.2}
.liq-stack{min-height:108px;margin-top:12px}
.liq-stack-segment{gap:3px;padding:10px;min-width:92px}
.liq-stack-segment span{font-size:8.5px;line-height:1.25}
.liq-stack-segment strong{font-size:12px;line-height:1.2}
.liq-stack-segment small{font-size:8.5px;line-height:1.25}
.liq-accounting-note{margin-top:9px;font-size:9.5px;line-height:1.4}
.liq-empty{padding:34px;font-size:10.5px;line-height:1.45}
.liq-relationships{gap:12px}
.liq-relation-card{padding:14px}
.liq-relation-card strong{margin-top:5px;font-size:12px;line-height:1.25}
.liq-relation-card strong b{margin-top:4px;font-size:22px;line-height:1.1}
.liq-relation-card p{margin-top:8px;font-size:10px;line-height:1.5}
.liq-metric-grid{gap:12px}
.liq-metric-card{padding:14px}
.liq-metric-card>strong{margin:6px 0 4px;font-size:21px;line-height:1.1}
.liq-metric-card>small{font-size:9px;line-height:1.35}
.liq-metric-card p{margin:9px 0 6px;font-size:10px;line-height:1.5}
.liq-metric-card em{font-size:9.5px;line-height:1.45}
.liq-chart-grid{gap:12px;margin-top:12px}
.liq-chart-card{padding:13px}
.liq-chart-head>div:first-child{gap:3px}
.liq-chart-head strong{font-size:12px;line-height:1.25}
.liq-chart-stage{min-height:152px;margin-top:10px}
.liq-chart-stage .macro-chart-canvas{min-height:146px}
.liq-chart-source{margin-top:7px;font-size:8.5px;line-height:1.35}
.liq-takeaways ol{gap:10px}
.liq-takeaways li{padding:11px;gap:6px}
.liq-takeaways li:before{width:22px;height:22px;font-size:10px}
.liq-takeaways li strong{font-size:10.5px;line-height:1.3}
.liq-takeaways li span{font-size:9.5px;line-height:1.5}
.liq-formula{margin-top:12px;padding:11px}
.liq-formula strong{font-size:10px}
.liq-formula pre{margin-top:8px;font:9px/1.55 ui-monospace,SFMono-Regular,Menlo,monospace}

/* Light theme: reduce the washed-out appearance visible on large desktop displays. */
html[data-theme="light"] .liq-nav-title>span,
html[data-theme="light"] .liq-section-title>span,
html[data-theme="light"] .liq-section-head>div>span,
html[data-theme="light"] .liq-relation-card>span,
html[data-theme="light"] .liq-metric-card>span,
html[data-theme="light"] .liq-chart-head span,
html[data-theme="light"] .liq-formula strong{color:#0b7779}
html[data-theme="light"] .liq-nav-title small,
html[data-theme="light"] .liq-section-title small,
html[data-theme="light"] .liq-section-head>small,
html[data-theme="light"] .liq-component small,
html[data-theme="light"] .liq-change-rows small,
html[data-theme="light"] .liq-metric-card>small,
html[data-theme="light"] .liq-chart-source,
html[data-theme="light"] .liq-takeaways li span,
html[data-theme="light"] .liq-accounting-note,
html[data-theme="light"] .liq-empty{color:#5f7078}
html[data-theme="light"] .liq-gauge-card>p,
html[data-theme="light"] .liq-changes-card>div+p,
html[data-theme="light"] .liq-relation-card p,
html[data-theme="light"] .liq-metric-card p{color:#405159}
html[data-theme="light"] .liq-relation-card strong b,
html[data-theme="light"] .liq-metric-card em{color:#0b8584}
html[data-theme="light"] .positive{color:#167e59!important}
html[data-theme="light"] .negative{color:#bc4050!important}
html[data-theme="light"] .neutral{color:#52636d!important}
html[data-theme="light"] .liq-gauge-card,
html[data-theme="light"] .liq-why,
html[data-theme="light"] .liq-changes-card{background:#fff;border-color:#d9d7d0;box-shadow:0 1px 2px rgba(24,45,56,.035)}
html[data-theme="light"] .liq-section,
html[data-theme="light"] .liq-relation-card,
html[data-theme="light"] .liq-metric-card,
html[data-theme="light"] .liq-chart-card,
html[data-theme="light"] .liquidity-report-nav{border-color:#d6d4cd;box-shadow:0 1px 3px rgba(24,45,56,.04)}
html[data-theme="light"] .liq-component,
html[data-theme="light"] .liq-change-rows>div{border-color:#e2e0da}
html[data-theme="light"] .liq-periods button,
html[data-theme="light"] .liq-chart-ranges button{color:#42545e;border-color:#cbc8c0}
html[data-theme="light"] .liq-periods button.selected,
html[data-theme="light"] .liq-chart-ranges button.selected{background:#d8efed;border-color:#72b9b5;color:#075f62}

@media (max-width:1500px){
  .liquidity-report{grid-template-columns:205px minmax(0,1fr);gap:14px}
  .liq-hero-grid{grid-template-columns:1fr 1fr}
  .liq-changes-card{grid-column:1/-1}
  .liq-metric-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:1050px){
  .liquidity-report{grid-template-columns:1fr}
  .liquidity-report-nav{position:static;max-height:none}
  .liquidity-report-nav nav{grid-template-columns:repeat(3,minmax(0,1fr))}
  .liq-hero-grid,.liq-relationships,.liq-chart-grid{grid-template-columns:1fr}
  .liq-takeaways ol{grid-template-columns:repeat(2,1fr)}
}

/* 1.2.57-alpha · liquidity clarity + monetary-machine visualization */
.liq-gauge-needle{transform:rotate(calc(-180deg + (var(--liq-score) * 1.8deg)))}
.liq-gauge-scale{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin:-1px 2px 9px;text-align:center;font-size:8px;font-weight:900;letter-spacing:.04em;color:#8299ac}
.liq-gauge-scale span:first-child{text-align:left;color:#ef7180}.liq-gauge-scale span:last-child{text-align:right;color:#4ed09a}
.liq-condition{display:grid;grid-template-columns:1fr 1fr;gap:8px;text-align:left;margin-top:2px}
.liq-condition>div{display:grid;gap:3px;border:1px solid #17384a;border-radius:8px;padding:8px 10px;background:#0a1926}
.liq-condition small{font-size:7.5px;font-weight:900;letter-spacing:.08em;color:#8299ac}
.liq-condition strong{font-size:12px;color:#e9f2f7}.liq-condition .liq-direction strong{display:flex;align-items:center;gap:6px}.liq-condition .liq-direction b{font-size:18px;line-height:1}
.liq-condition .liq-direction.negative strong{color:#ef7180}.liq-condition .liq-direction.positive strong{color:#4ed09a}.liq-condition .liq-direction.neutral strong{color:#a7b5c0}
.liq-gauge-card>p b{color:#dce8ef}

/* Tiny accounting buckets stay proportionally honest in the bar and remain readable in the legend. */
.liq-stack-segment{flex:0 0 var(--liq-share);min-width:0;padding:8px 7px}
.liq-stack-segment.compact{padding:0;border-right:1px solid #143246}
.liq-stack-segment-1{background:linear-gradient(180deg,#0b6b72,#09545d)}
.liq-stack-segment-2{background:linear-gradient(180deg,#147f87,#0e6972)}
.liq-stack-segment-3{background:linear-gradient(180deg,#8b7130,#6f5924)}
.liq-stack-segment-4{background:linear-gradient(180deg,#6f557f,#584265)}
.liq-stack-segment-5{background:linear-gradient(180deg,#455361,#35414c)}
.liq-stack-legend{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-top:9px}
.liq-stack-legend>div{display:grid;grid-template-columns:10px minmax(0,1fr) auto;column-gap:6px;row-gap:2px;align-items:center;border:1px solid #17384a;border-radius:8px;padding:7px 8px;min-width:0}
.liq-stack-legend i{width:9px;height:9px;border-radius:3px}.liq-stack-key-1{background:#0b6b72}.liq-stack-key-2{background:#147f87}.liq-stack-key-3{background:#8b7130}.liq-stack-key-4{background:#6f557f}.liq-stack-key-5{background:#455361}
.liq-stack-legend span{font-size:7.5px;color:#91a5b5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.liq-stack-legend strong{font-size:9px;color:#e7f0f5}.liq-stack-legend small{grid-column:2/4;font-size:7px;color:#6bded8}

.liq-flow-section{overflow:hidden}.liq-flow-actions,.liq-flow-tabs{display:flex;gap:6px;flex-wrap:wrap}.liq-flow-actions button,.liq-flow-tabs button{border:1px solid #244356;border-radius:7px;background:#0b1b29;color:#a9bdca;font-size:9px;font-weight:850;padding:7px 10px;cursor:pointer;min-height:32px}.liq-flow-actions button:hover,.liq-flow-tabs button:hover,.liq-flow-tabs button.selected{border-color:#2b8e91;background:#0d6367;color:#efffff}
.liq-flow-intro{margin:8px 0 10px;max-width:980px;color:#91a5b5;font-size:10px;line-height:1.5}.liq-flow-tabs{margin-bottom:11px}.liq-flow-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(250px,.72fr);gap:12px;align-items:stretch}.liq-flow-map{border:1px solid #17384a;border-radius:12px;background:linear-gradient(180deg,#07121d,#091925);padding:8px;min-width:0}.liq-flow-map svg{display:block;width:100%;height:auto;max-height:500px}.flow-node rect{fill:#0b1e2c;stroke:#2b4b5e;stroke-width:1.5}.flow-node .node-kicker{fill:#6bded8;font-size:11px;font-weight:900;letter-spacing:.08em}.flow-node .node-title{fill:#e9f2f7;font-size:14px;font-weight:850}.flow-node .node-value{fill:#a9bdca;font-size:11px;font-weight:800}.flow-link{fill:none;stroke:#59717f;stroke-width:5;stroke-linecap:round;stroke-dasharray:9 11;marker-end:url(#liq-arrow);opacity:.35;animation:liq-flow-dash 1.25s linear infinite}.liq-flow-map marker path{fill:#6bded8}.liq-flow-section[data-liq-flow-scenario="system"] .flow-link{stroke:#4d7280;opacity:.5}.liq-flow-section[data-liq-flow-scenario="fed"] .flow-fed,.liq-flow-section[data-liq-flow-scenario="fed"] .flow-reserves,.liq-flow-section[data-liq-flow-scenario="tga-in"] .flow-tga-in,.liq-flow-section[data-liq-flow-scenario="tga-out"] .flow-tga-out,.liq-flow-section[data-liq-flow-scenario="rrp-in"] .flow-rrp-in,.liq-flow-section[data-liq-flow-scenario="rrp-out"] .flow-rrp-out,.liq-flow-section[data-liq-flow-scenario="credit"] .flow-credit{stroke:#59d8c2;stroke-width:7;opacity:1}.liq-flow-section:not([data-liq-flow-scenario="system"]) .flow-link:not(.flow-fed):not(.flow-reserves):not(.flow-tga-in):not(.flow-tga-out):not(.flow-rrp-in):not(.flow-rrp-out):not(.flow-credit){opacity:.14}
.liq-flow-explain{border:1px solid #17384a;border-radius:12px;background:#081621;padding:16px;display:flex;flex-direction:column;justify-content:center;gap:8px}.liq-flow-explain>span{font-size:9px;font-weight:900;letter-spacing:.09em;color:#6bded8}.liq-flow-explain h3{margin:0;color:#e9f2f7;font-size:18px;line-height:1.25}.liq-flow-explain p{margin:0;color:#9db0be;font-size:10.5px;line-height:1.55}.liq-flow-effect{margin-top:4px;border-left:3px solid #657884;padding:9px 10px;border-radius:4px;background:#0b1c29;font-size:10px;font-weight:850;line-height:1.45}.liq-flow-effect.positive{border-color:#45cb97}.liq-flow-effect.negative{border-color:#ec6a78}.liq-flow-effect.neutral{border-color:#7d929f}.motion-paused .flow-link{animation-play-state:paused}
@keyframes liq-flow-dash{to{stroke-dashoffset:-40}}

.liq-formula summary{cursor:pointer;color:#6bded8;font-size:10px;font-weight:900;list-style-position:inside}.liq-formula:not([open]){padding:10px 11px}.liq-formula:not([open]) pre{display:none}

html[data-theme="light"] .liq-gauge-scale{color:#64757d}html[data-theme="light"] .liq-gauge-scale span:first-child{color:#b83f4d}html[data-theme="light"] .liq-gauge-scale span:last-child{color:#167e59}
html[data-theme="light"] .liq-condition>div{background:#fbfaf7;border-color:#ddd9d1}html[data-theme="light"] .liq-condition small{color:#697980}html[data-theme="light"] .liq-condition strong,html[data-theme="light"] .liq-gauge-card>p b{color:#26343d}
html[data-theme="light"] .liq-stack-segment-1{background:#bfe7e4}html[data-theme="light"] .liq-stack-segment-2{background:#ccebea}html[data-theme="light"] .liq-stack-segment-3{background:#eadcae}html[data-theme="light"] .liq-stack-segment-4{background:#ddd1e4}html[data-theme="light"] .liq-stack-segment-5{background:#dce1e5}html[data-theme="light"] .liq-stack-legend>div{border-color:#ddd9d1;background:#fff}html[data-theme="light"] .liq-stack-legend span{color:#596b74}html[data-theme="light"] .liq-stack-legend strong{color:#26343d}html[data-theme="light"] .liq-stack-legend small{color:#0b7779}
html[data-theme="light"] .liq-flow-map{background:#fbfcfb;border-color:#d8d5ce}html[data-theme="light"] .flow-node rect{fill:#fff;stroke:#b9c9cb}html[data-theme="light"] .flow-node .node-kicker{fill:#0b7779}html[data-theme="light"] .flow-node .node-title{fill:#26343d}html[data-theme="light"] .flow-node .node-value{fill:#52656f}html[data-theme="light"] .flow-link{stroke:#7c9298}html[data-theme="light"] .liq-flow-section[data-liq-flow-scenario="fed"] .flow-fed,html[data-theme="light"] .liq-flow-section[data-liq-flow-scenario="fed"] .flow-reserves,html[data-theme="light"] .liq-flow-section[data-liq-flow-scenario="tga-in"] .flow-tga-in,html[data-theme="light"] .liq-flow-section[data-liq-flow-scenario="tga-out"] .flow-tga-out,html[data-theme="light"] .liq-flow-section[data-liq-flow-scenario="rrp-in"] .flow-rrp-in,html[data-theme="light"] .liq-flow-section[data-liq-flow-scenario="rrp-out"] .flow-rrp-out,html[data-theme="light"] .liq-flow-section[data-liq-flow-scenario="credit"] .flow-credit{stroke:#0b8887}html[data-theme="light"] .liq-flow-explain{background:#fbfaf7;border-color:#d8d5ce}html[data-theme="light"] .liq-flow-explain h3{color:#26343d}html[data-theme="light"] .liq-flow-explain p{color:#4b5e67}html[data-theme="light"] .liq-flow-effect{background:#f3f5f3;color:#43555e}html[data-theme="light"] .liq-flow-actions button,html[data-theme="light"] .liq-flow-tabs button{background:#fff;border-color:#c9c6be;color:#465861}html[data-theme="light"] .liq-flow-actions button:hover,html[data-theme="light"] .liq-flow-tabs button:hover,html[data-theme="light"] .liq-flow-tabs button.selected{background:#d8efed;border-color:#72b9b5;color:#075f62}

@media (max-width:1280px){.liq-flow-layout{grid-template-columns:1fr}.liq-stack-legend{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.liq-gauge-scale{font-size:7px}.liq-condition{grid-template-columns:1fr}.liq-stack-legend{grid-template-columns:1fr 1fr}.liq-flow-actions{margin-top:8px}.liq-flow-tabs{display:grid;grid-template-columns:1fr 1fr}.liq-flow-map{overflow-x:auto}.liq-flow-map svg{min-width:700px}.liq-flow-explain h3{font-size:16px}}
@media (prefers-reduced-motion:reduce){.flow-link{animation:none}.liq-flow-actions [data-liq-flow-pause]{display:none}}

/* Empty and loading panels follow the selected Command theme. */
.empty{background:var(--panel);color:var(--muted)}
.empty strong{color:var(--text)}
.empty-icon{color:var(--cyan)}

.pulse-mode-controls{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}.pulse-mode-controls button{font-size:10px;padding:4px 9px}.pulse-mode-controls button[aria-pressed="true"]{color:var(--cyan);border-color:var(--cyan);background:var(--bg)}

/* Keep the full index value visible in the compact overview card. */
.pulse-price-line{flex-wrap:wrap}.pulse-price-line>strong{flex:0 0 auto;max-width:100%;overflow:visible;text-overflow:clip;font-size:clamp(22px,1.6vw,27px)}.pulse-change{margin-left:0}
html[data-theme="light"] .macro-chart-empty strong{color:var(--text)}

.macro-rates .macro-observation{white-space:pre-line;overflow:visible;text-overflow:clip;line-height:1.35;font-size:7px}

/* Keep the signal title at the left edge; its supporting caption has its own line. */
#radar-card .card-head>div:first-child>.eyebrow,
#watchlist-card .card-head>div:first-child>.eyebrow,
#movers-card .card-head>div:first-child>.eyebrow,
#news-card .card-head>div:first-child>.eyebrow{display:block}

.watch-quote-meta{padding:0 14px 8px;color:var(--muted);font-size:10px;background:transparent}
.watch-quote-meta.is-stale{color:var(--muted)}
html[data-theme="light"] .watch-missing{background:transparent;color:var(--muted)}

/* Readable light-mode labels and price changes (WCAG normal-text contrast). */
html[data-theme="light"] .rail-link-meta,
html[data-theme="light"] .pulse-currency,
html[data-theme="light"] .macro-rail-toolbar,
html[data-theme="light"] .page-footer{color:#53636d!important}
html[data-theme="light"] .asset-tabs button[aria-pressed="true"]{color:#006c73!important}
html[data-theme="light"] .mc-overview-mode button[aria-pressed="true"]{background:#006c73!important;color:#fff!important}
html[data-theme="light"] .up{color:#087246!important}
html[data-theme="light"] .down{color:#b02f45!important}
.macro-liquidity-open{font:inherit;cursor:pointer}

/* The overview shows the complete selected AI read alongside Market Pulse. */
#ai-card #ai.mc-intraday-host{max-height:none;overflow:visible}
