:root{--emos-navy:#12386d;--emos-blue:#1a62ad;--emos-ink:#17324d;--emos-line:#dce6ef;--emos-canvas:#f4f7fb;--emos-side:246px;--emos-head:80px}
*{box-sizing:border-box}html{background:var(--emos-canvas)}body.emos-shell{font:15px/1.5 'Nunito',system-ui,sans-serif;background:var(--emos-canvas);color:var(--emos-ink);margin:0}
.emos-shell>header{height:var(--emos-head);min-height:var(--emos-head);padding:12px 28px;display:flex;align-items:center;justify-content:space-between;background:linear-gradient(110deg,#102f63,#1a62ad);position:sticky;top:0;z-index:40;box-shadow:0 2px 10px #12386d18}
.emos-brand{display:flex;align-items:center;gap:14px}.emos-brand img{width:108px;height:auto;background:#ffffff12;border-radius:10px;padding:6px}.emos-brand strong{font-size:18px}.emos-brand small{display:block;font-size:12px;color:#dbe9fa}.emos-shell header nav{display:flex;gap:10px;align-items:center}.emos-shell header nav a{font-size:13px;color:#fff;text-decoration:none;padding:8px 12px;border:1px solid #ffffff35;border-radius:8px}.emos-menu-toggle{display:none;background:#ffffff14;color:white;border:1px solid #ffffff40;border-radius:8px;padding:8px 12px;font:inherit}
#emosSidebar{position:fixed;left:0;top:var(--emos-head);bottom:0;width:var(--emos-side);overflow:auto;background:#fff;border-right:1px solid var(--emos-line);padding:20px 14px;z-index:30}
#tabs{position:static;display:flex;flex-direction:column;gap:4px;border:0;border-radius:0;background:none;box-shadow:none;margin:0;padding:0;overflow:visible;backdrop-filter:none}
.emos-nav-group{margin:20px 12px 6px;color:#74859b;font-size:10px;font-weight:850;letter-spacing:1px;text-transform:uppercase}.emos-nav-group:first-child{margin-top:0}
#tabs button,#tabs a{display:flex;align-items:center;gap:11px;width:100%;text-align:left;flex:none;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:#4a6179;text-decoration:none;font:700 13px/1.4 'Nunito',system-ui,sans-serif;cursor:pointer;white-space:normal}
#tabs button:hover,#tabs a:hover{background:#f1f6fc;color:#155ba2}#tabs .active,#tabs [aria-current=page]{background:#eaf3fc;color:#145ca6;box-shadow:none}#tabs .active::before,#tabs [aria-current=page]::before{content:'';width:4px;align-self:stretch;background:#1a62ad;border-radius:3px;margin-left:-12px;margin-right:8px}.emos-nav-icon{width:19px;height:19px;flex:none;opacity:.8}
.emos-shell>.wrap{max-width:none;margin:0 0 0 var(--emos-side);padding:28px 32px 60px;min-width:0}.emos-page-heading{margin:0 0 23px;display:flex;align-items:center;justify-content:space-between;gap:18px}.emos-page-heading small{display:block;font-size:11px;color:#6d8299;margin-bottom:4px}.emos-page-heading h1{font-size:26px;font-weight:850;letter-spacing:-.7px;line-height:1.2;margin:0;color:#153c6c}.emos-page-heading p{margin:7px 0 0;color:#75869b;font-size:13px}.emos-context-links{display:flex;flex-wrap:wrap;gap:7px}.emos-context-links a{display:inline-block;text-decoration:none;border:1px solid var(--emos-line);padding:7px 11px;border-radius:8px;font-size:12px;font-weight:800;color:#315e8b;background:#fff}.emos-context-links [aria-current=page]{background:#e9f3ff;color:#155ba2;border-color:#a9c9e8}
.emos-shell .notice{display:none}.emos-shell[data-emos-view=plans]>.wrap>.notice,.emos-shell[data-emos-view=digesa]>.wrap>.notice{display:flex;font-size:12px;min-height:0;padding:9px 13px;margin-bottom:18px}
.emos-shell .panel{margin-top:0}.emos-shell .card{border:1px solid var(--emos-line);border-radius:14px;box-shadow:0 3px 12px #12386d06}.emos-shell .login{z-index:100}.emos-shell .login .card{max-width:420px;width:92vw;padding:30px}.emos-shell .login h2{font-size:23px}.emos-shell input,.emos-shell select,.emos-shell textarea{font:inherit}.emos-shell :focus-visible{outline:3px solid #67a6e6;outline-offset:2px}
#emosFrame{display:block;width:100%;border:0;min-height:420px;background:transparent}#emosExternal{position:relative}#emosFrameState{padding:18px;color:#56728e;background:#fff;border:1px solid var(--emos-line);border-radius:12px;margin-bottom:14px}#emosAccessState{padding:26px;background:#fff;border:1px solid var(--emos-line);border-radius:14px}#emosAccessState a{color:#155ba2}
html.emos-embedded{background:var(--emos-canvas)}.emos-embedded body{margin:0!important;min-height:0!important;background:var(--emos-canvas)!important;font:15px/1.5 'Nunito',system-ui,sans-serif!important;color:var(--emos-ink)!important;overflow:hidden}
.emos-embedded body>header,.emos-embedded body>nav,.emos-embedded body>a,.emos-embedded .vm-nav,.emos-embedded .wrap>.tabs,.emos-embedded #logout,.emos-embedded #content>h1{display:none!important}
.emos-embedded .wrap,.emos-embedded body>main{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}.emos-embedded .card,.emos-embedded body>main>section{border:1px solid var(--emos-line);border-radius:14px;background:#fff;padding:22px;margin-bottom:16px;box-shadow:0 3px 12px #12386d06}
.emos-embedded h1,.emos-embedded h2,.emos-embedded h3{color:#153f70;font-family:inherit;letter-spacing:-.4px}.emos-embedded input,.emos-embedded select,.emos-embedded textarea,.emos-embedded button{font-family:inherit}.emos-embedded input,.emos-embedded select,.emos-embedded textarea{padding:9px 11px;border:1px solid #cbdbe9;border-radius:8px}.emos-embedded th{background:#edf4fb;color:#315675}.emos-embedded th,.emos-embedded td{border-color:#e1eaf2;padding:11px}.emos-embedded .btn{border-radius:8px}.emos-embedded .embedded{padding:0!important}.emos-embedded .embedded .wrap{padding:0!important}.emos-embedded .modal,.emos-embedded .login,.emos-embedded .auth-ov{z-index:80}
.emos-embedded .hdr,.emos-embedded .vm-module{display:none!important}.emos-embedded #dashboardFilters{position:static;box-shadow:none;background:white;border:1px solid var(--emos-line);border-radius:14px;margin-bottom:20px;padding:18px}.emos-embedded #dashboardSummary{padding:0!important}.emos-embedded .sec{padding-left:0!important;padding-right:0!important}.emos-embedded .kpi-card{box-shadow:0 3px 12px #12386d06}
@media(min-width:1051px){.emos-shell .grid{grid-template-columns:repeat(3,minmax(0,1fr))}.emos-shell .section-heading{gap:18px}.emos-shell .company-filter{width:min(330px,35vw)}}
@media(max-width:1050px){:root{--emos-side:218px}.emos-shell>.wrap{padding:24px 20px}.emos-brand img{width:80px}.emos-shell>header{padding:12px 20px}.emos-shell .section-heading{align-items:stretch;flex-direction:column}.emos-shell .company-filter{width:100%}}
@media(max-width:760px){:root{--emos-head:74px}.emos-menu-toggle{display:block}.emos-brand img{width:60px}.emos-brand strong{font-size:15px}.emos-brand small{max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emos-shell>header{padding:10px 14px;gap:8px}.emos-shell header nav a{padding:7px;font-size:12px}.emos-shell header nav a:first-child{display:none}#emosSidebar{transform:translateX(-100%);transition:transform .18s;box-shadow:10px 0 25px #102f6320;width:250px}.emos-shell.emos-menu-open #emosSidebar{transform:none}.emos-shell>.wrap{margin-left:0;padding:20px 14px 40px}.emos-page-heading{align-items:flex-start;flex-direction:column;gap:14px}.emos-page-heading h1{font-size:24px}.emos-shell .grid{grid-template-columns:1fr}.emos-shell .wide{grid-column:1/-1}.emos-shell .card{padding:17px}.emos-embedded .grid,.emos-embedded .grid2{grid-template-columns:1fr}.emos-embedded .card{padding:17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.emos-embedded .modal,.emos-embedded .auth-ov{position:absolute!important;inset:auto 0!important;top:var(--emos-overlay-top,0px)!important;height:var(--emos-viewport-height,90vh)!important}.emos-embedded .login{display:none!important}
.emos-frame[hidden]{display:none!important}

.emos-embedded #login,.emos-embedded main>a[href]{display:none!important}
@media(max-width:760px){.emos-brand img,#emosRefresh{display:none}.emos-brand small{max-width:140px}.emos-brand strong{font-size:14px}}
.emos-shell>header{flex-direction:row}.emos-brand{min-width:0}.emos-shell .grid>*{min-width:0}.emos-embedded .grid>*,.emos-embedded .grid2>*{min-width:0}.emos-embedded input[type=file]{width:100%;max-width:100%}.emos-embedded .drop{padding:20px}.emos-embedded #import>.grid2{min-width:0}
@media(max-width:760px){.emos-shell .grid,.emos-embedded .grid,.emos-embedded .grid2{grid-template-columns:minmax(0,1fr)}.emos-embedded body>main>section{padding:0;border:0;background:transparent;box-shadow:none}.emos-embedded .drop{padding:16px}.emos-embedded .grid2 input{max-width:100%}.emos-shell header nav{flex-wrap:nowrap}.emos-shell header nav a{white-space:nowrap}.emos-shell .emos-brand{gap:9px}}
.emos-shell header nav{width:auto;flex:0 0 auto}@media(max-width:760px){.emos-brand>div{min-width:0}.emos-brand strong{white-space:nowrap}}
.emos-embedded .modal-ov,.emos-embedded .loading-ov{position:absolute!important;inset:auto 0!important;top:var(--emos-overlay-top,0px)!important;height:var(--emos-viewport-height,90vh)!important}.emos-embedded .modalbox,.emos-embedded .modal-box,.emos-embedded .modal>.box,.emos-embedded .auth-box{max-height:calc(var(--emos-viewport-height,90vh) - 32px)!important;overflow:auto}
