/* Starmall Rebuild 09-12 — reference-led dashboard panels, mobile arrangement. */
body.stm-dashboard-rebuild .stm-dashboard-panels{grid-template-columns:minmax(0,1.55fr) minmax(0,1.2fr) minmax(215px,.8fr);align-items:stretch}
body.stm-dashboard-rebuild .stm-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
body.stm-dashboard-rebuild .stm-panel-heading h3{margin:0;font-size:15px;color:#071b53;font-weight:850}
body.stm-dashboard-rebuild .stm-panel-heading a{color:#0863e8;font-size:11px;font-weight:750;text-decoration:none;white-space:nowrap}
body.stm-dashboard-rebuild .stm-chart-subtitle{font-size:11px;color:#647491;margin-bottom:12px}
body.stm-dashboard-rebuild .stm-earnings-chart{height:174px;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;align-items:end;padding:3px 0 0;border-bottom:1px solid #dbe5f7}
body.stm-dashboard-rebuild .stm-chart-column{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;gap:5px}
body.stm-dashboard-rebuild .stm-chart-value{font-size:9px;color:#48638e;white-space:nowrap}
body.stm-dashboard-rebuild .stm-chart-track{height:116px;width:100%;max-width:31px;display:flex;align-items:flex-end;background:#eff4ff;border-radius:7px 7px 0 0;overflow:hidden}
body.stm-dashboard-rebuild .stm-chart-track>span{width:100%;display:block;background:linear-gradient(180deg,#4cbbff,#0753e8);border-radius:6px 6px 0 0;min-height:2px}
body.stm-dashboard-rebuild .stm-chart-label{font-size:10px;font-weight:750;color:#566780}
body.stm-dashboard-rebuild .stm-dashboard-lower{display:grid;grid-template-columns:1.05fr 1.3fr .85fr;gap:12px;margin:12px 0 20px}
body.stm-dashboard-rebuild .stm-performance-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
body.stm-dashboard-rebuild .stm-performance-grid>div{background:#f3f7ff;border-radius:10px;padding:12px;min-width:0}
body.stm-dashboard-rebuild .stm-performance-grid small{display:block;font-size:10px;color:#66748b}
body.stm-dashboard-rebuild .stm-performance-grid strong{display:block;font-size:14px;color:#09266b;margin-top:5px;overflow-wrap:anywhere}
body.stm-dashboard-rebuild .stm-recent-list{display:flex;flex-direction:column;gap:2px}
body.stm-dashboard-rebuild .stm-recent-item{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #e9effa}
body.stm-dashboard-rebuild .stm-recent-icon{display:grid;place-items:center;flex:0 0 29px;height:29px;border-radius:50%;background:#e4f6eb;color:#0b9855;font-weight:900}
body.stm-dashboard-rebuild .stm-recent-item>div{min-width:0;flex:1}
body.stm-dashboard-rebuild .stm-recent-item strong,body.stm-dashboard-rebuild .stm-recent-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.stm-dashboard-rebuild .stm-recent-item strong{font-size:11px;color:#11224c}body.stm-dashboard-rebuild .stm-recent-item small{font-size:10px;color:#6a7c96}
body.stm-dashboard-rebuild .stm-recent-item b{font-size:11px;color:#0b9d60;white-space:nowrap}
body.stm-dashboard-rebuild .stm-orders-panel p,body.stm-dashboard-rebuild .stm-empty-state{font-size:12px;color:#61728f}
body.stm-dashboard-rebuild .stm-orders-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
body.stm-dashboard-rebuild .stm-orders-actions a{border-radius:9px;padding:10px 12px;background:#075af0;color:#fff;text-decoration:none;font-size:11px;font-weight:800}
body.stm-dashboard-rebuild .stm-orders-actions a+ a{background:#e9f1ff;color:#0755d8}
body.stm-dashboard-rebuild .stm-member-topbar{background:#fff;border-radius:12px;padding:12px 16px;margin:9px 0 12px;border:1px solid #e5ecfa}
body.stm-dashboard-rebuild .sm-referral-panel{border:1px solid #dce7f9;border-radius:13px;box-shadow:0 4px 14px #092b6d10}
body.stm-dashboard-rebuild .sm-referral-controls{display:flex;flex-wrap:wrap;gap:8px}
body.stm-dashboard-rebuild .sm-referral-controls input{flex:1 1 220px;min-width:0}
body.stm-dashboard-rebuild .sm-referral-controls button{min-height:39px;white-space:nowrap}
@media(max-width:1200px){body.stm-dashboard-rebuild .stm-dashboard-panels{grid-template-columns:1fr 1fr}body.stm-dashboard-rebuild .stm-dashboard-panels>.stm-dashboard-panel:last-child{grid-column:1/-1}body.stm-dashboard-rebuild .stm-dashboard-lower{grid-template-columns:1fr 1fr}body.stm-dashboard-rebuild .stm-orders-panel{grid-column:1/-1}}
@media(max-width:800px){body.stm-dashboard-rebuild .stm-dashboard-panels,body.stm-dashboard-rebuild .stm-dashboard-lower{grid-template-columns:1fr}body.stm-dashboard-rebuild .stm-dashboard-panels>.stm-dashboard-panel:last-child,body.stm-dashboard-rebuild .stm-orders-panel{grid-column:auto}body.stm-dashboard-rebuild .stm-member-topbar{padding:10px 12px}body.stm-dashboard-rebuild .stm-member-topbar .stm-member-tag{display:none}body.stm-dashboard-rebuild .sm-referral-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}body.stm-dashboard-rebuild .sm-referral-controls input{grid-column:1/-1;width:100%}body.stm-dashboard-rebuild .sm-referral-controls button{font-size:11px;padding:9px 4px}body.stm-dashboard-rebuild .stm-earnings-chart{height:155px}body.stm-dashboard-rebuild .stm-chart-track{height:97px}}
@media(max-width:400px){body.stm-dashboard-rebuild .stm-recent-item b{font-size:10px}body.stm-dashboard-rebuild .stm-performance-grid strong{font-size:12px}}
