/* MOPMARGIN / SIGNAL SYSTEM 03 — ORIGINAL SIGNATURE UI
   The UI contains real KPI values; the cost meter is driven by app.js.
   No external assets, scripts or fonts required. */
@media screen {
:root { --bg:#F9FBFF; --ink:#1D2B4A; --muted:#697994; --blue:#2855F6; --mint:#00A88D; --line:#DFE6F2; --shadow:0 16px 42px rgba(49,76,132,.07); }
html { scrollbar-gutter:stable; }
body { background:#F9FBFF; color:#1C2946; font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; letter-spacing:-.015em; }
.shell{background:#F9FBFF;}
.sidebar {width:226px;flex-basis:226px;padding:29px 14px 21px;border-color:#E6EAF2;background:#fff;}
.brand{padding-left:3px;gap:10px;font-size:22px!important;letter-spacing:-1.25px;margin-bottom:77px!important;color:#1E2948;}
.brand-mark{position:relative;width:40px!important;height:40px!important;font-family:Arial,sans-serif;font-size:26px!important;font-weight:900!important;letter-spacing:-3px;background:#2855F6!important;border-radius:13px!important;transform:none!important;box-shadow:0 8px 24px rgba(40,85,246,.22)!important;color:#fff!important;}
.brand-dot{color:#B2FFCB;font-size:24px;margin-left:0;}
.brand small{font-size:8px!important;letter-spacing:1.4px!important;color:#8695B2!important;margin-top:3px!important;}
.side-label{font-size:9px!important;letter-spacing:1.55px!important;padding-left:0;color:#8D9AB0!important;margin:0 7px 12px!important;white-space:nowrap;}
.side-label span{color:#2A56F5;}
.nav{gap:7px}.nav-link{border-radius:11px;min-height:46px;font-size:12px;letter-spacing:-.01em;color:#596D8B;padding:11px 12px;font-weight:700}.nav-link span{width:18px;font-size:16px}.nav-link.active{background:#EDF1FF;box-shadow:none;position:relative;color:#2149E2}.nav-link.active:before{position:absolute;content:'';left:-14px;top:9px;bottom:9px;width:3px;background:#2855F6;border-radius:0 8px 8px 0}
.sidebar-bottom{padding:22px 8px 0}.privacy-pill{font-size:10px;background:#E8FAF4!important;color:#087E6C!important}.sidebar-bottom p{font-size:11px;line-height:1.65;max-width:195px;}
.topbar{height:73px;background:#fff;padding:0 clamp(24px,3vw,58px);border-bottom:1px solid #E8EDF5}.bread{font-size:11px;color:#8999B2;font-weight:650}.bread strong{color:#1E3158}.top-status{font-weight:750;color:#068A6D;font-size:10px;white-space:nowrap}
.btn{border-radius:9px;min-height:43px;padding:10px 16px;font-weight:750;box-shadow:none}.btn-primary{background:#2855F6;box-shadow:0 8px 19px rgba(40,85,246,.15)}.btn-primary:hover{background:#1A45E5}.btn-light{border-color:#DCE4F7;color:#2A54DB;background:#fff}.btn-ghost,.btn-outline{border-color:#DCE5F1;color:#425A7A;background:#fff}.btn:hover{transform:translateY(-1px)}
main{padding:34px clamp(24px,3vw,58px) 70px;max-width:1600px;}
.hero{min-height:0;background:linear-gradient(120deg,#fff 0%,#FBFCFF 52%,#F0F5FF 100%);border:1px solid #D8E2F6;border-radius:18px;box-shadow:none;overflow:hidden;padding:28px clamp(28px,3.5vw,54px) 40px;position:relative;margin-bottom:0;}
.hero:before{content:'';border:0;border-left:1px solid rgba(44,87,235,.08);width:52%;height:150%;right:0;top:-10%;border-radius:0;background:repeating-linear-gradient(90deg,transparent 0 50px,rgba(48,82,199,.04) 50px 51px),repeating-linear-gradient(0deg,transparent 0 50px,rgba(48,82,199,.04) 50px 51px);z-index:-1;}
.hero:after{content:'';height:360px;width:360px;right:-178px;top:-180px;border:1px solid #DCE6FB;border-radius:50%;z-index:-1;}
.hero-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;position:relative;z-index:1;padding-bottom:23px;border-bottom:1px solid #E8EDF8;}
.eyebrow{color:#2855F6!important;font-size:9px!important;letter-spacing:2px!important;font-weight:850!important;display:inline-flex;align-items:center;gap:9px;}.eyebrow-mark{width:17px;height:17px;background:#2855F6;box-shadow:inset -5px 0 #A6FFC6;display:inline-block;border-radius:4px;transform:rotate(-15deg)}
.hero-index{font-size:9px;font-weight:800;letter-spacing:1.3px;color:#8E9CB9}
.hero-row{gap:clamp(22px,4vw,70px);padding:18px 0 0;align-items:center}
.hero-row>div:first-child{flex:1.35;max-width:none}.hero-copy{min-width:0;position:relative;z-index:1}
.hero h1{color:#15274A;font-size:clamp(53px,5.4vw,84px);letter-spacing:-.065em;line-height:1.035;font-weight:850;margin:22px 0 22px;font-family:'Segoe UI',Arial,sans-serif;max-width:690px;}
.hero h1 em{color:#2855F6;font-size:.98em;font-style:italic;font-family:Georgia,'Times New Roman',serif;font-weight:600;letter-spacing:-.066em;white-space:normal;}
.hero p{font-size:15px;line-height:1.83;color:#596D8C;max-width:480px;letter-spacing:0}
.hero-actions{margin-top:28px;gap:9px}.hero-actions .btn-lg{min-height:51px;font-size:12px;padding:13px 19px}.hero-actions .btn span{margin-left:8px;font-size:16px}
.hero-trust{margin-top:31px;display:flex;flex-wrap:wrap;gap:9px;align-items:center;color:#687C96;font-size:10px;font-weight:650;letter-spacing:.1px}.trust-dot{display:inline-block;border-radius:50%;width:7px;height:7px;background:#00AA83;box-shadow:0 0 0 4px #DDF9E9}.hero-separator{width:3px;height:3px;border-radius:50%;background:#A7B6D3}
.executive-preview{flex:0 1 415px;width:min(42%,415px);min-width:325px;max-width:none;transform:none;min-height:0;background:#fff;border:1px solid #D4E0F6;border-radius:16px;padding:27px 28px 22px;color:#1A2B50;box-shadow:0 35px 70px rgba(38,75,157,.13),8px 8px 0 rgba(160,182,239,.19);z-index:1;}
.executive-preview:before{display:none}.executive-preview:after{content:'MM / 01';font-size:8px;letter-spacing:2px;font-weight:900;position:absolute;right:30px;bottom:21px;color:#AAB8CE}
.exec-top{display:flex;align-items:center;justify-content:space-between;font-weight:900;font-size:9px;letter-spacing:1.25px;color:#385A9D;padding-bottom:17px;border-bottom:1px solid #EDF1F8}.exec-period{color:#8EA0BD;font-size:8px}.live-dot{background:#0CB992;box-shadow:0 0 0 4px #E1FCF2}
.exec-value-label{color:#5E7191;font-size:11px;margin-top:29px;font-weight:650}.exec-value{color:#1B3264;font-family:'Segoe UI',Arial,sans-serif;letter-spacing:-.067em;font-size:clamp(42px,4vw,58px);font-weight:850;margin:3px 0 18px;line-height:1.1}
.portfolio-meter-head{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:700;color:#687E9E}.portfolio-meter-head span:last-child{color:#345BE7}.portfolio-meter{height:14px;border-radius:5px;background:#CDFADD;overflow:hidden;margin:9px 0 20px}.portfolio-meter>div{height:100%;width:0;background:linear-gradient(90deg,#446AFE,#3452F3);border-radius:5px;transition:width .35s ease}
.portfolio-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 0 17px;border-bottom:1px solid #E9EEF7}.portfolio-breakdown small{display:block;color:#8999B0;font-size:10px;margin-bottom:4px}.portfolio-breakdown strong{color:#294270;display:block;font-size:17px;letter-spacing:-.035em}
.exec-bottom{margin:16px 0 0;display:flex;gap:5px}.exec-bottom>div{flex:1}.exec-bottom>div+div{padding-left:15px;border-left:1px solid #EDF1F7}.exec-bottom small{color:#8797AD;font-size:9px}.exec-bottom strong{color:#2550C7;font-size:18px;margin:3px 0 0}.exec-footnote{font-size:9px;color:#91A0B4;margin:15px 0 0;padding-right:55px}
.hero-corner{display:none}
.benefit-ribbon{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#EAF0FF;border:1px solid #D8E3FB;border-top:0;margin:0 0 54px;border-radius:0 0 16px 16px;padding:20px 22px;gap:0}
.benefit-ribbon>div{display:grid;grid-template-columns:28px 1fr;align-content:center;column-gap:10px;padding:4px 17px;border-right:1px solid #D3DFF7}.benefit-ribbon>div:last-child{border:0}
.ribbon-no{grid-row:span 2;font-size:11px;color:#3159F1;font-weight:900;font-family:Georgia,serif;padding-top:1px}.benefit-ribbon strong{font-size:11px;color:#203A68}.benefit-ribbon small{font-size:9px;color:#7889A4;margin-top:3px}
.section-title{margin-bottom:23px}.section-kicker{display:block;font-size:9px;font-weight:850;letter-spacing:2.1px;color:#345DE8;margin-bottom:8px}.section-title h2{font-size:clamp(25px,2.25vw,32px);line-height:1.14;letter-spacing:-.052em;color:#192B4B}.section-dot{color:#2855F6}.section-title p{font-size:11px;color:#8090AA;margin-top:7px}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:#fff;border:1px solid #E0E8F5;border-radius:16px;margin-bottom:23px;box-shadow:0 14px 32px rgba(40,65,126,.04);overflow:hidden}
.metric,.metric:nth-child(1),.metric:nth-child(2),.metric:nth-child(3),.metric:nth-child(4){border:0;border-radius:0;background:#fff;min-height:146px;box-shadow:none;padding:23px 20px 19px;border-right:1px solid #E8EEF7}.metric:nth-child(4){border:0}
.metric:before{display:none}.metric .top,.metric:nth-child(1) .top{font-size:11px;font-weight:730;color:#7182A0}.metric .icon,.metric:nth-child(1) .icon,.metric:nth-child(2) .icon{background:#ECF1FF;color:#315CF5;border-radius:9px;width:30px;height:30px;font-size:15px}.metric strong,.metric:nth-child(1) strong,.metric:nth-child(2) strong{font-size:32px;color:#182C53;letter-spacing:-.07em;margin:19px 0 5px}.metric:nth-child(2) strong,.metric:nth-child(2) .positive,.metric:nth-child(3) strong{color:#098B79}.metric:nth-child(1) small,.metric:nth-child(2) small,.metric small{color:#8D9CB1;font-size:10px}.metric:nth-child(2) .icon{color:#0B9F89;background:#E4FBF2}
.two-col{grid-template-columns:1.2fr 1fr;gap:20px}.panel{border-radius:16px;border:1px solid #E2E9F4;box-shadow:0 12px 28px rgba(39,63,113,.04);padding:26px;background:#fff}.panel h3{color:#203557;letter-spacing:-.035em;font-size:15px}.panel p{color:#8797AF}.chart-track{height:12px;background:#F0F3F8;border-radius:4px}.chart-fill,.chart-fill.low{border-radius:4px}.chart-fill{background:#315CF6}.chart-fill.low{background:#F4A06C}.attention{align-items:center}.attention .alert-icon{border-radius:9px;background:#FFF0E7;color:#E57E46}.section-title.below{margin-top:45px}
.table-wrap th{background:#F8FAFE!important;font-size:9px;letter-spacing:1px}.table-wrap td,.table-wrap th{padding:17px 21px}.site-resource-links{margin-top:44px;border-radius:15px;background:#fff;padding:25px 29px}.site-resource-links strong{font-size:12px;letter-spacing:-.02em}.site-resource-links a{font-size:11px;}
.site-card{border-radius:15px;box-shadow:0 12px 28px rgba(39,63,113,.05)}.site-kpis strong{color:#1A356B}.target-panel{border-left:3px solid #315AF6}.footer{color:#8999B3}
@media(max-width:1200px){.sidebar{width:212px;flex-basis:212px}.hero{padding:27px 29px 30px}.hero h1{font-size:clamp(48px,5vw,68px)}.executive-preview{flex-basis:355px;min-width:300px;width:42%;padding:22px}.hero-index{display:none}.benefit-ribbon>div{padding:4px 11px}}
@media(max-width:1000px){.hero-row{flex-wrap:wrap}.executive-preview{flex:1 1 100%;width:100%;min-width:0}.hero h1{font-size:clamp(48px,7vw,72px)}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric:nth-child(2){border-right:0}.metric:nth-child(1),.metric:nth-child(2){border-bottom:1px solid #E8EEF7}.benefit-ribbon{padding:16px 13px}}
@media(max-width:760px){html{scrollbar-gutter:auto}.sidebar{width:100%;height:auto;display:block;border-right:0;border-bottom:1px solid #E6ECF6;padding:15px 15px 9px}.brand{margin:0 0 14px!important;font-size:20px!important}.brand-mark{height:35px!important;width:35px!important;font-size:23px!important}.side-label,.sidebar-bottom{display:none}.nav{display:flex;overflow-x:auto;padding:0 0 5px;gap:5px;scrollbar-width:thin}.nav-link{flex:0 0 auto;min-height:40px;padding:9px 11px;font-size:11px;white-space:nowrap}.nav-link:last-child{grid-column:auto}.nav-link.active:before{left:10px;right:10px;bottom:0;top:auto;width:auto;height:2px;border-radius:3px}.nav-link span{font-size:15px;width:15px}.topbar{min-height:58px;height:auto;padding:10px 14px}.top-actions{gap:6px}.top-actions .btn{font-size:10px;padding:8px 10px;min-height:36px}.bread{font-size:10px}.top-status{display:none}main{padding:14px 12px 34px}.hero{padding:22px 19px 25px;border-radius:13px}.hero-topline{padding-bottom:14px}.eyebrow{font-size:8px!important;letter-spacing:1.2px!important}.hero h1{font-size:clamp(40px,10vw,62px);margin:24px 0 17px;letter-spacing:-.065em}.hero h1 em{letter-spacing:-.06em}.hero p{font-size:13px;line-height:1.68}.hero-actions{gap:8px;margin-top:22px}.hero-actions .btn{font-size:11px;min-height:43px;padding:10px 12px}.hero-trust{font-size:9px;margin-top:21px;gap:7px}.executive-preview{margin-top:27px;width:100%;padding:22px 19px;border-radius:12px}.exec-value{font-size:49px}.benefit-ribbon{grid-template-columns:1fr;padding:12px 18px;margin-bottom:35px;border-radius:0 0 12px 12px}.benefit-ribbon>div{border-right:0;border-bottom:1px solid #D4E2F6;padding:11px 2px;grid-template-columns:24px 1fr}.benefit-ribbon>div:last-child{border-bottom:0}.section-title h2{font-size:25px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));border-radius:12px}.metric,.metric:nth-child(1),.metric:nth-child(2){padding:15px 14px;min-height:124px}.metric strong,.metric:nth-child(1) strong,.metric:nth-child(2) strong{font-size:26px}.metric .top{font-size:10px}.metric .icon{display:none}.two-col{grid-template-columns:1fr}.panel{padding:20px;border-radius:13px}.site-resource-links{padding:20px;border-radius:13px}.section-title{align-items:start;flex-wrap:wrap}.section-title .btn{font-size:10px}.footer{padding:18px 12px}}
@media(max-width:360px){.hero h1{font-size:37px}.hero-topline .eyebrow{font-size:7px!important}.hero-actions .btn{font-size:10px;padding:10px}.exec-value{font-size:41px}.metric strong,.metric:nth-child(1) strong,.metric:nth-child(2) strong{font-size:23px}.portfolio-breakdown strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
}
/* Legibility and touch-target refinement from screenshot QA. */
@media screen {
.metric small,.metric:nth-child(1) small,.metric:nth-child(2) small{color:#596D8A;font-size:11px}
.metric .top{color:#536A89}.section-title p,.panel-heading p{color:#5E708B}
.portfolio-breakdown small,.exec-bottom small{color:#5C7190}.exec-footnote{color:#677A98}
.hero-trust{color:#536983}.benefit-ribbon small{color:#566E8E;font-size:10px}
}
@media screen and (max-width:760px){
.nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;overflow:visible;padding-bottom:0}
.nav-link{grid-column:span 2;display:flex;justify-content:center;gap:5px;padding:8px 4px;font-size:10px;white-space:normal;line-height:1.2;text-align:center}
.nav-link:nth-child(4),.nav-link:nth-child(5){grid-column:span 3}
.nav-link span{display:none}
.nav-link.active:before{left:18px;right:18px}
.metric small,.metric:nth-child(1) small,.metric:nth-child(2) small{font-size:10px}
}
