/* MopMargin Executive Edition: high-clarity, local-first financial workspace */
@media screen {
:root{--bg:#f6f8fc;--ink:#182c51;--muted:#69809e;--blue:#315ff6;--mint:#079e82;--line:#e4eaf5;--shadow:0 16px 40px rgba(27,58,112,.055)}
html{scroll-behavior:smooth}
body{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#f6f8fc;color:#1a3153;letter-spacing:-.1px;-webkit-font-smoothing:antialiased}
h1,h2,h3,.metric strong,.exec-value,.site-kpis strong{font-family:'Manrope','DM Sans',sans-serif}
.shell{background:linear-gradient(130deg,#f7f9fe,#f3f7fd)}
.sidebar{width:252px;flex-basis:252px;background:#ffffff;padding:28px 16px 22px;box-shadow:5px 0 30px rgba(32,75,136,.018);z-index:3}
.brand{font-size:21px!important;letter-spacing:-1.2px;gap:11px;padding-left:8px;display:flex;align-items:center;margin-bottom:63px!important}
.brand-mark{width:43px!important;height:43px!important;border-radius:14px!important;background:linear-gradient(145deg,#1f4ed3,#4f7cfa)!important;color:#fff!important;font-size:24px!important;box-shadow:0 10px 22px rgba(49,95,246,.20)}
.brand small{font-size:9px!important;letter-spacing:1.6px!important;margin-top:0!important;color:#8092b1!important}
.brand-accent{color:#3764f3}
.side-label{font-size:10px!important;font-weight:800;letter-spacing:2.2px!important;color:#9daec6;margin-left:17px!important}
.nav{gap:8px}.nav-link{border-radius:13px;padding:13px 16px;min-height:49px;font-size:13px;color:#607695;font-weight:750;transition:background .2s,color .2s}.nav-link span{color:#7791b6;font-size:19px}.nav-link.active,.nav-link:hover{background:#edf2ff;color:#2459e7}.nav-link.active{box-shadow:inset 3px 0 #3469ff}.nav-link.active span{color:#3167ef}
.sidebar-bottom{border-color:#e8edf5;padding-top:24px}.privacy-pill{padding:8px 9px!important;background:#e9faf4!important;color:#137f69!important;border-radius:20px!important;font-size:10px!important}.sidebar-bottom p{color:#8494a9;font-size:11px}.sidebar-bottom a{font-size:11px}
.topbar{height:79px;background:rgba(255,255,255,.94);border-bottom:1px solid #e6eaf2;padding:0 clamp(22px,3.8vw,62px)}
.bread{font-size:12px;color:#8595ab}.bread strong{font-weight:800;color:#21395c}.top-status{color:#0e9b75;font-weight:700;font-size:11px;letter-spacing:.15px}
.btn{border-radius:11px;padding:11px 17px;transition:background .18s,transform .18s,box-shadow .18s;font-size:12px}.btn-primary{background:#315ff6;box-shadow:0 9px 22px rgba(49,95,246,.2)}.btn-primary:hover{background:#214fdf;box-shadow:0 11px 24px rgba(49,95,246,.30)}.btn-light{background:#eff3ff;color:#315ce2;border-color:#e1e8ff}.btn-ghost,.btn-outline{border-color:#dce5f4;color:#466388}.btn-lg{padding:14px 21px;font-size:12px}
main{max-width:1630px;margin:auto;padding:34px clamp(22px,3.8vw,62px) 52px}
.hero{margin-bottom:38px;border:1px solid #dfe7fa;border-radius:26px;padding:42px 43px;background:radial-gradient(ellipse at 100% 0%,rgba(175,235,223,.27),transparent 41%),linear-gradient(117deg,#edf3ff 2%,#f6f8ff 77%);box-shadow:0 22px 54px rgba(46,83,151,.055)}
.hero-row{gap:32px}.hero-row>div:first-child{max-width:600px;min-width:0}.eyebrow{font-size:10px!important;font-weight:850!important;letter-spacing:2px!important;color:#3269eb!important}
.hero h1{font-size:clamp(35px,3.4vw,55px);letter-spacing:-2.6px;line-height:1.1;font-weight:800;margin:18px 0 18px}.hero h1 em{color:#3468f8}.hero p{color:#6680a1;font-size:14px;line-height:1.85;max-width:520px}.hero-actions{margin-top:28px}
.executive-preview{position:relative;flex:0 0 min(37%,365px);width:min(37%,365px);min-width:290px;border-radius:22px;padding:22px 23px 18px;min-height:274px;background:linear-gradient(154deg,#15305f,#102146 75%);box-shadow:0 25px 46px rgba(26,48,98,.23);color:#fff;overflow:hidden}
.executive-preview:before{content:"";position:absolute;width:210px;height:210px;border-radius:50%;right:-87px;top:-100px;background:radial-gradient(circle,rgba(72,130,255,.35),transparent 75%)}
.exec-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#c5d5f2;font-size:9px;letter-spacing:1.1px;font-weight:800}.exec-top>span:first-child{display:flex;align-items:center;gap:8px}.live-dot{width:6px;height:6px;display:inline-block;background:#30d3ac;box-shadow:0 0 0 4px rgba(48,211,172,.12);border-radius:100%;flex-shrink:0}.exec-period{opacity:.55;font-size:9px}.exec-value-label{font-size:11px;color:#a9c0e0;margin-top:29px}.exec-value{font-weight:800;font-size:42px;letter-spacing:-2px;margin-top:0;line-height:1.3}.exec-spark{height:55px;display:flex;align-items:flex-end;gap:7px;margin-top:9px;padding:0 0 4px;border-bottom:1px solid rgba(222,234,255,.12)}.exec-spark span{flex:1;height:var(--level);background:linear-gradient(0deg,rgba(93,163,250,.17),rgba(82,166,248,.75));border-radius:3px 3px 0 0;min-width:2px}.exec-spark span:nth-last-child(-n+4){background:linear-gradient(0deg,rgba(36,209,172,.27),rgba(51,221,190,.9))}
.exec-bottom{display:flex;justify-content:space-between;margin:18px 0 0;gap:12px}.exec-bottom>div{min-width:0;flex:1}.exec-bottom>div+div{padding-left:18px;border-left:1px solid rgba(255,255,255,.13)}.exec-bottom small{display:block;font-size:10px;color:#9eb7dc}.exec-bottom strong{font-family:'Manrope',sans-serif;display:block;font-size:18px;letter-spacing:-.6px;margin-top:4px}.exec-footnote{display:block;font-size:9px;color:#87a7d5;margin-top:15px;line-height:1.45}
.section-title{margin-bottom:19px}.section-title h2{font-size:23px;font-weight:800;letter-spacing:-1px}.section-title p{font-size:12px;color:#8293ae}.section-title.below{margin-top:40px}
.metric-grid{gap:16px;margin-bottom:23px}.metric{position:relative;border:1px solid #e6ecf7;border-radius:20px;box-shadow:0 10px 25px rgba(31,57,103,.045);padding:23px 22px 22px;overflow:hidden}.metric:before{content:"";display:block;position:absolute;inset:0 auto 0 0;width:3px;background:#e8eefb}.metric:nth-child(2):before{background:#28c2a7}.metric:nth-child(3):before{background:#567ef9}.metric:nth-child(4):before{background:#ffac76}.metric .top{font-size:11px;color:#7187a4;font-weight:750}.metric .icon{height:35px;width:35px;border-radius:10px;background:#ecf2ff;color:#3569f6;font-size:16px}.metric strong{font-size:29px;letter-spacing:-1.2px;margin:14px 0 6px;color:#1b345a}.metric .positive{color:#119c82}.metric small{font-size:10px;color:#8698af;line-height:1.6}
.two-col{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:20px}.panel{border:1px solid #e7ecf5;border-radius:20px;box-shadow:0 12px 34px rgba(31,57,103,.05);padding:26px}.panel-heading{margin-bottom:24px}.panel h3{font-size:15px;color:#1c365b;font-weight:800}.panel-heading p{font-size:11px;color:#92a0b4}.mini-icon{color:#356cff;background:#eef3ff;width:33px;height:33px;border-radius:10px;display:grid;place-items:center}.legend{font-size:10px!important;color:#168f78!important}
.chart-row{grid-template-columns:minmax(78px,128px) 1fr 55px;gap:13px;padding:10px 0;font-size:12px}.chart-track{height:9px;background:#eef2f9}.chart-fill{background:linear-gradient(90deg,#3bd4b6,#098e7e)}.chart-fill.low{background:linear-gradient(90deg,#fac28e,#ee9464)}.chart-percent{color:#365b86}.attention{border-bottom:1px solid #eef2f7;padding:14px 0}.attention:last-child{border-bottom:0}.alert-icon{background:#fff2e9!important;color:#e8935a!important}.table-wrap{border-radius:20px;overflow:auto}.table-wrap table{min-width:640px}.table-wrap th{background:#f8faff!important;color:#8a9ab0!important;font-size:10px!important;letter-spacing:.7px!important;padding:16px!important}.table-wrap td{font-size:12px;padding:16px!important}
.site-card{border:1px solid #e2e9f6;border-radius:20px;box-shadow:0 14px 35px rgba(30,64,114,.045)}.site-heading h3{font-size:18px}.site-kpis{border-color:#edf1f7}.site-kpis strong{color:#19375e}.target-panel{border-color:#dfe7f7;background:linear-gradient(120deg,#fff,#f3f6ff)}.modal-card{border-radius:24px;box-shadow:0 36px 120px rgba(14,37,79,.25)}.form-grid input:focus,.form-grid textarea:focus{outline:2px solid #99b5ff;outline-offset:0}
.footer{color:#9babc2;border-color:#e3eaf5}.footer button{color:#3569f6}
@media(max-width:1250px){.hero{padding:32px}.executive-preview{flex-basis:300px;width:300px;min-width:280px}.hero h1{font-size:38px}}
@media(max-width:1100px){.hero-row{flex-wrap:wrap}.executive-preview{display:block;width:100%;flex-basis:100%;max-width:none;min-height:230px}.exec-spark{height:34px}.metric-grid{grid-template-columns:repeat(2,1fr)}.sidebar{width:220px;flex-basis:220px}.hero h1{font-size:42px}}
@media(max-width:760px){.sidebar{position:static;width:100%;height:auto;display:block;padding:13px 14px 10px;border-right:0;border-bottom:1px solid var(--line)}.brand{margin:0 0 13px!important;font-size:18px!important}.brand-mark{height:35px!important;width:35px!important}.nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:5px}.nav-link{padding:10px 7px;min-height:42px;justify-content:center;gap:5px;text-align:center;font-size:10px;white-space:normal;line-height:1.2}.nav-link span{font-size:16px}.nav-link:last-child{grid-column:span 2}.nav-link.active{box-shadow:inset 0 -3px #3469ff}.side-label,.sidebar-bottom{display:none}.topbar{min-height:57px;padding:12px 15px;gap:8px}.top-actions{gap:5px}.top-actions .btn{font-size:10px;padding:9px 9px}.bread{font-size:10px}main{padding:17px 15px 38px}.hero{padding:26px 23px;margin-bottom:28px;border-radius:20px}.hero h1{font-size:clamp(30px,8vw,42px);letter-spacing:-1.5px}.hero p{font-size:12px}.hero-row{display:block}.executive-preview{margin-top:26px;width:100%;min-width:0;min-height:0;padding:21px}.exec-spark{height:40px}.exec-value{font-size:35px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{padding:16px}.metric strong{font-size:23px}.metric .icon{width:29px;height:29px}.metric small{font-size:10px}.two-col,.site-grid{grid-template-columns:1fr;gap:14px}.panel{padding:19px}.section-title h2{font-size:20px}.section-title p{font-size:11px}.chart-row{grid-template-columns:85px 1fr 48px}.footer{padding:20px 17px}.table-wrap{padding:0}.hero-actions{gap:7px}.hero-actions .btn{font-size:11px}}
@media(max-width:380px){.nav-link{font-size:9px}.brand small{font-size:8px!important}.metric strong{font-size:19px}.metric .top{font-size:10px}.metric .icon{display:none}.hero{padding:23px 19px}.hero h1{font-size:31px}.section-title{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
}
@media print{.executive-preview{display:none!important}}

/* Crawlable, user-facing operator resources */
.site-resource-links{margin:48px 0 16px;padding:22px 25px;display:flex;flex-wrap:wrap;align-items:center;gap:12px 19px;background:#fff;border:1px solid #e0e7f0;border-radius:15px;color:#384b66;font-size:13px}.site-resource-links strong{flex-basis:100%;font-size:14px;color:#263d61}.site-resource-links a{color:inherit;text-underline-offset:3px}.site-resource-links a:hover{color:#2b60df}@media(max-width:600px){.site-resource-links{margin:26px 0 10px;padding:16px;gap:10px}.site-resource-links a{display:block;width:100%}}
