/* CHINANEWS original 280px / flexible center / 340px terminal structure. */
:root{--orange:#58bd80;--orange-dim:#2e8b57;--amber:#8ee7ac;--yellow:#58bd80;--bg-1:#080808;--bg-2:#0d0d0d;--bg-3:#121212;--line-2:#2a2a2a;--line-grid:#1a1a1a;--text-bright:#fff;--dim:#777}
body{background:#000}main{max-width:none;padding:0}.main{display:grid;grid-template-columns:280px minmax(0,1fr) 340px;gap:1px;background:var(--line-grid);padding:1px}.sidebar-l,.sidebar-r,.center-main{min-width:0;background:var(--bg-1);display:flex;flex-direction:column;gap:1px}.sidebar-r{padding:0}.main .panel{border:0;border-radius:0;background:var(--panel);padding:11px 13px}.main .panel-head,.main .panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;padding-bottom:7px;border-bottom:1px solid var(--line-2)}.main .panel-title,.main h1,.main h2{font:700 12px Inter,Arial,sans-serif;color:var(--green);text-transform:uppercase;letter-spacing:1.2px}.main h1{font-size:13px}.badge-live,.badge-api{font-size:9px!important}.main .controls-panel p{font-size:12px}.main .dt{width:100%;border-collapse:collapse}.main .dt td{font-size:11px;padding:6px 4px}.main .dt td:first-child{text-align:left}.main .dt .spark,.main .dt .star{display:none}.main .dt .quote-link{font-size:11px}.main .dt td:nth-child(3){display:none}.main .chart-wrap{height:320px;margin-top:6px}.main #cm-chart-panel .panel-head{align-items:center}.main .chart-controls{width:65%}.main .chart-controls select{width:50%}.main .chart-caption{min-height:16px}.main .table-scroll{height:330px}.main .table-scroll table{font-size:12px}.main .table-scroll th,.main .table-scroll td{padding:6px}.main .sector-tabs button{font-size:10px}.main .source-material-links{display:flex;flex-direction:column;gap:0}.source-material-links button{padding:10px 0;text-align:left;border-bottom:1px solid var(--line-grid);font-size:12px}.main .news-item{padding:10px 0}.main .news-item strong{font-size:12px;line-height:1.5}.main .news-item small{font-size:10px}.main .watch-row{font-size:12px}.main .source-checklist{font-size:12px;line-height:2}.sup-wrap{background:var(--bg-1);border-bottom:1px solid var(--line);padding:10px 14px 12px}.sup-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.sup-card{background:var(--panel);border:1px solid var(--line-2);border-top:2px solid var(--green);padding:11px 13px;display:flex;flex-direction:column;min-height:145px}.sup-card .panel-title{font-size:13px;color:var(--green)}.sup-card p{font-size:12px;line-height:1.6;margin:6px 0}.sup-card ul{font-size:11px;line-height:1.6;color:var(--muted);padding-left:16px;margin:0 0 6px}.sup-card .acts{display:flex;gap:12px;align-items:center;margin-top:auto}.sup-btn{background:#123520;color:var(--green);border:1px solid #2e8b57;font-size:12px;border-radius:2px;padding:5px 11px}.sup-lnk{font-size:11px;color:var(--muted)}.bg-form{display:flex;flex-direction:column;gap:6px}.bg-form input,.bg-form select,.bg-form textarea{background:var(--bg-2);border:1px solid var(--line-2);color:var(--text);font-size:12px;padding:7px 8px;border-radius:2px;width:100%}.bg-fbtn{background:var(--brand);color:#fff;border:0;padding:9px;font-weight:700;font-size:12px;border-radius:2px}.bg-form .fineprint{font-size:10px}.main #sec-commodities{grid-template-columns:minmax(200px,30%) minmax(0,1fr)!important;gap:1px!important}.main #ind-heatmap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px}.main .hm-cell{min-height:56px;display:flex;flex-direction:column;justify-content:space-between;gap:5px;padding:7px;border:0;text-align:left}.hm-cell .hm-name{font-size:10px;color:#e8e8e8;line-height:1.35;white-space:normal}.hm-cell .hm-val{font-size:11px}.hm-up{background:#3c191e}.hm-down{background:#113823}.hm-no{background:#171c1e}.hm-cell:hover{outline:1px solid var(--green);outline-offset:-1px}.source-mini{padding:10px;background:#0b0f11;text-align:left;min-width:0;border:0;display:flex;flex-direction:column;gap:7px;min-height:95px}.source-mini b{font-size:11px;white-space:normal}.source-mini .spark{width:100%;height:42px}.source-mini small{font-size:9px;color:var(--muted)}.materials-section{padding:14px}.materials-section .material-card{background:#090d0f}.materials-section .rfq-card{display:none}.materials-section .materials-grid{grid-template-columns:repeat(4,1fr)}footer{padding:16px!important}.statusbar{font-size:10px}.header{padding:8px 14px}.header .brand strong{font-size:24px}.header .brand img{width:48px}.header nav{gap:15px;font-size:12px}.header .search-trigger{font-size:11px}.header-quote{font-size:11px}.clocks{margin-left:auto}.materials-heading{margin-bottom:10px}.chart-controls .ranges button{font-size:10px}.main .fineprint{font-size:10px}
@media(min-width:1900px){.main{grid-template-columns:300px minmax(0,1fr) 360px}.main .hm-cell{min-height:64px}.main .table-scroll table{font-size:13px}.main .table-scroll{height:370px}.main .news-item strong{font-size:13px}}
@media(max-width:1100px){.main{grid-template-columns:250px minmax(0,1fr)}.sidebar-r{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.main .chart-controls{width:70%}.main #sec-commodities{grid-template-columns:1fr!important}.main #ind-heatmap{grid-template-columns:repeat(4,1fr)}.sup-card{min-height:170px}.main .source-checklist{font-size:12px}}
@media(max-width:760px){.main{display:flex;flex-direction:column}.center-main{order:1}.sidebar-l{order:2}.sidebar-r{order:3;display:flex}.sup-grid{grid-template-columns:1fr}.sup-card{min-height:0}.main #sec-commodities{grid-template-columns:1fr!important}.main .chart-controls{width:100%;flex-wrap:wrap;margin-top:10px}.main #cm-chart-panel .panel-head{flex-wrap:wrap}.main .chart-wrap{height:280px}.main #cm-sparkgrid{grid-template-columns:repeat(2,1fr)!important}.main #sec-strategic>div:nth-child(2){grid-template-columns:1fr!important}.materials-section .materials-grid{grid-template-columns:1fr 1fr}.header .brand strong{font-size:23px}.statusbar #clocks{display:none}.main .table-scroll{height:340px}.main .table-scroll table{font-size:11px}.main .table-scroll td{padding:8px 5px}.main .hm-cell{min-height:62px}.header nav{font-size:11px}}

/* Restore the original CHINANEWS palette and matrix sizing. */
:root{--orange:#E8C078;--orange-dim:#C9A058;--amber:#F0CE92;--yellow:#fde047;--up:#ff3b3b;--down:#1aff66;--green:#E8C078;--brand:#E8C078;--line:#1f1f1f}
.primary,.bg-fbtn{background:var(--orange);color:#000!important;border-color:var(--orange)}.primary:hover,.bg-fbtn:hover{background:var(--orange-dim)}.sup-btn{color:var(--orange);background:rgba(232,192,120,.06);border-color:var(--orange)}.sup-card{border-top-color:var(--orange)}
.main #ind-heatmap{grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:1px}.main #ind-heatmap .hm-cell{aspect-ratio:auto;min-height:48px;padding:6px 9px;justify-content:center;gap:3px}.main #ind-heatmap .hm-cell .hm-name{font-size:11px;font-weight:600;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.main #ind-heatmap .hm-cell .hm-val{font-size:12px;font-weight:700;text-align:left;line-height:1.15}.main #cm-chart-canvas{width:100%;height:360px}.main #cm-sparkgrid>div{cursor:pointer}.main .table-scroll{height:auto;max-height:550px}.main .dt td:nth-child(3){display:table-cell}.main .dt .spark{display:none}.main .dt td{font-size:10px}.main .dt td:first-child{min-width:80px}.main .table-scroll td{white-space:nowrap}.main .table-scroll td:first-child{max-width:180px}.main #strat-pe td:nth-child(2),.main #strat-pe td:nth-child(3),.main #strat-pe td:nth-child(5),.main #strat-pe td:nth-child(6){display:none}

.product-catalog{margin:16px 0;padding:14px}.catalog-filters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.catalog-filters input{flex:1;min-width:200px}.catalog-filters input,.catalog-filters select{background:var(--bg-2);color:var(--text);border:1px solid var(--line);padding:9px}.catalog-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:12px;gap:10px}.catalog-pagination button{background:var(--bg-2);border:1px solid var(--line);padding:8px;color:var(--text)}.catalog-pagination button:disabled{opacity:.35}.quote-price-label{color:var(--orange);font-size:18px;font-weight:700}#catalog-rows td{padding:9px 8px}#catalog-rows .row-name{text-align:left}#catalog-count{white-space:normal}.product-catalog .panel-heading{flex-wrap:wrap;gap:8px}

/* CHINANEWS index strip geometry and 55-second marquee, populated with material prices. */
.material-ticker-wrap{background:var(--bg-2);border-bottom:1px solid var(--line)}.idx-strip.idx-running{height:68px;display:flex;align-items:stretch;overflow:hidden}.idx-mq{display:flex;flex:0 0 auto;width:max-content;animation:idxscroll 55s linear infinite}.idx-group{display:flex;flex:0 0 auto}.idx-strip.idx-running:hover .idx-mq,.idx-strip.idx-running:focus-within .idx-mq{animation-play-state:paused}@keyframes idxscroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}.material-ticker-wrap .idx-cell{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:7px 14px;border:0;border-right:1px solid var(--line);width:205px;min-width:205px;background:transparent;border-radius:0;text-align:left;cursor:pointer;transition:background .1s;flex:0 0 auto}.material-ticker-wrap .idx-cell:hover{background:var(--bg-3)}.idx-cell .idx-name{font-size:12px;color:#c0c0c0;text-transform:uppercase;letter-spacing:.8px;font-weight:700;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.idx-cell .idx-prices{display:flex;align-items:baseline;gap:8px;white-space:nowrap}.idx-cell .idx-val{font-size:17px;font-weight:700;font-family:"JetBrains Mono",monospace;margin-top:3px;letter-spacing:-.3px;color:var(--text-bright)}.idx-cell .idx-chg{font-size:13px;font-family:"JetBrains Mono",monospace;font-weight:700}.idx-unit{font:10px monospace;color:var(--muted);margin-top:2px}.ticker-loading{padding:15px}.world-clock{display:inline-flex;align-items:baseline;gap:6px;white-space:nowrap}.world-clock b{color:var(--text-bright)}.world-clock small{font-size:9px}#clocks{display:flex;gap:16px;flex-wrap:wrap}.statusbar{gap:14px;flex-wrap:wrap}@media(max-width:760px){.statusbar #clocks{display:flex;width:100%;gap:10px;font-size:10px}.world-clock{gap:4px}.material-ticker-wrap .idx-cell{width:205px;min-width:205px}}@media(prefers-reduced-motion:reduce){.idx-mq{animation:none}}

.field-validation{color:var(--up,#ff3b3b);font-size:12px;line-height:1.5;margin:4px 0 8px;text-align:left}input[aria-invalid="true"],textarea[aria-invalid="true"],select[aria-invalid="true"]{border-color:var(--up,#ff3b3b)!important}.form-grid label .field-validation{display:block}

.supply-origins{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:12px 16px;background:var(--bg-2);border-bottom:1px solid var(--line);font-size:14px}.supply-origins>strong{color:var(--orange);font-size:12px;text-transform:uppercase;letter-spacing:.6px}.supply-countries{display:flex;align-items:center;gap:28px;flex-wrap:wrap}.supply-country{display:inline-flex;align-items:center;gap:9px;white-space:nowrap;color:var(--text-bright)}.supply-country img{display:block;width:30px;height:20px;object-fit:cover;border:1px solid #ffffff26}@media(max-width:760px){.supply-origins{gap:12px}.supply-countries{gap:14px}.supply-country{font-size:13px}}

.header .brand strong{display:inline-block;line-height:1.05;letter-spacing:-.6px}.brand .brand-dot{display:inline-block;flex:0 0 auto;width:1ex;height:1ex;margin:0 .08em;border-radius:50%;background:#fff;color:transparent;overflow:hidden;line-height:1;box-shadow:none;vertical-align:baseline}

.header .brand{--wordmark-earth:#42a56e}.header .brand .earth,.header .brand .app{color:var(--wordmark-earth)}.header .brand .brand-dot{border:1.5px solid var(--wordmark-earth);background:#fff}

.pricing-notice{padding:13px 16px;background:#10150f;border-bottom:1px solid var(--line);border-left:3px solid var(--orange);font-size:12px;line-height:1.65}.pricing-notice>strong{display:block;color:var(--orange);font-size:13px;margin-bottom:4px}.pricing-notice p{margin:3px 0;color:var(--text)}.pricing-notice>a{font-size:11px;color:var(--muted);text-decoration:underline}.main #sec-strategic .dt td:nth-child(3){display:table-cell}.export-estimate-value{white-space:nowrap;color:var(--orange);font-family:monospace}.export-estimate-value small{color:var(--muted);font-size:10px}

.reference-basis{display:block;font-size:9px;line-height:1.4;color:var(--muted);margin-top:2px}.pricing-notice{border-left-width:4px}.pricing-notice>strong{font-size:14px;letter-spacing:.5px}.idx-unit{font-size:9px}

#pricing-notice{margin:12px 14px;padding:18px 20px;border:2px solid #e8c078;border-left:7px solid #e8c078;background:#211d12;font-size:13px;line-height:1.65}#pricing-notice>strong{font-size:22px;line-height:1.35;color:#ffdf94;letter-spacing:.6px;margin:0 0 10px}#pricing-notice .pricing-notice-lead{display:inline-block;margin:0 0 8px;padding:6px 10px;background:#e8c078;color:#080a0b;font-size:13px;font-weight:800;letter-spacing:.35px}#pricing-notice>a{display:inline-block;margin-top:5px}@media(max-width:760px){#pricing-notice{margin:10px;padding:14px;border-left-width:5px}#pricing-notice>strong{font-size:19px}#pricing-notice .pricing-notice-lead{font-size:12px}}

#pricing-notice{margin:7px 14px;padding:9px 12px;border-width:1px;border-left-width:4px;font-size:12px;line-height:1.4}#pricing-notice>strong{font-size:16px;line-height:1.3;letter-spacing:.25px;margin:0 0 4px}#pricing-notice .pricing-notice-lead{padding:3px 6px;font-size:10px;letter-spacing:.1px;margin:0 0 3px}#pricing-notice p{margin:2px 0}#pricing-notice>a{font-size:10px;margin-top:2px}@media(max-width:760px){#pricing-notice{margin:7px 10px;padding:9px 10px}#pricing-notice>strong{font-size:14px}#pricing-notice .pricing-notice-lead{font-size:9px}}

#pricing-notice>strong{display:inline;margin-right:14px}#pricing-notice .pricing-notice-lead{vertical-align:middle;margin:0 0 3px}#pricing-notice [data-i="pricingNoticeMain"]{display:block}#pricing-notice [data-i="pricingNoticeGap"]{display:inline;margin-right:12px}#pricing-notice>a{display:inline;margin:0;white-space:normal}

#watchlist .watch-row{display:grid;grid-template-columns:minmax(0,1fr) 64px 20px;align-items:center;column-gap:8px;min-height:30px;padding:5px 0;border-bottom:1px solid var(--line)}#watchlist .watch-row button{padding:0;min-width:0;line-height:20px}#watchlist .watch-row button:first-child{display:block;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#watchlist .watch-row button:nth-child(2),#watchlist .watch-row button:last-child{text-align:center;justify-self:stretch}

/* Continue the catalogue within the same central column as sourcing. */
.center-main>#product-catalog,.center-main>#materials{width:100%;min-width:0;margin:0;padding:10px 12px;box-sizing:border-box}.main #catalog-heading,.main #materials>.materials-heading h2{font-family:Lato,Arial,sans-serif;font-size:23px;font-weight:900;text-transform:none;letter-spacing:normal;color:var(--text)}.main #materials .materials-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}

.rights-notice{flex:0 0 100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);padding-top:9px}.rights-notice p{margin:0!important;text-align:left!important;flex:1;font-size:11px;color:var(--muted)}.rights-notice button{color:var(--orange);font-size:11px;white-space:nowrap}.data-use-note{font-size:10px;color:var(--muted);line-height:1.5;margin-top:7px}footer{flex-wrap:wrap}

.center-main>footer{width:100%;min-width:0;margin:0;padding:14px 12px!important;box-sizing:border-box;background:var(--bg-1);border-top:1px solid var(--line)}
