:root{--primary:#4f46e5;--primary-dark:#4338ca;--ink:#172033;--muted:#667085;--line:#e6eaf1;--bg:#f6f8fc;--white:#fff;--soft:#f2f4f8;--green:#059669;--red:#dc3545;--amber:#d97706}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Arial,sans-serif;direction:rtl}a{text-decoration:none}.top{background:#000;border-bottom:1px solid var(--line);padding:0;display:block;position:relative;z-index:10}.top-brand{display:block}.top-brand>div{display:none}.top-link{display:none}.top-brand{display:block}.site-logo{display:block;width:100%;height:auto;max-width:1160px;object-fit:contain}.brand{font-size:20px;font-weight:900;letter-spacing:-.2px}.sub{color:var(--muted);font-size:12px;margin-top:3px}.top-link{display:inline-flex;align-items:center;gap:7px;background:#f1f3f8;color:#28344a;border:1px solid var(--line);padding:10px 14px;border-radius:11px;font-weight:800;font-size:13px}.top-link:hover{background:#e9ecf5}.danger-link{color:#b42318;background:#fff3f2}.wrap{max-width:1220px;margin:28px auto;padding:0 18px}.wrap.narrow{max-width:1050px}.page-intro{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.eyebrow{font-size:12px;font-weight:900;color:var(--primary);margin-bottom:5px}.h1{font-size:28px;line-height:1.35;margin:0 0 7px;font-weight:900}.h2{font-size:19px;margin:0;font-weight:900}.muted{color:var(--muted);line-height:1.8}.card,.hero-card{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:24px;box-shadow:0 8px 28px rgba(20,35,70,.055);margin-bottom:18px}.hero-card{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#fff,#f7f7ff);padding:26px 28px}.hero-card h1{margin:0 0 5px;font-size:27px}.hero-card p{margin:0;color:var(--muted)}.hero-date{background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px 18px;min-width:130px;text-align:center}.hero-date span{display:block;color:var(--muted);font-size:11px}.hero-date b{display:block;margin-top:4px;font-size:18px}.form-card{padding:0;overflow:hidden}.form-section{padding:25px;border-bottom:1px solid var(--line)}.section-title{display:flex;align-items:center;gap:12px;margin-bottom:20px}.section-title h2{margin:0;font-size:17px;font-weight:900}.section-title small{color:var(--muted);display:block;margin-top:3px;font-size:11px}.section-icon,.login-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#eef0ff;color:var(--primary);font-weight:900;font-size:18px;flex:none}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.field label{display:block;font-weight:800;font-size:13px;margin:0 0 7px}.field label em{color:var(--red);font-style:normal}.optional{color:var(--muted);font-weight:500;font-size:11px;margin-right:4px}.control{position:relative}.control-icon{position:absolute;right:13px;top:50%;transform:translateY(-50%);z-index:1;color:#8a94a6;font-weight:900;font-size:14px;pointer-events:none}.control input,.control select,.control textarea,.field>input,.field>select,.field>textarea{font-family:inherit}.control input,.control select,.field input,.field select,.field textarea{width:100%;height:48px;padding:0 40px 0 13px;border:1px solid #cfd6e2;border-radius:12px;background:#fff;color:var(--ink);font-size:13px;outline:none;transition:.18s}.field textarea{height:auto;min-height:95px;padding:12px 13px}.control input:focus,.control select:focus,.field textarea:focus{border-color:#8b85ef;box-shadow:0 0 0 4px rgba(79,70,229,.09)}.control input[readonly]{background:#f7f8fb;color:#667085}.control select:disabled{background:#f1f3f7;color:#98a2b3;cursor:not-allowed}.auto-tag{display:inline-block;margin-right:5px;background:#eef2ff;color:var(--primary);border-radius:20px;padding:3px 8px;font-size:10px;font-weight:800}.auto-tag.green{background:#ecfdf3;color:var(--green)}.highlight-field .control input{border-color:#a8a3f3;background:#fafaff}.readonly-success input{background:#f0fdf7!important;border-color:#9fe0c5!important;color:#047857!important;font-weight:900}.calc-note{font-size:10px;color:var(--green);margin-top:5px}.calc-note.bad{color:var(--red)}.form-footer{padding:18px 25px;display:flex;justify-content:space-between;align-items:center;gap:15px}.secure-note{font-size:11px;color:var(--muted)}.secure-note span{color:var(--green);font-weight:900;margin-left:4px}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn{border:0;border-radius:11px;padding:12px 19px;min-height:44px;font-family:inherit;font-size:12px;font-weight:900;cursor:pointer;background:var(--primary);color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:.15s}.btn:hover{background:var(--primary-dark);transform:translateY(-1px)}.btn.secondary{background:#eef0f6;color:#2f3b50}.btn.secondary:hover{background:#e4e7ef}.btn.danger{background:#dc3545}.full{width:100%;margin-top:8px}.msg{padding:13px 15px;border-radius:13px;margin-bottom:16px;display:flex;align-items:center;gap:10px;background:#ecfdf3;color:#166534;border:1px solid #c7f1d8;font-size:12px;font-weight:700}.msg.err{background:#fff1f2;color:#9f1239;border-color:#ffd0d6}.msg-icon{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.75);font-weight:900}.steps{display:none;align-items:center;justify-content:center;margin:0 auto 20px;max-width:680px}.step{display:flex;align-items:center;gap:7px;color:#98a2b3;font-size:11px;font-weight:800}.step b{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#e9edf4;color:#667085}.step.active{color:var(--primary)}.step.active b{background:#e8e7ff;color:var(--primary)}.steps i{height:1px;background:#dfe4ec;flex:1;margin:0 8px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat.modern{background:#fff;border:1px solid var(--line);border-radius:17px;padding:17px;display:flex;align-items:center;gap:13px;box-shadow:0 7px 22px rgba(20,35,70,.04)}.stat-icon{width:43px;height:43px;border-radius:13px;background:#eef0ff;color:var(--primary);display:grid;place-items:center;font-size:18px;font-weight:900;flex:none}.stat span{display:block;color:var(--muted);font-size:11px;font-weight:700}.stat b{display:block;font-size:25px;line-height:1.2;margin-top:4px}.stat small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.summary-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:16px}.summary-date{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.summary-date label{display:block;font-size:11px;font-weight:800}.summary-date input{height:44px;padding:0 10px;border:1px solid #cfd6e2;border-radius:11px;font-family:inherit}.summary-card{overflow:hidden}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:13px}.table{width:100%;border-collapse:separate;border-spacing:0;min-width:920px;font-size:11px}.table th,.table td{padding:11px 10px;border-bottom:1px solid #edf0f5;text-align:right;white-space:nowrap}.table thead th{background:#f8f9fc;font-weight:900;color:#344054;position:sticky;top:0}.table tbody tr:hover{background:#fafbff}.table tbody tr:last-child td,.table tbody tr:last-child th{border-bottom:0}.summary-table{min-width:1450px}.summary-table th:first-child{position:sticky;right:0;z-index:2;background:#f8f9fc}.summary-table td{text-align:center}.summary-table tbody th{white-space:normal;min-width:250px}.number-badge{display:inline-flex;min-width:35px;padding:5px 8px;justify-content:center;border-radius:8px;background:#eef2ff;color:#4338ca;font-weight:900}.number-badge.warn{background:#fff7ed;color:#c2410c}.login{max-width:430px;margin:80px auto;text-align:right}.login-icon{margin-bottom:15px}.login .h1{font-size:23px}.login .muted{font-size:12px}.narrow .form-card{max-width:100%}
@media(max-width:900px){.stats{grid-template-columns:repeat(2,1fr)}.grid3{grid-template-columns:repeat(2,1fr)}.top{padding:0}.site-logo{width:100%;height:auto}}
@media(max-width:650px){.grid,.grid3,.stats{grid-template-columns:1fr}.wrap{margin-top:16px;padding:0 11px}.card,.hero-card{padding:17px;border-radius:16px}.hero-card{align-items:flex-start;gap:15px;flex-direction:column}.hero-date{width:100%;text-align:right}.top{position:static;align-items:flex-start}.top-brand .brand{font-size:15px}.top-brand .sub{font-size:9px}.top .actions{justify-content:flex-end}.steps{display:none}.form-section{padding:18px}.form-footer{padding:16px;align-items:stretch;flex-direction:column}.actions,.actions .btn{width:100%}.actions .btn{flex:1}.summary-head{align-items:stretch;flex-direction:column}.summary-date{align-items:stretch}.summary-date input,.summary-date .btn{width:100%}.h1{font-size:23px}}
.status-card{overflow:hidden}.status-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:18px 0}.status-metric{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--border,#e6e9ef);border-radius:16px;background:#fff}.status-metric small{display:block;color:#687386;font-size:12px;margin-bottom:3px}.status-metric b{font-size:22px}.status-dot{display:inline-block;width:11px;height:11px;border-radius:50%;flex:0 0 11px;background:#9aa3af}.status-dot.complete{background:#22a06b}.status-dot.partial{background:#e09b2d}.status-dot.missing{background:#d34b4b}.status-dot.all{background:#4b67d1}.status-dot.rate{background:#7653d6}.status-legend{display:flex;gap:22px;flex-wrap:wrap;margin:4px 0 14px;color:#596477;font-size:13px}.status-legend span{display:inline-flex;align-items:center;gap:7px}.status-pill{display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:999px;font-weight:700;font-size:12px}.complete-pill{background:#e9f8f0;color:#177245}.partial-pill{background:#fff5df;color:#94600d}.missing-pill{background:#fdecec;color:#a93636}.institution-cell strong{display:block}.institution-cell small{display:block;color:#8a93a2;margin-top:3px;direction:ltr;text-align:right}.status-table td,.status-table th{vertical-align:middle}.summary-date select{min-width:140px}@media(max-width:1000px){.status-metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.status-metrics{grid-template-columns:1fr}.status-card .summary-head{flex-direction:column}.summary-date{width:100%}}
.ranking-top{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}.ranking-highlight{display:flex;align-items:center;gap:12px;padding:14px 16px;border:1px solid #e8eaf0;border-radius:16px;background:#fbfcff}.ranking-highlight small{display:block;color:#7b8190;font-size:12px;margin-bottom:3px}.ranking-highlight strong{display:block;font-size:15px}.ranking-highlight>b{margin-inline-start:auto;font-size:20px}.rank-medal{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eef0ff;font-weight:800}.rank-number{display:inline-grid;place-items:center;min-width:30px;height:30px;border-radius:10px;background:#f1f3f8;font-weight:800}.rate-cell{min-width:145px}.rate-cell strong{display:block;margin-bottom:6px}.rate-bar{height:7px;background:#edf0f5;border-radius:20px;overflow:hidden}.rate-bar span{display:block;height:100%;border-radius:20px;background:currentColor}.ranking-table td,.ranking-table th{vertical-align:middle}@media(max-width:900px){.ranking-top{grid-template-columns:1fr}.rate-cell{min-width:110px}}

/* Dashboard navigation */
.dashboard-shell{display:flex;direction:rtl;min-height:calc(100vh - 90px);gap:0}.dashboard-main{flex:1;min-width:0}.side-nav{width:225px;flex:0 0 225px;background:#fff;border-left:1px solid var(--line);padding:22px 14px;position:sticky;top:0;height:calc(100vh - 90px);overflow:auto;box-shadow:-5px 0 18px rgba(20,35,70,.025)}.side-title{font-size:15px;font-weight:900;padding:8px 12px 18px;color:var(--ink)}.side-link{display:flex;align-items:center;gap:10px;text-decoration:none;color:#667085;font-size:12px;font-weight:800;padding:11px 12px;border-radius:12px;margin:4px 0;transition:.15s}.side-link:hover{background:#f5f6ff;color:var(--primary)}.side-link.active{background:#eef0ff;color:var(--primary)}.side-sep{height:1px;background:var(--line);margin:16px 8px}@media(max-width:900px){.dashboard-shell{display:block}.side-nav{width:auto;height:auto;position:static;display:flex;gap:5px;overflow:auto;padding:10px 12px;border-left:0;border-bottom:1px solid var(--line)}.side-title{display:none}.side-link{white-space:nowrap;margin:0}.side-sep{display:none}.side-link span{display:inline}}

.section-icon,.control-icon,.stat-icon,.login-icon,.msg-icon{display:none!important}

/* Final visual overrides: exact supplied header image, Arial, no decorative icons/steps */
body{font-family:Arial,sans-serif!important}
.top{background:#000!important;padding:0!important;display:block!important;position:relative!important;min-height:0!important}
.top-brand{display:block!important;margin:0!important;padding:0!important}
.site-logo{display:block!important;width:100%!important;max-width:none!important;height:auto!important;object-fit:contain!important}
.top-brand>div,.top .top-link,.steps,.section-icon,.control-icon,.stat-icon,.login-icon,.msg-icon{display:none!important}

/* V14: stable blue selection without white text in the closed field */
.control select,
.field select,
.summary-date select{
  color:var(--ink)!important;
  -webkit-text-fill-color:var(--ink);
  background-color:#fff!important;
}
.control select:focus,
.field select:focus,
.summary-date select:focus{
  color:var(--ink)!important;
  -webkit-text-fill-color:var(--ink);
  border-color:#1677ff!important;
  box-shadow:0 0 0 4px rgba(22,119,255,.12)!important;
}
.control select option,
.field select option,
.summary-date select option{
  color:var(--ink);
  background:#fff;
}
.control select option:checked,
.field select option:checked,
.summary-date select option:checked{
  background:#1677ff;
  color:#fff;
}

/* V15 final visual adjustments */
body,button,input,select,textarea{font-family:Arial,sans-serif!important}
.top{display:flex!important;justify-content:center!important;align-items:center!important;background:#000!important;width:100%!important}
.top-brand{width:100%!important;display:flex!important;justify-content:center!important;align-items:center!important}
.site-logo{width:100%!important;max-width:1500px!important;height:auto!important;margin:0 auto!important;display:block!important}
.page-intro{justify-content:center!important;text-align:center!important}
.eyebrow{font-size:15px!important}
.h1{font-size:38px!important;line-height:1.3!important;font-weight:900!important;color:#123f88!important}
.muted{font-size:16px!important}
.section-title h2,.h2{font-size:22px!important}
.section-title small{font-size:14px!important}
.field label{font-size:17px!important;font-weight:800!important}
.control input,.control select,.field input,.field select,.field textarea{font-size:16px!important;height:54px!important;color:#172033!important;-webkit-text-fill-color:#172033!important}
.field textarea{height:auto!important;min-height:110px!important}
.control select:focus,.field select:focus,.control input:focus,.field input:focus,.field textarea:focus{border-color:#1677ff!important;box-shadow:0 0 0 4px rgba(22,119,255,.12)!important;color:#172033!important;-webkit-text-fill-color:#172033!important}
.control select option,.field select option{font-size:16px!important;color:#172033!important;background:#fff!important}
.control select option:checked,.field select option:checked{background:#1677ff!important;color:#fff!important}
.form-section{padding:30px!important}
.card{padding:28px!important}
.btn{font-size:15px!important}
@media(max-width:650px){.site-logo{width:100%!important;max-width:none!important}.h1{font-size:31px!important}.muted{font-size:15px!important}.field label{font-size:16px!important}.control input,.control select,.field input,.field select,.field textarea{font-size:16px!important}}


/* V16 - header enlarged and typography reinforced */
html,body,body *,button,input,select,textarea{font-family:Arial,sans-serif!important;}
.h1,.hero-card h1,.h2,.section-title h2,.field label,.page-intro .eyebrow,.muted,.btn,.summary-head,.summary-table,.status-card{font-family:Arial,sans-serif!important;}
.h1{font-size:42px!important;font-weight:700!important;line-height:1.3!important;}
.hero-card h1{font-size:34px!important;font-weight:700!important;}
.h2,.section-title h2{font-size:24px!important;font-weight:700!important;}
.field label{font-size:18px!important;font-weight:700!important;}
.muted{font-size:17px!important;}
.top{min-height:250px!important;padding:0!important;overflow:hidden!important;}
.top-brand{width:100%!important;min-height:250px!important;display:flex!important;justify-content:center!important;align-items:center!important;}
.site-logo{display:block!important;width:100%!important;max-width:1600px!important;height:auto!important;min-height:250px!important;object-fit:fill!important;margin:0 auto!important;}
/* Blue selection/focus without white text */
.control select:focus,.field select:focus,.control input:focus,.field input:focus,.field textarea:focus{border-color:#1677ff!important;box-shadow:0 0 0 4px rgba(22,119,255,.14)!important;color:#172033!important;-webkit-text-fill-color:#172033!important;}
.control select option,.field select option{background:#fff!important;color:#172033!important;font-family:Arial,sans-serif!important;}
.control select option:checked,.field select option:checked{background:#1677ff!important;color:#fff!important;}
@media(max-width:650px){
 .top{min-height:150px!important;}
 .top-brand{min-height:150px!important;}
 .site-logo{min-height:150px!important;width:100%!important;max-width:none!important;}
 .h1{font-size:34px!important;}
 .h2,.section-title h2{font-size:21px!important;}
 .field label{font-size:17px!important;}
 .muted{font-size:15px!important;}
}

/* V18 - multi-level entry */
.levels-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:#fff}
.levels-entry-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;font-size:15px}
.levels-entry-table th,.levels-entry-table td{padding:13px 12px;border-bottom:1px solid #edf0f5;text-align:center;vertical-align:middle}
.levels-entry-table thead th{background:#f8f9fc;font-weight:800;color:#344054;white-space:nowrap}
.levels-entry-table tbody tr:last-child td{border-bottom:0}
.levels-entry-table tbody tr:hover{background:#fafbff}
.levels-entry-table th:first-child,.levels-entry-table td:first-child{text-align:right}
.level-name{font-weight:800;min-width:180px}
.level-input{width:100%;min-width:125px;height:48px;border:1px solid #cfd6e2;border-radius:10px;background:#fff;color:var(--ink);font-family:Arial,sans-serif;font-size:16px;text-align:center;outline:none}
.level-input:focus{border-color:#1677ff;box-shadow:0 0 0 4px rgba(22,119,255,.12)}
.level-input[readonly]{background:#f0fdf7;border-color:#b7e4cd;color:#047857;font-weight:800}
.invalid-field{border-color:#dc3545!important;box-shadow:0 0 0 3px rgba(220,53,69,.10)!important}
.pct-value{font-weight:800;white-space:nowrap;color:#344054}
.empty-levels{margin-top:12px;padding:15px;border:1px dashed #cfd6e2;border-radius:12px;color:var(--muted);text-align:center;font-size:14px;background:#fafbfc}
@media(max-width:650px){
  .levels-section{padding:15px!important}
  .levels-entry-table{min-width:690px;font-size:14px}
  .levels-entry-table th,.levels-entry-table td{padding:10px 8px}
  .level-input{min-width:105px;height:48px;font-size:16px}
  .level-name{min-width:145px}
}

/* V20 - Dashboard visual redesign inspired by the supplied reference */
:root{--primary:#2f66a8;--primary-dark:#24558e;--accent:#f2a51a;--ink:#243247;--muted:#697586;--line:#e5e9ef;--bg:#f3f5f8;--green:#54c98b;--red:#e56b7d;--amber:#f1b64a}
body{background:#f3f5f8!important;color:var(--ink)!important}
.top{background:#fff!important;border-bottom:1px solid #e4e7ec!important;box-shadow:0 1px 5px rgba(0,0,0,.03)!important;min-height:250px!important}
.top-brand{background:#fff!important;min-height:250px!important}
.site-logo{background:#fff!important}
.dashboard-shell{min-height:calc(100vh - 250px)!important}
.side-nav{background:linear-gradient(180deg,#355f9f,#2363a9)!important;border:0!important;border-radius:0!important;padding:18px 12px!important;box-shadow:-6px 0 20px rgba(31,70,120,.10)!important}
.side-title{color:#fff!important;padding:8px 13px 18px!important;font-size:16px!important}
.side-link{color:#fff!important;border-radius:9px!important;margin:3px 0!important;font-size:13px!important;padding:12px 13px!important}
.side-link:hover{background:rgba(255,255,255,.12)!important;color:#fff!important}
.side-link.active{background:rgba(255,255,255,.18)!important;color:#fff!important;box-shadow:inset 3px 0 0 #fff}
.side-sep{background:rgba(255,255,255,.18)!important}
.dashboard-main .wrap{max-width:1450px!important;margin:22px auto!important}
.hero-card{background:linear-gradient(135deg,#fff,#f8fafc)!important;border-radius:14px!important;padding:22px 26px!important;box-shadow:0 3px 14px rgba(30,55,90,.06)!important;border-color:#e4e8ee!important}
.hero-card:before{content:"";position:absolute}
.hero-card h1{color:#2f5f99!important;font-size:29px!important}
.stats{grid-template-columns:repeat(4,1fr)!important;gap:12px!important}
.stat.modern{border-radius:13px!important;padding:16px!important;box-shadow:0 3px 12px rgba(30,55,90,.045)!important;border-color:#e5e8ed!important}
.stat.modern:nth-child(1){border-top:3px solid #5b8ed1}
.stat.modern:nth-child(2){border-top:3px solid #e56b7d}
.stat.modern:nth-child(3){border-top:3px solid #55c98b}
.stat.modern:nth-child(4){border-top:3px solid #f0b64d}
.stat b{font-size:27px!important;color:#223247!important}
.card{border-radius:14px!important;box-shadow:0 3px 14px rgba(30,55,90,.045)!important;border-color:#e4e8ee!important;padding:22px!important}
.btn{background:#2f66a8!important;border-radius:8px!important;padding:11px 18px!important}
.btn:hover{background:#24558e!important}
.btn.secondary{background:#eef1f5!important;color:#40516a!important}
.dashboard-charts{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.85fr);gap:16px;margin-bottom:18px}
.chart-card{margin-bottom:0!important;min-width:0}
.chart-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}
.chart-head .h2{font-size:20px!important;color:#30445f!important}
.chart-head .muted{font-size:13px!important;margin-top:4px}
.legend-row{display:flex;gap:22px;align-items:center;flex-wrap:wrap;margin:-3px 0 15px;color:#657184;font-size:12px;font-weight:700}
.legend-row span{display:inline-flex;align-items:center;gap:7px}
.legend-dot{display:inline-block;width:10px;height:10px;border-radius:50%}
.legend-dot.absence{background:#e56b7d}.legend-dot.benefit{background:#58c98d}
.level-bars{display:flex;flex-direction:column;gap:11px}
.level-bar-row{display:grid;grid-template-columns:145px 1fr 105px;gap:10px;align-items:center}
.level-bar-label{font-size:12px;font-weight:700;color:#4a596d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.level-bar-track{height:22px;background:#f0f2f5;border-radius:6px;overflow:hidden;position:relative;direction:rtl}
.level-bar-track .bar{display:block;height:50%;position:absolute;right:0;border-radius:5px;transition:width .25s}
.absence-bar{top:0;background:#e56b7d}.benefit-bar{bottom:0;background:#58c98d}
.level-bar-values{display:flex;justify-content:flex-start;gap:12px;direction:ltr;font-size:11px}
.level-bar-values b:first-child{color:#d5576b}.level-bar-values b:last-child{color:#38a873}
.status-chart-card{display:flex;flex-direction:column}
.donut-wrap{display:flex;justify-content:center;align-items:center;padding:6px 0 10px}
.donut{width:190px;height:190px;border-radius:50%;background:conic-gradient(#55c98b 0deg var(--complete),#f1b64a var(--complete) calc(var(--complete) + var(--partial)),#e56b7d calc(var(--complete) + var(--partial)) 360deg);display:grid;place-items:center;position:relative}
.donut-hole{width:132px;height:132px;border-radius:50%;background:#fff;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;box-shadow:0 2px 10px rgba(30,55,90,.05)}
.donut-hole strong{font-size:25px;color:#55c98b}.donut-hole span{font-size:11px;color:#7b8492;margin-top:4px}
.donut-legend{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-top:auto}
.donut-legend>div{background:#f7f8fa;border-radius:9px;padding:9px 7px;text-align:center;font-size:10px;color:#687386}
.donut-legend i{vertical-align:middle;margin-left:4px}.donut-legend b{display:block;color:#25364d;font-size:18px;margin-top:3px}
.legend-dot.complete{background:#55c98b}.legend-dot.partial{background:#f1b64a}.legend-dot.missing{background:#e56b7d}
.trend-card{grid-column:1 / -1}
.line-chart-wrap{width:100%;overflow:hidden;background:linear-gradient(#fff,#fbfcfd);border-radius:10px}
.line-chart-wrap svg{display:block;width:100%;height:auto;min-height:260px}
.chart-grid-line{stroke:#e6eaf0;stroke-width:1}.chart-axis-label{fill:#8a93a0;font-size:10px}.chart-date-label{fill:#7b8594;font-size:10px}.trend-line{stroke:#3bb8bc;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.trend-point{fill:#fff;stroke:#3bb8bc;stroke-width:3}
.ranking-chart-card{grid-column:1 / -1}
.ranking-bars{display:flex;flex-direction:column;gap:10px}
.ranking-bar-row{display:grid;grid-template-columns:170px 1fr 60px;gap:12px;align-items:center}
.ranking-name{font-size:12px;font-weight:700;color:#4b596b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ranking-track{height:12px;background:#eef1f4;border-radius:10px;overflow:hidden}.ranking-track span{display:block;height:100%;background:#5c91d0;border-radius:10px}
.ranking-bar-row>b{font-size:12px;color:#355d8e;text-align:left;direction:ltr}
.summary-card{margin-top:18px!important}
.summary-table thead th{background:#eef3f8!important;color:#315276!important}
.summary-table tbody tr:nth-child(even){background:#fafbfc}
.status-metric{background:#f8f9fb!important}
.rate-bar span{background:#5c91d0!important}
@media(max-width:1000px){.dashboard-charts{grid-template-columns:1fr}.trend-card,.ranking-chart-card{grid-column:auto}.stats{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:650px){.top,.top-brand{min-height:150px!important}.dashboard-shell{min-height:calc(100vh - 150px)!important}.dashboard-main .wrap{margin:14px auto!important}.stats{grid-template-columns:1fr!important}.level-bar-row{grid-template-columns:110px 1fr 80px}.ranking-bar-row{grid-template-columns:110px 1fr 50px}.donut{width:165px;height:165px}.donut-hole{width:116px;height:116px}.donut-legend{grid-template-columns:1fr}.chart-head .h2{font-size:18px!important}}


/* V20.1 - robust dashboard charts */
.dashboard-charts{align-items:stretch!important}
.level-chart-card{min-height:360px!important}
.level-bars{width:100%!important;display:flex!important;flex-direction:column!important;gap:15px!important;margin-top:4px!important}
.level-bar-row{display:grid!important;grid-template-columns:145px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;padding:8px 0!important;border-bottom:1px solid #f0f2f5!important}
.level-bar-row:last-child{border-bottom:0!important}
.level-bar-label{font-size:13px!important;font-weight:800!important;color:#344054!important;text-align:right!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
.level-bar-pair{display:flex!important;flex-direction:column!important;gap:9px!important;width:100%!important;min-width:0!important}
.metric-bar-line{display:grid!important;grid-template-columns:54px minmax(0,1fr) 58px!important;gap:9px!important;align-items:center!important;width:100%!important;min-width:0!important}
.metric-bar-title{font-size:11px!important;font-weight:800!important;color:#667085!important;text-align:right!important}
.metric-track{display:block!important;width:100%!important;height:13px!important;background:#edf0f4!important;border-radius:20px!important;overflow:hidden!important;position:relative!important}
.metric-fill{display:block!important;height:100%!important;min-width:0!important;border-radius:20px!important;position:relative!important;right:auto!important;left:auto!important;top:auto!important;bottom:auto!important}
.absence-fill{background:#e56b7d!important}
.benefit-fill{background:#58c98d!important}
.metric-value{font-size:11px!important;font-weight:900!important;text-align:left!important;direction:ltr!important;white-space:nowrap!important}
.absence-value{color:#d5576b!important}
.benefit-value{color:#38a873!important}
.donut{flex:none!important}
.line-chart-wrap{min-height:280px!important;border:1px solid #eef1f4!important;padding:8px!important}
.line-chart-wrap svg{width:100%!important;height:280px!important;min-height:280px!important;overflow:visible!important}
.chart-grid-line{stroke:#e1e6ec!important;stroke-width:1!important}
.chart-axis-label,.chart-date-label{font-family:Arial,sans-serif!important;fill:#7b8594!important}
.trend-line{stroke:#3bb8bc!important;stroke-width:4!important;fill:none!important}
.trend-point{fill:#fff!important;stroke:#3bb8bc!important;stroke-width:3!important}
.ranking-bars{width:100%!important}
.ranking-bar-row{display:grid!important;grid-template-columns:170px minmax(0,1fr) 60px!important;gap:12px!important;align-items:center!important}
.ranking-track{display:block!important;width:100%!important;height:14px!important;background:#edf0f4!important;border-radius:20px!important;overflow:hidden!important}
.ranking-track span{display:block!important;height:100%!important;background:#5c91d0!important;border-radius:20px!important}
@media(max-width:650px){.level-bar-row{grid-template-columns:105px minmax(0,1fr)!important;gap:10px!important}.metric-bar-line{grid-template-columns:48px minmax(0,1fr) 52px!important;gap:6px!important}.level-chart-card{min-height:0!important}.line-chart-wrap svg{height:240px!important;min-height:240px!important}}


/* V20.2 - SVG dashboard charts */
.v20-svg-dashboard .level-chart-card{min-height:360px!important}
.svg-chart-box{width:100%;overflow-x:auto;overflow-y:hidden;background:#fff;border-radius:10px}
.dashboard-svg{display:block;width:100%;min-width:760px;height:auto}
.level-svg-box{padding:4px 0}
.svg-label{font-family:Arial,sans-serif;fill:#344054}
.svg-level-label{font-size:14px;font-weight:700}
.svg-metric-title{font-family:Arial,sans-serif;fill:#667085;font-size:11px;font-weight:700}
.svg-value{font-family:Arial,sans-serif;font-size:11px;font-weight:900}
.svg-track{fill:#edf0f4}
.svg-absence{fill:#e56b7d}
.svg-benefit{fill:#58c98d}
.svg-absence-text{fill:#d5576b}
.svg-benefit-text{fill:#38a873}
@media(max-width:650px){.dashboard-svg{min-width:720px}.svg-level-label{font-size:13px}}


/* V20.4 - final header proportions and reliable level chart */
.top{background:#fff!important;min-height:0!important;height:auto!important;padding:0!important;overflow:hidden!important}
.top-brand{background:#fff!important;min-height:0!important;height:auto!important;width:100%!important;display:flex!important;justify-content:center!important;align-items:center!important;padding:12px 20px!important}
.site-logo{display:block!important;width:auto!important;max-width:1160px!important;height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain!important;margin:0 auto!important;background:#fff!important}
.dashboard-shell{min-height:calc(100vh - 204px)!important}
.level-dashboard-bars{width:100%!important;display:flex!important;flex-direction:column!important;gap:12px!important;margin-top:4px!important}
.level-dashboard-row{display:grid!important;grid-template-columns:145px minmax(0,1fr)!important;gap:18px!important;align-items:center!important;padding:9px 0!important;border-bottom:1px solid #eef1f4!important}
.level-dashboard-row:last-child{border-bottom:0!important}
.level-dashboard-name{font-size:13px!important;font-weight:800!important;color:#344054!important;text-align:right!important;white-space:nowrap!important}
.level-dashboard-metrics{display:flex!important;flex-direction:column!important;gap:9px!important;min-width:0!important}
.level-dashboard-metric{display:grid!important;grid-template-columns:55px minmax(0,1fr) 58px!important;gap:9px!important;align-items:center!important;min-width:0!important}
.level-dashboard-label{font-size:11px!important;font-weight:800!important;text-align:right!important}
.absence-label{color:#d5576b!important}.benefit-label{color:#38a873!important}
.level-dashboard-track{height:14px!important;width:100%!important;background:#edf0f4!important;border-radius:20px!important;overflow:hidden!important;direction:ltr!important}
.level-dashboard-fill{display:block!important;height:100%!important;border-radius:20px!important;min-width:0!important;transition:width .25s ease!important}
.absence-fill{background:#e56b7d!important}.benefit-fill{background:#58c98d!important}
.level-dashboard-metric strong{font-size:11px!important;font-weight:900!important;text-align:left!important;direction:ltr!important;white-space:nowrap!important}
.absence-value{color:#d5576b!important}.benefit-value{color:#38a873!important}
.logout-link{margin-top:8px!important;background:rgba(255,255,255,.10)!important}
.logout-link:hover{background:rgba(255,255,255,.18)!important}
@media(max-width:650px){.top-brand{padding:8px 10px!important}.site-logo{max-width:100%!important}.dashboard-shell{min-height:calc(100vh - 120px)!important}.level-dashboard-row{grid-template-columns:105px minmax(0,1fr)!important;gap:10px!important}.level-dashboard-metric{grid-template-columns:48px minmax(0,1fr) 52px!important;gap:6px!important}.level-dashboard-name{font-size:12px!important}.level-dashboard-label,.level-dashboard-metric strong{font-size:10px!important}}


/* V20.5 FINAL OVERRIDES */
.top{background:#fff!important;border-bottom:1px solid #e4e7ec!important;min-height:0!important;height:auto!important;padding:0!important;overflow:hidden!important;}
.top-brand{background:#fff!important;min-height:0!important;height:auto!important;width:100%!important;display:flex!important;justify-content:center!important;align-items:center!important;padding:10px 20px!important;margin:0!important;}
.site-logo{display:block!important;width:min(1160px,100%)!important;max-width:1160px!important;height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain!important;margin:0 auto!important;background:#fff!important;}
.level-dashboard-bars{width:100%!important;display:flex!important;flex-direction:column!important;gap:14px!important;margin-top:8px!important;}
.level-dashboard-row{display:grid!important;grid-template-columns:150px minmax(0,1fr)!important;gap:18px!important;align-items:center!important;padding:10px 0!important;border-bottom:1px solid #eef1f4!important;}
.level-dashboard-metrics{display:flex!important;flex-direction:column!important;gap:8px!important;min-width:0!important;}
.level-dashboard-metric{display:grid!important;grid-template-columns:55px minmax(0,1fr) 60px!important;gap:10px!important;align-items:center!important;}
.level-dashboard-track{height:16px!important;width:100%!important;background:#edf0f4!important;border-radius:20px!important;overflow:hidden!important;direction:ltr!important;}
.level-dashboard-fill{display:block!important;height:100%!important;border-radius:20px!important;}
.absence-fill{background:#e56b7d!important;}
.benefit-fill{background:#58c98d!important;}
@media(max-width:650px){.top-brand{padding:7px 10px!important}.site-logo{width:100%!important;max-width:1160px!important}.level-dashboard-row{grid-template-columns:95px minmax(0,1fr)!important;gap:9px!important}.level-dashboard-metric{grid-template-columns:42px minmax(0,1fr) 52px!important;gap:6px!important}}
