/* Executive dashboard: white canvas, navy structure, brand yellow. */
body{background:#fafbfc}aside{box-shadow:3px 0 24px #15264103}main{padding:0 40px}header{height:82px}.heading{margin:27px 0 22px}.heading h1{font-size:28px;margin-top:9px}.heading p{font-size:13px}.workspace-tools{margin-bottom:16px}.period{background:transparent;padding-bottom:17px;margin-bottom:23px}.dashboard-intro{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:26px 0 18px}.dashboard-intro h2{font-size:21px;font-weight:500;letter-spacing:-.6px;margin:8px 0 0}.data-status{font-size:10px;color:#768194;display:flex;align-items:center;gap:7px}.data-status i{width:6px;height:6px;border-radius:50%;background:#c9a712}.dashboard-top{display:grid;grid-template-columns:1.8fr 1fr;gap:18px}.revenue-hero{background:linear-gradient(115deg,#111d32,#1c3151 85%);border-radius:26px;padding:32px 35px 27px;position:relative;overflow:hidden;color:white;min-height:303px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 12px 28px #12243b12}.revenue-hero>*{position:relative;z-index:1}.revenue-hero .hero-orbit{position:absolute;width:340px;height:340px;right:-100px;top:-145px;border:50px solid #facc1510;border-radius:50%;z-index:0;box-shadow:0 0 0 45px #facc1505}.hero-label{font-size:10px;font-weight:500;letter-spacing:2px;color:#c5ccda;display:flex;align-items:center;gap:12px}.hero-icon{width:31px;height:31px;border-radius:10px;background:#facc15;color:#162139;display:flex;align-items:center;justify-content:center;font-size:19px;letter-spacing:0}.hero-money{font-size:clamp(38px,4.2vw,65px);letter-spacing:-2.5px;line-height:1.25;font-weight:500;margin:21px 0 8px;overflow-wrap:anywhere}.hero-money>span{font-size:13px;font-weight:400;letter-spacing:0;margin-left:11px;color:#facc15}.revenue-hero>p{font-size:11px;color:#adb9ce;margin:0;line-height:1.8}.hero-bottom{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;border-top:1px solid #ffffff1c;margin-top:27px;padding-top:21px}.hero-bottom span{display:block;font-size:9px;line-height:1.8;color:#aebbd1}.hero-bottom strong{font-size:14px;font-weight:500;display:block;margin-top:6px;color:#f2f5fa}.hero-bottom small{font-size:9px;background:#facc1520;color:#ffdb50;border-radius:5px;margin-left:5px;padding:3px 5px;white-space:nowrap}.top-metrics{display:grid;grid-template-columns:1fr;gap:15px}.dashboard-metric{padding:21px 24px;border-radius:22px;box-shadow:0 4px 16px #15264102;min-width:0}.metric-title{font-size:11px;color:#737f92;display:flex;justify-content:space-between;align-items:center;gap:10px}.metric-symbol{height:28px;width:28px;background:#fff8d8;border:1px solid #f4ebc0;border-radius:9px;color:#8f7515;font-size:15px;display:flex;align-items:center;justify-content:center;flex:none}.metric-number{font-size:31px;font-weight:500;letter-spacing:-1.2px;margin:8px 0;line-height:1.3;overflow-wrap:anywhere}.metric-caption{font-size:9px;line-height:1.7;color:#8791a0}.source-pill{font-size:9px;color:#526782;border:0;background:#f1f5fa;border-radius:7px;margin-top:11px;padding:6px 9px}.source-pill:hover{background:#fff3b1}.cost-alert{font-size:8px;color:#92701a;margin-top:8px}.quick-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}.quick-metrics .dashboard-metric{min-height:142px}.quick-metrics .metric-number{font-size:29px}.muted-kpi .metric-symbol{background:#eef1f5;color:#8f9aaa;border-color:#e7ebf1}.dashboard-charts{margin-top:30px}.chart-section-title{margin-top:31px;margin-bottom:17px}.chart-section-title h2{font-size:18px;font-weight:500;letter-spacing:-.5px;margin-top:7px}.chart-section-title .eyebrow{font-size:8px;color:#929cac;letter-spacing:1.8px}.chart-row{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:18px;margin-top:18px}.chart-card{padding:25px;border-radius:24px;min-width:0;overflow:hidden}.chart-card-heading{display:flex;align-items:start;justify-content:space-between;gap:13px}.chart-card-heading h3{font-size:13px;font-weight:500;margin:0 0 6px}.chart-card-heading p{font-size:9px;line-height:1.7;color:#8993a4;margin:0}.chart-switch{display:flex;background:#f2f4f7;padding:3px;border-radius:10px;flex:none}.chart-switch button{font-size:9px;padding:7px 11px;background:transparent;border:0;border-radius:8px;color:#8b96a7;white-space:nowrap}.chart-switch button.selected{background:white;color:#172841;box-shadow:0 2px 6px #1526410b}.dashboard-svg{display:block;width:100%;height:auto;margin-top:25px;overflow:visible}.axis-unit{font:9px 'Be Vietnam Pro',Arial,sans-serif;fill:#97a2b1}.axis-tick{font:9px 'Be Vietnam Pro',Arial,sans-serif;fill:#98a1ae}.bar-label{font:9px 'Be Vietnam Pro',Arial,sans-serif;fill:#55637a}.missing-mark{font:12px Arial,sans-serif;fill:#bdc4cf}.chart-point{cursor:pointer;outline:none}.chart-point:hover .metric-bar,.chart-point:focus .metric-bar,.chart-point.is-selected .metric-bar{stroke:#8a6b00;stroke-width:2px;filter:brightness(.97)}.chart-insight{display:flex;align-items:center;gap:10px;flex-wrap:wrap;border:1px solid #f1ead0;background:#fffdf5;border-radius:10px;font-size:9px;padding:12px 13px;line-height:1.7;color:#778093;margin-top:8px}.chart-insight strong{color:#4c5d75;font-weight:500}.insight-dot{width:6px;height:6px;border-radius:50%;background:#e5b80e;flex:none}.chart-note{font-size:9px;line-height:1.8;color:#929baa;margin:13px 0 0}.ring-wrap{max-width:220px;margin:7px auto 0}.ring-wrap svg{display:block;width:100%;height:auto}.ring-value{font:500 26px 'Be Vietnam Pro',Arial,sans-serif;fill:#152641;letter-spacing:-1px}.ring-caption{font:8px 'Be Vietnam Pro',Arial,sans-serif;fill:#8c96a5}.ring-legend{display:grid;gap:12px;font-size:9px}.ring-legend>div{display:flex;align-items:center;gap:7px}.ring-legend span{color:#7e899a}.ring-legend strong{margin-left:auto;font-weight:500;font-size:11px;color:#3a4b65}.legend-dot{width:7px;height:7px;display:inline-block;border-radius:2px;flex:none}.legend-dot.gold{background:#facc15}.legend-dot.navy{background:#182841}.inline-legend{display:flex;align-items:center;gap:14px;font-size:8px;color:#8a94a4;margin-top:3px}.inline-legend span{display:flex;align-items:center;gap:5px;white-space:nowrap}.contribution-list{display:grid;gap:22px;margin-top:25px}.contribution-head{display:flex;justify-content:space-between;gap:10px;font-size:9px;align-items:center}.contribution-head>span{color:#6b7a90;white-space:nowrap}.contribution-head b{font-weight:400;font-size:9px;color:#a2acb9;margin-right:9px}.contribution-head strong{font-size:10px;font-weight:500;text-align:right}.contribution-head small{font-size:8px;font-weight:400;color:#8c97a7;margin-left:6px}.contribution-track{height:6px;background:#f1f3f7;border-radius:7px;margin:9px 0 0 25px;overflow:hidden}.contribution-track span{display:block;height:100%;background:linear-gradient(90deg,#ffe58b,#facc15);border-radius:7px}.department-mini-icon{width:32px;height:32px;background:#f5f7fa;display:flex;align-items:center;justify-content:center;border-radius:10px;color:#657a95}.department-card .card-head>span:last-child{color:#9ca8b7}.department-card h3{margin-top:18px}.department-card .value{font-size:29px}.sales-detail{background:#fff}.source-sales-stats{padding:17px;background:#fafbfc;border:1px solid #eef1f4;border-radius:12px}.source-sales-stats strong{font-size:18px}#profit-source-dialog{width:560px;max-width:94vw;padding:28px}.source-formula{border:1px solid #edf0f4;border-radius:15px;overflow:hidden;margin:20px 0}.source-formula>div{padding:18px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #edf0f4;font-size:12px}.source-formula>div:last-child{border:0;background:#fff9df}.source-formula small{display:block;font-size:10px;color:#8994a4;margin-top:6px}.source-formula strong{white-space:nowrap;font-size:16px;font-weight:500}.card{border-color:#e9edf2}.rail-links a.active{box-shadow:0 5px 12px #facc1530}.date-fields button{background:#fff}.heading .primary{box-shadow:0 4px 10px #facc151c}footer{margin-top:30px}
@media(min-width:1650px){main{padding:0 60px}.hero-money{font-size:72px}.dashboard-top{grid-template-columns:1.9fr 1fr}.revenue-hero{min-height:330px}.chart-card{padding:29px}.dashboard-metric{padding:23px 27px}}
@media(max-width:1150px){main{padding:0 26px}.dashboard-top,.chart-row{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}.revenue-hero{padding:27px}.hero-money{font-size:44px}.hero-bottom{grid-template-columns:1fr 1fr;gap:15px}.hero-bottom>div:last-child{grid-column:1/-1}.metric-number{font-size:26px}.chart-card{padding:20px}.chart-card-heading{flex-wrap:wrap}.ring-wrap{max-width:190px}.hero-bottom strong{font-size:12px}}
@media(max-width:850px){.dashboard-top,.chart-row{grid-template-columns:1fr}.top-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.revenue-hero{min-height:270px}.hero-money{font-size:55px}.hero-bottom{grid-template-columns:1fr 1fr 1fr}.hero-bottom>div:last-child{grid-column:auto}.quick-metrics{gap:12px}.quick-metrics .dashboard-metric{padding:18px}.quick-metrics .metric-number{font-size:24px}.ring-wrap{max-width:230px}.ring-legend{max-width:400px;margin:auto}.dashboard-intro{align-items:start}.dashboard-intro h2{font-size:18px}.chart-section-title>span{font-size:9px;max-width:200px;text-align:right}}
@media(max-width:520px){main{padding:0 15px}.heading h1{font-size:25px}.dashboard-intro{flex-direction:column;gap:12px}.dashboard-intro h2{font-size:19px}.revenue-hero{padding:25px 22px;border-radius:22px}.hero-money{font-size:42px;letter-spacing:-1.8px}.hero-money>span{font-size:11px;margin-left:8px}.hero-label{font-size:9px;letter-spacing:1.3px}.hero-bottom{grid-template-columns:1fr 1fr;gap:14px}.hero-bottom>div:last-child{grid-column:1/-1}.hero-bottom span{font-size:8px}.revenue-hero>p{font-size:10px}.top-metrics{grid-template-columns:1fr}.quick-metrics{grid-template-columns:1fr}.dashboard-metric{padding:21px}.quick-metrics .metric-number{font-size:30px}.chart-section-title{align-items:start}.chart-section-title>span{display:none}.chart-section-title h2{font-size:17px}.chart-card{padding:19px 15px}.dashboard-svg{min-width:0;margin-top:18px}.axis-tick{font-size:11px}.bar-label{font-size:10px}.chart-insight{gap:6px;font-size:9px}.chart-insight span{line-height:1.8}.chart-insight strong{flex-basis:90%}.chart-point .metric-bar{rx:3px}.inline-legend{font-size:8px}.contribution-head strong{font-size:10px}.contribution-head small{display:block;margin-top:3px}.source-formula>div{padding:14px;font-size:10px}.source-formula strong{font-size:14px}.data-status{font-size:9px}header{height:75px}}
@media(prefers-reduced-motion:no-preference){.metric-bar{transition:filter .15s,stroke .15s}.contribution-track span{animation:bar-reveal .7s ease-out}.revenue-hero{animation:hero-appear .45s ease-out}@keyframes bar-reveal{from{transform:scaleX(0);transform-origin:left}to{transform:scaleX(1);transform-origin:left}}@keyframes hero-appear{from{opacity:.7;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}
@media print{body{background:white}.revenue-hero{box-shadow:none}.dashboard-charts,.dashboard-intro{break-inside:avoid}.source-sales-stats{background:white}#profit-source-dialog{display:none!important}}
