/* Owner HQ 2.0: money confidence and decisive Africa-first merchant interface */
#view-dashboard{max-width:1700px;margin:0 auto}
#view-dashboard .section-head{align-items:center}
#dashboard-content{color:#17212e}
.exec-masthead{background:#111d29;border-radius:25px;padding:31px 34px;color:#fff;display:flex;align-items:stretch;justify-content:space-between;gap:22px;position:relative;overflow:hidden;isolation:isolate;min-height:238px;margin-bottom:15px}
.exec-masthead:before{content:"";position:absolute;right:3%;top:-75%;width:400px;height:430px;border-radius:50%;background:radial-gradient(circle,#b7fa7150,transparent 65%);z-index:-1}
.exec-masthead:after{content:"";position:absolute;right:0;bottom:-60px;width:320px;height:180px;border:1px solid #ffffff20;transform:rotate(-22deg);border-radius:56px;z-index:-1}
.exec-masthead-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.exec-eyebrow{font-size:10px;font-weight:850;letter-spacing:1.65px;color:#788796;text-transform:uppercase}
.exec-masthead .exec-eyebrow{color:#c7f78b}
.exec-masthead h3{font-size:clamp(31px,3.5vw,48px);letter-spacing:-2.25px;line-height:1.07;margin:14px 0 12px;color:white}
.exec-masthead h3 em{font-style:normal;color:#c7fc83}
.exec-masthead p{font-size:13px;color:#c6d0da;line-height:1.6;max-width:480px}
.exec-status{display:flex;gap:8px;align-items:center;font-size:11px;color:#b8cad8;margin-top:25px}
.exec-live-dot{width:8px;height:8px;background:#b8ee78;border-radius:50%;box-shadow:0 0 0 4px #b8ee781c}
.exec-masthead-actions{align-self:flex-end;display:grid;gap:8px;min-width:185px;z-index:1}
.exec-masthead-actions label{font-size:11px;font-weight:800;color:#bdcbd8}
.exec-masthead-actions select{width:100%;height:46px;border:1px solid #52606d;border-radius:12px;background:#ffffff14;color:#fff;padding:0 13px;font-weight:750}
.exec-masthead-actions select option{color:#16202b;background:white}
.exec-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.exec-buttons button{border:1px solid #4a5a6a;background:#ffffff11;color:#f4f7fa;font-size:12px;font-weight:750;border-radius:10px;min-height:39px;padding:7px 8px}
.exec-buttons button:hover{background:#ffffff22}
.exec-pulse{background:#f0f7e8;border:1px solid #dceaca;border-radius:17px;padding:19px 22px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px;align-items:center;margin-bottom:15px}
.exec-pulse-top{display:flex;align-items:center;gap:13px;grid-column:1/-1}
.exec-pulse-top .exec-eyebrow{color:#536d37}
.exec-pulse-tag{font-size:10px;font-weight:800;color:#3c5a2c;background:#e0f0d0;padding:6px 9px;border-radius:8px}
.exec-pulse p{font-size:13px;line-height:1.6;color:#435340;margin:0}
.exec-pulse p strong{color:#1a321d}
.exec-pulse button{background:#253d2b;color:#fff;border:0;padding:11px 15px;font-size:12px;font-weight:800;border-radius:11px;white-space:nowrap}
.exec-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:17px}
.exec-kpi{border:1px solid #e8edf1;background:#fff;border-radius:17px;padding:18px;min-width:0;display:flex;flex-direction:column;gap:8px;box-shadow:0 4px 20px #1f314205}
.exec-kpi-title{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:750;font-size:11px;color:#677483}
.exec-kpi-icon{font-size:17px;display:grid;place-items:center;width:30px;height:30px;background:#f3f6f8;border-radius:10px;color:#556677;flex:none}
.exec-kpi-value{margin-top:6px;font-size:clamp(21px,2.1vw,29px);letter-spacing:-1px;font-weight:850;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.exec-novalue{font-size:18px;letter-spacing:-.35px}
.exec-kpi p{font-size:11px;color:#7c8997;line-height:1.55;margin:0}
.exec-flag{align-self:flex-start;padding:5px 7px;border-radius:7px;background:#fff2dd;color:#8b5a17;font-size:10px;font-weight:750}
.exec-nav{display:flex;gap:8px;margin:0 0 18px;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}
.exec-nav button{font-size:12px;font-weight:750;color:#5b6675;background:#fff;border:1px solid #e5eaf0;border-radius:10px;padding:10px 13px;white-space:nowrap;min-height:40px}
.exec-nav button:hover{border-color:#b4d583;color:#293b27}
.exec-layout{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(320px,.92fr);gap:15px;align-items:start}
.exec-section{background:#fff;border:1px solid #e5eaf0;border-radius:19px;padding:23px;min-width:0;scroll-margin-top:18px}
.exec-section.exec-wide{grid-column:1/-1}
.exec-section-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:19px}
.exec-section-head h3{font-size:21px;line-height:1.2;letter-spacing:-.65px;margin:8px 0 5px;color:#1b2631}
.exec-section-head p{font-size:11px;line-height:1.5;color:#8995a2}
.exec-section-head>button{background:#f7faf4;border:1px solid #dbe8d2;color:#435b37;border-radius:9px;font-size:11px;font-weight:850;padding:10px 12px;white-space:nowrap}
.exec-performance-change{background:#f3f7f1;color:#567042;border-radius:9px;font-size:11px;padding:9px 10px;line-height:1.4;font-weight:800;max-width:205px;text-align:right}
.exec-chart{height:220px;display:flex;gap:9px;align-items:flex-end;padding:8px 0 0;border-bottom:1px solid #e7ecef;overflow:hidden}
.exec-chart-column{flex:1;min-width:5px;max-width:100%;height:100%;display:flex;align-items:flex-end}
.exec-bar{background:linear-gradient(180deg,#b7e97b,#7ea848);border-radius:5px 5px 1px 1px;width:100%;min-height:2px;position:relative}
.exec-bar:hover{background:linear-gradient(180deg,#d0f59e,#5a872c)}
.exec-chart-axis{display:flex;justify-content:space-between;gap:20px;padding:10px 1px;font-size:10px;color:#8794a0}
.exec-stat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;border-top:1px solid #ecf0f2;margin-top:8px;padding-top:18px}
.exec-stat-strip div{display:grid;gap:9px;min-width:0}
.exec-stat-strip span{font-size:10px;line-height:1.4;color:#778694}
.exec-stat-strip strong{font-size:14px;letter-spacing:-.35px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.exec-footnote{font-size:10px;color:#8894a1;line-height:1.65;margin:15px 0 0}
.exec-priorities{display:grid;gap:0}
.exec-insight{display:flex;gap:13px;padding:16px 0;border-bottom:1px solid #eef1f4}
.exec-insight:first-child{padding-top:0}
.exec-insight:last-child{border-bottom:0;padding-bottom:0}
.exec-insight-index{width:29px;height:29px;border-radius:10px;background:#f2f5f7;display:grid;place-items:center;font-size:11px;font-weight:850;color:#8491a0;flex:none}
.exec-insight-main{flex:1;min-width:0}
.exec-insight-top{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.exec-insight-top strong{font-size:12px}
.exec-severity{border-radius:6px;padding:4px 7px;text-transform:uppercase;font-size:9px;font-weight:850;letter-spacing:.3px}
.exec-severity.high{color:#a7472f;background:#fff0e9}
.exec-severity.medium{color:#875a17;background:#fff5de}
.exec-severity.info{color:#476786;background:#edf5fc}
.exec-insight p{font-size:11px;line-height:1.7;margin:9px 0;color:#6e7d8e}
.exec-insight button{color:#3c6040;font-size:11px;font-weight:800;padding:4px 0;background:none;border:0;text-align:left}
.exec-rail{padding:14px 0;border-bottom:1px solid #eef1f3}
.exec-rail:first-of-type{padding-top:0}
.exec-rail-top{display:flex;justify-content:space-between;gap:10px;font-size:12px;align-items:center}
.exec-rail-top strong{font-size:11px;letter-spacing:.3px}
.exec-rail-top span{color:#4f5c68;font-weight:700;text-align:right}
.exec-rail-track{background:#edf1f3;height:7px;border-radius:9px;overflow:hidden;margin:11px 0 8px}
.exec-rail-track>div{height:100%;background:#94c65a;border-radius:inherit}
.exec-rail-foot{display:flex;justify-content:space-between;gap:10px;color:#8b97a4;font-size:10px}
.exec-finance-note{margin-top:18px;padding:14px;border-radius:12px;background:#f4f6f8;display:grid;gap:5px}
.exec-finance-note strong{font-size:12px}
.exec-finance-note span{font-size:11px;line-height:1.5;color:#687888}
.exec-items{display:grid}
.exec-item{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0f2f4;min-width:0}
.exec-item:last-child{border:0}
.exec-item>div{min-width:0;flex:1}
.exec-item strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.exec-item small{font-size:10px;color:#8391a0;display:block;margin-top:5px;line-height:1.4}
.exec-item b{font-size:12px;letter-spacing:-.2px;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.exec-rank{font-size:12px;font-weight:850;color:#b0b9c2;width:21px;text-align:center;flex:none}
.exec-stock-marker{display:grid;place-items:center;flex:none;background:#fff2db;color:#9e6413;border-radius:9px;width:27px;height:27px;font-size:12px;font-weight:850}
.exec-mini-link{background:#f1f6e9;border:0;color:#4a6831;font-size:10px;font-weight:850;padding:9px;border-radius:8px;white-space:nowrap}
.exec-inline-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:23px 0 5px;padding-top:17px;border-top:1px solid #e7edf0}
.exec-inline-heading h4{font-size:13px;margin:0}
.exec-inline-heading span{font-size:10px;color:#8896a4;text-align:right}
.exec-employee-dot{display:grid;place-items:center;background:#eff4ea;color:#426333;width:28px;height:28px;border-radius:9px;font-weight:850;font-size:12px;flex:none}
.exec-control-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:23px;padding:14px;background:#f5f7f9;border-radius:13px}
.exec-control-strip div{display:grid;gap:7px}
.exec-control-strip strong{font-size:20px;line-height:1;font-variant-numeric:tabular-nums}
.exec-control-strip span{font-size:10px;color:#778592;line-height:1.4}
.exec-assistant{background:linear-gradient(145deg,#f9fcf5,#ffffff 75%)}
.exec-scope{border-radius:9px;padding:8px 10px;color:#3f623d;background:#e9f4e0;font-size:10px;font-weight:850;white-space:nowrap}
.exec-question-list{display:flex;flex-wrap:wrap;gap:7px}
.exec-question-list button{background:#fff;border:1px solid #e3e9e1;border-radius:10px;font-weight:700;color:#465a47;font-size:11px;padding:9px 11px;text-align:left}
.exec-question-list button.selected{background:#243a2c;color:#fff;border-color:#243a2c}
.exec-answer{background:#fff;border:1px solid #e6ece5;border-radius:12px;padding:16px;min-height:108px;color:#566757;font-size:12px;line-height:1.7;margin-top:14px}
.exec-answer strong{color:#1e3b25}
.exec-data-foot{background:#f0f3f5;border-radius:13px;margin-top:16px;padding:18px 21px;display:flex;align-items:center;gap:18px}
.exec-data-foot strong{font-size:13px;white-space:nowrap}
.exec-data-foot span{font-size:11px;line-height:1.5;color:#73808d;flex:1}
.exec-data-foot button{background:transparent;border:0;color:#4f6643;font-size:11px;font-weight:850;white-space:nowrap}
.exec-loading,.exec-unavailable{min-height:220px;display:grid;align-content:center;justify-items:center;gap:15px;background:#fff;border:1px solid #e7ecf0;border-radius:20px;padding:30px;text-align:center}
.exec-loading p,.exec-unavailable p{color:#738291;font-size:12px;line-height:1.5}
.exec-unavailable h3{font-size:19px}
.exec-unavailable button{background:#223b27;color:#fff;border:0;border-radius:10px;padding:12px 20px;font-weight:750}
.exec-loader{width:28px;height:28px;border:3px solid #e7f3db;border-top-color:#6b9e42;border-radius:50%;animation:owner-spin .8s linear infinite}
@keyframes owner-spin{to{transform:rotate(360deg)}}
.exec-empty{text-align:center;padding:26px 8px;color:#8995a2;font-size:12px;line-height:1.6}
.exec-chart-empty{min-height:180px;display:grid;place-items:center}
@media(max-width:1240px){.exec-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.exec-layout{grid-template-columns:1fr}.exec-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:15px}}
@media(max-width:780px){.exec-masthead{padding:24px;flex-direction:column;gap:18px}.exec-masthead-actions{align-self:stretch;display:grid;grid-template-columns:1fr 1.2fr;align-items:center;min-width:0}.exec-masthead-actions label{grid-column:1/-1}.exec-masthead-actions select{min-width:0}.exec-buttons{min-width:0}.exec-data-foot{flex-wrap:wrap}.exec-data-foot span{min-width:65%}}
@media(max-width:500px){.exec-masthead{padding:22px 19px;border-radius:18px}.exec-masthead h3{font-size:35px}.exec-masthead-actions{grid-template-columns:1fr}.exec-pulse{grid-template-columns:1fr;padding:16px}.exec-pulse button{justify-self:start}.exec-kpi-grid{gap:9px}.exec-kpi{padding:15px 12px;gap:6px}.exec-kpi-value{font-size:21px}.exec-kpi-title{font-size:10px}.exec-kpi-icon{width:24px;height:24px;font-size:14px}.exec-section{padding:17px;border-radius:15px}.exec-section-head{flex-wrap:wrap}.exec-performance-change{max-width:none;text-align:left}.exec-stat-strip strong{font-size:13px}.exec-control-strip strong{font-size:18px}.exec-chart{height:170px}.exec-data-foot{padding:16px}.exec-nav{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.exec-loader{animation:none}*{scroll-behavior:auto!important}}

.exec-drawer-controls{display:flex;flex-wrap:wrap;gap:8px;padding:6px 0 15px}
.exec-drawer-controls button{border:1px solid #dfe6dc;background:#eff6e8;color:#3d5a34;border-radius:10px;padding:11px 13px;font-size:11px;font-weight:800;min-height:43px;flex:1}
.exec-drawer-controls button:disabled{opacity:.42;cursor:not-allowed}
.exec-cash-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:15px;padding-bottom:10px}
@media(max-width:500px){.exec-drawer-controls{flex-direction:column}}

/* Owner HQ 2.1 — decisive without a dense reporting UI */
.exec-insight[hidden]{display:none!important}
.exec-more{display:block;width:100%;background:#f5f8f2;border:1px solid #e1e9db;border-radius:10px;margin-top:14px;padding:12px 14px;font-size:11px;font-weight:800;color:#435f34;text-align:center}
.exec-close .exec-section-head{margin-bottom:8px}
.exec-close-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.exec-close-check{display:flex;align-items:center;gap:10px;min-width:0;background:#f8fafb;border:1px solid #eef1f3;border-radius:12px;padding:12px}
.exec-close-check>div{flex:1;min-width:0}
.exec-close-check strong{display:block;font-size:12px;letter-spacing:-.2px}
.exec-close-check small{display:block;color:#7b8794;font-size:10px;line-height:1.5;margin-top:5px}
.exec-check-status{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;font-size:14px;font-weight:850}
.exec-check-status.needs{background:#fff0dc;color:#a36b24}
.exec-check-status.clear{background:#e8f4df;color:#437637}
.exec-close-check button{align-self:center;flex:none;background:transparent;border:0;color:#4c6643;font-size:10px;font-weight:800;padding:8px 3px}
.exec-close-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:16px;padding:15px;background:#f0f6e9;border-radius:12px}
.exec-close-bottom p{font-size:11px;line-height:1.6;color:#4e6349}
.exec-close-bottom button{flex:none;border:0;border-radius:9px;background:#294633;color:#fff;min-height:42px;padding:10px 14px;font-size:11px;font-weight:800}
@media(max-width:850px){.exec-close-grid{grid-template-columns:1fr}}
@media(max-width:500px){
 .exec-masthead{min-height:0;padding:17px 16px;gap:12px}
 .exec-masthead h3{font-size:28px;letter-spacing:-1.1px;margin:8px 0}
 .exec-masthead p{display:none}
 .exec-status{margin-top:7px;font-size:10px;line-height:1.5}
 .exec-masthead-actions{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:9px}
 .exec-masthead-actions label{display:none}
 .exec-masthead-actions select{height:41px}
 .exec-buttons button{min-height:41px}
 .exec-close-check{padding:10px}
 .exec-close-bottom{flex-direction:column;align-items:stretch}
 .exec-close-bottom button{width:100%}
}

/* First-time owner clarity. One progressive explanation, not a mandatory tour. */
.exec-explain{margin:-4px 0 17px;background:#fff;border:1px solid #e4ebf0;border-radius:12px;color:#566673;font-size:12px}
.exec-explain summary{cursor:pointer;min-height:46px;display:flex;align-items:center;gap:9px;padding:11px 15px;font-weight:750;color:#436039;list-style:none}
.exec-explain summary::-webkit-details-marker{display:none}
.exec-explain summary:before{content:"?";display:grid;place-items:center;width:20px;height:20px;background:#edf4e7;color:#46683a;border-radius:50%;font-weight:850}
.exec-explain summary:after{content:"＋";margin-left:auto;font-size:17px}
.exec-explain[open] summary:after{content:"−"}
.exec-explain-grid{border-top:1px solid #eef1f3;padding:14px 16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 23px}
.exec-explain-grid p{line-height:1.65;color:#657484;margin:0;font-size:11px}
.exec-explain-grid strong{color:#253e30}
#dashboard-content button:focus-visible,#dashboard-content select:focus-visible,#dashboard-content summary:focus-visible{outline:3px solid #649b39;outline-offset:3px}
#dashboard-content [data-exec-view],#dashboard-content [data-exec-jump],#dashboard-content [data-exec-pending],#dashboard-content [data-exec-refund],
#dashboard-content [data-exec-stock],#dashboard-content [data-exec-question]{min-height:42px}
#dashboard-content button:disabled{cursor:not-allowed}
@media(max-width:650px){.exec-explain-grid{grid-template-columns:1fr}}

/* First sale: plain guidance without a tutorial overlay or account wizard */
.exec-first-store{display:flex;align-items:center;justify-content:space-between;gap:18px;border-radius:14px;border:1px solid #d7e7c9;background:#f5faef;padding:20px;margin:0 0 17px}
.exec-first-store h4{font-size:17px;letter-spacing:-.5px;margin:6px 0}
.exec-first-store p{max-width:530px;font-size:12px;line-height:1.6;color:#5b7058}
.exec-first-store button,.exec-start-sale{background:#2b4a32;border:0;color:white;border-radius:10px;padding:11px 14px;font-size:12px;font-weight:800;min-height:44px}
.exec-start-sale{display:block;margin:16px auto 0}
@media(max-width:650px){.exec-first-store{flex-direction:column;align-items:stretch}.exec-first-store button{width:100%}}

/* Owner/team separation: historical seller credit is informational, not a leaderboard. */
.exec-attribution{margin-top:16px;border:1px solid #e7ecef;border-radius:12px;background:#fafbfc}
.exec-attribution summary{list-style:revert;cursor:pointer;min-height:44px;padding:14px 17px;color:#4a5d69;font-size:12px;font-weight:750}
.exec-attribution p{padding:0 17px;font-size:12px;line-height:1.65;color:#6a7786}
.exec-attribution .exec-items{padding:0 17px 10px}
.exec-attribution summary:focus-visible{outline:3px solid #649b39;outline-offset:2px}

/* Visual QA: top bar already says Owner overview. Don't repeat the header. */
#view-dashboard > .section-head{display:none}
#view-dashboard{padding-top:14px}
.exec-explain summary:after{content:"+";font-family:Arial,sans-serif;font-size:20px;font-weight:700}
.exec-explain[open] summary:after{content:"-";font-family:Arial,sans-serif}
.exec-chart-column{min-width:4px}
@media(max-width:600px){
 #view-dashboard{padding-top:9px}
 .exec-chart{height:150px}
 .exec-chart-axis{font-size:11px}
 .exec-section-head p,.exec-footnote{font-size:11px}
}

/* Mobile section navigation: all six destinations visible, no mystery swipe. */
@media(max-width:600px){
 .exec-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:8px}
 .exec-nav button{white-space:normal;word-break:normal;text-align:center;min-width:0;min-height:46px;font-size:11px;line-height:1.35;padding:9px 6px}
}

/* iStore source history is intentionally distinct from live POS figures. */
.exec-history-link{margin:14px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;font-size:12px}
.exec-history-link a{display:inline-flex;align-items:center;min-height:36px;border:1px solid rgba(8,124,104,.22);border-radius:10px;padding:9px 14px;font-weight:750;color:#087c68;text-decoration:none;background:rgba(215,248,138,.13)}
.exec-history-link a:hover,.exec-history-link a:focus-visible{background:#d7f88a;color:#0b1f19}
.exec-history-link small{color:#70867a;font-size:11px}
