/* Phase 2: market intelligence dashboard and instrument workspace */
.gm-redesign-shell[data-market-page=dashboard] .iw-workspace{max-width:1760px;margin-inline:auto}
.gm-redesign-shell .gm-market-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0 12px}
.gm-redesign-shell .gm-market-intro>div{display:grid;gap:5px}
.gm-redesign-shell .gm-market-intro h2{font-size:clamp(19px,2.3vw,27px);letter-spacing:-.6px;margin:0}
.gm-redesign-shell .gm-market-intro p{font-size:12px;color:var(--gm-secondary);margin:0}
.gm-redesign-shell .gm-status-chip{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;color:#a9dcbe;border:1px solid rgba(98,207,158,.23);background:rgba(38,125,92,.12);padding:8px 11px;border-radius:999px}
.gm-redesign-shell .gm-status-chip:before{content:'';width:7px;height:7px;border-radius:50%;background:#59d5a1;box-shadow:0 0 0 4px rgba(89,213,161,.1)}
.gm-redesign-shell[data-market-page=dashboard] .iw-banner{position:relative;min-height:190px;display:flex;align-items:center;justify-content:space-between;gap:25px;margin-top:22px;padding:clamp(22px,3vw,38px);background:radial-gradient(circle at 100% 0%,rgba(160,132,79,.16),transparent 48%),linear-gradient(145deg,#312517,#1c1611 75%);border:1px solid rgba(208,174,111,.27);border-radius:19px;overflow:hidden}
.gm-redesign-shell[data-market-page=dashboard] .iw-banner-copy{max-width:850px}
.gm-redesign-shell[data-market-page=dashboard] .iw-banner h1{font-size:clamp(27px,3.8vw,48px);line-height:1.11;letter-spacing:-1.2px;margin:13px 0}
.gm-redesign-shell[data-market-page=dashboard] .iw-banner p{max-width:610px;font-size:13px;line-height:1.65;color:#c9b691}
.gm-redesign-shell[data-market-page=dashboard] .iw-banner-status{min-width:168px;align-self:center}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-snapshot{margin-top:16px;overflow:hidden}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-snapshot .mw-card-head{padding:20px 22px;gap:10px}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-snapshot .mw-card-head h2{font-size:20px;letter-spacing:-.4px;margin-top:5px}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;padding:16px}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card{min-height:145px;display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding:13px 15px;border-radius:13px;border:1px solid rgba(147,117,78,.3);background:linear-gradient(160deg,#2c2115,#1c1611)}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card .iw-market-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;width:100%;min-width:0}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card-head{gap:10px}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card-head img{width:42px;height:42px;flex:0 0 42px}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card-head strong{font-size:12px;letter-spacing:0;line-height:1.25}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card-head small{font-size:11px;margin-top:3px;color:#c2ac83}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card .iw-recent-item-link{width:100%}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-price{padding:2px 0 0;text-align:left;border:0;display:grid;gap:4px}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-price span{font-size:11px;text-transform:uppercase;letter-spacing:1.2px;color:#c1ab81}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-price strong{font-size:clamp(20px,2.3vw,29px);font-weight:780;color:#faf8f4;letter-spacing:-.8px;line-height:1.15;overflow:visible}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-change{display:flex;align-items:center;justify-content:space-between;gap:7px;padding-top:9px;margin-top:9px;border-top:1px solid rgba(197,176,136,.1);font-size:11px}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-change span{color:#bea77b}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card [data-card-action]{min-width:33px;min-height:33px}
.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-snapshot+.iw-partyhat-snapshot .iw-partyhat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.gm-redesign-shell[data-market-page=dashboard] .iw-recent-note{margin:0 20px 10px;color:#c0a97f;font-size:11px}
.gm-redesign-shell[data-market-page=dashboard] .iw-news-dashboard{margin-top:20px;gap:14px}
.gm-redesign-shell[data-market-page=dashboard] .iw-news-dashboard .mw-card{overflow:hidden}
.gm-redesign-shell[data-market-page=dashboard] .iw-market-intelligence[hidden]{display:none!important}
.gm-redesign-shell[data-market-page=item] .iw-item-layout{max-width:1760px;margin:0 auto}
.gm-redesign-shell[data-market-page=item] .iw-item-hero-card{overflow:hidden;border-radius:19px;background:radial-gradient(circle at 0% 0%,rgba(143,110,66,.12),transparent 40%),linear-gradient(145deg,#271d13,#19140f)}
.gm-redesign-shell[data-market-page=item] .iw-item-detail-head{padding:clamp(20px,2.4vw,34px);gap:22px}
.gm-redesign-shell[data-market-page=item] .iw-item-detail-identity{min-width:0;gap:18px;align-items:center}
.gm-redesign-shell[data-market-page=item] .iw-item-detail-art{width:clamp(70px,8vw,110px);height:clamp(70px,8vw,110px);flex:0 0 auto;border-radius:18px;background:rgba(139,109,71,.12);border:1px solid rgba(182,153,100,.24)}
.gm-redesign-shell[data-market-page=item] .iw-item-detail-art img{max-width:75%;max-height:75%}
.gm-redesign-shell[data-market-page=item] .iw-item-heading-row{gap:8px;flex-wrap:wrap}
.gm-redesign-shell[data-market-page=item] #instrumentName{font-size:clamp(24px,3.25vw,42px);letter-spacing:-1px;line-height:1.12;margin:7px 0}
.gm-redesign-shell[data-market-page=item] #instrumentExamine{max-width:600px;line-height:1.55;color:#c8b490}
.gm-redesign-shell[data-market-page=item] .iw-item-price-block{padding:20px 24px;border-radius:15px;background:rgba(18,14,11,.5);border:1px solid rgba(180,154,104,.2);min-width:220px;text-align:left}
.gm-redesign-shell[data-market-page=item] .iw-item-price-block>strong{font-size:clamp(27px,3.3vw,43px);line-height:1.16;letter-spacing:-1px;font-variant-numeric:tabular-nums}
.gm-redesign-shell[data-market-page=item] .iw-item-price-block>small{font-size:11px;letter-spacing:1.2px;text-transform:uppercase}
.gm-redesign-shell[data-market-page=item] .iw-item-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.gm-redesign-shell[data-market-page=item] .iw-item-detail-actions .mw-btn{min-height:40px;font-size:11px;padding:9px 12px}
.gm-redesign-shell[data-market-page=item] .iw-item-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:0 clamp(20px,2.4vw,34px) 24px}
.gm-redesign-shell[data-market-page=item] .iw-item-stat{min-width:0;border-radius:12px;padding:15px 13px;border:1px solid rgba(175,146,92,.2);background:rgba(18,14,11,.45)}
.gm-redesign-shell[data-market-page=item] .iw-item-stat label{font-size:11px;letter-spacing:.8px;color:#c2ac83}
.gm-redesign-shell[data-market-page=item] .iw-item-stat strong{font-size:clamp(13px,1.5vw,19px);font-variant-numeric:tabular-nums}
.gm-redesign-shell[data-market-page=item] .iw-item-info-disclosure{margin:0 clamp(20px,2.4vw,34px) 20px;border-radius:12px}
.gm-redesign-shell[data-market-page=item] .iw-item-chart-card{border-radius:19px;margin-top:16px;overflow:hidden}
.gm-redesign-shell[data-market-page=item] .iw-item-chart-head{padding:22px 24px;gap:12px}
.gm-redesign-shell[data-market-page=item] .iw-item-chart-head h2{font-size:23px;letter-spacing:-.5px}
.gm-redesign-shell[data-market-page=item] .iw-item-chart-workspace{gap:14px}
.gm-redesign-shell[data-market-page=item] .iw-item-chart-wrap{height:clamp(290px,34vw,475px)}
.gm-redesign-shell[data-market-page=item] .iw-item-chart-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.gm-redesign-shell[data-market-page=item] .mw-range-tabs{flex-wrap:nowrap;max-width:100%;overflow-x:auto;scrollbar-width:none}
.gm-redesign-shell[data-market-page=item] .mw-range-tabs::-webkit-scrollbar{display:none}
.gm-redesign-shell[data-market-page=item] .mw-range-tabs .mw-range{flex:0 0 auto;min-height:35px;border-radius:9px;padding:7px 11px}
.gm-redesign-shell[data-market-page=item] .iw-chart-explore{max-width:100%}
.gm-redesign-shell[data-market-page=item] .iw-feature-actions{flex-wrap:wrap;gap:7px}
.gm-redesign-shell[data-market-page=item] .iw-chart-interaction-hint{line-height:1.5}
@media(max-width:1100px){
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-grid,.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-snapshot+.iw-partyhat-snapshot .iw-partyhat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .gm-redesign-shell[data-market-page=item] .iw-item-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
 .gm-redesign-shell[data-market-page=dashboard] .iw-banner{min-height:auto;padding:19px 17px;border-radius:15px;display:block;margin-top:13px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-banner h1{font-size:clamp(26px,7vw,36px);letter-spacing:-.7px;line-height:1.16;margin:10px 0}
 .gm-redesign-shell[data-market-page=dashboard] .iw-banner p{font-size:12px;line-height:1.6;margin:0}
 .gm-redesign-shell[data-market-page=dashboard] .iw-banner-status{display:none}
 .gm-redesign-shell .gm-market-intro{margin:16px 0 5px}
 .gm-redesign-shell .gm-market-intro h2{font-size:19px}
 .gm-redesign-shell .gm-market-intro p{font-size:11px}
 .gm-redesign-shell .gm-status-chip{font-size:11px;padding:6px 8px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-snapshot .mw-card-head{padding:16px 14px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-snapshot .mw-card-head h2{font-size:17px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-grid,.gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-snapshot+.iw-partyhat-snapshot .iw-partyhat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card{min-height:156px;padding:10px;gap:7px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card-head{gap:6px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card-head img{width:32px;height:32px;flex-basis:32px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card-head strong{font-size:11px;white-space:normal;line-height:1.25}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card-head small{font-size:11px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-price strong{font-size:clamp(19px,5vw,27px)}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-price span{font-size:11px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-change{font-size:11px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card [data-card-action]{min-width:30px;min-height:30px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-recent-note{margin:2px 12px 10px}
 .gm-redesign-shell[data-market-page=item] .iw-item-detail-head{display:flex;flex-direction:column;align-items:stretch;padding:16px 14px;gap:12px}
 .gm-redesign-shell[data-market-page=item] .iw-item-detail-identity{gap:12px;align-items:center}
 .gm-redesign-shell[data-market-page=item] .iw-item-detail-art{width:68px;height:68px;border-radius:13px}
 .gm-redesign-shell[data-market-page=item] #instrumentName{font-size:clamp(22px,6.5vw,31px);margin:6px 0}
 .gm-redesign-shell[data-market-page=item] #instrumentExamine{font-size:11px}
 .gm-redesign-shell[data-market-page=item] .iw-item-price-block{min-width:0;padding:15px 17px;text-align:left}
 .gm-redesign-shell[data-market-page=item] .iw-item-price-block>strong{font-size:clamp(30px,8.8vw,41px)}
 .gm-redesign-shell[data-market-page=item] .iw-item-detail-actions{gap:6px;margin-top:11px}
 .gm-redesign-shell[data-market-page=item] .iw-item-detail-actions .mw-btn{min-height:39px;font-size:11px;padding:8px}
 .gm-redesign-shell[data-market-page=item] .iw-item-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 13px}
 .gm-redesign-shell[data-market-page=item] .iw-item-stat{padding:12px 10px}
 .gm-redesign-shell[data-market-page=item] .iw-item-stat label{font-size:11px}
 .gm-redesign-shell[data-market-page=item] .iw-item-stat strong{font-size:clamp(14px,4vw,18px)}
 .gm-redesign-shell[data-market-page=item] .iw-item-info-disclosure{margin:0 12px 14px}
 .gm-redesign-shell[data-market-page=item] .iw-item-chart-head{padding:17px 14px}
 .gm-redesign-shell[data-market-page=item] .iw-item-chart-head h2{font-size:19px}
 .gm-redesign-shell[data-market-page=item] .iw-item-chart-wrap{height:315px;min-height:260px}
 .gm-redesign-shell[data-market-page=item] .iw-item-chart-toolbar{flex-direction:column;align-items:stretch;gap:10px}
 .gm-redesign-shell[data-market-page=item] .iw-chart-metric-tabs{max-width:100%;overflow:auto}
 .gm-redesign-shell[data-market-page=item] .iw-chart-explore{padding-inline:5px}
 .gm-redesign-shell[data-market-page=item] .iw-chart-interaction-hint{font-size:11px}
}
@media(max-width:380px){
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card{padding:9px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card-head img{width:28px;height:28px;flex-basis:28px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-card-head strong{font-size:11px}
 .gm-redesign-shell[data-market-page=dashboard] .iw-partyhat-price strong{font-size:18px}
 .gm-redesign-shell[data-market-page=item] .iw-item-detail-actions .mw-btn{font-size:11px}
}