/* Approved dashboard refinement. Preserve live data, permissions and utilities. */
:root{--preview-ink:#24272c;--preview-muted:#5d626b;--preview-border:#e1e3e6;background:#f3f4f6}
.content{padding-top:24px}
.welcome{padding-bottom:4px}.welcome h1{font-size:34px;letter-spacing:-.045em}.welcome .muted{font-size:14px}#dashboard-view .welcome .primary{min-height:46px;padding:13px 20px;border-radius:10px;box-shadow:0 4px 10px #24272c1a}#dashboard-view .welcome .primary:hover{background:#24272c}
#dashboard-view .metrics{gap:18px;margin-bottom:24px}#dashboard-view .metrics article{--card-accent:#236b4c;--card-tint:#edf5ef;position:relative;min-height:164px;padding:24px;border:1px solid #dddfe4;border-top:3px solid var(--card-accent);border-radius:15px;background:linear-gradient(115deg,#fff 45%,var(--card-tint));box-shadow:0 4px 14px #24272c08;gap:8px;overflow:hidden}#dashboard-view .metrics article:nth-child(2){--card-accent:#9b6c1c;--card-tint:#fbf5e8}#dashboard-view .metrics article:nth-child(3){--card-accent:#356f96;--card-tint:#edf4f9}#dashboard-view .metrics article:after{display:block;content:"";position:absolute;width:112px;height:112px;right:-39px;bottom:-53px;border:19px solid var(--card-accent);border-radius:50%;opacity:.075;pointer-events:none}#dashboard-view .metrics article:before{content:"";position:absolute;width:152px;height:152px;right:-59px;bottom:-73px;border:1px solid var(--card-accent);opacity:.12;border-radius:50%;pointer-events:none}#dashboard-view .metrics article>*{position:relative;z-index:1}#dashboard-view .metrics article>p{font-size:13px;font-weight:600;color:#4e525a}#dashboard-view .metrics strong{font-size:42px;letter-spacing:-.045em;color:#24272c}#dashboard-view .metrics small{font-size:12px;color:#5d626b}#dashboard-view .metrics .metric-icon{width:44px;height:44px;border:1px solid #ffffffc0;border-radius:12px;background:var(--card-tint);color:var(--card-accent);box-shadow:0 2px 6px #24272c10}#dashboard-view .metric-icon svg{width:23px;height:23px}
#dashboard-view .dashboard-grid{gap:22px;grid-template-columns:minmax(0,1.4fr) minmax(300px,.85fr);align-items:stretch}#dashboard-view .panel{padding:24px;border-radius:15px;border:1px solid #e0e2e6;box-shadow:0 4px 16px #24272c06}#dashboard-view .panel-head{padding-bottom:18px;border-bottom:1px solid #eaebed}#dashboard-view .panel-head h2{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:650;color:#24272c}#dashboard-view .panel-head h2:before{content:"";width:4px;height:17px;border-radius:4px;background:#24272c}#dashboard-view .panel-head p{font-size:13px;line-height:1.6;margin-top:7px;color:#5d626b}#dashboard-view .dashboard-sales-list{margin-top:16px;max-height:338px;padding-right:5px;scrollbar-width:thin;scrollbar-color:#c6c8cd #f6f7f8}#dashboard-view .dashboard-sales-head,#dashboard-view .dashboard-sales-row{grid-template-columns:minmax(120px,1fr) repeat(3,minmax(64px,.45fr));padding:14px 12px;gap:10px}#dashboard-view .dashboard-sales-head{font-size:11px;background:#f0f1f2;color:#555962;border-radius:8px;font-weight:650;z-index:2}#dashboard-view .dashboard-sales-row{min-height:52px;font-size:14px;border-top:1px solid #edeef1;background:white}#dashboard-view .dashboard-sales-row:nth-child(odd){background:#fbfbfb}#dashboard-view .dashboard-sales-row strong{font-size:13px;font-weight:600;letter-spacing:.01em}#dashboard-view .dashboard-sales-row span{font-size:14px;font-weight:600;color:#24272c}#dashboard-view .dashboard-sales-row span:last-child{color:#5d626b}#dashboard-view .dashboard-sales-row:hover{background:#f2f3f4}
#dashboard-view .workflow-panel .steps{margin-top:23px;grid-template-columns:34px minmax(0,1fr);gap:0 14px}#dashboard-view .workflow-panel .steps>span{width:34px;height:34px;min-width:34px;background:#f0f1f2;border:1px solid #d4d6da;box-shadow:0 0 0 4px #f8f8f9;color:#24272c;font-size:12px;font-weight:700}#dashboard-view .workflow-panel .steps>p{min-width:0;padding-top:2px;gap:5px}#dashboard-view .workflow-panel .steps b{font-size:14px;line-height:1.4;font-weight:600}#dashboard-view .workflow-panel .steps small{font-size:12px;line-height:1.6;color:#5d626b}#dashboard-view .workflow-panel .steps>i{height:22px;margin:6px 0 6px 16px!important;background:#d4d6da}
@media(max-width:1150px){#dashboard-view .dashboard-grid{grid-template-columns:1fr}}
@media(max-width:760px){#dashboard-view .welcome h1{font-size:28px}#dashboard-view .welcome .muted{font-size:13px}#dashboard-view .metrics{gap:12px}#dashboard-view .metrics article{padding:17px;min-height:145px;border-radius:13px;gap:8px}#dashboard-view .metrics article:first-child{min-height:138px}#dashboard-view .metrics article>p{font-size:12px}#dashboard-view .metrics strong{font-size:36px}#dashboard-view .metrics small{font-size:11px}#dashboard-view .metrics .metric-icon{width:36px;height:36px}#dashboard-view .metric-icon svg{width:20px;height:20px}#dashboard-view .metrics article:after{width:78px;height:78px;right:-31px;bottom:-36px;border-width:13px}#dashboard-view .metrics article:before{width:110px;height:110px;right:-47px;bottom:-52px}#dashboard-view .panel{padding:19px}#dashboard-view .panel-head h2{font-size:17px}#dashboard-view .panel-head p{font-size:12px}#dashboard-view .dashboard-sales-list{max-height:360px;padding-right:3px}#dashboard-view .dashboard-sales-row{grid-template-columns:repeat(3,minmax(0,1fr));padding:13px;gap:9px;margin-bottom:10px;border:1px solid #e3e5e8;background:#fbfbfb}#dashboard-view .dashboard-sales-row span{font-size:17px}#dashboard-view .dashboard-sales-row strong{font-size:13px}#dashboard-view .dashboard-sales-row span:before{font-size:10px}#dashboard-view .workflow-panel .steps b{font-size:14px}#dashboard-view .workflow-panel .steps small{font-size:12px}}
