

:root{
  --bg1:#dfe9f7;
  --bg2:#ece8f5;
  --bg3:#e2f0ec;
  --glass:rgba(255,255,255,.55);
  --glass-strong:rgba(255,255,255,.72);
  --glass-dark:rgba(17,24,39,.58);
  --stroke:rgba(255,255,255,.7);
  --stroke-soft:rgba(148,163,184,.20);
  --text:#111827;
  --muted:#6b7280;
  --accent:#2563eb;
  --accent-soft:rgba(37,99,235,.12);
  --ok:#15976d;
  --warn:#d97706;
  --bad:#dc2626;
  --shadow:0 20px 50px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.75);
}
*{box-sizing:border-box}
html{min-height:100%}
body{
  margin:0;
  font-family:"Janna LT","Janna LT Regular","Janna LT Bold","Dubai","Segoe UI",Tahoma,Arial,sans-serif;
  color:var(--text);
  min-height:100vh;
  background:
    radial-gradient(circle at 18% 20%, rgba(59,130,246,.26), transparent 30%),
    radial-gradient(circle at 85% 18%, rgba(139,92,246,.22), transparent 32%),
    radial-gradient(circle at 72% 82%, rgba(16,185,129,.16), transparent 28%),
    linear-gradient(135deg,var(--bg1),var(--bg2) 45%,var(--bg3));
  background-attachment:fixed;
  overflow-x:hidden;
}
body:before,body:after{
  content:"";
  position:fixed;
  width:340px;height:340px;border-radius:50%;
  filter:blur(20px);
  opacity:.30;
  z-index:-1;
  pointer-events:none;
}
body:before{
  top:-120px;right:12%;
  background:linear-gradient(135deg,#93c5fd,#c4b5fd);
}
body:after{
  bottom:-140px;left:8%;
  background:linear-gradient(135deg,#6ee7b7,#bfdbfe);
}
button,input,select,textarea{font:inherit}
.app{
  display:grid;
  grid-template-columns:286px 1fr;
  min-height:100vh;
  gap:18px;
  padding:18px;
}
.sidebar{
  position:sticky;
  top:18px;
  height:calc(100vh - 36px);
  padding:22px 16px;
  border:1px solid rgba(255,255,255,.65);
  border-radius:32px;
  background:linear-gradient(180deg,rgba(17,24,39,.70),rgba(30,41,59,.52));
  color:#fff;
  backdrop-filter:blur(32px) saturate(165%);
  -webkit-backdrop-filter:blur(32px) saturate(165%);
  box-shadow:0 30px 70px rgba(15,23,42,.20),inset 0 1px 0 rgba(255,255,255,.16);
  overflow:auto;
}
.brand{
  font-size:21px;
  font-weight:750;
  letter-spacing:-.25px;
  margin-bottom:5px;
}
.subtitle{
  font-size:12px;
  color:rgba(255,255,255,.65);
  margin-bottom:20px;
}
.userbox{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  border-radius:20px;
  padding:12px;
  margin-bottom:18px;
  backdrop-filter:blur(18px);
}
.userbox select{
  width:100%;
  margin-top:8px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:14px;
  padding:10px 11px;
  background:rgba(255,255,255,.92);
  color:#111827;
  outline:none;
}
.nav button{
  width:100%;
  text-align:right;
  border:1px solid transparent;
  background:transparent;
  color:rgba(255,255,255,.78);
  padding:12px 13px;
  border-radius:16px;
  cursor:pointer;
  margin:3px 0;
  transition:.2s ease;
}
.nav button:hover{
  background:rgba(255,255,255,.09);
  color:#fff;
  transform:translateX(-2px);
}
.nav button.active{
  background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.12));
  border-color:rgba(255,255,255,.16);
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 8px 20px rgba(0,0,0,.10);
}
.main{
  padding:8px 4px 30px;
  min-width:0;
}
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin:6px 0 20px;
  padding:18px 20px;
  border:1px solid rgba(255,255,255,.7);
  border-radius:26px;
  background:rgba(255,255,255,.38);
  backdrop-filter:blur(28px) saturate(160%);
  -webkit-backdrop-filter:blur(28px) saturate(160%);
  box-shadow:var(--shadow);
}
h1{
  margin:0 0 7px;
  font-size:30px;
  letter-spacing:-.7px;
  font-weight:760;
}
.small{color:var(--muted);font-size:13px}
.actions{display:flex;gap:8px;flex-wrap:wrap}
.btn{
  border:1px solid rgba(255,255,255,.72);
  background:rgba(255,255,255,.56);
  color:#111827;
  padding:10px 14px;
  border-radius:14px;
  cursor:pointer;
  backdrop-filter:blur(16px) saturate(160%);
  -webkit-backdrop-filter:blur(16px) saturate(160%);
  box-shadow:0 8px 20px rgba(15,23,42,.07),inset 0 1px 0 rgba(255,255,255,.9);
  transition:.2s ease;
}
.btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.74)}
.btn.primary,.btn.blue{
  background:linear-gradient(180deg,rgba(37,99,235,.92),rgba(29,78,216,.90));
  color:#fff;
  border-color:rgba(255,255,255,.22);
  box-shadow:0 10px 22px rgba(37,99,235,.24),inset 0 1px 0 rgba(255,255,255,.25);
}
.grid{display:grid;gap:14px}
.kpis{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:14px}
.card{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.62),rgba(255,255,255,.46));
  border:1px solid rgba(255,255,255,.74);
  border-radius:26px;
  padding:19px;
  backdrop-filter:blur(28px) saturate(170%);
  -webkit-backdrop-filter:blur(28px) saturate(170%);
  box-shadow:var(--shadow);
}
.card:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(125deg,rgba(255,255,255,.28),transparent 28%,transparent 68%,rgba(255,255,255,.14));
}
.card>*{position:relative}
.kpi .label{color:var(--muted);font-size:13px}
.kpi .value{
  font-size:30px;
  font-weight:770;
  margin-top:7px;
  letter-spacing:-.4px;
}
.kpi .delta{font-size:12px;margin-top:6px}
.ok{color:var(--ok)} .warn{color:var(--warn)} .bad{color:var(--bad)}
.two{grid-template-columns:1.4fr 1fr}
.three{grid-template-columns:repeat(3,1fr)}
.section-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
}
.section-title h2{font-size:17px;margin:0;font-weight:740;letter-spacing:-.2px}
table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  font-size:13px;
  overflow:hidden;
  border-radius:16px;
}
th,td{
  padding:12px 9px;
  border-bottom:1px solid rgba(148,163,184,.16);
  text-align:right;
  vertical-align:top;
  background:rgba(255,255,255,.16);
}
th{
  color:var(--muted);
  font-weight:650;
  background:rgba(255,255,255,.34);
}
tbody tr:last-child td{border-bottom:0}
tbody tr:hover td{background:rgba(255,255,255,.34)}
.badge{
  display:inline-block;
  padding:6px 9px;
  border-radius:999px;
  font-size:11px;
  background:rgba(241,245,249,.72);
  border:1px solid rgba(255,255,255,.7);
  backdrop-filter:blur(10px);
}
.badge.green{background:rgba(220,252,231,.72);color:#166534}
.badge.orange{background:rgba(255,237,213,.72);color:#9a3412}
.badge.red{background:rgba(254,226,226,.72);color:#991b1b}
.badge.blue{background:rgba(219,234,254,.75);color:#1d4ed8}
.progress{
  height:9px;
  background:rgba(255,255,255,.44);
  border:1px solid rgba(255,255,255,.64);
  border-radius:99px;
  overflow:hidden;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.07);
}
.progress span{
  display:block;height:100%;
  background:linear-gradient(90deg,#111827,#334155);
  border-radius:99px;
}
.dept-list{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}

.dept-clickable{cursor:pointer;position:relative;padding-left:46px}
.dept-clickable:after{
  content:"‹";position:absolute;left:14px;top:50%;transform:translateY(-50%);
  width:29px;height:29px;display:grid;place-items:center;border-radius:50%;
  background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.76);
  color:#475569;font-size:22px;transition:.2s ease
}
.dept-clickable:hover:after{transform:translate(-3px,-50%);background:rgba(255,255,255,.82)}
.dept-detail-hero{
  display:flex;justify-content:space-between;align-items:flex-end;gap:20px;
  margin-bottom:14px;padding:22px 24px;border-radius:26px;
  background:linear-gradient(135deg,rgba(23,50,52,.92),rgba(36,72,74,.82));
  color:#fff;border:1px solid rgba(255,255,255,.14);
  box-shadow:0 24px 60px rgba(15,23,42,.14),inset 0 1px 0 rgba(255,255,255,.14)
}
.dept-detail-hero h2{font-size:30px;margin:5px 0 8px}
.dept-detail-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.74);font-size:13px;line-height:1.8}
.dept-detail-hero .mini{color:rgba(255,255,255,.58)}
.dept-detail-hero .btn{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.18)}
.dept-detail-hero .btn.primary{background:rgba(255,255,255,.92);color:#173234}
.dept-back{padding:7px 10px!important;font-size:11px}
.dept-priority-list,.dept-risk-list,.dept-metrics-list{display:grid;gap:8px}
.dept-priority-item,.dept-risk-item,.dept-metric-item{
  padding:11px 12px;border-radius:13px;background:rgba(255,255,255,.42);
  border:1px solid rgba(255,255,255,.72);font-size:12px
}
.dept-priority-item{display:flex;justify-content:space-between;gap:10px;align-items:center}
.dept-priority-item i{font-style:normal;font-size:10px;padding:4px 7px;border-radius:999px;background:#ffedd5;color:#9a3412}
.dept-risk-item{border-right:4px solid #d97706}
.dept-risk-item strong{display:block;margin-bottom:3px}
.dept-risk-item span{font-size:10px;color:var(--muted)}
.dept-metric-item{display:flex;justify-content:space-between;align-items:center;gap:10px}
.dept-metric-item span{color:var(--muted)}
.dept-metric-item b{font-size:15px}
.dept-task-row{
  display:grid;grid-template-columns:1.5fr .8fr .8fr;gap:10px;align-items:center;
  padding:11px 10px;border-bottom:1px solid rgba(148,163,184,.14);font-size:12px
}
.dept-task-row:last-child{border-bottom:0}
.dept-task-row b{display:block;margin-bottom:3px}
.dept-task-row small{color:var(--muted)}
.dept-workstreams{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.dept-workstream{
  padding:13px;border-radius:15px;background:rgba(255,255,255,.42);
  border:1px solid rgba(255,255,255,.72)
}
.dept-workstream b{display:block;font-size:13px;margin-bottom:5px}
.dept-workstream span{font-size:11px;color:var(--muted);line-height:1.6}
.dept-workstream .pillrow{margin-top:8px}
@media(max-width:900px){
  .dept-detail-hero{align-items:flex-start;flex-direction:column}
  .dept-workstreams{grid-template-columns:1fr}
  .dept-task-row{grid-template-columns:1fr 1fr}
  .dept-task-row>div:first-child{grid-column:1/-1}
}

.dept{
  border:1px solid rgba(255,255,255,.72);
  border-radius:20px;
  padding:15px;
  background:rgba(255,255,255,.42);
  backdrop-filter:blur(20px) saturate(150%);
  -webkit-backdrop-filter:blur(20px) saturate(150%);
  box-shadow:0 10px 28px rgba(15,23,42,.06),inset 0 1px 0 rgba(255,255,255,.75);
  transition:.2s ease;
}
.dept:hover{transform:translateY(-2px);background:rgba(255,255,255,.58)}
.dept h3{margin:0 0 8px;font-size:15px}
.meta{font-size:12px;color:var(--muted);line-height:1.8}
.view{display:none}.view.active{display:block}
.form-row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-bottom:10px
}
input,select,textarea{
  width:100%;
  padding:11px 12px;
  border:1px solid rgba(255,255,255,.74);
  border-radius:14px;
  background:rgba(255,255,255,.60);
  color:#111827;
  outline:none;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72);
}
input:focus,select:focus,textarea:focus{
  border-color:rgba(37,99,235,.38);
  box-shadow:0 0 0 4px rgba(37,99,235,.08),inset 0 1px 0 rgba(255,255,255,.8);
}
textarea{min-height:90px;resize:vertical}
.notice,.finance-lock{
  padding:13px 15px;
  border-radius:16px;
  font-size:13px;
  margin-bottom:14px;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55);
}
.notice{
  background:rgba(255,247,237,.66);
  border:1px solid rgba(251,191,36,.28);
  color:#9a3412;
}
.finance-lock{
  background:rgba(239,246,255,.64);
  border:1px solid rgba(96,165,250,.26);
  color:#1d4ed8;
}
.timeline{display:grid;gap:11px}
.timeline .item{display:flex;gap:10px;align-items:flex-start}
.dot{
  width:10px;height:10px;border-radius:50%;
  background:linear-gradient(180deg,#111827,#475569);
  margin-top:5px;
  box-shadow:0 0 0 4px rgba(255,255,255,.32);
}
.pillrow{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.mini{font-size:11px;color:var(--muted)}

.audit-summary{
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0
}
.audit-summary>div{
  padding:13px 14px;border-radius:15px;background:rgba(255,255,255,.46);
  border:1px solid rgba(255,255,255,.72)
}
.audit-summary span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}
.audit-summary b{font-size:15px;color:var(--text)}
.audit-table-wrap{overflow:auto;border-radius:16px}
.audit-table{min-width:900px}
.audit-action{
  display:inline-block;padding:5px 8px;border-radius:999px;
  font-size:10px;background:rgba(219,234,254,.72);color:#1d4ed8
}
.audit-module{
  display:inline-block;padding:5px 8px;border-radius:999px;
  font-size:10px;background:rgba(241,245,249,.78);color:#475569
}
.audit-details{max-width:420px;line-height:1.7;color:#52606d}
@media(max-width:900px){
  .audit-summary{grid-template-columns:1fr}
}

.hidden{display:none!important}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-thumb{background:rgba(71,85,105,.22);border-radius:20px;border:2px solid transparent;background-clip:padding-box}
::-webkit-scrollbar-track{background:transparent}



.ceo-hero{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  margin-bottom:14px;padding:22px 24px;border-radius:26px;
  background:linear-gradient(135deg,rgba(23,50,52,.92),rgba(36,72,74,.84));
  color:white;border:1px solid rgba(255,255,255,.14);
  box-shadow:0 24px 60px rgba(15,23,42,.16),inset 0 1px 0 rgba(255,255,255,.14)
}
.ceo-hero h2{margin:5px 0 7px;font-size:29px}
.ceo-hero p{margin:0;color:rgba(255,255,255,.72);font-size:13px}
.ceo-week-badge{padding:9px 13px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);font-size:12px}
.ceo-summary-text{font-size:13px;line-height:2;color:#4c5d5e}
.ceo-decision-list{display:grid;gap:8px}
.ceo-decision-item{padding:10px 12px;border-radius:13px;background:rgba(255,255,255,.44);border:1px solid rgba(255,255,255,.70);font-size:12px}
.ceo-decision-item b{display:block;margin-bottom:3px}
.ceo-decision-item span{font-size:10px;color:var(--muted)}
.ceo-dept-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.ceo-dept-card{padding:13px;border-radius:15px;background:rgba(255,255,255,.44);border:1px solid rgba(255,255,255,.72)}
.ceo-dept-card b{display:block;font-size:13px;margin-bottom:6px}
.ceo-dept-card span{font-size:11px;color:var(--muted)}
.ceo-access-setting{display:flex;justify-content:space-between;align-items:center;gap:16px}
.switch{position:relative;display:inline-block;width:54px;height:30px;flex:0 0 auto}
.switch input{opacity:0;width:0;height:0}
.slider{position:absolute;inset:0;cursor:pointer;background:#cbd5e1;border-radius:999px;transition:.2s}
.slider:before{content:"";position:absolute;height:24px;width:24px;right:3px;bottom:3px;background:white;border-radius:50%;transition:.2s;box-shadow:0 2px 5px rgba(0,0,0,.16)}
.switch input:checked + .slider{background:#24484a}
.switch input:checked + .slider:before{transform:translateX(-24px)}
@media(max-width:900px){
  .ceo-dept-overview{grid-template-columns:1fr}
  .ceo-hero{align-items:flex-start;flex-direction:column}
}

/* Executive report - Mushar corporate identity */
.exec-controls{
  display:flex;justify-content:space-between;align-items:flex-end;gap:18px;
  margin-bottom:16px;padding:18px 20px;border-radius:24px;
  background:rgba(255,255,255,.48);border:1px solid rgba(255,255,255,.72);
  backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:var(--shadow)
}
.exec-controls h2{margin:3px 0 6px;font-size:21px}
.exec-control-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.exec-control-actions select,.exec-control-actions input{width:auto;min-width:130px}
.exec-report{
  --corp:#173234;--corp2:#24484a;--mint:#b7e6df;--mint2:#6f9d98;--gold:#bb9455;--paper:#f7f6f2;--ink:#203334;
  display:grid;gap:18px;
}
.exec-cover,.exec-page{
  position:relative;overflow:hidden;width:100%;min-height:720px;
  background:var(--paper);border-radius:26px;box-shadow:0 24px 60px rgba(15,23,42,.14);
}
.exec-cover{background:var(--corp);color:white;min-height:690px}
.exec-cover-logo{position:absolute;top:60px;right:62px;width:170px;z-index:3}
.exec-cover-logo img,.exec-page-head img{width:100%;height:auto;display:block}
.exec-cover-content{position:absolute;right:62px;top:280px;z-index:3;max-width:640px}
.exec-kicker{font-size:15px;color:var(--mint);letter-spacing:.4px;margin-bottom:12px}
.exec-cover h1{font-size:48px;margin:0;font-weight:700;letter-spacing:-1px}
.exec-gold-line{width:112px;height:5px;background:var(--gold);margin:18px 0;border-radius:99px}
.exec-cover-sub{font-size:20px;color:rgba(255,255,255,.82);line-height:1.8}
.exec-cover-footer{
  position:absolute;right:62px;left:62px;bottom:52px;display:flex;justify-content:space-between;
  align-items:center;color:rgba(255,255,255,.84);font-size:16px;z-index:3
}
.exec-geo{position:absolute;z-index:1;opacity:.95}
.geo-a{
  left:-40px;top:-80px;width:52%;height:115%;
  background:
    linear-gradient(135deg,transparent 0 16%,rgba(183,230,223,.78) 16% 28%,transparent 28% 45%,rgba(111,157,152,.62) 45% 60%,transparent 60%),
    radial-gradient(circle at 68% 31%,rgba(183,230,223,.68) 0 22%,transparent 22%);
  filter:saturate(.8)
}
.geo-b{
  left:14%;bottom:-42%;width:42%;height:78%;transform:rotate(45deg);
  border:72px solid rgba(183,230,223,.38);border-radius:22px
}
.exec-page{padding:42px 48px;color:var(--ink)}
.exec-page-head{
  display:flex;justify-content:space-between;align-items:flex-start;
  border-bottom:1px solid rgba(23,50,52,.14);padding-bottom:14px;margin-bottom:22px
}
.exec-page-head h2{margin:4px 0 0;font-size:28px;color:var(--corp)}
.exec-page-head img{width:105px;filter:brightness(0) saturate(100%) invert(18%) sepia(12%) saturate(1161%) hue-rotate(133deg) brightness(88%) contrast(94%)}
.exec-page-kicker{font-size:10px;letter-spacing:1.7px;color:var(--gold);font-weight:800}
.exec-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}
.exec-metric{
  border:1px solid rgba(23,50,52,.12);background:white;border-radius:16px;padding:16px 15px;
  border-top:4px solid var(--corp2)
}
.exec-metric span{display:block;font-size:12px;color:#647273}
.exec-metric b{display:block;font-size:31px;color:var(--corp);margin:7px 0 3px}
.exec-metric small{font-size:10px;color:#849091}
.exec-metric.danger{border-top-color:#a95750}.exec-metric.success{border-top-color:#5d8d79}
.exec-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.exec-block{background:white;border:1px solid rgba(23,50,52,.11);border-radius:16px;padding:18px}
.exec-full{margin-top:16px}
.exec-block-title{font-weight:800;color:var(--corp);font-size:15px;margin-bottom:12px}
.exec-block p{margin:0;line-height:2;font-size:13px;color:#4c5d5e}
.exec-status-row{display:flex;justify-content:space-between;font-size:12px;margin:11px 0 5px}
.exec-status-bar{height:8px;border-radius:99px;background:#e7ecea;overflow:hidden}
.exec-status-bar i{display:block;height:100%;background:var(--corp2);border-radius:99px}
.exec-status-bar.gold i{background:var(--gold)}
.exec-decision-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.exec-decision{
  display:flex;gap:10px;align-items:flex-start;padding:11px 12px;border-radius:12px;background:#f6f7f4;
  border-right:4px solid var(--gold)
}
.exec-decision b{display:block;font-size:12px;color:var(--corp);margin-bottom:3px}
.exec-decision span{font-size:10px;color:#758283}
.exec-departments{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.exec-dept-card{
  background:white;border:1px solid rgba(23,50,52,.12);border-radius:16px;padding:16px;
  border-top:4px solid var(--corp2)
}
.exec-dept-top{display:flex;justify-content:space-between;gap:8px;align-items:flex-start;margin-bottom:10px}
.exec-dept-top h3{margin:0;color:var(--corp);font-size:16px}
.exec-dept-state{font-size:10px;padding:5px 8px;background:#e8f0ed;border-radius:99px;color:#436d5d}
.exec-dept-card p{margin:0 0 10px;line-height:1.8;color:#5b6a6b;font-size:11px}
.exec-dept-stats{display:flex;gap:7px;flex-wrap:wrap}
.exec-dept-stats span{font-size:10px;background:#f3f4f1;border-radius:99px;padding:5px 8px;color:#657273}
.exec-critical-table{width:100%;border-collapse:collapse}
.exec-critical-table th,.exec-critical-table td{font-size:11px;padding:9px;border-bottom:1px solid #e7e9e6;background:transparent}
.exec-critical-table th{color:#6b7778}
.exec-priority-list{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.exec-priority{
  padding:11px 13px;border:1px solid #e4e8e4;border-radius:12px;background:#fafaf7;
  display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px
}
.exec-priority i{font-style:normal;font-size:9px;padding:4px 7px;background:#eee5d6;color:#8b6935;border-radius:99px}
.exec-finance-big{padding:14px;background:#f4f5f1;border-radius:13px;margin-bottom:10px}
.exec-finance-big span{display:block;font-size:11px;color:#6f7c7c}.exec-finance-big b{font-size:27px;color:var(--corp)}
.exec-finance-big small{font-size:11px}
.exec-finance-row{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #edf0ec;font-size:12px}
.exec-budget-table{border:1px solid #e5e9e5;border-radius:12px;overflow:hidden}
.exec-budget-table>div{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:8px;padding:9px 10px;border-bottom:1px solid #e8ebe7;font-size:10.5px}
.exec-budget-table>div:last-child{border-bottom:0}
.exec-budget-head{background:var(--corp)!important;color:white;font-weight:700}
.exec-budget-table b{color:var(--corp)}
.exec-bullet{position:relative;padding:9px 22px 9px 0;border-bottom:1px solid #edf0ec;font-size:12px;line-height:1.6}
.exec-bullet:before{content:"";position:absolute;right:4px;top:15px;width:7px;height:7px;border-radius:50%}
.danger-dot:before{background:#a95750}.gold-dot:before{background:var(--gold)}
.exec-signoff{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px;padding-top:18px;border-top:1px solid rgba(23,50,52,.14)}
.exec-signoff div{background:white;border:1px solid #e5e9e5;border-radius:12px;padding:12px}
.exec-signoff span{display:block;font-size:9px;color:#7b8788}.exec-signoff b{display:block;margin-top:5px;color:var(--corp);font-size:12px}

@media(max-width:900px){
  .exec-controls{align-items:stretch;flex-direction:column}
  .exec-control-actions{display:grid;grid-template-columns:1fr 1fr}
  .exec-control-actions select,.exec-control-actions input{width:100%}
  .exec-summary-grid,.exec-two,.exec-departments,.exec-decision-grid,.exec-priority-list{grid-template-columns:1fr}
  .exec-cover{min-height:610px}
  .exec-cover-logo{right:28px;top:34px;width:130px}
  .exec-cover-content{right:28px;left:28px;top:250px}
  .exec-cover h1{font-size:39px}
  .exec-cover-footer{right:28px;left:28px}
  .exec-page{padding:28px 20px;min-height:auto}
  .exec-budget-table{overflow:auto}
  .exec-budget-table>div{min-width:650px}
}
@media print{
  body{background:white!important}
  .sidebar,.topbar,.exec-controls,.kpi-modal{display:none!important}
  .app{display:block!important;padding:0!important}
  .main{padding:0!important}
  .view{display:none!important}
  #executive{display:block!important}
  #executiveReport{display:block!important}
  .exec-report{gap:0!important}
  .exec-cover,.exec-page{
    border-radius:0!important;box-shadow:none!important;
    break-after:page;page-break-after:always;
    width:100%!important;min-height:100vh!important;
  }
  .exec-page:last-child{break-after:auto;page-break-after:auto}
  @page{size:A4 landscape;margin:0}
}

.clickable-kpi{
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.clickable-kpi:hover{
  transform:translateY(-4px);
  background:linear-gradient(180deg,rgba(255,255,255,.74),rgba(255,255,255,.54));
  box-shadow:0 26px 60px rgba(15,23,42,.13),inset 0 1px 0 rgba(255,255,255,.85);
}
.clickable-kpi:focus{
  outline:none;
  box-shadow:0 0 0 4px rgba(37,99,235,.10),var(--shadow);
}
.kpi-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.kpi-arrow{
  width:28px;height:28px;border-radius:50%;
  display:grid;place-items:center;
  font-size:23px;line-height:1;
  color:#475569;
  background:rgba(255,255,255,.48);
  border:1px solid rgba(255,255,255,.72);
  transition:.2s ease;
}
.clickable-kpi:hover .kpi-arrow{transform:translateX(-3px);background:rgba(255,255,255,.76)}

.kpi-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}
.kpi-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.22);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
.kpi-modal-panel{
  position:relative;
  width:min(920px,96vw);
  max-height:86vh;
  overflow:auto;
  border-radius:30px;
  background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(255,255,255,.68));
  border:1px solid rgba(255,255,255,.9);
  box-shadow:0 35px 90px rgba(15,23,42,.24),inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter:blur(34px) saturate(175%);
  -webkit-backdrop-filter:blur(34px) saturate(175%);
  padding:22px;
}
.kpi-modal-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.kpi-modal-header h2{margin:3px 0 0;font-size:24px}
.modal-close{
  width:38px;height:38px;border-radius:50%;
  border:1px solid rgba(255,255,255,.8);
  background:rgba(255,255,255,.52);
  cursor:pointer;
  font-size:23px;
  color:#475569;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
.kpi-modal-summary{
  margin-bottom:14px;
  padding:13px 15px;
  border-radius:17px;
  background:rgba(255,255,255,.45);
  border:1px solid rgba(255,255,255,.76);
  color:#475569;
  font-size:13px;
}
.kpi-detail-list{display:grid;gap:10px}
.kpi-detail-item{
  display:grid;
  grid-template-columns:1.7fr 1fr .9fr .9fr;
  gap:10px;
  align-items:center;
  padding:13px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.46);
  border:1px solid rgba(255,255,255,.74);
}
.kpi-detail-item:hover{background:rgba(255,255,255,.65)}
.kpi-detail-main b{display:block;margin-bottom:4px;font-size:14px}
.kpi-detail-main span,.kpi-detail-cell{font-size:12px;color:var(--muted)}
.kpi-modal-footer{
  display:flex;
  justify-content:flex-start;
  gap:8px;
  margin-top:16px;
  padding-top:14px;
  border-top:1px solid rgba(148,163,184,.14);
}
@media(max-width:760px){
  .kpi-modal{padding:10px;align-items:flex-end}
  .kpi-modal-panel{width:100%;max-height:90vh;border-radius:28px 28px 18px 18px}
  .kpi-detail-item{grid-template-columns:1fr 1fr}
  .kpi-detail-main{grid-column:1/-1}
}

@media(max-width:980px){
  .app{grid-template-columns:1fr;padding:10px}
  .sidebar{
    position:relative;
    top:0;
    height:auto;
    border-radius:26px;
  }
  .nav{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:4px;
  }
  .nav button{text-align:center}
  .kpis,.three,.dept-list,.two,.form-row{grid-template-columns:1fr}
  .main{padding:0}
  .topbar{border-radius:22px}
}


/* Hidden hover drawer navigation */
@media(min-width:981px){
  .app{
    display:block;
    min-height:100vh;
    padding:18px;
  }

  .main{
    width:100%;
    padding:8px 4px 30px;
    min-width:0;
    transition:filter .22s ease, transform .22s ease;
  }

  .sidebar{
    position:fixed;
    top:18px;
    right:18px;
    left:auto;
    width:286px;
    height:calc(100vh - 36px);
    z-index:3000;
    transform:translateX(calc(100% + 34px));
    transition:transform .28s cubic-bezier(.2,.75,.2,1), box-shadow .25s ease;
    background:
      linear-gradient(180deg,rgba(23,50,52,.88),rgba(36,72,74,.76));
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 26px 70px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.15);
    backdrop-filter:blur(30px) saturate(155%);
    -webkit-backdrop-filter:blur(30px) saturate(155%);
  }

  .sidebar-hotzone{
    position:fixed;
    top:0;
    right:0;
    width:28px;
    height:100vh;
    z-index:2999;
    cursor:pointer;
  }

  .sidebar-hotzone span{
    position:absolute;
    right:5px;
    top:50%;
    transform:translateY(-50%);
    width:5px;
    height:82px;
    border-radius:999px;
    background:rgba(23,50,52,.22);
    border:1px solid rgba(255,255,255,.42);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    box-shadow:0 8px 20px rgba(15,23,42,.08);
    transition:.22s ease;
  }

  .sidebar-hotzone:hover span{
    width:7px;
    height:110px;
    background:rgba(23,50,52,.42);
  }

  .sidebar-hotzone:hover ~ .sidebar,
  .sidebar:hover,
  .sidebar:focus-within{
    transform:translateX(0);
  }

  /* Invisible bridge prevents the menu disappearing while moving the pointer into it */
  .sidebar:before{
    content:"";
    position:absolute;
    top:0;
    right:-34px;
    width:40px;
    height:100%;
    background:transparent;
  }

  .sidebar .userbox{
    background:rgba(255,255,255,.10);
  }

  .nav button:hover{
    background:rgba(255,255,255,.11);
  }

  .nav button.active{
    background:linear-gradient(180deg,rgba(255,255,255,.20),rgba(255,255,255,.10));
  }
}

/* Mobile/tablet: normal visible navigation because hover is unavailable */
@media(max-width:980px){
  .sidebar-hotzone{display:none!important}
}


input,select,button,textarea{
  font-family:"Janna LT","Janna LT Regular","Janna LT Bold","Dubai","Segoe UI",Tahoma,Arial,sans-serif;
}


.brand-corner{
  position:absolute;
  top:14px;
  left:18px;
  display:flex;
  align-items:center;
  pointer-events:none;
}
.brand-corner img{
  width:170px;
  max-width:19vw;
  height:auto;
  display:block;
  opacity:.98;
  filter:drop-shadow(0 8px 18px rgba(15,23,42,.10));
}
.topbar{
  position:relative;
  padding-left:190px;
}
@media(max-width:980px){
  .brand-corner{
    position:static;
    margin-bottom:8px;
    pointer-events:none;
  }
  .brand-corner img{
    width:120px;
    max-width:34vw;
  }
  .topbar{
    padding-left:20px;
    flex-wrap:wrap;
  }
}


/* Self-hosted application shell */
.cloud-login{
  position:fixed; inset:0; z-index:10000;
  display:flex; align-items:center; justify-content:center;
  padding:22px;
  background:
    radial-gradient(circle at 20% 20%,rgba(59,130,246,.22),transparent 32%),
    radial-gradient(circle at 82% 18%,rgba(139,92,246,.18),transparent 30%),
    linear-gradient(135deg,#dbe5e2,#cbd8d5 48%,#bfcfcb);
  backdrop-filter:blur(24px);
}
.cloud-login.hidden{display:none!important}
.cloud-login-card{
  width:min(440px,100%);
  border-radius:30px;
  padding:28px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(255,255,255,.88);
  box-shadow:0 28px 70px rgba(23,50,52,.20);
  text-align:right;
}
.cloud-login-logo{
  width:150px; max-width:45%;
  display:block; margin:0 0 18px auto;
}
.cloud-login-card h2{margin:0 0 6px;font-size:27px}
.cloud-login-card .cloud-sub{color:var(--muted);font-size:13px;margin-bottom:20px}
.cloud-login-card label{display:block;font-size:12px;font-weight:700;margin:12px 0 6px}
.cloud-login-card input{
  width:100%; box-sizing:border-box; border-radius:15px;
  border:1px solid rgba(23,50,52,.14); background:rgba(255,255,255,.82);
  padding:12px 14px; font-size:15px; outline:none;
}
.cloud-login-card input:focus{border-color:rgba(23,50,52,.42);box-shadow:0 0 0 3px rgba(23,50,52,.08)}
.cloud-login-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}
.cloud-login-msg{min-height:22px;margin-top:12px;font-size:12px;color:var(--muted)}
.cloud-login-msg.error{color:#a23e3e}
.cloud-login-msg.ok{color:#35715f}
body.cloud-locked .app{filter:blur(8px);pointer-events:none;user-select:none}
.cloud-status{
  display:inline-flex;align-items:center;gap:6px;padding:8px 11px;
  border-radius:999px;background:rgba(255,255,255,.58);
  border:1px solid rgba(255,255,255,.78);font-size:11px;color:var(--muted);
}
.cloud-status.online{color:#2f705e}
.cloud-account{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){
  .cloud-login-actions{grid-template-columns:1fr}
  .cloud-login-card{padding:22px}
  .cloud-account{max-width:115px}
}


/* ===== UX refresh: smoother Liquid Glass + lighter rendering ===== */
.card{
  backdrop-filter:blur(18px) saturate(145%);
  -webkit-backdrop-filter:blur(18px) saturate(145%);
}
.view.active{animation:viewFade .22s ease both}
@keyframes viewFade{from{opacity:.2;transform:translateY(3px)}to{opacity:1;transform:none}}

@media(min-width:981px){
  .sidebar{
    background:
      linear-gradient(145deg,rgba(23,50,52,.54),rgba(36,72,74,.36)),
      rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.30);
    box-shadow:
      0 28px 72px rgba(15,23,42,.16),
      inset 0 1px 0 rgba(255,255,255,.22);
    backdrop-filter:blur(21px) saturate(140%);
    -webkit-backdrop-filter:blur(21px) saturate(140%);
    transform:translate3d(calc(100% + 36px),0,0);
    transition:
      transform .42s cubic-bezier(.16,1,.3,1),
      box-shadow .32s ease,
      background .32s ease;
    will-change:transform;
  }
  .sidebar-hotzone span{
    background:rgba(255,255,255,.30);
    border:1px solid rgba(23,50,52,.18);
    box-shadow:0 10px 28px rgba(23,50,52,.12);
    transition:all .38s cubic-bezier(.16,1,.3,1);
  }
  .sidebar-hotzone:hover span{
    width:8px;height:118px;
    background:rgba(23,50,52,.28);
    box-shadow:0 12px 34px rgba(23,50,52,.18),0 0 0 6px rgba(255,255,255,.10);
  }
  .sidebar-hotzone:hover + .sidebar,
  .sidebar:hover,.sidebar:focus-within{
    transform:translate3d(0,0,0);
  }
}

/* Sector health */
.health-glass{
  min-height:100%;
  background:
    radial-gradient(circle at 78% 12%,rgba(183,230,223,.34),transparent 28%),
    linear-gradient(150deg,rgba(255,255,255,.67),rgba(255,255,255,.37));
}
.health-layout{
  display:grid;
  grid-template-columns:190px 1fr;
  gap:18px;align-items:center;
}
.health-main{display:grid;place-items:center;gap:9px;text-align:center}
.health-ring{
  --p:82;
  --ring:#24484a;
  width:154px;height:154px;border-radius:50%;
  display:grid;place-items:center;
  background:
    radial-gradient(circle at center,rgba(255,255,255,.82) 0 57%,transparent 58%),
    conic-gradient(var(--ring) calc(var(--p)*1%),rgba(36,72,74,.10) 0);
  border:1px solid rgba(255,255,255,.85);
  box-shadow:
    0 20px 45px rgba(23,50,52,.12),
    inset 0 1px 0 rgba(255,255,255,.95);
  position:relative;
}
.health-ring:before{
  content:"";position:absolute;inset:8px;border-radius:50%;
  border:1px solid rgba(255,255,255,.68);
}
.health-ring-value{font-size:34px;font-weight:800;color:#173234;letter-spacing:-1px}
.health-ring-label{font-size:11px;color:var(--muted);margin-top:-4px}
.health-trend{
  display:inline-flex;align-items:center;gap:5px;
  padding:6px 10px;border-radius:999px;
  background:rgba(220,252,231,.58);color:#166534;font-size:10px;
  border:1px solid rgba(255,255,255,.7)
}
.health-mini-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.health-mini{
  display:flex;align-items:center;gap:11px;padding:12px;
  border-radius:18px;background:rgba(255,255,255,.38);
  border:1px solid rgba(255,255,255,.70);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.68);
}
.mini-ring{
  --p:75;--ring:#527b78;
  width:54px;height:54px;flex:0 0 54px;border-radius:50%;
  display:grid;place-items:center;
  background:
    radial-gradient(circle at center,rgba(255,255,255,.91) 0 58%,transparent 59%),
    conic-gradient(var(--ring) calc(var(--p)*1%),rgba(36,72,74,.10) 0);
  font-size:11px;font-weight:800;color:#173234
}
.health-mini b{display:block;font-size:12px;margin-bottom:3px}
.health-mini span{font-size:10px;color:var(--muted)}

/* CEO executive health */
.ceo-health-panel{
  display:grid;grid-template-columns:1.15fr 1.85fr;gap:14px;margin-bottom:14px;
}
.ceo-health-main{
  display:flex;align-items:center;justify-content:center;gap:18px;
  padding:20px;border-radius:27px;
  background:
    radial-gradient(circle at 15% 20%,rgba(183,230,223,.42),transparent 35%),
    linear-gradient(145deg,rgba(255,255,255,.72),rgba(255,255,255,.40));
  border:1px solid rgba(255,255,255,.78);
  box-shadow:var(--shadow);
}
.ceo-health-copy h3{font-size:20px;margin:0 0 5px}
.ceo-health-copy p{font-size:11px;color:var(--muted);line-height:1.7;margin:0}
.ceo-ring-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.ceo-ring-card{
  min-height:142px;display:grid;place-items:center;text-align:center;
  padding:13px;border-radius:24px;
  background:linear-gradient(160deg,rgba(255,255,255,.64),rgba(255,255,255,.34));
  border:1px solid rgba(255,255,255,.76);box-shadow:var(--shadow)
}
.ceo-ring-card .mini-ring{width:68px;height:68px;flex-basis:68px;font-size:13px}
.ceo-ring-card b{font-size:11px;margin-top:7px}
.ceo-ring-card span{font-size:9px;color:var(--muted)}
.ceo-count-strip{
  display:flex;gap:8px;flex-wrap:wrap;margin:-3px 0 14px;
}
.ceo-count-chip{
  padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.47);
  border:1px solid rgba(255,255,255,.72);font-size:11px
}
.ceo-count-chip b{color:#173234}

/* Executive report health page */
.exec-health-page{
  background:
    radial-gradient(circle at 86% 9%,rgba(183,230,223,.30),transparent 25%),
    linear-gradient(145deg,#f8fbfa,#edf4f1);
}
.exec-health-hero{
  display:grid;grid-template-columns:240px 1fr;gap:25px;align-items:center;
  padding:22px;border-radius:28px;background:rgba(255,255,255,.58);
  border:1px solid rgba(255,255,255,.90);box-shadow:0 20px 48px rgba(23,50,52,.08)
}
.exec-health-hero .health-ring{width:188px;height:188px}
.exec-health-hero .health-ring-value{font-size:40px}
.exec-health-copy h3{font-size:27px;margin:0 0 8px;color:#173234}
.exec-health-copy p{margin:0;color:#627373;line-height:1.9;font-size:13px}
.exec-glass-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}
.exec-glass-metric{
  padding:15px 14px;border-radius:21px;background:rgba(255,255,255,.58);
  border:1px solid rgba(255,255,255,.90);text-align:center;
  box-shadow:0 14px 30px rgba(23,50,52,.06)
}
.exec-glass-metric .mini-ring{margin:auto;width:72px;height:72px}
.exec-glass-metric b{display:block;margin-top:8px;font-size:12px}
.exec-glass-metric span{font-size:10px;color:#687979}

/* Personal task hub */
.my-task-hub{margin-bottom:14px}
.task-hub-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.task-stat{
  padding:14px;border-radius:21px;
  background:linear-gradient(145deg,rgba(255,255,255,.63),rgba(255,255,255,.36));
  border:1px solid rgba(255,255,255,.76);box-shadow:var(--shadow)
}
.task-stat small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}
.task-stat strong{font-size:25px;color:#173234}
.task-stat span{display:block;font-size:10px;color:var(--muted);margin-top:3px}
.priority-badge{
  display:inline-block;padding:5px 8px;border-radius:999px;font-size:10px;
  border:1px solid rgba(255,255,255,.72)
}
.priority-high{background:rgba(254,226,226,.72);color:#991b1b}
.priority-medium{background:rgba(255,237,213,.72);color:#9a3412}
.priority-low{background:rgba(220,252,231,.72);color:#166534}

/* Notification center */
.notify-wrap{position:relative}
.notify-btn{position:relative;min-width:42px}
.notify-count{
  position:absolute;top:-6px;left:-5px;min-width:18px;height:18px;padding:0 5px;
  display:grid;place-items:center;border-radius:999px;background:#b45309;color:white;
  font-size:9px;font-weight:800;border:2px solid rgba(255,255,255,.9)
}
.notify-panel{
  position:absolute;top:48px;left:0;width:min(360px,86vw);max-height:430px;overflow:auto;
  z-index:5000;padding:12px;border-radius:23px;
  background:rgba(244,249,247,.82);border:1px solid rgba(255,255,255,.88);
  backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%);
  box-shadow:0 28px 64px rgba(23,50,52,.18)
}
.notify-item{
  padding:10px 11px;border-radius:15px;background:rgba(255,255,255,.50);
  border:1px solid rgba(255,255,255,.72);margin-bottom:7px
}
.notify-item b{display:block;font-size:11px;margin-bottom:2px}
.notify-item span{font-size:9px;color:var(--muted)}
.notify-note{
  font-size:9px;color:var(--muted);padding:8px 4px 2px;line-height:1.6
}

/* HR Excel analytics */
.hr-analytics-panel{
  margin-top:14px;
  background:
    radial-gradient(circle at 8% 10%,rgba(183,230,223,.30),transparent 25%),
    linear-gradient(145deg,rgba(255,255,255,.68),rgba(255,255,255,.39));
}
.hr-upload-zone{
  display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;
  padding:15px;border-radius:20px;border:1px dashed rgba(36,72,74,.24);
  background:rgba(255,255,255,.34);margin-bottom:13px
}
.hr-upload-zone input[type=file]{background:rgba(255,255,255,.62)}
.hr-analytics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.hr-metric{
  padding:12px;border-radius:18px;background:rgba(255,255,255,.45);
  border:1px solid rgba(255,255,255,.75)
}
.hr-metric small{display:block;color:var(--muted);font-size:9px}
.hr-metric strong{display:block;font-size:21px;margin:5px 0;color:#173234}
.hr-metric em{font-style:normal;font-size:9px}
.delta-up{color:#166534}.delta-down{color:#991b1b}.delta-flat{color:var(--muted)}
.hr-week-compare{margin-top:12px;overflow:auto}
.hr-week-compare table{min-width:650px}

/* Reduce expensive blur on form controls */
input,select,textarea{
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
#taskForm .form-row{grid-template-columns:repeat(3,1fr)}

@media(max-width:1050px){
  .health-layout,.ceo-health-panel,.exec-health-hero{grid-template-columns:1fr}
  .health-main{margin-bottom:4px}
  .ceo-ring-grid,.exec-glass-metrics{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:700px){
  .health-mini-grid,.ceo-ring-grid,.exec-glass-metrics,.task-hub-grid,.hr-analytics-grid{grid-template-columns:1fr 1fr}
  .ceo-health-main{flex-direction:column;text-align:center}
  #taskForm .form-row{grid-template-columns:1fr}
  .hr-upload-zone{grid-template-columns:1fr}
}
@media(max-width:480px){
  .health-mini-grid,.ceo-ring-grid,.exec-glass-metrics,.task-hub-grid,.hr-analytics-grid{grid-template-columns:1fr}
}


/* ===== V3 visual refinement ===== */

/* Circular percentage: clean Liquid Glass, percentage only */
.health-ring,
.mini-ring{
  --ring:rgba(35,78,81,.78);
  position:relative;
  isolation:isolate;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#173234;
  background:
    conic-gradient(from -90deg,
      rgba(40,91,94,.82) calc(var(--p)*1%),
      rgba(255,255,255,.32) 0);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:
    0 12px 28px rgba(23,50,52,.10),
    0 2px 8px rgba(23,50,52,.05),
    inset 0 1px 0 rgba(255,255,255,.78);
  overflow:hidden;
}
.health-ring::before,
.mini-ring::before{
  content:"";
  position:absolute;
  inset:9px;
  z-index:0;
  border-radius:50%;
  background:
    radial-gradient(circle at 32% 20%,rgba(255,255,255,.62),rgba(255,255,255,.27) 45%,rgba(255,255,255,.17) 100%);
  border:1px solid rgba(255,255,255,.68);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85),
    inset 0 -8px 18px rgba(36,72,74,.035);
  backdrop-filter:blur(12px) saturate(145%);
  -webkit-backdrop-filter:blur(12px) saturate(145%);
}
.health-ring::after,
.mini-ring::after{
  content:"";
  position:absolute;
  width:58%;
  height:27%;
  top:8%;
  right:14%;
  z-index:1;
  border-radius:50%;
  transform:rotate(-18deg);
  background:linear-gradient(180deg,rgba(255,255,255,.45),rgba(255,255,255,0));
  filter:blur(1px);
  pointer-events:none;
}
.health-ring{
  width:166px;
  height:166px;
}
.health-ring-value{
  position:relative;
  z-index:3;
  font-size:35px;
  font-weight:800;
  color:#173234;
  letter-spacing:-1.2px;
  line-height:1;
}
.health-ring-label{display:none!important}
.mini-ring{
  width:66px;
  height:66px;
  flex:0 0 66px;
  font-size:12px;
  font-weight:800;
}
.mini-ring::before{inset:6px}
.ceo-ring-card .mini-ring,
.exec-glass-metric .mini-ring{
  width:78px;
  height:78px;
  flex-basis:78px;
  font-size:14px;
}
.ceo-ring-card .mini-ring::before,
.exec-glass-metric .mini-ring::before{inset:7px}

.health-glass,
.ceo-health-main,
.ceo-ring-card,
.exec-health-hero,
.exec-glass-metric,
.health-mini{
  background:
    linear-gradient(145deg,rgba(255,255,255,.46),rgba(255,255,255,.22));
  border:1px solid rgba(255,255,255,.64);
  box-shadow:
    0 12px 30px rgba(23,50,52,.075),
    inset 0 1px 0 rgba(255,255,255,.74);
  backdrop-filter:blur(15px) saturate(135%);
  -webkit-backdrop-filter:blur(15px) saturate(135%);
}
.health-main{gap:11px}
.health-mini{padding:13px 14px;border-radius:21px}
.health-mini-grid{gap:12px}
.health-trend{
  background:rgba(255,255,255,.38);
  color:#35645d;
  border:1px solid rgba(255,255,255,.66);
  box-shadow:0 6px 16px rgba(23,50,52,.045);
}

/* Current Mushar report cover */
.exec-cover-company{
  position:relative;
  min-height:690px;
  overflow:hidden;
  background:#173234;
  color:#fff;
}
.company-geo{
  position:absolute;
  left:0;
  top:0;
  width:58%;
  height:100%;
  overflow:hidden;
  z-index:1;
}
.company-geo span{
  position:absolute;
  display:block;
  background:linear-gradient(135deg,#c6f3eb 0%,#88a9a7 58%,#234143 100%);
  opacity:.94;
}
.company-geo-a{
  left:-4%;
  top:-2%;
  width:54%;
  height:25%;
  clip-path:polygon(0 0,100% 0,100% 100%,45% 100%);
}
.company-geo-b{
  left:29%;
  top:-1%;
  width:36%;
  height:52%;
  border-radius:0 0 50% 0;
  background:linear-gradient(140deg,#c6f3eb 0%,#94b0ad 45%,#2a4648 100%)!important;
}
.company-geo-c{
  left:0;
  top:25%;
  width:44%;
  height:25%;
  clip-path:polygon(0 0,52% 0,100% 100%,0 100%);
}
.company-geo-d{
  left:0;
  top:50%;
  width:66%;
  height:50%;
  clip-path:polygon(0 0,34% 0,100% 100%,64% 100%);
}
.company-geo-e{
  left:-8%;
  bottom:-9%;
  width:35%;
  height:35%;
  border-radius:0 100% 0 0;
  background:linear-gradient(135deg,#caf7ef 0%,#8aa9a6 55%,#274445 100%)!important;
}
.company-cover-logo{
  position:absolute;
  top:54px;
  right:58px;
  width:168px;
  z-index:4;
}
.company-cover-logo img{
  width:100%;
  height:auto;
  display:block;
  filter:none!important;
}
.company-cover-content{
  position:absolute;
  top:315px;
  right:58px;
  left:61%;
  z-index:4;
  max-width:none;
}
.company-cover-content h1{
  margin:0;
  font-size:39px;
  line-height:1.35;
  font-weight:700;
  color:#fff;
  letter-spacing:-.6px;
  padding-right:20px;
  position:relative;
}
.company-cover-content h1::after{
  content:"";
  position:absolute;
  right:0;
  top:3px;
  bottom:3px;
  width:4px;
  border-radius:3px;
  background:#bb9455;
}
.company-title-line{display:none}
.company-gold-band{
  margin-top:34px;
  width:100%;
  max-width:480px;
  padding:10px 18px 9px;
  text-align:center;
  background:#bb9455;
  color:#fff;
  font-size:18px;
  font-weight:700;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}
.company-cover-footer{
  position:absolute;
  right:58px;
  left:auto;
  bottom:48px;
  z-index:4;
  display:flex;
  gap:18px;
  flex-direction:row-reverse;
  align-items:center;
  font-size:15px;
  color:rgba(255,255,255,.92);
}
.company-cover-footer #execPeriodLabel{display:none}

/* Report page headers use the dark current group logo without filters */
.exec-page-head img{
  width:118px;
  max-height:58px;
  object-fit:contain;
  filter:none!important;
}
.exec-health-page .exec-page-head img{filter:none!important}

/* Brand logos always readable */
.brand-corner img,
.cloud-login-logo{
  object-fit:contain;
  filter:drop-shadow(0 7px 16px rgba(23,50,52,.08));
}

@media(max-width:800px){
  .exec-cover-company{min-height:620px}
  .company-geo{width:65%;opacity:.72}
  .company-cover-logo{right:28px;top:34px;width:145px}
  .company-cover-content{right:28px;left:35%;top:275px}
  .company-cover-content h1{font-size:31px}
  .company-gold-band{font-size:15px;max-width:360px}
  .company-cover-footer{right:28px;bottom:36px}
}


/* ===== V4 - Clean Liquid Glass Rings ===== */
.health-ring,
.mini-ring{
  --p:82;
  --ring-start:rgba(50,104,103,.94);
  --ring-end:rgba(118,173,167,.88);
  position:relative;
  display:grid;
  place-items:center;
  border-radius:50%;
  overflow:visible;
  background:
    radial-gradient(circle at 34% 20%,rgba(255,255,255,.70),rgba(255,255,255,.34) 42%,rgba(255,255,255,.18) 100%);
  border:1px solid rgba(255,255,255,.78);
  box-shadow:
    0 10px 24px rgba(23,50,52,.075),
    0 2px 6px rgba(23,50,52,.045),
    inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter:blur(14px) saturate(135%);
  -webkit-backdrop-filter:blur(14px) saturate(135%);
  color:#173234;
  isolation:isolate;
}

/* thin progress stroke only */
.health-ring::before,
.mini-ring::before{
  content:"";
  position:absolute;
  inset:7px;
  border-radius:50%;
  background:
    conic-gradient(
      from -90deg,
      var(--ring-start) 0%,
      var(--ring-end) calc(var(--p)*1%),
      rgba(88,121,119,.12) calc(var(--p)*1%),
      rgba(88,121,119,.12) 100%
    );
  -webkit-mask:
    radial-gradient(farthest-side,
      transparent calc(100% - 6px),
      #000 calc(100% - 5px));
  mask:
    radial-gradient(farthest-side,
      transparent calc(100% - 6px),
      #000 calc(100% - 5px));
  z-index:1;
  filter:drop-shadow(0 1px 2px rgba(23,50,52,.05));
}

/* soft glass highlight */
.health-ring::after,
.mini-ring::after{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:50%;
  background:
    linear-gradient(145deg,
      rgba(255,255,255,.30) 0%,
      rgba(255,255,255,.08) 36%,
      rgba(255,255,255,0) 60%);
  border:1px solid rgba(255,255,255,.28);
  pointer-events:none;
  z-index:0;
}

.health-ring{
  width:158px;
  height:158px;
}
.health-ring::before{
  inset:9px;
  -webkit-mask:
    radial-gradient(farthest-side,
      transparent calc(100% - 7px),
      #000 calc(100% - 6px));
  mask:
    radial-gradient(farthest-side,
      transparent calc(100% - 7px),
      #000 calc(100% - 6px));
}
.health-ring-value{
  position:relative;
  z-index:3;
  font-size:34px;
  line-height:1;
  font-weight:760;
  letter-spacing:-1px;
  color:#173234;
  text-shadow:0 1px 0 rgba(255,255,255,.65);
}
.health-ring-label{display:none!important}

.mini-ring{
  width:62px;
  height:62px;
  flex:0 0 62px;
  font-size:11.5px;
  font-weight:760;
  z-index:0;
}
.mini-ring::before{
  inset:5px;
  -webkit-mask:
    radial-gradient(farthest-side,
      transparent calc(100% - 4px),
      #000 calc(100% - 3px));
  mask:
    radial-gradient(farthest-side,
      transparent calc(100% - 4px),
      #000 calc(100% - 3px));
}

/* Executive circles slightly larger but same light visual language */
.ceo-ring-card .mini-ring,
.exec-glass-metric .mini-ring{
  width:70px;
  height:70px;
  flex-basis:70px;
  font-size:12.5px;
}
.ceo-ring-card .mini-ring::before,
.exec-glass-metric .mini-ring::before{
  inset:6px;
}

/* cards around circles: lighter and cleaner */
.health-glass,
.ceo-health-main,
.ceo-ring-card,
.exec-health-hero,
.exec-glass-metric,
.health-mini{
  background:
    linear-gradient(145deg,rgba(255,255,255,.50),rgba(255,255,255,.26));
  border:1px solid rgba(255,255,255,.72);
  box-shadow:
    0 9px 24px rgba(23,50,52,.055),
    inset 0 1px 0 rgba(255,255,255,.78);
  backdrop-filter:blur(13px) saturate(130%);
  -webkit-backdrop-filter:blur(13px) saturate(130%);
}

.health-mini{
  gap:12px;
  padding:13px 14px;
  border-radius:20px;
}
.health-mini b,
.ceo-ring-card b,
.exec-glass-metric b{
  color:#173234;
  font-weight:700;
}
.health-trend{
  background:rgba(255,255,255,.44);
  border:1px solid rgba(255,255,255,.72);
  box-shadow:0 5px 12px rgba(23,50,52,.04);
  color:#386861;
}

/* give the main ring room, avoid crowding */
.health-main{
  gap:13px;
}
.exec-health-hero .health-ring{
  width:166px;
  height:166px;
}
.ceo-health-main .health-ring{
  width:150px;
  height:150px;
}

@media(max-width:700px){
  .health-ring{width:142px;height:142px}
  .mini-ring{width:58px;height:58px;flex-basis:58px}
}


/* ===== V5 - Dark Blue Rings + Apple-like Liquid Glass Notifications ===== */

/* Dark navy progress rings */
.health-ring,
.mini-ring{
  --ring-start:rgba(17,55,91,.96);
  --ring-end:rgba(43,91,137,.90);
  color:#123654;
}
.health-ring::before,
.mini-ring::before{
  background:
    conic-gradient(
      from -90deg,
      var(--ring-start) 0%,
      var(--ring-end) calc(var(--p)*1%),
      rgba(30,66,101,.105) calc(var(--p)*1%),
      rgba(30,66,101,.105) 100%
    );
}
.health-ring-value{
  color:#123654;
}
.health-mini b,
.ceo-ring-card b,
.exec-glass-metric b{
  color:#123654;
}

/* Apple-inspired notification glass button */
.notify-wrap{
  position:relative;
}
.notify-btn{
  position:relative;
  width:44px;
  height:44px;
  min-width:44px;
  padding:0!important;
  border-radius:15px!important;
  display:grid!important;
  place-items:center;
  overflow:visible;
  color:#153a5b!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.58),rgba(255,255,255,.25))!important;
  border:1px solid rgba(255,255,255,.74)!important;
  box-shadow:
    0 9px 22px rgba(23,50,52,.07),
    inset 0 1px 0 rgba(255,255,255,.90),
    inset 0 -1px 0 rgba(255,255,255,.26)!important;
  backdrop-filter:blur(16px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(145%)!important;
  transition:
    transform .22s cubic-bezier(.2,.8,.2,1),
    box-shadow .22s ease,
    background .22s ease!important;
}
.notify-btn::before{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:12px;
  pointer-events:none;
  background:
    linear-gradient(150deg,rgba(255,255,255,.30),rgba(255,255,255,0) 48%);
}
.notify-btn:hover{
  transform:translateY(-1px) scale(1.025);
  background:
    linear-gradient(145deg,rgba(255,255,255,.70),rgba(255,255,255,.31))!important;
  box-shadow:
    0 12px 28px rgba(21,58,91,.10),
    inset 0 1px 0 rgba(255,255,255,.95)!important;
}
.notify-btn:active{
  transform:scale(.965);
}
.notify-icon{
  position:relative;
  z-index:2;
  width:20px;
  height:20px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.notify-count{
  top:-5px!important;
  left:-5px!important;
  min-width:17px!important;
  height:17px!important;
  padding:0 4px!important;
  border-radius:999px!important;
  background:#153a5b!important;
  color:#fff!important;
  font-size:8px!important;
  font-weight:800!important;
  border:2px solid rgba(247,250,249,.94)!important;
  box-shadow:0 3px 8px rgba(21,58,91,.18)!important;
  z-index:4;
}

/* Notification popover more Apple-like */
.notify-panel{
  top:52px!important;
  padding:10px!important;
  border-radius:24px!important;
  background:
    linear-gradient(145deg,rgba(247,250,249,.78),rgba(235,242,241,.66))!important;
  border:1px solid rgba(255,255,255,.80)!important;
  backdrop-filter:blur(26px) saturate(155%)!important;
  -webkit-backdrop-filter:blur(26px) saturate(155%)!important;
  box-shadow:
    0 26px 65px rgba(15,38,58,.16),
    inset 0 1px 0 rgba(255,255,255,.84)!important;
}
.notify-item{
  padding:11px 12px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.43)!important;
  border:1px solid rgba(255,255,255,.66)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.46);
  transition:background .18s ease, transform .18s ease;
}
.notify-item:hover{
  background:rgba(255,255,255,.64)!important;
  transform:translateY(-1px);
}
.notify-item b{
  color:#123654;
}


/* ===== V6 - Capsule Glass Progress (reference-inspired) ===== */

/* Generic glass capsule */
.glass-progress-pill{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:76px;
  padding:10px 18px 10px 13px;
  border-radius:28px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.44),rgba(255,255,255,.16));
  border:1px solid rgba(255,255,255,.58);
  box-shadow:
    0 10px 24px rgba(18,54,84,.065),
    inset 0 1px 0 rgba(255,255,255,.70),
    inset 0 -1px 0 rgba(255,255,255,.20);
  backdrop-filter:blur(16px) saturate(140%);
  -webkit-backdrop-filter:blur(16px) saturate(140%);
  position:relative;
  overflow:hidden;
}
.glass-progress-pill::before{
  content:"";
  position:absolute;
  inset:1px;
  border-radius:27px;
  pointer-events:none;
  background:
    linear-gradient(145deg,rgba(255,255,255,.20),transparent 46%);
}
.glass-progress-pill .ring-percent{
  min-width:58px;
  font-size:24px;
  font-weight:760;
  letter-spacing:-.8px;
  color:#173b61;
  line-height:1;
  text-align:center;
  position:relative;
  z-index:3;
}
.glass-progress-pill .ring-caption{
  display:block;
  font-size:9px;
  color:var(--muted);
  margin-top:5px;
  line-height:1.25;
}

/* Ring itself: empty center, just progress stroke */
.health-ring,
.mini-ring{
  --p:82;
  --ring-start:#173b61;
  --ring-mid:#2869a2;
  --ring-end:#56a9d8;
  position:relative;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:
    radial-gradient(circle at 32% 22%,rgba(255,255,255,.55),rgba(255,255,255,.20) 52%,rgba(255,255,255,.10) 100%);
  border:1px solid rgba(255,255,255,.66);
  box-shadow:
    0 8px 17px rgba(18,54,84,.075),
    inset 0 1px 0 rgba(255,255,255,.82);
  backdrop-filter:blur(11px) saturate(135%);
  -webkit-backdrop-filter:blur(11px) saturate(135%);
  color:transparent!important;
  text-shadow:none!important;
  overflow:visible;
}
.health-ring::before,
.mini-ring::before{
  content:"";
  position:absolute;
  inset:5px;
  border-radius:50%;
  background:
    conic-gradient(
      from -90deg,
      var(--ring-start) 0%,
      var(--ring-mid) calc(var(--p)*.55%),
      var(--ring-end) calc(var(--p)*1%),
      rgba(27,68,104,.10) calc(var(--p)*1%),
      rgba(27,68,104,.10) 100%
    );
  -webkit-mask:
    radial-gradient(farthest-side,
      transparent calc(100% - 5px),
      #000 calc(100% - 4px));
  mask:
    radial-gradient(farthest-side,
      transparent calc(100% - 5px),
      #000 calc(100% - 4px));
  z-index:2;
  filter:drop-shadow(0 1px 1px rgba(18,54,84,.055));
}
.health-ring::after,
.mini-ring::after{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:50%;
  background:
    linear-gradient(145deg,rgba(255,255,255,.26),rgba(255,255,255,0) 48%);
  border:1px solid rgba(255,255,255,.24);
  z-index:1;
  pointer-events:none;
}

/* Main health ring */
.health-ring{
  width:74px!important;
  height:74px!important;
  flex:0 0 74px!important;
}
.health-ring::before{
  inset:6px;
  -webkit-mask:
    radial-gradient(farthest-side,
      transparent calc(100% - 6px),
      #000 calc(100% - 5px));
  mask:
    radial-gradient(farthest-side,
      transparent calc(100% - 6px),
      #000 calc(100% - 5px));
}
.health-ring-value{
  display:none!important;
}

/* Smaller KPI ring */
.mini-ring{
  width:58px!important;
  height:58px!important;
  flex:0 0 58px!important;
  font-size:0!important;
}
.mini-ring::before{
  inset:4px;
  -webkit-mask:
    radial-gradient(farthest-side,
      transparent calc(100% - 4px),
      #000 calc(100% - 3px));
  mask:
    radial-gradient(farthest-side,
      transparent calc(100% - 4px),
      #000 calc(100% - 3px));
}

/* Main sector health capsule */
.health-main{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  min-width:250px;
  min-height:94px;
  padding:10px 18px;
  border-radius:30px;
  background:
    linear-gradient(145deg,rgba(255,255,255,.46),rgba(255,255,255,.18));
  border:1px solid rgba(255,255,255,.62);
  box-shadow:
    0 11px 27px rgba(18,54,84,.065),
    inset 0 1px 0 rgba(255,255,255,.72);
  backdrop-filter:blur(17px) saturate(140%);
  -webkit-backdrop-filter:blur(17px) saturate(140%);
  text-align:center;
}
.health-main .health-ring + .health-trend{
  margin-inline-start:0;
}
.health-main::after{
  content:attr(data-health);
  min-width:70px;
  font-size:29px;
  font-weight:780;
  color:#173b61;
  letter-spacing:-1px;
  order:-1;
}
.health-main .health-trend{
  position:absolute;
  transform:translateY(58px);
  font-size:9px;
  padding:5px 9px;
  background:rgba(255,255,255,.42);
}

/* Mini cards become pill capsules */
.health-mini{
  display:grid!important;
  grid-template-columns:58px 1fr!important;
  align-items:center!important;
  min-height:82px;
  gap:13px!important;
  padding:11px 16px!important;
  border-radius:27px!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.44),rgba(255,255,255,.16))!important;
  border:1px solid rgba(255,255,255,.60)!important;
  box-shadow:
    0 9px 22px rgba(18,54,84,.055),
    inset 0 1px 0 rgba(255,255,255,.70)!important;
  backdrop-filter:blur(15px) saturate(138%)!important;
  -webkit-backdrop-filter:blur(15px) saturate(138%)!important;
}
.health-mini > div:last-child{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:center;
  column-gap:8px;
}
.health-mini b{
  grid-column:1 / -1;
  font-size:10px!important;
  margin:0 0 2px!important;
  color:#173b61!important;
}
.health-mini span{
  font-size:9px!important;
  color:var(--muted)!important;
}
.health-mini .ring-percent{
  font-size:20px;
  font-weight:760;
  color:#173b61;
}

/* CEO and executive metric capsules */
.ceo-ring-card,
.exec-glass-metric{
  min-height:112px!important;
  display:grid!important;
  grid-template-columns:58px 1fr!important;
  grid-template-rows:auto auto!important;
  align-items:center!important;
  gap:4px 12px!important;
  padding:14px 16px!important;
  border-radius:28px!important;
  text-align:right!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.46),rgba(255,255,255,.17))!important;
  border:1px solid rgba(255,255,255,.62)!important;
  box-shadow:
    0 10px 24px rgba(18,54,84,.055),
    inset 0 1px 0 rgba(255,255,255,.72)!important;
}
.ceo-ring-card .mini-ring,
.exec-glass-metric .mini-ring{
  grid-row:1 / span 2;
}
.ceo-ring-card b,
.exec-glass-metric b{
  margin:0!important;
  align-self:end;
  color:#173b61!important;
}
.ceo-ring-card span,
.exec-glass-metric span{
  align-self:start;
}
.ceo-ring-card .ring-percent,
.exec-glass-metric .ring-percent{
  font-size:21px;
  font-weight:760;
  color:#173b61;
}

/* executive main glass capsule */
.ceo-health-main,
.exec-health-hero{
  background:
    linear-gradient(145deg,rgba(255,255,255,.47),rgba(255,255,255,.18))!important;
  border:1px solid rgba(255,255,255,.63)!important;
  box-shadow:
    0 12px 28px rgba(18,54,84,.06),
    inset 0 1px 0 rgba(255,255,255,.75)!important;
}

/* subtle ring hover, like native iOS motion */
.health-ring,
.mini-ring,
.health-mini,
.ceo-ring-card,
.exec-glass-metric{
  transition:transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease;
}
.health-mini:hover,
.ceo-ring-card:hover,
.exec-glass-metric:hover{
  transform:translateY(-1px);
  box-shadow:
    0 13px 30px rgba(18,54,84,.075),
    inset 0 1px 0 rgba(255,255,255,.78)!important;
}

@media(max-width:700px){
  .health-main{
    min-width:220px;
    width:100%;
  }
  .health-mini-grid{
    grid-template-columns:1fr!important;
  }
}


/* ===== V7 - Clean Donut Progress (closer to reference) ===== */
:root{
  --mushar-navy:#183a5a;
  --mushar-blue:#2c6a93;
  --mushar-sky:#6bb0c9;
  --mushar-mint:#a8d4c7;
  --mushar-track:#e7edef;
  --mushar-number:#545d66;
}

/* hide previous side percentage language */
.ring-percent{display:none!important}
.health-main::after{content:none!important}

/* restore centered blocks instead of pill layout */
.health-main{
  display:grid!important;
  place-items:center!important;
  gap:12px!important;
  min-width:auto!important;
  min-height:auto!important;
  padding:0!important;
  background:none!important;
  border:none!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  position:relative!important;
}
.health-main[data-health]::after{content:none!important}

.health-glass,
.ceo-health-main,
.ceo-ring-card,
.exec-health-hero,
.exec-glass-metric,
.health-mini{
  background:linear-gradient(145deg,rgba(255,255,255,.62),rgba(255,255,255,.32))!important;
  border:1px solid rgba(255,255,255,.78)!important;
  box-shadow:
    0 10px 24px rgba(24,58,90,.05),
    inset 0 1px 0 rgba(255,255,255,.85)!important;
  backdrop-filter:blur(12px) saturate(130%)!important;
  -webkit-backdrop-filter:blur(12px) saturate(130%)!important;
}

/* main layout blocks */
.ceo-health-main{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:24px!important;
  padding:20px!important;
}
.exec-health-hero{
  display:grid!important;
  grid-template-columns:240px 1fr!important;
  gap:24px!important;
  align-items:center!important;
}

/* donut circles */
.health-ring,
.mini-ring{
  --p:82;
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  border-radius:50%!important;
  overflow:visible!important;
  background:
    radial-gradient(circle at 50% 44%, #ffffff 0 57%, transparent 58%),
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(241,245,246,.95))!important;
  border:0!important;
  box-shadow:
    0 14px 30px rgba(24,58,90,.08),
    inset 10px 10px 18px rgba(255,255,255,.88),
    inset -8px -10px 16px rgba(214,223,228,.35)!important;
  color:#1c3750!important;
  text-shadow:none!important;
}

/* colored progress ring */
.health-ring::before,
.mini-ring::before{
  content:"";
  position:absolute;
  border-radius:50%;
  z-index:2;
  background:
    conic-gradient(
      from -90deg,
      var(--mushar-navy) 0%,
      var(--mushar-blue) calc(var(--p) * .55%),
      var(--mushar-sky) calc(var(--p) * .85%),
      var(--mushar-mint) calc(var(--p) * 1%),
      var(--mushar-track) calc(var(--p) * 1%),
      var(--mushar-track) 100%
    );
}

/* dot on the end */
.health-ring::after,
.mini-ring::after{
  content:"";
  position:absolute;
  border-radius:50%;
  z-index:3;
  background:linear-gradient(135deg,var(--mushar-sky),var(--mushar-blue),var(--mushar-navy));
  box-shadow:0 2px 8px rgba(24,58,90,.18), 0 0 0 2px rgba(255,255,255,.92);
}

/* large ring */
.health-ring{
  width:178px!important;
  height:178px!important;
}
.health-ring::before{
  inset:10px;
  -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 13px));
  mask:radial-gradient(farthest-side, transparent calc(100% - 14px), #000 calc(100% - 13px));
}
.health-ring::after{
  width:16px;height:16px;
  transform:translate(-50%,-50%);
  offset-path:path("M 89 10 A 79 79 0 1 1 88.99 10");
  offset-distance:calc(var(--p) * 1%);
}
.health-ring-value{
  display:block!important;
  position:relative!important;
  z-index:4!important;
  font-size:40px!important;
  font-weight:300!important;
  line-height:1!important;
  color:var(--mushar-number)!important;
  letter-spacing:-1px!important;
}
.health-ring-label{display:none!important}

/* smaller rings */
.mini-ring{
  width:88px!important;
  height:88px!important;
  flex:0 0 88px!important;
  font-size:0!important;
}
.mini-ring::before{
  inset:8px;
  -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 11px), #000 calc(100% - 10px));
  mask:radial-gradient(farthest-side, transparent calc(100% - 11px), #000 calc(100% - 10px));
}
.mini-ring::after{
  width:12px;height:12px;
  transform:translate(-50%,-50%);
  offset-path:path("M 44 8 A 36 36 0 1 1 43.99 8");
  offset-distance:calc(var(--p) * 1%);
}
.mini-ring-text{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  z-index:4;
  font-size:20px;
  font-weight:300;
  line-height:1;
  color:var(--mushar-number);
  pointer-events:none;
}

/* sub metric cards */
.health-mini-grid{
  display:grid!important;
  grid-template-columns:repeat(2,1fr)!important;
  gap:12px!important;
}
.health-mini{
  display:grid!important;
  grid-template-columns:92px 1fr!important;
  align-items:center!important;
  gap:14px!important;
  min-height:118px!important;
  padding:14px 16px!important;
  border-radius:24px!important;
}
.health-mini > div:last-child{
  display:block!important;
}
.health-mini b{
  display:block!important;
  font-size:13px!important;
  margin:0 0 4px!important;
  color:#17395a!important;
}
.health-mini span{
  display:block!important;
  font-size:10px!important;
  color:#73808b!important;
}

/* CEO / executive metrics */
.ceo-ring-grid,
.exec-glass-metrics{
  display:grid!important;
  grid-template-columns:repeat(4,1fr)!important;
  gap:12px!important;
}
.ceo-ring-card,
.exec-glass-metric{
  display:grid!important;
  grid-template-columns:1fr!important;
  justify-items:center!important;
  align-content:start!important;
  text-align:center!important;
  gap:8px!important;
  min-height:190px!important;
  padding:16px 14px!important;
  border-radius:24px!important;
}
.ceo-ring-card .mini-ring,
.exec-glass-metric .mini-ring{
  width:94px!important;
  height:94px!important;
  flex-basis:94px!important;
}
.ceo-ring-card .mini-ring::before,
.exec-glass-metric .mini-ring::before{
  inset:8px;
}
.ceo-ring-card .mini-ring::after,
.exec-glass-metric .mini-ring::after{
  width:12px;height:12px;
  transform:translate(-50%,-50%);
  offset-path:path("M 47 8 A 39 39 0 1 1 46.99 8");
  offset-distance:calc(var(--p) * 1%);
}
.ceo-ring-card b,
.exec-glass-metric b{
  margin:2px 0 0!important;
  font-size:12px!important;
  color:#17395a!important;
}
.ceo-ring-card span,
.exec-glass-metric span{
  font-size:10px!important;
  color:#73808b!important;
}

.ceo-health-copy h3,
.exec-health-copy h3{color:#17395a!important}
.ceo-health-copy p,
.exec-health-copy p{color:#6d7982!important}

/* trend chip */
.health-trend{
  position:static!important;
  transform:none!important;
  background:rgba(255,255,255,.55)!important;
  color:#4b7280!important;
  border:1px solid rgba(255,255,255,.85)!important;
  box-shadow:0 4px 10px rgba(24,58,90,.04)!important;
}

/* report background */
.exec-health-page{
  background:
    radial-gradient(circle at 90% 10%, rgba(168,212,199,.14), transparent 26%),
    linear-gradient(145deg,#f7fafb,#edf4f5)!important;
}

@media(max-width:1050px){
  .health-mini-grid,
  .ceo-ring-grid,
  .exec-glass-metrics{
    grid-template-columns:repeat(2,1fr)!important;
  }
  .exec-health-hero{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:700px){
  .health-layout,
  .ceo-health-panel{
    grid-template-columns:1fr!important;
  }
  .health-mini-grid,
  .ceo-ring-grid,
  .exec-glass-metrics{
    grid-template-columns:1fr!important;
  }
  .health-mini{
    grid-template-columns:88px 1fr!important;
  }
  .health-ring{
    width:162px!important;
    height:162px!important;
  }
  .health-ring-value{font-size:36px!important}
}


/* ===== V8 - Sector health tidy layout ===== */

/* remove accidental floating end-dot entirely */
.health-ring::after,
.mini-ring::after{
  display:none !important;
  content:none !important;
}

/* sector health card arrangement */
.health-glass{
  padding:22px !important;
  border-radius:34px !important;
}
.health-glass .section-title{
  margin-bottom:14px !important;
  align-items:flex-start !important;
}
.health-glass .section-title h2{
  font-size:24px !important;
  color:#17395a !important;
}
.health-glass .section-title .mini{
  font-size:12px !important;
  color:#7a8691 !important;
}

.health-layout{
  display:grid !important;
  grid-template-columns:minmax(300px, 0.95fr) minmax(0, 1.05fr) !important;
  gap:18px !important;
  align-items:stretch !important;
}

.health-main{
  min-height:100% !important;
  align-content:center !important;
  justify-items:center !important;
  padding:10px 10px 8px !important;
  border-radius:30px !important;
  background:linear-gradient(145deg,rgba(255,255,255,.54),rgba(255,255,255,.28)) !important;
  border:1px solid rgba(255,255,255,.78) !important;
  box-shadow:
    0 10px 24px rgba(24,58,90,.05),
    inset 0 1px 0 rgba(255,255,255,.86) !important;
  backdrop-filter:blur(12px) saturate(130%) !important;
  -webkit-backdrop-filter:blur(12px) saturate(130%) !important;
}
.health-main .health-ring{
  width:186px !important;
  height:186px !important;
}
.health-main .health-ring-value{
  font-size:42px !important;
  font-weight:300 !important;
}
.health-main .health-trend{
  margin-top:4px !important;
  font-size:11px !important;
  padding:8px 14px !important;
  border-radius:999px !important;
}

.health-mini-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(220px,1fr)) !important;
  gap:14px !important;
  align-items:stretch !important;
}

/* small health metric cards: text clean + ring clearly placed */
.health-mini{
  direction:rtl !important;
  display:grid !important;
  grid-template-columns:1fr 92px !important;
  grid-template-areas:"text ring" !important;
  align-items:center !important;
  min-height:148px !important;
  padding:18px 18px !important;
  border-radius:28px !important;
  overflow:hidden !important;
}
.health-mini .mini-ring{
  grid-area:ring !important;
  justify-self:end !important;
  width:84px !important;
  height:84px !important;
  flex:0 0 84px !important;
}
.health-mini .mini-ring::before{
  inset:8px !important;
  -webkit-mask:radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px)) !important;
  mask:radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px)) !important;
}
.health-mini .mini-ring-text{
  font-size:19px !important;
  font-weight:300 !important;
}
.health-mini > div:last-child{
  grid-area:text !important;
  align-self:center !important;
  justify-self:start !important;
  text-align:right !important;
  padding-inline-start:6px !important;
}
.health-mini b{
  font-size:18px !important;
  line-height:1.45 !important;
  margin:0 0 8px !important;
  color:#17395a !important;
}
.health-mini span{
  font-size:12px !important;
  line-height:1.75 !important;
  color:#73808b !important;
}

/* space/clarity for the sub metric value line if present */
.health-mini .meta,
.health-mini .mini{
  font-size:11px !important;
}

/* make main and mini rings a bit softer */
.health-ring,
.mini-ring{
  box-shadow:
    0 10px 24px rgba(24,58,90,.06),
    inset 10px 10px 18px rgba(255,255,255,.90),
    inset -8px -10px 16px rgba(214,223,228,.28) !important;
}

/* CEO / executive cards also cleaner, no floating dots */
.ceo-ring-card,
.exec-glass-metric{
  border-radius:24px !important;
}
.ceo-ring-card .mini-ring,
.exec-glass-metric .mini-ring{
  width:90px !important;
  height:90px !important;
  flex-basis:90px !important;
}
.ceo-ring-card .mini-ring-text,
.exec-glass-metric .mini-ring-text{
  font-size:20px !important;
  font-weight:300 !important;
}

/* responsive */
@media(max-width:1100px){
  .health-layout{
    grid-template-columns:1fr !important;
  }
  .health-mini-grid{
    grid-template-columns:repeat(2,minmax(200px,1fr)) !important;
  }
}
@media(max-width:760px){
  .health-mini-grid{
    grid-template-columns:1fr !important;
  }
  .health-mini{
    grid-template-columns:1fr 86px !important;
    min-height:132px !important;
    padding:16px !important;
  }
  .health-main .health-ring{
    width:168px !important;
    height:168px !important;
  }
  .health-main .health-ring-value{
    font-size:38px !important;
  }
}


/* ===== V9 - Layout Fixes: no overlap, no clipping ===== */

/* global safety */
*, *::before, *::after{box-sizing:border-box}

/* ===== Sector Health ===== */
.health-glass{
  padding:22px !important;
  overflow:hidden !important;
}
.health-glass .section-title{
  margin-bottom:16px !important;
  align-items:flex-start !important;
}
.health-glass .section-title h2{
  font-size:24px !important;
  line-height:1.3 !important;
}
.health-glass .section-title .mini{
  font-size:12px !important;
  line-height:1.7 !important;
  color:#7b8691 !important;
}

/* keep big ring on the right and details on the left, without overflow */
.health-layout{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 300px !important;
  gap:18px !important;
  align-items:stretch !important;
}
.health-main{
  grid-column:2 !important;
  align-content:center !important;
  justify-items:center !important;
  min-height:100% !important;
  padding:14px 12px !important;
  border-radius:28px !important;
  background:linear-gradient(145deg,rgba(255,255,255,.56),rgba(255,255,255,.30)) !important;
  border:1px solid rgba(255,255,255,.78) !important;
  box-shadow:
    0 10px 24px rgba(24,58,90,.05),
    inset 0 1px 0 rgba(255,255,255,.86) !important;
  backdrop-filter:blur(12px) saturate(130%) !important;
  -webkit-backdrop-filter:blur(12px) saturate(130%) !important;
}
.health-main .health-ring{
  width:180px !important;
  height:180px !important;
}
.health-main .health-ring-value{
  font-size:40px !important;
}
.health-main .health-trend{
  margin-top:8px !important;
  padding:8px 14px !important;
  font-size:11px !important;
  line-height:1.2 !important;
}

.health-mini-grid{
  grid-column:1 !important;
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:14px !important;
  min-width:0 !important;
}
.health-mini{
  display:grid !important;
  grid-template-columns:72px minmax(0,1fr) !important;
  align-items:center !important;
  gap:12px !important;
  min-height:120px !important;
  padding:16px !important;
  border-radius:24px !important;
  overflow:hidden !important;
}
.health-mini .mini-ring{
  width:72px !important;
  height:72px !important;
  flex:0 0 72px !important;
  justify-self:center !important;
}
.health-mini .mini-ring-text{
  font-size:16px !important;
}
.health-mini > div:last-child{
  min-width:0 !important;
  text-align:right !important;
  padding:0 !important;
}
.health-mini b{
  display:block !important;
  font-size:16px !important;
  line-height:1.45 !important;
  margin:0 0 6px !important;
  color:#17395a !important;
  word-break:break-word !important;
}
.health-mini span{
  display:block !important;
  font-size:11px !important;
  line-height:1.65 !important;
  color:#6f7f8c !important;
  word-break:break-word !important;
}

/* ===== CEO overview circular cards ===== */
.ceo-health-panel{
  grid-template-columns:1.1fr 1.9fr !important;
  gap:14px !important;
}
.ceo-health-main{
  padding:18px !important;
  gap:18px !important;
}
.ceo-health-copy h3{
  font-size:18px !important;
  line-height:1.35 !important;
}
.ceo-health-copy p{
  font-size:11px !important;
  line-height:1.75 !important;
}
.ceo-ring-grid{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:12px !important;
}
.ceo-ring-card{
  min-height:178px !important;
  padding:14px 12px !important;
  border-radius:22px !important;
  overflow:hidden !important;
}
.ceo-ring-card .mini-ring{
  width:84px !important;
  height:84px !important;
  flex-basis:84px !important;
}
.ceo-ring-card .mini-ring-text{
  font-size:18px !important;
}
.ceo-ring-card b{
  font-size:12px !important;
  line-height:1.5 !important;
  text-align:center !important;
}
.ceo-ring-card span{
  font-size:10px !important;
  line-height:1.6 !important;
  text-align:center !important;
}

/* ===== Executive report pages ===== */
#executiveReport,
.exec-report{
  overflow:visible !important;
  gap:18px !important;
}
.exec-cover,
.exec-page{
  overflow:visible !important;   /* prevents content clipping */
  min-height:auto !important;
  height:auto !important;
}
.exec-page{
  padding:34px 34px 28px !important;
}
.exec-page-head{
  margin-bottom:18px !important;
  padding-bottom:12px !important;
}
.exec-page-head h2{
  font-size:25px !important;
  line-height:1.35 !important;
}
.exec-page-kicker{
  font-size:10px !important;
  line-height:1.3 !important;
}

/* Executive report health page */
.exec-health-page{
  overflow:visible !important;
}
.exec-health-hero{
  grid-template-columns:220px minmax(0,1fr) !important;
  gap:18px !important;
  align-items:center !important;
  overflow:visible !important;
}
.exec-health-hero .health-ring{
  width:170px !important;
  height:170px !important;
}
.exec-health-copy h3{
  font-size:24px !important;
  margin:0 0 8px !important;
  line-height:1.35 !important;
}
.exec-health-copy p{
  font-size:12px !important;
  line-height:1.9 !important;
}
.exec-glass-metrics{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:12px !important;
  margin-top:16px !important;
}
.exec-glass-metric{
  min-height:175px !important;
  padding:14px 12px !important;
  border-radius:22px !important;
  overflow:hidden !important;
}
.exec-glass-metric .mini-ring{
  width:84px !important;
  height:84px !important;
  flex-basis:84px !important;
}
.exec-glass-metric .mini-ring-text{
  font-size:18px !important;
}
.exec-glass-metric b{
  font-size:12px !important;
  line-height:1.5 !important;
  text-align:center !important;
}
.exec-glass-metric span{
  font-size:10px !important;
  line-height:1.6 !important;
  text-align:center !important;
}

/* content blocks in report */
.exec-summary-grid,
.exec-two,
.exec-departments,
.exec-decision-grid,
.exec-priority-list{
  gap:12px !important;
}
.exec-metric,
.exec-block,
.exec-dept-card,
.exec-decision,
.exec-priority,
.exec-signoff div{
  overflow:visible !important;
}
.exec-metric b{
  font-size:28px !important;
}
.exec-block-title{
  line-height:1.5 !important;
}
.exec-block p,
.exec-dept-card p,
.exec-bullet,
.exec-priority{
  line-height:1.8 !important;
}
.exec-bullet{
  font-size:11.5px !important;
}
.exec-budget-table{
  overflow:auto !important;
}
.exec-budget-table > div{
  min-width:650px !important;
}
.exec-signoff{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:10px !important;
}

/* report cover copy safety */
.exec-cover-company{
  overflow:hidden !important;
}
.company-cover-content{
  left:50% !important;
  right:58px !important;
  top:290px !important;
}
.company-cover-content h1{
  font-size:35px !important;
  line-height:1.45 !important;
}
.company-gold-band{
  margin-top:22px !important;
  font-size:17px !important;
  line-height:1.5 !important;
}
.company-cover-footer{
  bottom:40px !important;
  font-size:14px !important;
}

/* responsive */
@media(max-width:1100px){
  .health-layout{
    grid-template-columns:1fr !important;
  }
  .health-main,
  .health-mini-grid{
    grid-column:auto !important;
  }
  .health-mini-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .ceo-health-panel{
    grid-template-columns:1fr !important;
  }
  .ceo-ring-grid,
  .exec-glass-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  .exec-health-hero{
    grid-template-columns:1fr !important;
  }
}
@media(max-width:760px){
  .health-mini-grid,
  .ceo-ring-grid,
  .exec-glass-metrics,
  .exec-summary-grid,
  .exec-two,
  .exec-departments,
  .exec-decision-grid,
  .exec-priority-list,
  .exec-signoff{
    grid-template-columns:1fr !important;
  }
  .health-main .health-ring,
  .exec-health-hero .health-ring{
    width:160px !important;
    height:160px !important;
  }
  .health-main .health-ring-value{
    font-size:36px !important;
  }
  .company-cover-content{
    left:28px !important;
    right:28px !important;
    top:250px !important;
  }
  .company-cover-content h1{
    font-size:30px !important;
  }
}


/* ===== V10 - Unified SVG Donut Component ===== */

/* hide legacy ring internals only after v10 rebuilds the blocks */
.v10-health .health-ring,
.v10-health .mini-ring,
.v10-ceo-health .health-ring,
.v10-ceo-health .mini-ring,
.v10-exec-health .health-ring,
.v10-exec-health .mini-ring{
  display:none!important;
}

.v10-donut{
  --size:176px;
  width:var(--size);
  height:var(--size);
  position:relative;
  display:grid;
  place-items:center;
  flex:0 0 var(--size);
}
.v10-donut.sm{--size:82px}
.v10-donut.md{--size:96px}
.v10-donut svg{
  width:100%;
  height:100%;
  display:block;
  overflow:visible;
  filter:drop-shadow(0 7px 13px rgba(17,55,91,.07));
}
.v10-donut .v10-track{
  fill:none;
  stroke:rgba(36,72,74,.09);
  stroke-width:10;
}
.v10-donut .v10-progress{
  fill:none;
  stroke-width:10;
  stroke-linecap:round;
  transform:rotate(-90deg);
  transform-origin:60px 60px;
  transition:stroke-dasharray .55s cubic-bezier(.2,.8,.2,1);
}
.v10-donut.sm .v10-track,
.v10-donut.sm .v10-progress,
.v10-donut.md .v10-track,
.v10-donut.md .v10-progress{
  stroke-width:9;
}
.v10-donut::before{
  content:"";
  position:absolute;
  inset:15%;
  border-radius:50%;
  background:
    radial-gradient(circle at 34% 24%,rgba(255,255,255,.95),rgba(255,255,255,.72) 55%,rgba(245,248,249,.70));
  box-shadow:
    0 11px 25px rgba(17,55,91,.055),
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -8px 18px rgba(31,64,92,.025);
  border:1px solid rgba(255,255,255,.88);
  pointer-events:none;
}
.v10-donut-value{
  position:absolute;
  z-index:3;
  inset:0;
  display:grid;
  place-items:center;
  font-size:39px;
  line-height:1;
  font-weight:350;
  letter-spacing:-1.4px;
  color:#4e5a65;
  font-variant-numeric:tabular-nums;
}
.v10-donut.sm .v10-donut-value{
  font-size:18px;
  letter-spacing:-.3px;
  font-weight:500;
}
.v10-donut.md .v10-donut-value{
  font-size:21px;
  letter-spacing:-.4px;
  font-weight:500;
}

/* Shared glass language */
.v10-glass{
  background:
    linear-gradient(145deg,rgba(255,255,255,.61),rgba(255,255,255,.31));
  border:1px solid rgba(255,255,255,.80);
  box-shadow:
    0 11px 28px rgba(17,55,91,.055),
    inset 0 1px 0 rgba(255,255,255,.90);
  backdrop-filter:blur(12px) saturate(128%);
  -webkit-backdrop-filter:blur(12px) saturate(128%);
}

/* ===== Sector Health ===== */
.v10-health-wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) 290px;
  gap:16px;
  align-items:stretch;
}
.v10-health-main{
  grid-column:2;
  min-height:310px;
  border-radius:30px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:14px;
  padding:22px;
  text-align:center;
}
.v10-health-title{
  font-size:13px;
  font-weight:800;
  color:#17395a;
  margin-bottom:2px;
}
.v10-health-trend{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 12px;
  border-radius:999px;
  font-size:10px;
  color:#547080;
  background:rgba(255,255,255,.58);
  border:1px solid rgba(255,255,255,.82);
}
.v10-health-metrics{
  grid-column:1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.v10-health-card{
  min-width:0;
  min-height:145px;
  border-radius:26px;
  padding:17px;
  display:grid;
  grid-template-columns:82px minmax(0,1fr);
  grid-template-areas:"donut copy";
  align-items:center;
  gap:14px;
  overflow:hidden;
}
.v10-health-card .v10-donut{grid-area:donut}
.v10-health-copy{
  grid-area:copy;
  min-width:0;
  text-align:right;
}
.v10-health-copy b{
  display:block;
  margin:0 0 6px;
  font-size:15px;
  line-height:1.45;
  color:#17395a;
}
.v10-health-copy span{
  display:block;
  color:#74818c;
  font-size:10.5px;
  line-height:1.65;
}

/* ===== CEO ===== */
.v10-ceo-health-grid{
  display:grid;
  grid-template-columns:1.15fr 1.85fr;
  gap:14px;
  margin-bottom:14px;
}
.v10-ceo-main{
  border-radius:28px;
  padding:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:22px;
  min-width:0;
}
.v10-ceo-copy{min-width:0}
.v10-ceo-copy h3{
  margin:0 0 7px;
  color:#17395a;
  font-size:19px;
  line-height:1.4;
}
.v10-ceo-copy p{
  margin:0;
  font-size:11px;
  line-height:1.8;
  color:#6d7983;
}
.v10-ceo-copy .v10-health-trend{margin-top:10px}
.v10-ceo-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.v10-ceo-card{
  border-radius:24px;
  min-height:165px;
  padding:14px 10px;
  display:grid;
  justify-items:center;
  align-content:center;
  gap:7px;
  overflow:hidden;
  text-align:center;
}
.v10-ceo-card b{
  color:#17395a;
  font-size:11.5px;
  line-height:1.45;
}
.v10-ceo-card span{
  color:#7a8790;
  font-size:9.5px;
  line-height:1.5;
}

/* ===== Executive report ===== */
.v10-exec-health-hero{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  align-items:center;
  gap:20px;
  padding:20px;
  border-radius:28px;
}
.v10-exec-health-main{
  display:grid;
  justify-items:center;
  gap:11px;
}
.v10-exec-copy h3{
  margin:0 0 8px;
  font-size:24px;
  color:#17395a;
  line-height:1.4;
}
.v10-exec-copy p{
  margin:0;
  color:#687985;
  font-size:12px;
  line-height:1.95;
}
.v10-exec-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
  margin-top:16px;
}
.v10-exec-card{
  border-radius:23px;
  min-height:160px;
  padding:14px 10px;
  display:grid;
  justify-items:center;
  align-content:center;
  gap:7px;
  text-align:center;
  overflow:hidden;
}
.v10-exec-card b{
  color:#17395a;
  font-size:11.5px;
  line-height:1.5;
}
.v10-exec-card span{
  color:#7a8790;
  font-size:9.5px;
  line-height:1.55;
}

/* ensure report can grow naturally */
.v10-exec-health,
.v10-exec-health .exec-page,
#execHealthPage{
  overflow:visible!important;
  height:auto!important;
  min-height:auto!important;
}

@media(max-width:1100px){
  .v10-health-wrap,
  .v10-ceo-health-grid{
    grid-template-columns:1fr;
  }
  .v10-health-main,
  .v10-health-metrics{
    grid-column:auto;
  }
  .v10-ceo-metrics,
  .v10-exec-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:760px){
  .v10-health-metrics,
  .v10-ceo-metrics,
  .v10-exec-metrics{
    grid-template-columns:1fr;
  }
  .v10-health-main{
    min-height:260px;
  }
  .v10-health-card{
    grid-template-columns:76px minmax(0,1fr);
    padding:15px;
  }
  .v10-donut{--size:158px}
  .v10-donut.sm{--size:76px}
  .v10-donut.md{--size:88px}
  .v10-ceo-main{
    flex-direction:column;
    text-align:center;
  }
  .v10-exec-health-hero{
    grid-template-columns:1fr;
  }
}


/* ===== V11 - Dark Mode ===== */
.theme-toggle-btn{
  width:44px;
  height:44px;
  min-width:44px;
  padding:0!important;
  border-radius:15px!important;
  display:grid!important;
  place-items:center;
  position:relative;
  overflow:hidden;
  color:#173b61!important;
  background:
    linear-gradient(145deg,rgba(255,255,255,.58),rgba(255,255,255,.25))!important;
  border:1px solid rgba(255,255,255,.74)!important;
  box-shadow:
    0 9px 22px rgba(23,50,52,.07),
    inset 0 1px 0 rgba(255,255,255,.90)!important;
  backdrop-filter:blur(16px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(145%)!important;
  transition:
    transform .22s cubic-bezier(.2,.8,.2,1),
    background .22s ease,
    box-shadow .22s ease,
    color .22s ease!important;
}
.theme-toggle-btn:hover{
  transform:translateY(-1px) scale(1.025);
}
.theme-toggle-btn:active{
  transform:scale(.965);
}
.theme-toggle-btn::before{
  content:"";
  position:absolute;
  inset:2px;
  border-radius:12px;
  background:linear-gradient(150deg,rgba(255,255,255,.28),rgba(255,255,255,0) 48%);
  pointer-events:none;
}
.theme-icon{
  position:absolute;
  width:19px;
  height:19px;
  z-index:2;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:
    opacity .24s ease,
    transform .32s cubic-bezier(.2,.8,.2,1);
}
.theme-sun{opacity:1;transform:rotate(0deg) scale(1)}
.theme-moon{opacity:0;transform:rotate(-22deg) scale(.72)}

html[data-theme="dark"] .theme-sun{opacity:0;transform:rotate(28deg) scale(.72)}
html[data-theme="dark"] .theme-moon{opacity:1;transform:rotate(0deg) scale(1)}

/* Dark palette */
html[data-theme="dark"] body{
  --bg:#0e171c;
  --panel:rgba(24,36,43,.72);
  --panel2:rgba(30,44,52,.58);
  --line:rgba(255,255,255,.09);
  --text:#edf4f5;
  --muted:#9eb0b6;
  --brand:#7fbcc6;
  --brand2:#9fd5cd;
  --shadow:0 18px 48px rgba(0,0,0,.24);

  color:#edf4f5!important;
  background:
    radial-gradient(circle at 16% 12%,rgba(51,91,112,.24),transparent 28%),
    radial-gradient(circle at 82% 18%,rgba(69,119,121,.18),transparent 26%),
    linear-gradient(145deg,#0d151a,#101a20 48%,#111c21)!important;
}

/* decorative background circles */
html[data-theme="dark"] body::before,
html[data-theme="dark"] body::after{
  opacity:.34!important;
  filter:blur(10px)!important;
}

/* topbar */
html[data-theme="dark"] .topbar{
  color:#edf4f5!important;
}
html[data-theme="dark"] #pageTitle{
  color:#f3f7f8!important;
}
html[data-theme="dark"] .small,
html[data-theme="dark"] .mini,
html[data-theme="dark"] .meta,
html[data-theme="dark"] .label{
  color:#9eb0b6!important;
}

/* global glass panels/cards */
html[data-theme="dark"] .card,
html[data-theme="dark"] .exec-controls,
html[data-theme="dark"] .cloud-status,
html[data-theme="dark"] .kpi-modal-panel,
html[data-theme="dark"] .task-stat,
html[data-theme="dark"] .hr-metric,
html[data-theme="dark"] .v10-glass,
html[data-theme="dark"] .notify-panel{
  background:
    linear-gradient(145deg,rgba(34,48,56,.76),rgba(24,36,43,.58))!important;
  border-color:rgba(255,255,255,.085)!important;
  box-shadow:
    0 18px 42px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.055)!important;
  color:#edf4f5!important;
}

/* text hierarchy */
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] b,
html[data-theme="dark"] strong,
html[data-theme="dark"] .value,
html[data-theme="dark"] .dept-detail-hero h2{
  color:#f3f7f8!important;
}
html[data-theme="dark"] p,
html[data-theme="dark"] span,
html[data-theme="dark"] .ceo-summary-text,
html[data-theme="dark"] .audit-details{
  color:#b7c5c9;
}

/* Buttons */
html[data-theme="dark"] .btn{
  color:#dbe7e9!important;
  background:rgba(255,255,255,.055)!important;
  border-color:rgba(255,255,255,.09)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
html[data-theme="dark"] .btn:hover{
  background:rgba(255,255,255,.085)!important;
}
html[data-theme="dark"] .btn.primary{
  color:#eef8f9!important;
  background:linear-gradient(145deg,#27556b,#326d7b)!important;
  border-color:rgba(145,211,215,.18)!important;
}

/* Theme + notification buttons */
html[data-theme="dark"] .theme-toggle-btn,
html[data-theme="dark"] .notify-btn{
  color:#d7ebee!important;
  background:
    linear-gradient(145deg,rgba(58,78,88,.62),rgba(32,48,57,.40))!important;
  border-color:rgba(255,255,255,.10)!important;
  box-shadow:
    0 10px 24px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.08)!important;
}

/* Inputs */
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea{
  color:#edf4f5!important;
  background:rgba(255,255,255,.052)!important;
  border-color:rgba(255,255,255,.10)!important;
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{
  color:#82979e!important;
}
html[data-theme="dark"] select option{
  background:#18252c;
  color:#edf4f5;
}

/* Tables */
html[data-theme="dark"] table{
  color:#d9e5e7!important;
}
html[data-theme="dark"] th{
  color:#9eb0b6!important;
  background:rgba(255,255,255,.035)!important;
  border-color:rgba(255,255,255,.07)!important;
}
html[data-theme="dark"] td{
  color:#d8e2e4!important;
  border-color:rgba(255,255,255,.065)!important;
}
html[data-theme="dark"] tr:hover td{
  background:rgba(255,255,255,.025)!important;
}

/* Sidebar */
html[data-theme="dark"] .sidebar{
  background:
    linear-gradient(145deg,rgba(18,31,37,.84),rgba(24,42,48,.70))!important;
  border-color:rgba(255,255,255,.08)!important;
  box-shadow:
    0 28px 72px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.045)!important;
}
html[data-theme="dark"] .nav-item{
  color:#c8d7da!important;
}
html[data-theme="dark"] .nav-item:hover,
html[data-theme="dark"] .nav-item.active{
  background:rgba(255,255,255,.075)!important;
  color:#f2f8f8!important;
}

/* KPI and department cards */
html[data-theme="dark"] .kpi,
html[data-theme="dark"] .dept-card,
html[data-theme="dark"] .dept-workstream,
html[data-theme="dark"] .dept-kpi,
html[data-theme="dark"] .ceo-dept-card,
html[data-theme="dark"] .notify-item{
  background:rgba(255,255,255,.038)!important;
  border-color:rgba(255,255,255,.07)!important;
}
html[data-theme="dark"] .clickable-kpi:hover{
  background:rgba(255,255,255,.07)!important;
}

/* Health donuts: dark-mode centre and track */
html[data-theme="dark"] .v10-donut::before{
  background:
    radial-gradient(circle at 34% 24%,rgba(43,58,67,.98),rgba(30,45,53,.94) 55%,rgba(27,41,48,.92))!important;
  border-color:rgba(255,255,255,.07)!important;
  box-shadow:
    0 11px 25px rgba(0,0,0,.20),
    inset 0 1px 0 rgba(255,255,255,.05)!important;
}
html[data-theme="dark"] .v10-donut .v10-track{
  stroke:rgba(255,255,255,.08)!important;
}
html[data-theme="dark"] .v10-donut-value{
  color:#edf4f5!important;
}
html[data-theme="dark"] .v10-health-copy b,
html[data-theme="dark"] .v10-ceo-copy h3,
html[data-theme="dark"] .v10-exec-copy h3,
html[data-theme="dark"] .v10-ceo-card b,
html[data-theme="dark"] .v10-exec-card b,
html[data-theme="dark"] .v10-health-title{
  color:#edf4f5!important;
}
html[data-theme="dark"] .v10-health-copy span,
html[data-theme="dark"] .v10-ceo-copy p,
html[data-theme="dark"] .v10-exec-copy p,
html[data-theme="dark"] .v10-ceo-card span,
html[data-theme="dark"] .v10-exec-card span{
  color:#9eb0b6!important;
}
html[data-theme="dark"] .v10-health-trend{
  color:#b7d1d4!important;
  background:rgba(255,255,255,.05)!important;
  border-color:rgba(255,255,255,.08)!important;
}

/* Badges */
html[data-theme="dark"] .badge,
html[data-theme="dark"] .priority-badge{
  border-color:rgba(255,255,255,.08)!important;
}
html[data-theme="dark"] .badge.blue{
  background:rgba(50,110,146,.24)!important;
  color:#a9d1e8!important;
}
html[data-theme="dark"] .badge.orange{
  background:rgba(172,112,42,.20)!important;
  color:#e8bd84!important;
}
html[data-theme="dark"] .badge.green{
  background:rgba(65,126,100,.22)!important;
  color:#a9d6c1!important;
}

/* Modal */
html[data-theme="dark"] .kpi-modal{
  background:rgba(0,0,0,.48)!important;
}

/* Audit + HR upload */
html[data-theme="dark"] .audit-table-wrap,
html[data-theme="dark"] .hr-upload-zone{
  background:rgba(255,255,255,.025)!important;
  border-color:rgba(255,255,255,.08)!important;
}

/* Login screen follows dark mode */
html[data-theme="dark"] .cloud-login{
  background:
    radial-gradient(circle at 20% 20%,rgba(36,78,109,.30),transparent 34%),
    radial-gradient(circle at 82% 18%,rgba(58,105,105,.22),transparent 30%),
    linear-gradient(135deg,#101a20,#121f25 48%,#0e171b)!important;
}
html[data-theme="dark"] .cloud-login-card{
  background:rgba(24,36,43,.82)!important;
  border-color:rgba(255,255,255,.08)!important;
  box-shadow:0 28px 70px rgba(0,0,0,.32)!important;
}
html[data-theme="dark"] .cloud-login-card h2{
  color:#f2f7f8!important;
}

/* Keep executive report itself in company/corporate colors for consistency */
html[data-theme="dark"] #executiveReport .exec-cover,
html[data-theme="dark"] #executiveReport .exec-page,
html[data-theme="dark"] #executiveReport .exec-health-page{
  color:initial;
}
html[data-theme="dark"] #executiveReport .exec-page:not(.exec-cover){
  background:#f7f6f2!important;
}
html[data-theme="dark"] #executiveReport .exec-page:not(.exec-cover) h2,
html[data-theme="dark"] #executiveReport .exec-page:not(.exec-cover) h3,
html[data-theme="dark"] #executiveReport .exec-page:not(.exec-cover) b{
  color:#173234!important;
}
html[data-theme="dark"] #executiveReport .exec-page:not(.exec-cover) p,
html[data-theme="dark"] #executiveReport .exec-page:not(.exec-cover) span{
  color:#5f6f70;
}
html[data-theme="dark"] #executiveReport .v10-glass{
  background:rgba(255,255,255,.66)!important;
  border-color:rgba(23,50,52,.10)!important;
  box-shadow:0 10px 24px rgba(23,50,52,.06)!important;
}
html[data-theme="dark"] #executiveReport .v10-donut::before{
  background:
    radial-gradient(circle at 34% 24%,rgba(255,255,255,.95),rgba(255,255,255,.72) 55%,rgba(245,248,249,.70))!important;
  border-color:rgba(255,255,255,.88)!important;
  box-shadow:
    0 11px 25px rgba(17,55,91,.055),
    inset 0 1px 0 rgba(255,255,255,.95)!important;
}
html[data-theme="dark"] #executiveReport .v10-donut-value{
  color:#4e5a65!important;
}
html[data-theme="dark"] #executiveReport .v10-health-copy b,
html[data-theme="dark"] #executiveReport .v10-exec-copy h3,
html[data-theme="dark"] #executiveReport .v10-exec-card b{
  color:#17395a!important;
}
html[data-theme="dark"] #executiveReport .v10-health-copy span,
html[data-theme="dark"] #executiveReport .v10-exec-copy p,
html[data-theme="dark"] #executiveReport .v10-exec-card span{
  color:#74818c!important;
}

/* scrollbar */
html[data-theme="dark"] ::-webkit-scrollbar-track{
  background:rgba(255,255,255,.025);
}
html[data-theme="dark"] ::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.12);
  border:2px solid transparent;
  background-clip:padding-box;
}


/* ===== V13 - Dark Mode Readability (carried from v12) ===== */
html[data-theme="dark"] body,
html[data-theme="dark"] .app-shell,
html[data-theme="dark"] .page,
html[data-theme="dark"] .content,
html[data-theme="dark"] .card{color:#eef5f6!important}
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] h6,
html[data-theme="dark"] b,
html[data-theme="dark"] strong,
html[data-theme="dark"] .title,
html[data-theme="dark"] .page-title,
html[data-theme="dark"] .value,
html[data-theme="dark"] .stat-value,
html[data-theme="dark"] .metric-value,
html[data-theme="dark"] .task-title,
html[data-theme="dark"] .dept-name{color:#f7fbfc!important}
html[data-theme="dark"] p,
html[data-theme="dark"] span,
html[data-theme="dark"] small,
html[data-theme="dark"] label,
html[data-theme="dark"] .small,
html[data-theme="dark"] .mini,
html[data-theme="dark"] .meta,
html[data-theme="dark"] .muted,
html[data-theme="dark"] .description,
html[data-theme="dark"] .hint{color:#c7d6da!important}
html[data-theme="dark"] a{color:#bfe5ee!important}
html[data-theme="dark"] .nav-item,
html[data-theme="dark"] .nav-item span{color:#d4e1e4!important}
html[data-theme="dark"] .nav-item.active,
html[data-theme="dark"] .nav-item.active span{color:#fff!important}
html[data-theme="dark"] th{color:#b9ccd1!important}
html[data-theme="dark"] td{color:#edf5f6!important}
html[data-theme="dark"] input,
html[data-theme="dark"] select,
html[data-theme="dark"] textarea{color:#f4fafb!important}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{color:#8ea4aa!important}
html[data-theme="dark"] .notify-item b{color:#fff!important}
html[data-theme="dark"] .notify-item span{color:#c9d8dc!important}
html[data-theme="dark"] .v10-health-copy b,
html[data-theme="dark"] .v10-ceo-copy h3,
html[data-theme="dark"] .v10-exec-copy h3,
html[data-theme="dark"] .v10-ceo-card b,
html[data-theme="dark"] .v10-exec-card b,
html[data-theme="dark"] .v10-health-title{color:#fff!important}
html[data-theme="dark"] .v10-health-copy span,
html[data-theme="dark"] .v10-ceo-copy p,
html[data-theme="dark"] .v10-exec-copy p,
html[data-theme="dark"] .v10-ceo-card span,
html[data-theme="dark"] .v10-exec-card span,
html[data-theme="dark"] .v10-health-trend{color:#cfe0e4!important}


/* ===== V13 - Platform Update System ===== */
.update-btn{
  position:relative;
  width:44px;
  height:44px;
  min-width:44px;
  padding:0!important;
  border-radius:15px!important;
  display:grid!important;
  place-items:center;
  color:#173b61!important;
  background:linear-gradient(145deg,rgba(255,255,255,.58),rgba(255,255,255,.25))!important;
  border:1px solid rgba(255,255,255,.74)!important;
  box-shadow:0 9px 22px rgba(23,50,52,.07),inset 0 1px 0 rgba(255,255,255,.90)!important;
  backdrop-filter:blur(16px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(16px) saturate(145%)!important;
  transition:.22s ease!important;
}
.update-btn:hover{transform:translateY(-1px) scale(1.025)}
.update-btn svg{
  width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round
}
.update-badge{
  position:absolute;top:-4px;left:-4px;width:11px;height:11px;border-radius:50%;
  background:#c66f55;border:2px solid rgba(247,250,249,.96);
  box-shadow:0 2px 7px rgba(120,50,35,.25)
}
.update-btn.is-checking svg{animation:update-spin .9s linear infinite}
@keyframes update-spin{to{transform:rotate(360deg)}}

.platform-update-toast{
  position:fixed;
  left:26px;
  bottom:26px;
  width:min(390px,calc(100vw - 36px));
  z-index:10050;
  border-radius:24px;
  padding:16px;
  display:flex;
  gap:13px;
  align-items:flex-start;
  background:linear-gradient(145deg,rgba(255,255,255,.88),rgba(244,248,248,.72));
  border:1px solid rgba(255,255,255,.86);
  box-shadow:0 22px 60px rgba(15,38,58,.18),inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter:blur(24px) saturate(150%);
  -webkit-backdrop-filter:blur(24px) saturate(150%);
}
.platform-update-toast.hidden{display:none!important}
.update-toast-icon{
  width:42px;height:42px;flex:0 0 42px;border-radius:14px;
  display:grid;place-items:center;color:#173b61;
  background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.82)
}
.update-toast-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}
.update-toast-copy{min-width:0;flex:1}
.update-toast-copy b{display:block;color:#173b61;font-size:13px;margin-bottom:4px}
.update-toast-copy span{display:block;color:#687982;font-size:10px;line-height:1.65}
.update-toast-actions{display:flex;gap:7px;margin-top:10px;flex-wrap:wrap}

.platform-update-modal{
  position:fixed;inset:0;z-index:10100;
  display:grid;place-items:center;padding:20px;
  background:rgba(12,24,30,.38);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px)
}
.platform-update-modal.hidden{display:none!important}
.update-modal-card{
  width:min(560px,96vw);
  max-height:82vh;overflow:auto;
  border-radius:30px;padding:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(243,248,248,.84));
  border:1px solid rgba(255,255,255,.90);
  box-shadow:0 34px 90px rgba(10,28,38,.24),inset 0 1px 0 rgba(255,255,255,.96);
}
.update-modal-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}
.update-modal-head h3{margin:0;color:#173b61;font-size:20px}
.update-modal-version{
  display:inline-flex;margin-top:6px;padding:5px 9px;border-radius:999px;
  background:rgba(23,59,97,.08);color:#315c7c;font-size:10px;font-weight:800
}
.update-release-notes{
  margin:14px 0;padding:14px;border-radius:18px;
  background:rgba(255,255,255,.53);border:1px solid rgba(255,255,255,.76)
}
.update-release-notes ul{margin:0;padding:0 20px 0 0}
.update-release-notes li{margin:7px 0;color:#536872;font-size:12px;line-height:1.75}
.update-modal-actions{display:flex;gap:8px;justify-content:flex-start;flex-wrap:wrap}

.version-chip{
  display:inline-flex;align-items:center;gap:6px;
  padding:6px 9px;border-radius:999px;font-size:9px;font-weight:800;
  color:#61757c;background:rgba(255,255,255,.38);border:1px solid rgba(255,255,255,.62)
}

/* dark */
html[data-theme="dark"] .update-btn{
  color:#d7ebee!important;
  background:linear-gradient(145deg,rgba(58,78,88,.62),rgba(32,48,57,.40))!important;
  border-color:rgba(255,255,255,.10)!important;
  box-shadow:0 10px 24px rgba(0,0,0,.20),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
html[data-theme="dark"] .platform-update-toast,
html[data-theme="dark"] .update-modal-card{
  background:linear-gradient(145deg,rgba(35,49,57,.94),rgba(22,35,42,.91))!important;
  border-color:rgba(255,255,255,.09)!important;
  box-shadow:0 28px 80px rgba(0,0,0,.38),inset 0 1px 0 rgba(255,255,255,.05)!important
}
html[data-theme="dark"] .update-toast-icon{
  color:#d7ebee;background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.08)
}
html[data-theme="dark"] .update-toast-copy b,
html[data-theme="dark"] .update-modal-head h3{color:#fff!important}
html[data-theme="dark"] .update-toast-copy span,
html[data-theme="dark"] .update-release-notes li{color:#c5d4d8!important}
html[data-theme="dark"] .update-release-notes{
  background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.07)
}
html[data-theme="dark"] .update-modal-version,
html[data-theme="dark"] .version-chip{
  color:#c9e2e6;background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.08)
}


/* ===== V15 Multi-user / RBAC ===== */
.v15-userbox b{
  display:block;
  font-size:12px;
  color:var(--text);
  margin:5px 0 3px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.v15-admin-panel{overflow:hidden}
.v15-admin-summary{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:14px
}
.v15-admin-summary>div{
  padding:12px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.36);
  border:1px solid rgba(255,255,255,.62)
}
.v15-admin-summary span{display:block;font-size:10px;color:var(--muted);margin-bottom:4px}
.v15-admin-summary b{font-size:18px;color:var(--text)}
.v15-user-table select{min-width:150px;width:100%}
.v15-user-table .btn{white-space:nowrap}
.v15-status-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 9px;
  border-radius:999px;
  font-size:10px;
  font-weight:800
}
.v15-status-pill.active{background:#e7f4ef;color:#3c715f}
.v15-status-pill.inactive{background:#f5e8e6;color:#99564f}
.v15-status-pill.pending{background:#f4efe2;color:#8a6b37}
.v15-permission-modal{width:min(760px,96vw)!important}
.v15-permission-section{
  margin-top:14px;
  padding:15px;
  border-radius:18px;
  background:rgba(255,255,255,.34);
  border:1px solid rgba(255,255,255,.62)
}
.v15-permission-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:12px
}
.v15-check-row{
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 11px;
  border-radius:13px;
  background:rgba(255,255,255,.40);
  border:1px solid rgba(255,255,255,.60);
  font-size:11px
}
.v15-check-row input{width:auto}
.v15-access-note{
  padding:10px 12px;
  border-radius:14px;
  background:rgba(187,148,85,.09);
  color:#80673f;
  font-size:10px;
  line-height:1.7;
  margin-bottom:12px
}
html[data-theme="dark"] .v15-admin-summary>div,
html[data-theme="dark"] .v15-permission-section,
html[data-theme="dark"] .v15-check-row{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.08)
}
html[data-theme="dark"] .v15-status-pill.active{background:rgba(72,134,108,.2);color:#b7decf!important}
html[data-theme="dark"] .v15-status-pill.inactive{background:rgba(160,80,72,.2);color:#efbdb7!important}
html[data-theme="dark"] .v15-status-pill.pending{background:rgba(165,124,54,.18);color:#e8c78e!important}
@media(max-width:780px){
  .v15-admin-summary,.v15-permission-grid{grid-template-columns:1fr}
}


/* ===== V16 canonical alignment fixes ===== */
*{box-sizing:border-box}
.card,.dept,.kpi,.v15-admin-panel,.v15-permission-modal,.v10-health-card,.v10-ceo-card,.v10-exec-card{min-width:0}
.card p,.card span,.card b,.dept,.audit-details,.notify-item{overflow-wrap:anywhere}
.v15-admin-panel .audit-table-wrap{overflow-x:auto;max-width:100%}
.v15-user-table{min-width:860px;width:100%;table-layout:auto}
.v15-user-table th,.v15-user-table td{vertical-align:middle}
.v15-user-table td:first-child{min-width:210px}
.v15-user-table select{min-height:38px}
.v16-permission-row{
  display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px;align-items:center;
  padding:11px 12px;border-radius:14px;background:rgba(255,255,255,.40);
  border:1px solid rgba(255,255,255,.62)
}
.v16-permission-row b{display:block;font-size:11px;line-height:1.5}
.v16-permission-row select{width:100%;min-width:0}
html[data-theme="dark"] .v16-permission-row{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.08)}
.cloud-login-card{max-height:calc(100vh - 36px);overflow:auto}
.cloud-status.online>span:first-child{color:#61a88a}
@media(max-width:780px){
  .v16-permission-row{grid-template-columns:1fr}
  .v15-user-table{min-width:760px}
}



/* ===== V16.0.1 responsive layout + task actions ===== */
#dashboard .health-glass,
#dashboard .health-layout,
#dashboard .health-mini-grid,
#tasks .card,
.v16-task-table-wrap{min-width:0;max-width:100%}

/* Do not split Arabic labels into one-character vertical columns. */
#dashboard .health-glass b,
#dashboard .health-glass span,
#dashboard .health-glass p,
#dashboard .health-mini,
#taskTable th,
#taskTable td{
  overflow-wrap:normal;
  word-break:normal;
}

#dashboard .health-layout{
  grid-template-columns:minmax(165px,190px) minmax(0,1fr);
}
#dashboard .health-mini-grid{
  grid-template-columns:repeat(2,minmax(180px,1fr));
}
#dashboard .health-mini>div:last-child{min-width:0}
#dashboard .health-mini b,
#dashboard .health-mini span{white-space:normal}

.v16-task-table-wrap{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  border-radius:16px;
}
#taskTable{
  min-width:900px;
  width:100%;
  table-layout:auto;
}
#taskTable th:first-child,#taskTable td:first-child{min-width:220px}
#taskTable th:nth-child(2),#taskTable td:nth-child(2){min-width:130px}
#taskTable th:nth-child(3),#taskTable td:nth-child(3){min-width:150px}
#taskTable th:nth-child(5),#taskTable td:nth-child(5){white-space:nowrap;min-width:110px}
#taskTable th:nth-child(6),#taskTable td:nth-child(6){white-space:nowrap;min-width:115px}
#taskTable th:last-child,#taskTable td:last-child{min-width:165px}
.task-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.btn.task-delete{
  color:#991b1b;
  background:rgba(254,226,226,.72);
  border-color:rgba(248,113,113,.24);
}
.btn.task-delete:hover{background:rgba(254,202,202,.88)}
.dept-task-actions{display:flex;justify-content:flex-start;gap:7px;flex-wrap:wrap}

@media(max-width:1350px){
  #dashboard>.two{grid-template-columns:1fr}
  #dashboard .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  #tasks>.card>.form-row{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  #dashboard .health-layout{grid-template-columns:1fr}
  #dashboard .health-main{margin-bottom:8px}
  #dashboard .health-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .topbar{flex-direction:column;align-items:stretch}
  .topbar>.actions{width:100%}
}
@media(max-width:700px){
  #dashboard .kpis,
  #dashboard .health-mini-grid,
  #tasks>.card>.form-row{grid-template-columns:1fr}
  .section-title{align-items:flex-start;flex-wrap:wrap}
  #taskTable{min-width:820px}
}



/* ===== V16.1.0 task lifecycle UI ===== */
.task-status-select{
  min-width:145px;
  width:100%;
  max-width:175px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:999px;
  background:rgba(255,255,255,.72);
  padding:8px 34px 8px 12px;
  font:inherit;
  color:var(--text);
  cursor:pointer;
}
.task-status-select:disabled{opacity:.68;cursor:default}
.task-modal-panel{width:min(820px,96vw)}
.task-life-meta{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin-bottom:14px;
}
.task-life-meta span{
  min-width:0;
  padding:11px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.46);
  border:1px solid rgba(255,255,255,.72);
  font-size:11px;
  color:var(--muted);
  overflow-wrap:anywhere;
}
.task-life-meta b{display:block;color:var(--text);font-size:10px;margin-bottom:3px}
.task-life-section{
  margin-top:13px;
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.38);
  border:1px solid rgba(255,255,255,.66);
}
.task-life-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.task-life-section-title h3{font-size:14px;margin:0}
.task-manage-grid{display:grid;grid-template-columns:1fr 1.2fr .8fr .9fr;gap:9px}
.task-manage-grid input,.task-manage-grid select,.task-comment-composer textarea{width:100%;min-width:0}
.task-status-only-note{margin-top:10px;padding:10px 12px;border-radius:13px;background:rgba(219,234,254,.55);font-size:11px;color:#365f86}
.task-comments-list{display:grid;gap:8px;max-height:280px;overflow:auto;padding-inline-end:3px}
.task-comment{padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.58);border:1px solid rgba(255,255,255,.75)}
.task-comment-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:5px}
.task-comment-head b{font-size:11px}.task-comment-head span{font-size:9px;color:var(--muted)}
.task-comment-body{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.task-mention{display:inline-block;padding:0 5px;border-radius:7px;background:rgba(74,144,226,.12);color:#245d92;font-weight:700}
.task-comment-composer{position:relative;margin-top:10px}
.task-comment-composer textarea{min-height:82px;resize:vertical}
.task-mention-suggestions{
  position:absolute;
  inset-inline:0;
  bottom:calc(100% + 6px);
  z-index:20;
  max-height:210px;
  overflow:auto;
  padding:6px;
  border-radius:14px;
  background:rgba(255,255,255,.97);
  border:1px solid rgba(148,163,184,.20);
  box-shadow:0 16px 36px rgba(15,23,42,.16);
}
.task-mention-option{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:0;border-radius:10px;background:transparent;cursor:pointer;text-align:right;color:var(--text)}
.task-mention-option:hover,.task-mention-option:focus,.task-mention-option.active{background:rgba(219,234,254,.55);outline:none}
.task-mention-option b{font-size:11px}.task-mention-option span{font-size:9px;color:var(--muted);direction:ltr}
.task-mention-option .task-user-meta{display:flex;flex-direction:column;align-items:flex-end;gap:1px;min-width:0}
.task-mention-option .task-user-meta small{font-size:9px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:150px}
.task-user-picker{position:relative;min-width:0}
.task-user-picker>input{width:100%;min-width:0}
.task-user-picker .task-user-suggestions{top:calc(100% + 5px);bottom:auto;min-width:260px}
.task-user-picker .task-mention-option{direction:rtl}
.task-life-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
html[data-theme="dark"] .task-status-select,
html[data-theme="dark"] .task-life-meta span,
html[data-theme="dark"] .task-life-section,
html[data-theme="dark"] .task-comment{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.08);color:#e5e7eb}
html[data-theme="dark"] .task-mention-suggestions{background:#1f2937;border-color:rgba(255,255,255,.10)}
@media(max-width:980px){
  .task-life-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
  .task-manage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .task-life-meta,.task-manage-grid{grid-template-columns:1fr}
  .task-comment-head{flex-direction:column;gap:2px}
  .task-status-select{max-width:none}
}
.v164-password-card{max-width:680px}
.v164-password-form{display:grid;gap:10px;max-width:540px}
.v164-password-form .v163-name-field{margin-top:4px}
.v164-password-form .actions{display:flex;flex-wrap:wrap;gap:8px}
.v164-password-form button[type=submit]{justify-self:start}
.v164-password-form [role=status]:empty{display:none}
.v15-user-table td:first-child .v163-edit-name{margin-top:7px;margin-inline-end:6px}


/* ===== V16.2.4 account identity + responsive shell ===== */
.mobile-nav-toggle,.mobile-nav-close,.mobile-nav-backdrop{display:none}

.v15-userbox{
  padding:14px;
  color:#fff;
  background:linear-gradient(145deg,rgba(255,255,255,.15),rgba(255,255,255,.08));
  border-color:rgba(255,255,255,.17);
}
.v163-user-head{display:flex;align-items:center;gap:10px;min-width:0}
.v163-user-avatar{
  flex:0 0 38px;width:38px;height:38px;border-radius:13px;
  display:grid;place-items:center;font-weight:800;font-size:15px;
  color:#173234;background:rgba(255,255,255,.88);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 18px rgba(0,0,0,.10)
}
.v163-user-identity{min-width:0;flex:1}
.v15-userbox .v163-user-caption{color:rgba(255,255,255,.58)!important}
.v15-userbox #currentUserName{
  color:#fff!important;font-size:14px;line-height:1.55;margin:1px 0 0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.v163-user-email{
  direction:ltr;text-align:right;color:rgba(255,255,255,.68);
  font-size:9.5px;line-height:1.45;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.v163-user-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}
.v163-user-chip{
  display:inline-flex;align-items:center;max-width:100%;
  padding:5px 8px;border-radius:999px;
  color:rgba(255,255,255,.90)!important;background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.13);font-size:9.5px;line-height:1.25;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.v163-user-role{background:rgba(255,255,255,.17);font-weight:750}

.v163-name-modal{width:min(520px,96vw)!important}
.v163-name-field{display:grid;gap:7px;margin-top:16px}
.v163-name-field span{font-size:11px;font-weight:750;color:var(--muted)}
.v163-name-field input{
  width:100%;border:1px solid rgba(148,163,184,.25);border-radius:14px;
  background:rgba(255,255,255,.72);padding:11px 12px;color:var(--text);outline:none
}
.v163-name-field input:focus{border-color:rgba(36,72,74,.42);box-shadow:0 0 0 3px rgba(36,72,74,.08)}
.v163-edit-name{
  margin-top:5px!important;padding:5px 8px!important;font-size:9px!important;
  border-radius:9px!important;box-shadow:none!important
}

.task-mention-option .task-user-context{
  display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0
}
.task-mention-option .task-user-context small{
  font-size:9px;color:var(--muted);max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.task-mention-option .task-user-role-badge{
  direction:rtl!important;display:inline-flex;padding:2px 6px;border-radius:999px;
  background:rgba(36,72,74,.09);color:#315e60!important;font-size:8px!important;font-style:normal;font-weight:700
}
html[data-theme="dark"] .task-mention-option .task-user-role-badge{
  background:rgba(183,230,223,.09);color:#b7d9d6!important
}

@media(max-width:980px){
  body.mobile-nav-open{overflow:hidden}
  .app{display:block!important;min-height:100vh;padding:10px!important}
  .main{width:100%!important;min-width:0!important;padding:0 0 24px!important}
  .sidebar-hotzone{display:none!important}
  .sidebar{
    position:fixed!important;top:10px!important;right:10px!important;left:auto!important;
    width:min(320px,calc(100vw - 20px))!important;height:calc(100dvh - 20px)!important;
    z-index:5001!important;padding:18px 14px!important;border-radius:24px!important;
    overflow:auto!important;
    transform:translate3d(calc(100% + 28px),0,0)!important;
    transition:transform .26s cubic-bezier(.2,.75,.2,1)!important;
    box-shadow:0 26px 70px rgba(15,23,42,.26),inset 0 1px 0 rgba(255,255,255,.16)!important
  }
  .sidebar.mobile-open{transform:translate3d(0,0,0)!important}
  .mobile-nav-backdrop{
    display:block;position:fixed;inset:0;z-index:5000;
    background:rgba(15,23,42,.36);backdrop-filter:blur(3px);
    opacity:0;pointer-events:none;transition:opacity .2s ease
  }
  .mobile-nav-backdrop.open{opacity:1;pointer-events:auto}
  .mobile-nav-close{
    display:grid;place-items:center;position:sticky;top:0;margin:0 0 8px auto;
    width:34px;height:34px;border:1px solid rgba(255,255,255,.18);border-radius:11px;
    color:#fff;background:rgba(255,255,255,.10);font-size:22px;line-height:1;z-index:2
  }
  .mobile-nav-toggle{display:inline-flex!important;align-items:center;justify-content:center;gap:5px}
  .nav{display:block!important}
  .nav button{text-align:right!important}
  .topbar{margin-top:0!important;padding:14px!important;gap:12px!important}
  .topbar .brand-corner{order:0;margin:0!important}
  h1{font-size:24px!important;line-height:1.35}
  .topbar .actions{gap:6px}
  .topbar .actions>.btn,.topbar .actions>.notify-wrap>.btn{min-height:42px}
  .card{padding:16px}
  .v15-admin-panel .audit-table-wrap{margin-inline:0}
}
@media(max-width:620px){
  .app{padding:7px!important}
  .topbar{border-radius:18px!important}
  .topbar .actions{width:100%;display:flex;flex-wrap:wrap}
  .topbar .actions>.btn{flex:0 0 auto}
  .brand-corner img{width:105px!important;max-width:42vw!important}
  h1{font-size:21px!important}
  .card{padding:13px;border-radius:20px}
  #dashboard .kpis{grid-template-columns:1fr!important}
  .v15-admin-summary{grid-template-columns:1fr!important}
}

