@font-face{font-family:EGNIN Manrope;src:url('/static/manrope-variable.ttf') format('truetype');font-weight:200 800;font-style:normal;font-display:swap}
@media screen{
html.refined-ui{--ref-font:'EGNIN Manrope',sans-serif;--ref-bg:#f6f7f8;--ref-card:#fff;--ref-text:#202522;--ref-muted:#69736d;--ref-border:#e3e7e4;--ref-accent:#28634c;--ref-soft:#edf4ef;--ref-shadow:0 2px 4px #14291d03,0 8px 28px #14291d05}
html.refined-ui[data-theme=dark]{--ref-bg:#151817;--ref-card:#202422;--ref-text:#f1f4f2;--ref-muted:#a7b2ab;--ref-border:#353d37;--ref-accent:#b0d5bc;--ref-soft:#2c3b31;--ref-shadow:0 8px 24px #00000018;color-scheme:dark}
html.refined-ui[data-theme=light]{color-scheme:light}
html.refined-ui body{font-family:var(--ref-font)!important;background:var(--ref-bg)!important;color:var(--ref-text)!important;font-size:14px;line-height:1.5;text-rendering:optimizeLegibility}
html.refined-ui body :is(button,input,select,textarea){font-family:var(--ref-font)!important;font-size:13px!important;font-weight:500;letter-spacing:0!important;box-sizing:border-box}
html.refined-ui body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=color]):not([type=file]),select){min-height:42px!important;height:42px!important;border:1px solid var(--ref-border)!important;border-radius:11px!important;background-color:var(--ref-card)!important;color:var(--ref-text)!important;box-shadow:0 1px 2px #00000004!important;padding:0 13px!important;line-height:normal!important}
html.refined-ui body select{appearance:none!important;-webkit-appearance:none!important;padding-right:34px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23768079' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 11px center!important;background-size:15px!important}
html.refined-ui body textarea{border-color:var(--ref-border)!important;border-radius:11px!important;padding:12px!important;color:var(--ref-text)!important;background:var(--ref-card)!important}
html.refined-ui body :is(input,select,textarea,button,a):focus-visible{outline:3px solid var(--ref-accent)!important;outline-offset:3px!important}
html.refined-ui body :is(button,.btn){border-radius:11px!important;min-height:40px;padding:9px 15px;font-weight:650!important;box-shadow:none!important;transition:background-color .16s,border-color .16s}
html.refined-ui body :is(button,.btn):hover{transform:none!important}
html.refined-ui body label{font-size:10px!important;line-height:1.3!important;font-weight:750!important;letter-spacing:.07em!important;color:var(--ref-muted)!important;margin-bottom:7px!important}
html.refined-ui body .content{max-width:1680px;margin:0 auto;padding:28px 30px 40px!important;width:100%;box-sizing:border-box}
html.refined-ui body .sidebar{padding:22px 14px 16px!important;background:var(--ref-card)!important;border-right:1px solid var(--ref-border)!important;gap:14px!important}
html.refined-ui body .egnin-brand{min-height:72px!important;margin:0 5px 14px!important;padding:12px 20px!important;border-radius:14px!important}
html.refined-ui body .egnin-sidebar-logo{max-height:44px!important;object-fit:contain}
html.refined-ui body .sidebar-search{margin:0 2px 10px!important;padding:0 10px!important;min-height:40px!important;border-radius:10px!important;background:var(--ref-bg)!important;border:1px solid var(--ref-border)!important}
html.refined-ui body .sidebar-search input{border:0!important;background:transparent!important;padding-left:6px!important;font-size:12px!important}
html.refined-ui body .side-nav{gap:4px!important;padding:0 2px!important;scrollbar-width:thin;scrollbar-color:var(--ref-border) transparent}
html.refined-ui body .nav-section{margin:20px 10px 8px!important;padding:0!important;font-size:9px!important;letter-spacing:.1em!important;color:var(--ref-muted)!important}
html.refined-ui body .nav-item{min-height:40px!important;padding:10px 12px!important;gap:11px!important;border-radius:10px!important;font-size:12px!important;font-weight:600!important;line-height:1.3!important}
html.refined-ui body .nav-item.active{background:var(--ref-soft)!important;color:var(--ref-accent)!important;box-shadow:inset 2px 0 var(--ref-accent)!important}
html.refined-ui body .nav-icon,html.refined-ui body .nav-icon svg{width:18px!important;height:18px!important}
html.refined-ui body .sidebar-user{padding:15px 6px!important;margin-top:8px!important;gap:9px!important}
html.refined-ui body .sidebar-user strong{font-size:11px!important}
html.refined-ui body .sidebar-user-text span{font-size:10px!important}
html.refined-ui body .avatar{width:34px!important;height:34px!important;font-size:11px!important;flex-shrink:0}
html.refined-ui body .topbar{min-height:68px!important;padding:12px 30px!important;gap:16px!important;border-bottom:1px solid var(--ref-border)!important;background:var(--ref-card)!important}
html.refined-ui body .topbar-heading strong{font-size:13px!important;font-weight:700!important}
html.refined-ui body .eyebrow{font-size:8px!important;letter-spacing:.14em!important}
html.refined-ui body .topbar-right,html.refined-ui body .ui-preferences{gap:10px!important;align-items:center!important}
html.refined-ui body .language-picker{width:76px!important;height:40px!important;min-width:76px!important;background:transparent!important;position:relative}
html.refined-ui body .language-flag,html.refined-ui body .language-chevron{display:none!important}
html.refined-ui body #ui-language{position:static!important;opacity:1!important;width:76px!important;min-width:76px!important;height:40px!important;min-height:40px!important;padding-left:13px!important;font-size:12px!important;font-weight:700!important;color:var(--ref-text)!important;cursor:pointer}
html.refined-ui body #ui-theme-toggle{width:40px!important;height:40px!important;min-height:40px!important;padding:10px!important;border:1px solid var(--ref-border)!important;background:var(--ref-card)!important;color:var(--ref-text)!important}
html.refined-ui body #ui-theme-toggle svg{width:18px!important;height:18px!important}
html.refined-ui body .topbar-account{padding-left:16px!important;gap:10px!important}
html.refined-ui body .topbar-avatar{width:34px!important;height:34px!important;font-size:10px!important}
html.refined-ui body .topbar-account strong{font-size:11px!important}.refined-ui .topbar-account small{font-size:10px!important}
html.refined-ui body .page-head{display:flex!important;align-items:flex-end!important;flex-wrap:wrap!important;gap:20px!important;margin-bottom:24px!important}
html.refined-ui body .page-head h1{font-size:clamp(25px,2.3vw,34px)!important;line-height:1.18!important;letter-spacing:-1.15px!important;font-weight:780!important;margin-bottom:9px!important}
html.refined-ui body .page-head p{font-size:12px!important;color:var(--ref-muted)!important;max-width:540px;margin:0!important}
html.refined-ui body .dash-filters{display:flex!important;align-items:flex-end!important;flex-wrap:wrap!important;gap:10px!important;margin-left:auto!important;padding:12px!important;background:var(--ref-card)!important;border:1px solid var(--ref-border)!important;border-radius:15px!important;box-shadow:var(--ref-shadow)}
html.refined-ui body .dash-filters>div{min-width:140px!important;flex:1 1 140px!important}
html.refined-ui body .dash-filters>div:first-child{min-width:208px!important}
html.refined-ui body .dash-filters>button{min-height:42px!important;height:42px!important;border:1px solid var(--ref-border)!important;background:var(--ref-soft)!important;color:var(--ref-accent)!important}
html.refined-ui body .month-control{display:grid;grid-template-columns:minmax(110px,1fr) 76px;gap:6px}
html.refined-ui body .month-control input{appearance:textfield!important;width:76px!important;padding:0 9px!important;font-variant-numeric:tabular-nums}
html.refined-ui body .month-control input::-webkit-inner-spin-button{appearance:none}
html.refined-ui body :is(.panel-card,.kpi-card,.quick-card,.card){border:1px solid var(--ref-border)!important;border-radius:17px!important;background:var(--ref-card)!important;box-shadow:var(--ref-shadow)!important}
html.refined-ui body :is(.panel-card,.card){padding:22px!important}
html.refined-ui body .quick-card{padding:10px!important;margin-bottom:18px!important}
html.refined-ui body .quick-actions{gap:8px!important}
html.refined-ui body .quick-actions>a{min-height:78px!important;padding:14px!important;border-radius:11px!important;background:var(--ref-bg)!important;gap:4px 10px!important;transition:background .16s}
html.refined-ui body .quick-actions>a:hover{background:var(--ref-soft)!important;transform:none!important}
html.refined-ui body .quick-actions strong{font-size:12px!important;font-weight:750!important}.refined-ui .quick-actions small{font-size:10px!important}
html.refined-ui body .quick-icon{width:32px!important;height:32px!important;border-radius:10px!important;background:var(--ref-soft)!important;color:var(--ref-accent)!important}
html.refined-ui body .quick-icon svg{width:19px!important;height:19px!important}
html.refined-ui body .kpi-grid{gap:14px!important;margin-bottom:18px!important}
html.refined-ui body .kpi-card{min-height:146px!important;padding:19px!important}
html.refined-ui body .kpi-top{margin-bottom:17px!important;min-height:26px!important;gap:8px!important}
html.refined-ui body .kpi-top>span:first-child{font-size:9px!important;font-weight:750!important;letter-spacing:.06em!important;color:var(--ref-muted)!important}
html.refined-ui body .trend{width:27px!important;height:27px!important;font-size:11px!important;flex-shrink:0}
html.refined-ui body .kpi-card>strong{font-size:clamp(22px,2vw,31px)!important;line-height:1.2!important;letter-spacing:-1px!important;font-weight:780!important;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
html.refined-ui body .kpi-card>small{font-size:10px!important;line-height:1.5!important;margin-top:10px!important;color:var(--ref-muted)!important}
html.refined-ui body .kpi-card.accent{box-shadow:inset 0 2px #b88946,var(--ref-shadow)!important}
html.refined-ui body .dashboard-grid{gap:18px!important;align-items:stretch!important}
html.refined-ui body .dashboard-grid-main{grid-template-columns:1.2fr 1fr 1fr!important}
html.refined-ui body .dashboard-grid-main>.panel-card:last-child{grid-column:auto!important}
html.refined-ui body .dashboard-grid-main>.panel-card{margin:0!important}
html.refined-ui body .card-heading{gap:12px!important;margin-bottom:20px!important;align-items:flex-start!important}
html.refined-ui body .card-heading h2{font-size:14px!important;font-weight:750!important;letter-spacing:-.3px!important;margin:0 0 5px!important}
html.refined-ui body .card-heading span{font-size:10px!important;color:var(--ref-muted)!important}.refined-ui .card-heading>a{font-size:10px!important;white-space:nowrap}
html.refined-ui body .goal-layout{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}
html.refined-ui body .goal-ring{width:110px!important;height:110px!important;margin:0 auto!important;box-shadow:none!important}
html.refined-ui body .goal-ring>div{inset:14px!important}
html.refined-ui body .goal-ring strong{font-size:25px!important}.refined-ui .goal-ring span{font-size:9px!important}
html.refined-ui body .goal-row>div:first-child{flex-wrap:wrap!important;font-size:10px!important;gap:4px!important}
html.refined-ui body :is(.progress,.pipeline-track){height:5px!important;border-radius:8px!important;background:var(--ref-border)!important}
html.refined-ui body .pipeline-row{margin-bottom:15px!important}.refined-ui .pipeline-label{font-size:10px!important;gap:8px!important}.refined-ui .pipeline-row small{font-size:9px!important;color:var(--ref-muted)!important}
html.refined-ui body .represented-list{grid-template-columns:1fr!important;gap:0!important}
html.refined-ui body .represented-row{padding:16px 0!important;gap:12px!important;flex-wrap:wrap!important}
html.refined-ui body .represented-row strong{font-size:12px!important}.refined-ui .represented-row span,.refined-ui .represented-row small{font-size:10px!important}
html.refined-ui body .lower-grid{margin-top:18px!important;grid-template-columns:1.65fr 1fr!important}
html.refined-ui body :is(.clean-table th,.clean-table td){padding:13px 12px!important;font-size:11px!important}
html.refined-ui body .clean-table th{font-size:9px!important;letter-spacing:.05em!important;background:var(--ref-bg)!important}
html.refined-ui body .empty-state{min-height:120px!important;font-size:12px!important;color:var(--ref-muted)!important}
html.refined-ui body :is(.status-pill,.partner-badge){font-size:9px!important;padding:5px 8px!important;line-height:1.3!important}
@media(min-width:981px){html.refined-ui body .app-shell{grid-template-columns:224px minmax(0,1fr)!important}}
@media(max-width:1350px){html.refined-ui body .dash-filters{margin-left:0!important;width:100%}html.refined-ui body .dashboard-grid-main{grid-template-columns:1fr 1fr!important}html.refined-ui body .dashboard-grid-main>.panel-card:last-child{grid-column:1/-1!important}html.refined-ui body .represented-list{grid-template-columns:1fr 1fr!important;gap:24px!important}html.refined-ui body .five-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:980px){html.refined-ui body .content{padding:22px 18px!important}html.refined-ui body .topbar{padding:12px 18px!important}html.refined-ui body .sidebar{width:252px!important}html.refined-ui body .quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:640px){html.refined-ui body .content{padding:20px 12px!important}html.refined-ui body .topbar{padding:10px 12px!important}html.refined-ui body .topbar-account{display:none!important}html.refined-ui body :is(.dashboard-grid-main,.lower-grid){grid-template-columns:1fr!important}html.refined-ui body .represented-list{grid-template-columns:1fr!important;gap:0!important}html.refined-ui body :is(.five-kpis,.quick-actions){grid-template-columns:repeat(2,minmax(0,1fr))!important}html.refined-ui body .dash-filters>button{width:100%}html.refined-ui body .dash-filters>div:first-child{flex-basis:100%!important}html.refined-ui body :is(.panel-card,.card){padding:17px!important}html.refined-ui body .kpi-card{padding:15px!important}html.refined-ui body :is(input,select,textarea){font-size:16px!important}html.refined-ui body .month-control{grid-template-columns:1fr 92px}html.refined-ui body .month-control input{width:92px!important}}
@media(prefers-reduced-motion:reduce){html.refined-ui body *{transition:none!important;animation:none!important}}
}

/* EGNIN layout repair 982 */
@media screen {
html.refined-ui body .app-shell {align-items:start!important}
html.refined-ui body .workspace {min-width:0!important;width:100%!important;margin-left:0!important}
html.refined-ui body .sidebar {box-sizing:border-box!important;min-width:0!important;overflow-x:hidden!important}
html.refined-ui body .sidebar .egnin-brand {box-sizing:border-box!important;width:calc(100% - 10px)!important;min-width:0!important;max-width:100%!important;height:76px!important;min-height:76px!important;padding:14px 18px!important;display:flex!important;align-items:center!important;justify-content:center!important;flex-shrink:0!important}
html.refined-ui body .sidebar .egnin-sidebar-logo {display:block!important;width:100%!important;min-width:0!important;max-width:164px!important;height:auto!important;max-height:48px!important;object-fit:contain!important}
html.refined-ui body .workspace .topbar {box-sizing:border-box!important;width:100%!important;max-width:100%!important;left:auto!important;right:auto!important;margin-left:0!important}
html.refined-ui body .sidebar .sidebar-search {display:flex!important;align-items:center!important;gap:7px!important;box-sizing:border-box!important;min-width:0!important;overflow:hidden!important;height:42px!important;min-height:42px!important;padding:0 11px!important;flex-shrink:0!important}
html.refined-ui body .sidebar .sidebar-search input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=color]):not([type=file]) {appearance:none!important;flex:1!important;width:0!important;min-width:0!important;max-width:100%!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;height:38px!important;min-height:38px!important;padding:0!important;font-size:11px!important}
html.refined-ui body .sidebar .sidebar-search:focus-within {outline:2px solid var(--ref-accent)!important;outline-offset:2px!important}
html.refined-ui body .sidebar .sidebar-search input:focus-visible {outline:none!important}
html.refined-ui body .content .dashboard-grid-main {grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;align-items:stretch!important}
html.refined-ui body .content .dashboard-grid-main>.panel-card {min-height:0!important;height:auto!important;align-self:stretch!important}
html.refined-ui body .content .dashboard-grid-main>.panel-card:last-child {grid-column:1/-1!important}
html.refined-ui body .content .goals-card .goal-layout {grid-template-columns:112px minmax(0,1fr)!important;align-items:center!important;gap:22px!important;padding:12px 0!important}
html.refined-ui body .content .goal-lines {display:grid!important;gap:17px!important;min-width:0!important}
html.refined-ui body .content .goal-row {margin:0!important;padding:0!important}
html.refined-ui body .content .pipeline-list {display:grid!important;gap:13px!important;margin:0!important;padding:0!important}
html.refined-ui body .content .pipeline-row {margin:0!important;padding:0!important;min-height:0!important}
html.refined-ui body .content .pipeline-label {margin-bottom:6px!important}
html.refined-ui body .content .pipeline-row small {display:block!important;margin-top:4px!important}
html.refined-ui body .content .represented-list {display:grid!important;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))!important;gap:12px 24px!important;margin:0!important}
html.refined-ui body .content .represented-row {display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;gap:12px!important;padding:12px 0!important;min-height:0!important}
html.refined-ui body .content .represented-row>div {min-width:0!important;max-width:100%!important;text-align:left!important}
html.refined-ui body .content .represented-row>div:last-child {display:grid!important;gap:4px!important}
html.refined-ui body .content .represented-row>div:last-child>strong {font-size:19px!important;font-variant-numeric:tabular-nums}
@media(min-width:981px) {html.refined-ui body .app-shell .sidebar {width:100%!important;max-width:100%!important}}
@media(max-width:700px) {
html.refined-ui body .content .dashboard-grid-main {grid-template-columns:minmax(0,1fr)!important}
html.refined-ui body .content .goals-card .goal-layout {grid-template-columns:minmax(0,1fr)!important;gap:20px!important}
html.refined-ui body .content .represented-list {grid-template-columns:minmax(0,1fr)!important}
}
}

/* EGNIN neutral surfaces 983 */
@media screen {
html.refined-ui[data-theme=dark] {
 --ref-bg:#141414;--ref-card:#202020;--ref-text:#f2f2f2;
 --ref-muted:#adadad;--ref-border:#383838;--ref-soft:#2b2b2b;
 --ref-accent:#aecdbb;--ref-shadow:0 2px 4px #00000010,0 8px 24px #00000018;
 --theme-canvas:#141414;--theme-card:#202020;--theme-soft:#2b2b2b;
 --theme-field:#262626;--theme-hover:#303030;--theme-line:#383838;
 --theme-identity-soft:#2b2b2b;
}
html.refined-ui[data-theme=light] {
 --ref-bg:#f5f5f7;--ref-card:#ffffff;--ref-text:#242424;
 --ref-muted:#6b6b70;--ref-border:#e4e4e7;--ref-soft:#efeff1;
 --ref-accent:#28634c;--ref-shadow:0 2px 4px #00000003,0 8px 24px #00000005;
 --theme-canvas:#f5f5f7;--theme-card:#ffffff;--theme-soft:#efeff1;
 --theme-field:#ffffff;--theme-hover:#e9e9ec;--theme-line:#e4e4e7;
 --theme-identity-soft:#efeff1;
}
html.refined-ui body .workspace,
html.refined-ui body .content {background:var(--ref-bg)!important}
html.refined-ui body .sidebar,
html.refined-ui body .workspace .topbar {background:var(--ref-card)!important}
html.refined-ui body .trend,
html.refined-ui body .quick-icon,
html.refined-ui body .nav-item.active {background:var(--ref-soft)!important}
html.refined-ui body .quick-actions>a {background:var(--ref-bg)!important}
html.refined-ui body .quick-actions>a:hover {background:var(--ref-soft)!important}
html.refined-ui body .kpi-card.accent {background:var(--ref-card)!important}
html.refined-ui body .goal-ring {background:conic-gradient(var(--ref-accent) calc(var(--progress,0)*1%),var(--ref-border) 0)!important}
html.refined-ui body .goal-ring>div {background:var(--ref-card)!important}
}
