:root{
  --red: #27667B;
  --red-dark: #143D60;
  --red-tint: #FDEAEC;
  --charcoal: #333335;
  --steel: #9EA0A3;
  --bg: #F5F4F2;
  --panel: #FFFFFF;
  --line: #E8E7E4;
  --ink: #26262A;
  --ink-soft: #6E6F73;
  --green: #1E8E5A;
  --green-tint: #E7F5EE;
  --amber: #B9790A;
  --amber-tint: #FBF0DE;
  --blue: #2660C4;
  --blue-tint: #E8EFFC;
}
*{box-sizing:border-box; margin:0; padding:0;}
body{ font-family:'Inter', sans-serif; background:var(--bg); color:var(--ink); display:flex; min-height:100vh; -webkit-font-smoothing:antialiased; }

/* ===== SIDEBAR ===== */
.sidebar{ width:264px; flex-shrink:0; background:var(--charcoal); display:flex; flex-direction:column; position:relative; overflow:hidden; }
.sidebar::after{ content:""; position:absolute; right:-60px; bottom:-60px; width:220px; height:220px; background:radial-gradient(circle, rgba(39,102,123,0.18) 0%, rgba(39,102,123,0) 70%); pointer-events:none; }
.brand{ padding:28px 24px 22px 24px; border-bottom:1px solid rgba(255,255,255,0.08); position:relative; z-index:2; }
.brand-mark{ display:flex; align-items:center; gap:12px; }
.brand-word{ font-family:'Sora', sans-serif; font-weight:800; font-size:20px; letter-spacing:-0.02em; color:#fff; line-height:1; }
.brand-word span{ color:var(--red); }
.brand-sub{ margin-top:8px; font-size:10.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--steel); display:flex; align-items:center; gap:6px; }
.brand-sub b{ color:#d9dadb; font-weight:600; letter-spacing:0.04em; text-transform:none; }

.nav{ padding:22px 16px; position:relative; z-index:2; flex:1; }
.nav-label{ font-size:10.5px; letter-spacing:0.12em; text-transform:uppercase; color:var(--steel); padding:0 10px 10px 10px; font-weight:600; }
.nav-item{ display:flex; align-items:center; gap:12px; padding:14px 14px; border-radius:10px; color:#c9cacc; cursor:pointer; margin-bottom:8px; border:1px solid transparent; transition:background .15s ease, border-color .15s ease; text-decoration:none; }
.nav-item:hover{ background:rgba(255,255,255,0.05); }
.nav-item.active{ background:linear-gradient(135deg, rgba(39,102,123,0.16), rgba(39,102,123,0.05)); border-color:rgba(39,102,123,0.35); color:#fff; }
.nav-icon{ width:34px; height:34px; border-radius:8px; background:rgba(255,255,255,0.06); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.nav-item.active .nav-icon{ background:var(--red); }
.nav-icon svg{ width:17px; height:17px; }
.nav-text{ display:flex; flex-direction:column; gap:2px; }
.nav-title{ font-size:13.5px; font-weight:600; }
.nav-desc{ font-size:11px; color:var(--steel); }
.nav-item.active .nav-desc{ color:#e3b3b7; }
.nav-count{ margin-left:auto; font-family:'JetBrains Mono', monospace; font-size:11px; background:rgba(255,255,255,0.08); padding:2px 7px; border-radius:20px; color:#e6e6e7; }
.nav-item.active .nav-count{ background:rgba(255,255,255,0.22); color:#fff; }

.sidebar-foot{ padding:16px 24px 22px 24px; border-top:1px solid rgba(255,255,255,0.08); position:relative; z-index:2; display:flex; align-items:center; gap:10px; }
.avatar{ width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg, var(--red), #7a0209); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:700; font-size:12px; font-family:'Sora',sans-serif; }
.user-meta{ line-height:1.3; }
.user-name{ font-size:12.5px; color:#fff; font-weight:600; }
.user-role{ font-size:10.5px; color:var(--steel); }

/* ===== MAIN ===== */
.main{ flex:1; min-width:0; display:flex; flex-direction:column; }
.topbar{ height:72px; background:var(--panel); border-bottom:1px solid var(--line); display:flex; align-items:center; padding:0 32px; gap:20px; }
.topbar-title{ display:flex; flex-direction:column; gap:3px; margin-right:auto; }
.topbar-title h1{ font-family:'Sora', sans-serif; font-size:18px; font-weight:700; letter-spacing:-0.01em; }
.topbar-title p{ font-size:12px; color:var(--ink-soft); }

.content{ padding:28px 32px 40px 32px; overflow-y:auto; }

.eyebrow{ display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--red); margin-bottom:6px; }
.eyebrow::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--red); }
.page-head h2{ font-family:'Sora',sans-serif; font-size:23px; font-weight:700; letter-spacing:-0.01em; margin-bottom:4px;}
.page-head p{ font-size:13px; color:var(--ink-soft); max-width:580px; }

/* ===== STAT CARDS ===== */
.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:24px 0; }
.stat-card{ background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:18px 20px; position:relative; overflow:hidden; }
.stat-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.stat-icon{ width:32px; height:32px; border-radius:8px; display:flex; align-items:center; justify-content:center; }
.stat-icon svg{ width:16px; height:16px; }
.stat-trend{ font-size:11px; font-weight:600; font-family:'JetBrains Mono', monospace; }
.trend-up{ color:var(--green); }
.trend-down{ color:var(--red); }
.trend-muted{ color:var(--steel); }
.stat-value{ font-family:'Sora',sans-serif; font-size:24px; font-weight:700; letter-spacing:-0.02em; }
.stat-label{ font-size:12px; color:var(--ink-soft); margin-top:4px; }

/* ===== DASHBOARD MENU CARDS ===== */
.cards{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; margin-top:22px; }
.dcard{ text-decoration:none; color:var(--ink); background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:22px; display:flex; gap:16px; align-items:flex-start; transition:border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.dcard:hover{ border-color:var(--red); transform:translateY(-3px); box-shadow:0 10px 24px rgba(0,0,0,.06); }
.dcard-icon{ width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:20px; }
.dcard-icon svg{ width:22px; height:22px; }
.dcard-text h3{ font-family:'Sora',sans-serif; font-size:15px; font-weight:700; margin-bottom:3px; }
.dcard-text p{ font-size:12.5px; color:var(--ink-soft); margin-bottom:10px; }
.card-meta{ display:inline-block; font-size:11px; font-weight:600; color:var(--red); background:var(--red-tint); padding:4px 10px; border-radius:20px; }
.card-meta.muted{ color:var(--ink-soft); background:var(--bg); }

/* ===== CONVERTER PANEL ===== */
.converter-panel{ background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:26px; margin-top:24px; }
.converter-grid{ display:grid; grid-template-columns:1.3fr 1fr; gap:26px; align-items:start; }
.dropzone{
  border:2px dashed #C9CBD1; border-radius:14px; background:#FBFBFA;
  padding:36px 24px; text-align:center; cursor:pointer;
  transition:border-color .15s ease, background .15s ease;
}
.dropzone.drag{ border-color:var(--red); background:var(--red-tint); }
.dropzone svg{ width:34px; height:34px; color:var(--steel); margin-bottom:10px; }
.dropzone .dz-title{ font-size:13.5px; font-weight:600; margin-bottom:4px; }
.dropzone .dz-sub{ font-size:11.5px; color:var(--ink-soft); }
.dropzone input{ display:none; }
.dz-btn{ display:inline-block; margin-top:14px; font-size:12px; font-weight:600; color:#fff; background:var(--charcoal); padding:9px 18px; border-radius:8px; }

.file-chip{ display:none; align-items:center; gap:10px; margin-top:16px; padding:12px 14px; border:1px solid var(--line); border-radius:10px; background:var(--bg); }
.file-chip.show{ display:flex; }
.file-chip .fi{ width:34px; height:34px; border-radius:8px; background:var(--blue-tint); color:var(--blue); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.file-chip .fi svg{ width:16px; height:16px; }
.file-chip .fmeta{ flex:1; min-width:0; }
.file-chip .fname{ font-size:12.5px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.file-chip .fsize{ font-size:11px; color:var(--ink-soft); }
.file-chip .fx{ cursor:pointer; color:var(--ink-soft); width:16px; height:16px; flex-shrink:0; }

.btn-primary{
  width:100%; margin-top:16px; padding:13px; border:none; border-radius:10px;
  background:var(--red); color:#fff; font-size:13.5px; font-weight:700; cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:8px;
  transition:background .15s ease;
}
.btn-primary:hover{ background:var(--red-dark); }
.btn-primary:disabled{ background:#D9D9DA; color:#9EA0A3; cursor:not-allowed; }
.btn-primary svg{ width:16px; height:16px; }
.spin{ animation:spin 0.8s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }

.rules-title{ font-family:'Sora',sans-serif; font-weight:700; font-size:14px; margin-bottom:14px; }
.rules-list{ list-style:none; display:flex; flex-direction:column; gap:11px; }
.rules-list li{ display:flex; gap:10px; font-size:12.5px; align-items:flex-start; }
.rules-list li .num{ width:20px; height:20px; border-radius:6px; background:var(--red-tint); color:var(--red); font-family:'JetBrains Mono',monospace; font-size:10.5px; font-weight:700; display:flex; align-items:center; justify-content:center; flex-shrink:0; margin-top:1px; }
.rules-list li b{ display:block; margin-bottom:1px; }
.rules-list li span{ color:var(--ink-soft); }
.mono{ font-family:'JetBrains Mono', monospace; font-size:11.5px; color:var(--ink-soft); }

/* ===== STATUS / FLASH ===== */
.status-box{ margin-bottom:20px; border-radius:10px; padding:13px 14px; font-size:12px; display:flex; align-items:flex-start; gap:10px; }
.status-box svg{ width:16px; height:16px; flex-shrink:0; margin-top:1px; }
.status-err{ background:var(--red-tint); color:var(--red-dark); }
.status-ok{ background:var(--green-tint); color:var(--green); }

/* ===== COMING SOON ===== */
.coming-soon-panel{ background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:60px 30px; text-align:center; margin-top:24px; }
.coming-soon-panel h3{ font-family:'Sora',sans-serif; font-size:18px; margin-bottom:6px; }
.coming-soon-panel p{ font-size:13px; color:var(--ink-soft); }

@media (max-width: 1080px){
  .converter-grid{ grid-template-columns:1fr; }
  .stats{ grid-template-columns:repeat(2,1fr); }
}
/* ===== COMPARE MAINTENANCE ===== */
.compare-upload-panel{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:24px;margin-top:24px;}
.compare-upload-grid{display:grid;grid-template-columns:1fr 56px 1fr;gap:18px;align-items:center;}
.compare-file-card{position:relative;background:#FBFBFA;border:1px solid var(--line);border-radius:14px;padding:22px;}
.compare-file-badge{position:absolute;right:18px;top:18px;width:34px;height:34px;border-radius:10px;background:var(--charcoal);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Sora',sans-serif;font-weight:800;}
.compare-file-badge-new{background:var(--red);}
.compare-file-head h3{font-family:'Sora',sans-serif;font-size:16px;margin-bottom:3px;}
.compare-file-head p{font-size:12px;color:var(--ink-soft);margin-bottom:18px;}
.field-label{display:block;font-size:11px;font-weight:700;color:var(--ink-soft);text-transform:uppercase;letter-spacing:.04em;margin:12px 0 6px;}
.field-input{width:100%;height:44px;border:1px solid #D8D9DC;border-radius:9px;background:#fff;padding:0 12px;font:inherit;font-size:12.5px;color:var(--ink);}
.field-input:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px rgba(39,102,123,.09);}
.file-input{padding:9px 10px;height:auto;}
.compare-arrow{width:44px;height:44px;border-radius:50%;background:var(--red-tint);color:var(--red);display:flex;align-items:center;justify-content:center;margin:auto;}
.compare-arrow svg{width:22px;height:22px;}
.compare-submit{max-width:360px;margin:20px auto 0;}
.compare-result-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 18px;}
.compare-result-head h2{font-family:'Sora',sans-serif;font-size:22px;}
.compare-result-head h2 span{color:var(--red);font-size:14px;margin:0 5px;}
.compare-result-head p{font-size:12.5px;color:var(--ink-soft);margin-top:4px;}
.btn-download-compare{display:inline-flex;align-items:center;gap:8px;text-decoration:none;background:var(--charcoal);color:#fff;padding:11px 16px;border-radius:9px;font-size:12.5px;font-weight:700;white-space:nowrap;}
.btn-download-compare:hover{background:#1f1f21;}
.btn-download-compare svg{width:16px;height:16px;}
.status-warn{background:var(--amber-tint);color:#8A5B08;}
.compare-warning{margin-bottom:16px;}
.compare-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin-bottom:14px;}
.compare-tab{border:1px solid var(--line);background:#fff;color:var(--ink-soft);padding:10px 16px;border-radius:9px;font-size:12px;font-weight:700;cursor:pointer;white-space:nowrap;}
.compare-tab.active{background:var(--red);border-color:var(--red);color:#fff;}
.compare-section{display:none;}
.compare-section.active{display:block;}
.compare-section-head{background:var(--panel);border:1px solid var(--line);border-bottom:none;border-radius:14px 14px 0 0;padding:16px 18px;}
.compare-section-head h3{font-family:'Sora',sans-serif;font-size:16px;}
.compare-section-head p{font-size:11.5px;color:var(--ink-soft);margin-top:3px;}
.compare-table-wrap{max-width:calc(100vw - 330px);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:0 0 14px 14px;box-shadow:0 6px 20px rgba(0,0,0,.03);}
.compare-table{border-collapse:separate;border-spacing:0;min-width:max-content;font-size:10.5px;}
.compare-table th,.compare-table td{border-right:1px solid #9CA8B0;border-bottom:1px solid #9CA8B0;padding:6px 9px;text-align:center;min-width:94px;white-space:nowrap;}
.compare-table thead th{position:sticky;top:0;z-index:3;background:#8BA99A;color:#fff;font-weight:700;}
.compare-table thead tr:first-child th{top:0;background:#24455F;white-space:normal;line-height:1.25;min-width:282px;height:48px;}
.compare-table thead tr:nth-child(2) th{top:48px;height:36px;}
.compare-table .sticky-col{position:sticky;left:0;z-index:2;background:#fff;}
.compare-table thead .sticky-col{z-index:6;background:#17344F!important;color:#fff;}
.compare-table .compare-wilayah{min-width:165px;max-width:165px;font-weight:600;}
.compare-table tbody tr.row-area td{background:#EEF2F5;font-weight:700;}
.compare-table tbody tr.row-national td{background:#DDEAD7;font-weight:800;}
.compare-table tbody tr.row-area .sticky-col{background:#EEF2F5;}
.compare-table tbody tr.row-national .sticky-col{background:#DDEAD7;}
.compare-table td.ach-100{background:#DDEAD7;color:#1F5C35;font-weight:800;}
.compare-table td.growth-down{background:#F6D6D9;color:#A30D25;font-weight:800;}
.compare-table td.growth-target{background:#D8EAD1;color:#1F5C35;font-weight:800;}
.compare-table td.growth-up-neutral{background:#fff;color:#1F2937;font-weight:600;}
.compare-table td.growth-flat{background:#456779;color:#fff;font-weight:800;}
.compare-table td.growth-missing{background:#F4F6F8;color:#98A0A6;}
.group-insight-card{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;background:#EAF2F8;border:1px solid #BCD2E5;border-top:none;padding:16px 18px;color:#1F4E78;}
.group-insight-content{min-width:0;}
.group-insight-label{font-family:'Sora',sans-serif;font-size:10px;font-weight:800;letter-spacing:.08em;margin-bottom:6px;}
.group-insight-text{font-size:12.5px;line-height:1.65;color:#233B53;}
.group-insight-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;}
.group-insight-meta span{display:inline-flex;align-items:center;background:#fff;border:1px solid #C8DCEB;border-radius:999px;padding:5px 9px;font-size:10.5px;font-weight:700;color:#315B78;}
.copy-insight-btn{flex:0 0 auto;border:1px solid #88AFCB;background:#fff;color:#1F4E78;padding:8px 12px;border-radius:8px;font-size:11.5px;font-weight:700;cursor:pointer;}
.copy-insight-btn:hover{background:#1F4E78;color:#fff;}
.copy-insight-btn.copied{background:var(--green);border-color:var(--green);color:#fff;}
.narrative-head{display:flex;align-items:center;justify-content:space-between;margin:24px 0 12px;}
.narrative-head h3{font-family:'Sora',sans-serif;font-size:16px;}
.narrative-head p{font-size:11.5px;color:var(--ink-soft);margin-top:3px;}
.copy-all-btn,.copy-narrative-btn{border:1px solid var(--line);background:#fff;color:var(--ink);padding:8px 12px;border-radius:8px;font-size:11.5px;font-weight:700;cursor:pointer;}
.copy-all-btn:hover,.copy-narrative-btn:hover{border-color:var(--red);color:var(--red);}
.copy-all-btn.copied,.copy-narrative-btn.copied{background:var(--green);border-color:var(--green);color:#fff;}
.narrative-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:12px;}
.narrative-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;position:relative;}
.narrative-title{font-family:'Sora',sans-serif;font-size:12.5px;font-weight:700;padding-right:62px;margin-bottom:10px;line-height:1.35;}
.narrative-lines{font-size:12px;line-height:1.55;color:#3F4146;}
.narrative-lines p+p{margin-top:4px;}
.narrative-lines span{display:block;margin-top:7px;color:var(--amber);font-size:10.5px;}
.narrative-copy-text{display:none;white-space:pre-line;}
.copy-narrative-btn{position:absolute;right:12px;top:12px;padding:6px 10px;}
@media(max-width:1080px){.compare-upload-grid{grid-template-columns:1fr;}.compare-arrow{transform:rotate(90deg)}.compare-result-head{align-items:flex-start;flex-direction:column}.compare-table-wrap{max-width:calc(100vw - 64px)}.group-insight-card{flex-direction:column}.copy-insight-btn{align-self:flex-start}}

/* ========================================================================
   KPI MAINTENANCE — 24 KPI HIGHLIGHT / PPT READY
   ======================================================================== */
.kpi24-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;}
.kpi24-page-head p{max-width:760px;}
.kpi24-head-note{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 14px;white-space:nowrap;box-shadow:0 5px 18px rgba(0,0,0,.025);}
.kpi24-head-note span{font-family:'Sora',sans-serif;font-size:20px;font-weight:800;color:var(--red);}
.kpi24-head-note small{font-size:11px;color:var(--ink-soft);}

.kpi24-tabs{display:inline-flex;gap:4px;margin-top:22px;background:#EDECE9;border:1px solid #E0DFDC;padding:4px;border-radius:11px;}
.kpi24-tab{border:0;background:transparent;color:var(--ink-soft);padding:9px 15px;border-radius:8px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;transition:.15s ease;}
.kpi24-tab.active{background:#fff;color:var(--ink);box-shadow:0 2px 8px rgba(0,0,0,.06);}
.kpi24-tab-panel{display:none;}
.kpi24-tab-panel.active{display:block;}

.kpi24-upload-panel{margin-top:18px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;display:grid;grid-template-columns:minmax(330px,1.15fr) minmax(440px,1fr);gap:18px;align-items:center;box-shadow:0 5px 18px rgba(0,0,0,.02);}
.kpi24-upload-copy{display:flex;align-items:flex-start;gap:13px;padding:4px 8px;}
.kpi24-upload-icon{width:40px;height:40px;border-radius:10px;background:var(--red-tint);color:var(--red);display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.kpi24-upload-icon svg{width:20px;height:20px;}
.kpi24-upload-copy h3{font-family:'Sora',sans-serif;font-size:14px;margin:1px 0 5px;}
.kpi24-upload-copy p{font-size:11.8px;line-height:1.55;color:var(--ink-soft);max-width:610px;}
.kpi24-quick-form{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(180px,.85fr) auto;gap:9px;align-items:stretch;}
.kpi24-file-picker{border:1px solid #D7D8DB;border-radius:10px;background:#FAFAF9;min-height:48px;padding:8px 11px;display:flex;gap:9px;align-items:center;cursor:pointer;overflow:hidden;}
.kpi24-file-picker:hover{border-color:#B9BBC1;background:#fff;}
.kpi24-file-picker svg{width:18px;height:18px;color:var(--blue);flex:0 0 auto;}
.kpi24-file-picker-text{min-width:0;display:flex;flex-direction:column;gap:1px;}
.kpi24-file-picker-text b{font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.kpi24-file-picker-text small{font-size:9.8px;color:var(--ink-soft);}
.kpi24-position-input{border:1px solid #D7D8DB;border-radius:10px;background:#fff;padding:0 11px;font:inherit;font-size:11px;color:var(--ink);min-width:0;}
.kpi24-position-input:focus{outline:none;border-color:var(--red);box-shadow:0 0 0 3px rgba(39,102,123,.07);}
.kpi24-process-btn{border:0;border-radius:10px;background:var(--red);color:#fff;padding:0 15px;min-height:48px;font:inherit;font-size:11.5px;font-weight:800;display:flex;align-items:center;gap:6px;justify-content:center;cursor:pointer;white-space:nowrap;}
.kpi24-process-btn:hover{background:var(--red-dark);}
.kpi24-process-btn:disabled{background:#D9D9DA;color:#999;cursor:not-allowed;}
.kpi24-process-btn svg{width:15px;height:15px;}
.kpi24-warning{margin:14px 0 0;}

.kpi24-result-toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:22px 0 10px;}
.kpi24-result-title{font-family:'Sora',sans-serif;font-size:15px;font-weight:800;}
.kpi24-result-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:5px;}
.kpi24-result-meta span{font-size:9.5px;color:var(--ink-soft);background:#fff;border:1px solid var(--line);border-radius:999px;padding:4px 8px;}
.kpi24-toolbar-actions{display:flex;gap:7px;align-items:center;}
.kpi24-tool-btn{border:1px solid #D8D9DC;background:#fff;color:var(--ink);border-radius:8px;padding:8px 10px;font:inherit;font-size:10.5px;font-weight:700;display:flex;gap:6px;align-items:center;cursor:pointer;}
.kpi24-tool-btn:hover,.kpi24-tool-btn.active{border-color:var(--red);color:var(--red);background:var(--red-tint);}
.kpi24-tool-btn.primary{background:var(--charcoal);border-color:var(--charcoal);color:#fff;}
.kpi24-tool-btn.primary:hover{background:#1f1f21;color:#fff;}
.kpi24-tool-btn svg{width:14px;height:14px;}

.ppt-canvas-shell{width:100%;overflow:auto;padding:0 0 4px;}
.ppt-kpi24-frame{--ppt-navy:#0D477A;--ppt-blue:#1967A8;--ppt-pale:#EEF5FB;--ppt-gold:#E9CF82;position:relative;width:100%;min-width:1000px;aspect-ratio:16/9;background:#fff;border:1px solid #D7DEE5;box-shadow:0 12px 28px rgba(31,53,74,.09);overflow:hidden;padding:2.15% 2.1% 1.55%;display:grid;grid-template-rows:10.2% 10.5% 4.8% 1fr 9.5%;gap:1.15%;font-family:'Inter',sans-serif;color:#152334;}
.ppt-kpi24-frame:fullscreen{width:100vw;height:100vh;min-width:0;aspect-ratio:auto;border:0;box-shadow:none;padding:1.8vh 2vw 1.2vh;}
.ppt-kpi24-frame::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 8% 15%,rgba(31,103,164,.05),transparent 28%),radial-gradient(circle at 88% 90%,rgba(233,207,130,.12),transparent 30%);pointer-events:none;}
.ppt-kpi24-accent{position:absolute;left:0;top:0;width:100%;height:7px;background:linear-gradient(90deg,#0C4E87 0%,#337EAA 45%,#E1C86C 77%,#F0DFAC 100%);}
.ppt-kpi24-header{display:flex;align-items:center;min-height:0;position:relative;z-index:1;}
.ppt-kpi24-brandmark{width:4.4%;aspect-ratio:1/1;border-radius:0 0 15px 15px;background:linear-gradient(145deg,#0D5595,#2B7EBB);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Sora',sans-serif;font-size:clamp(18px,2.1vw,38px);font-weight:800;box-shadow:0 5px 10px rgba(13,85,149,.16);}
.ppt-kpi24-title-wrap{margin-left:1.2%;align-self:flex-start;padding-top:.15%;}
.ppt-kpi24-title-wrap h1{font-family:'Sora',sans-serif;font-size:clamp(17px,1.65vw,30px);font-weight:800;letter-spacing:.01em;color:var(--ppt-navy);line-height:1.05;}
.ppt-kpi24-script{margin-top:.3%;font-family:'Sora',sans-serif;font-size:clamp(10px,.95vw,18px);font-weight:600;font-style:italic;color:#1C2D3E;}
.ppt-kpi24-position{margin-left:auto;text-align:right;display:flex;flex-direction:column;gap:2px;padding-right:.3%;}
.ppt-kpi24-position span{font-size:clamp(6px,.52vw,10px);font-weight:800;letter-spacing:.13em;color:#8291A1;}
.ppt-kpi24-position b{font-size:clamp(8px,.72vw,13px);font-weight:800;color:#2A3846;}

.ppt-kpi24-summary-row{display:grid;grid-template-columns:.75fr 1fr 1fr 1fr 1.15fr;gap:.7%;position:relative;z-index:1;}
.ppt-summary-card{background:#fff;border:1px solid #DDE4EA;border-radius:9px;padding:4.2% 7%;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:center;min-width:0;box-shadow:0 2px 6px rgba(31,53,74,.025);}
.ppt-summary-card::before{content:"";position:absolute;}
.ppt-summary-card span{font-size:clamp(6px,.56vw,10px);font-weight:800;color:#5C6874;white-space:nowrap;}
.ppt-summary-card b{grid-row:1 / span 2;grid-column:2;font-family:'Sora',sans-serif;font-size:clamp(16px,1.45vw,27px);line-height:1;color:var(--ppt-navy);margin-left:10px;white-space:nowrap;}
.ppt-summary-card small{font-size:clamp(5.5px,.48vw,9px);color:#87929D;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ppt-summary-card.good{border-left:4px solid #2E9A56;}.ppt-summary-card.good b{color:#277E48;}
.ppt-summary-card.warn{border-left:4px solid #E2A724;}.ppt-summary-card.warn b{color:#B37A00;}
.ppt-summary-card.bad{border-left:4px solid #DC3039;}.ppt-summary-card.bad b{color:#C4242D;}
.ppt-summary-card.avg{border-left:4px solid #1F67A7;}.ppt-summary-card.avg b{color:#0C5A9A;}

.ppt-kpi24-group-strip{display:grid;grid-template-columns:2fr 1fr 1.5fr 1.5fr;gap:.7%;position:relative;z-index:1;align-items:center;}
.ppt-group-chip{height:100%;border-radius:5px;padding:0 3.5%;display:flex;align-items:center;gap:6px;background:#F5F7F9;border:1px solid #E5E9ED;min-width:0;}
.ppt-group-chip i{width:7px;height:7px;border-radius:50%;flex:0 0 auto;}.ppt-group-chip span{font-size:clamp(5.5px,.5vw,9px);font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.ppt-group-chip b{font-size:clamp(5px,.45vw,8px);color:#7F8994;margin-left:auto;white-space:nowrap;}
.ppt-group-chip.group-blue i{background:#1A6CA8}.ppt-group-chip.group-red i{background:#D9363E}.ppt-group-chip.group-green i{background:#318D55}.ppt-group-chip.group-amber i{background:#D89A17}

.ppt-kpi24-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(6,1fr);gap:.62%;min-height:0;position:relative;z-index:1;}
.ppt-kpi-card{position:relative;border:1px solid #DFE4E8;border-radius:7px;background:#fff;padding:3.5% 4.2% 3.2%;display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;gap:2.5%;min-height:0;overflow:hidden;box-shadow:0 1px 3px rgba(27,48,66,.025);}
.ppt-kpi-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#1A6CA8;}
.ppt-kpi-card.group-red::before{background:#D9363E}.ppt-kpi-card.group-green::before{background:#318D55}.ppt-kpi-card.group-amber::before{background:#D89A17}
.ppt-kpi-card-head{display:flex;align-items:center;gap:5px;min-width:0;}
.ppt-kpi-no{display:flex;align-items:center;justify-content:center;width:19px;height:15px;border-radius:4px;background:#EAF2F8;color:#155F97;font-family:'JetBrains Mono',monospace;font-size:clamp(5.5px,.46vw,8px);font-weight:800;flex:0 0 auto;}
.group-red .ppt-kpi-no{background:#FBEAEC;color:#C6242D}.group-green .ppt-kpi-no{background:#EAF5ED;color:#267C46}.group-amber .ppt-kpi-no{background:#FFF2D9;color:#A86C00}
.ppt-kpi-group{font-size:clamp(4.8px,.43vw,7.5px);font-weight:800;color:#87919A;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.ppt-kpi-dot{width:5px;height:5px;border-radius:50%;margin-left:auto;background:#A9B2B9;flex:0 0 auto;}
.status-achieved .ppt-kpi-dot{background:#2A9450}.status-near .ppt-kpi-dot{background:#E0A51A}.status-below .ppt-kpi-dot{background:#D92C36}.status-missing .ppt-kpi-dot{background:#B5BBC0}
.ppt-kpi-name{font-family:'Sora',sans-serif;font-size:clamp(6.5px,.55vw,10px);font-weight:700;line-height:1.22;color:#1F2F40;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:0;}
.ppt-kpi-main{display:flex;align-items:flex-end;justify-content:space-between;gap:5px;min-width:0;}
.ppt-kpi-label{display:block;font-size:clamp(4.7px,.39vw,7px);font-weight:800;color:#929BA4;margin-bottom:1px;letter-spacing:.05em;}
.ppt-kpi-value-wrap{display:flex;align-items:baseline;gap:1px;}
.ppt-kpi-value{width:54px;border:0;background:transparent;padding:0;font-family:'Sora',sans-serif;font-size:clamp(11px,1vw,19px);font-weight:800;line-height:1;color:#0C4E87;outline:none;text-align:left;-moz-appearance:textfield;}
.ppt-kpi-value::-webkit-outer-spin-button,.ppt-kpi-value::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.ppt-kpi-value-wrap>span{font-size:clamp(5px,.47vw,8px);font-weight:800;color:#0C4E87;}
.ppt-kpi-value.is-na{color:#AAB1B7;font-size:clamp(8px,.75vw,13px);}
.edit-national-mode .ppt-kpi-value:not(.is-na){background:#FFF9E9;border:1px dashed #E0A51A;border-radius:4px;padding:2px 3px;width:59px;}
.ppt-kpi-gap-wrap{text-align:right;display:flex;flex-direction:column;align-items:flex-end;min-width:0;}
.ppt-kpi-gap-wrap span{font-size:clamp(4.7px,.39vw,7px);font-weight:800;color:#A0A8AF;}
.ppt-kpi-gap-wrap b{font-family:'JetBrains Mono',monospace;font-size:clamp(5.2px,.44vw,8px);color:#C32931;white-space:nowrap;}.status-achieved .ppt-kpi-gap-wrap b{color:#278049}.status-near .ppt-kpi-gap-wrap b{color:#AE7700}
.ppt-kpi-progress{height:3px;background:#EDF0F2;border-radius:99px;overflow:hidden;}.ppt-kpi-progress i{display:block;height:100%;max-width:100%;background:#D92C36;border-radius:99px;transition:width .12s ease;}.status-achieved .ppt-kpi-progress i{background:#2A9450}.status-near .ppt-kpi-progress i{background:#E0A51A}.status-missing .ppt-kpi-progress i{background:#B5BBC0}
.ppt-kpi-areas{display:grid;grid-template-columns:repeat(4,1fr);gap:2px;}
.ppt-kpi-areas div{background:#F7F8F9;border-radius:3px;padding:2px 2px;display:flex;justify-content:center;align-items:center;gap:2px;min-width:0;}
.ppt-kpi-areas span{font-size:clamp(4.2px,.34vw,6px);font-weight:800;color:#98A0A7;}.ppt-kpi-areas b{font-family:'JetBrains Mono',monospace;font-size:clamp(4.4px,.37vw,6.6px);font-weight:700;color:#4A5967;}

.ppt-kpi24-insight{display:grid;grid-template-columns:auto 1fr auto;gap:1%;align-items:center;border:1px solid #BFD3E5;border-radius:7px;background:linear-gradient(90deg,#EDF5FB,#F9FBFD 78%);padding:.6% 1%;position:relative;z-index:1;min-height:0;}
.ppt-insight-badge{display:flex;align-items:center;gap:5px;color:#0D5C99;font-weight:800;font-size:clamp(5.5px,.5vw,9px);}.ppt-insight-badge svg{width:17px;height:17px;}
.ppt-kpi24-insight p{font-size:clamp(5.2px,.46vw,8.5px);line-height:1.3;color:#29475F;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.ppt-source-note{font-size:clamp(4.5px,.38vw,7px);color:#8996A1;max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;}

.kpi24-area-panel{background:#fff;border:1px solid var(--line);border-radius:14px;margin-top:16px;padding:17px;}
.kpi24-section-title h3{font-family:'Sora',sans-serif;font-size:14px;}.kpi24-section-title p{font-size:10.8px;color:var(--ink-soft);margin-top:3px;}
.kpi24-area-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:12px;}
.kpi24-area-card{border:1px solid #E2E5E8;border-radius:10px;padding:11px 13px;display:flex;justify-content:space-between;align-items:center;background:#FCFCFB;}
.kpi24-area-card span{display:block;font-size:11px;font-weight:800;color:#314252;}.kpi24-area-card small{display:block;font-size:9px;color:var(--ink-soft);margin-top:3px;}.kpi24-area-card>b{font-family:'Sora',sans-serif;font-size:15px;color:#155D96;white-space:nowrap;}

.kpi24-empty-state{background:#fff;border:1px dashed #D7D7D4;border-radius:14px;margin-top:16px;padding:40px 24px;text-align:center;}
.kpi24-empty-art{width:118px;height:58px;margin:0 auto 14px;position:relative;}
.empty-mini-card{position:absolute;width:54px;height:36px;border:1px solid #DDE2E6;border-radius:7px;background:#fff;box-shadow:0 5px 12px rgba(34,55,73,.07);}.empty-mini-card.one{left:0;top:12px;border-left:4px solid #1967A8}.empty-mini-card.two{left:32px;top:0;border-left:4px solid #27667B;z-index:2}.empty-mini-card.three{right:0;top:17px;border-left:4px solid #2D8B50}
.kpi24-empty-state h3{font-family:'Sora',sans-serif;font-size:14px;margin-bottom:5px;}.kpi24-empty-state p{font-size:11.5px;color:var(--ink-soft);max-width:650px;margin:auto;line-height:1.55;}
.kpi24-format-panel{margin-top:18px;}

@media(max-width:1250px){
  .kpi24-upload-panel{grid-template-columns:1fr;}
  .kpi24-quick-form{grid-template-columns:1fr 1fr auto;}
  .kpi24-area-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:820px){
  .kpi24-page-head,.kpi24-result-toolbar{align-items:flex-start;flex-direction:column;}
  .kpi24-quick-form{grid-template-columns:1fr;}
  .kpi24-toolbar-actions{flex-wrap:wrap;}
  .kpi24-area-grid{grid-template-columns:1fr;}
}

@media print{
  @page{size:13.333in 7.5in;margin:0;}
  body{background:#fff!important;}
  body *{visibility:hidden!important;}
  #ppt-frame,#ppt-frame *{visibility:visible!important;}
  #ppt-frame{position:absolute!important;left:0!important;top:0!important;width:13.333in!important;height:7.5in!important;min-width:0!important;aspect-ratio:auto!important;border:0!important;box-shadow:none!important;margin:0!important;padding:.20in .22in .13in!important;page-break-after:avoid!important;}
}

/* ========================================================================
   PPT HIGHLIGHT NASIONAL — SEPARATE MENU / EXPORT 16:9
   ======================================================================== */
.nav-label-group{margin-top:14px;}
.ppt-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;}
.ppt-page-head p{max-width:820px;}
.ppt-head-note span{font-size:18px;}
.ppt-upload-panel{margin-top:20px;}
.ppt-result-toolbar .kpi24-result-title{font-size:16px;}
.ppt-toolbar-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;}
.ppt-preview-shell{margin-top:12px;}

.ppt-highlight-frame{
  min-width:1240px;
  padding:1.55% 1.55% 1.18%;
  grid-template-rows:10.2% 11.5% 5.2% 1fr 8.8%;
  gap:.95%;
}
.ppt-highlight-header{display:flex;align-items:center;gap:12px;position:relative;z-index:1;min-height:0;}
.ppt-highlight-mark{width:52px;height:52px;border-radius:14px;background:linear-gradient(145deg,#0D5595,#2B7EBB);color:#fff;display:flex;align-items:center;justify-content:center;font-family:'Sora',sans-serif;font-size:28px;font-weight:800;box-shadow:0 6px 16px rgba(13,85,149,.16);flex:0 0 auto;}
.ppt-highlight-title-wrap{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;}
.ppt-highlight-title-wrap h1{font-family:'Sora',sans-serif;font-size:32px;font-weight:800;letter-spacing:-.02em;color:#0C4E87;line-height:1.02;}
.ppt-highlight-sub{font-size:15px;font-weight:700;color:#48627B;letter-spacing:.01em;}
.ppt-highlight-position{margin-left:auto;text-align:right;display:flex;flex-direction:column;gap:3px;}
.ppt-highlight-position span{font-size:10px;font-weight:800;letter-spacing:.14em;color:#7B8B9A;}
.ppt-highlight-position b{font-size:15px;font-weight:800;color:#263949;}

.ppt-summary-large .ppt-summary-card{padding:12px 16px;border-radius:11px;position:relative;}
.ppt-summary-large .ppt-summary-card span{font-size:11px;}
.ppt-summary-large .ppt-summary-card b{font-size:30px;}
.ppt-summary-large .ppt-summary-card small{font-size:10px;}

.ppt-kpi24-grid-large{gap:.7%;}
.ppt-kpi-card-large{padding:8px 10px 7px;border-radius:9px;gap:6px;}
.ppt-kpi-card-head.simple{gap:8px;align-items:flex-start;}
.ppt-kpi-card-large .ppt-kpi-no{width:24px;height:18px;font-size:9px;border-radius:5px;}
.ppt-kpi-card-large .ppt-kpi-name{font-size:11.5px;line-height:1.18;-webkit-line-clamp:2;min-height:26px;flex:1;}
.ppt-kpi-card-large .ppt-kpi-dot{width:7px;height:7px;margin-top:3px;}
.ppt-kpi-card-large .ppt-kpi-main.compact{align-items:flex-end;gap:10px;}
.ppt-kpi-card-large .ppt-kpi-label{font-size:8px;margin-bottom:2px;}
.ppt-kpi-card-large .ppt-kpi-value{width:78px;font-size:24px;}
.ppt-kpi-card-large .ppt-kpi-value-wrap>span{font-size:10px;}
.ppt-kpi-card-large .ppt-kpi-gap-wrap span{font-size:8px;}
.ppt-kpi-card-large .ppt-kpi-gap-wrap b{font-size:10px;}
.ppt-kpi-card-large .ppt-kpi-progress{height:4px;}
.ppt-kpi-card-large .ppt-kpi-areas.areas-tight{gap:4px;}
.ppt-kpi-card-large .ppt-kpi-areas.areas-tight div{padding:3px 2px;border-radius:4px;}
.ppt-kpi-card-large .ppt-kpi-areas.areas-tight span{font-size:7px;}
.ppt-kpi-card-large .ppt-kpi-areas.areas-tight b{font-size:8px;}

.ppt-kpi24-insight-large{padding:8px 12px;}
.ppt-kpi24-insight-large .ppt-insight-badge{font-size:10px;}
.ppt-kpi24-insight-large .ppt-insight-badge svg{width:18px;height:18px;}
.ppt-kpi24-insight-large p{font-size:9.5px;line-height:1.38;-webkit-line-clamp:2;}
.ppt-kpi24-insight-large .ppt-source-note{font-size:8px;max-width:240px;}
.ppt-area-panel{margin-top:18px;}

/* Slightly relax scaling for editable national values in separate PPT page */
.ppt-highlight-frame.edit-national-mode .ppt-kpi-value:not(.is-na){background:#FFF9E9;border:1px dashed #E0A51A;border-radius:4px;padding:2px 4px;width:84px;}

@media (max-width: 1260px){
  .ppt-toolbar-actions{justify-content:flex-start;}
}

/* direct download actions */
.ppt-direct-form{display:flex;flex-wrap:wrap;gap:12px;align-items:center;}
.ppt-direct-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;}
.kpi24-process-btn.alt{background:#0F5DA8;color:#fff;box-shadow:0 10px 24px rgba(15,93,168,.18);}
.kpi24-process-btn.alt:hover{background:#0c4d8a;}
.kpi24-process-btn.ghost{background:#fff;color:#29486a;border:1px solid #cfdced;box-shadow:none;}
.kpi24-process-btn.ghost:hover{background:#f6f9fe;}
@media (max-width: 1100px){
  .ppt-direct-form{align-items:stretch;}
  .ppt-direct-actions{width:100%;}
}

/* ===== refined PPT export layout ===== */
.ppt-clean-frame{
  aspect-ratio:16/9;
  width:100%;
  min-width:1240px;
  background:#ffffff;
  border:1px solid #d9e3ef;
  border-radius:18px;
  box-shadow:0 14px 34px rgba(18,43,70,.08);
  padding:24px 26px 18px;
  display:grid;
  grid-template-rows:auto auto auto 1fr auto;
  gap:12px;
  color:#203549;
}
.ppt-clean-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:8px;border-bottom:2px solid #eef3f8;}
.ppt-clean-title-wrap h1{margin:0;font-family:'Sora',sans-serif;font-size:42px;line-height:1;letter-spacing:-.02em;color:#0e3a68;}
.ppt-clean-title-wrap p{margin:8px 0 0;font-size:16px;color:#677d95;font-weight:600;}
.ppt-clean-date{text-align:right;min-width:180px;}
.ppt-clean-date span{display:block;font-size:12px;letter-spacing:.14em;font-weight:800;color:#8a9aab;margin-bottom:6px;}
.ppt-clean-date b{font-size:22px;line-height:1.1;color:#263949;}

.ppt-clean-summary-row{display:grid;grid-template-columns:1.15fr 1.35fr 1.35fr 1.35fr 1.35fr;gap:12px;}
.ppt-clean-summary-card{border:1px solid #d6e0eb;border-radius:16px;padding:14px 16px 12px;min-height:92px;background:#fff;position:relative;overflow:hidden;}
.ppt-clean-summary-card::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;border-radius:16px 0 0 16px;background:#b8c7d8;}
.ppt-clean-summary-card span{display:block;font-size:14px;font-weight:700;color:#5f7184;}
.ppt-clean-summary-card b{display:block;margin-top:8px;font-size:28px;line-height:1;font-family:'Sora',sans-serif;color:#153d6d;}
.ppt-clean-summary-card small{display:block;margin-top:8px;font-size:12px;color:#7a8a99;font-weight:600;}
.ppt-clean-summary-card.good::before{background:#2c9c57;}.ppt-clean-summary-card.good b{color:#277d47;}
.ppt-clean-summary-card.warn::before{background:#d89a12;}.ppt-clean-summary-card.warn b{color:#b67500;}
.ppt-clean-summary-card.bad::before{background:#db3748;}.ppt-clean-summary-card.bad b{color:#c52837;}
.ppt-clean-summary-card.avg::before{background:#1769b5;}.ppt-clean-summary-card.avg b{color:#12589d;}

.ppt-clean-area-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;}
.ppt-clean-area-card{border:1px solid #d6e0eb;border-radius:14px;padding:12px 16px;background:#fafcfe;}
.ppt-clean-area-card span{display:block;font-size:14px;font-weight:700;color:#687c90;}
.ppt-clean-area-card b{display:block;margin-top:6px;font-size:22px;font-family:'Sora',sans-serif;color:#d62c3a;}

.ppt-clean-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;align-content:start;}
.ppt-clean-card{position:relative;border:1px solid #d7e1eb;border-radius:14px;background:#fff;padding:10px 12px 10px 14px;display:grid;grid-template-rows:auto auto auto auto;gap:6px;overflow:hidden;min-height:116px;}
.ppt-clean-card::before{content:"";position:absolute;inset:0 auto 0 0;width:6px;border-radius:14px 0 0 14px;background:#cbd5e0;}
.ppt-clean-card.status-achieved::before{background:#1ea04b;}
.ppt-clean-card.status-near::before{background:#e39a12;}
.ppt-clean-card.status-below::before{background:#ee3d32;}
.ppt-clean-card.status-missing::before{background:#94a3b8;}

.ppt-clean-card-top{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:start;}
.ppt-clean-card-no{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#fff2f2;color:#ef3c32;font-weight:800;font-family:'Sora',sans-serif;font-size:16px;}
.ppt-clean-card.status-achieved .ppt-clean-card-no{background:#edf9f0;color:#24a053;}
.ppt-clean-card.status-near .ppt-clean-card-no{background:#fff5e7;color:#de9308;}
.ppt-clean-card-title{font-size:15px;line-height:1.18;font-weight:800;color:#213b5a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding-top:2px;}
.ppt-clean-card-ach{text-align:right;min-width:110px;}
.ppt-clean-ach-wrap{display:flex;align-items:flex-end;justify-content:flex-end;gap:2px;}
.ppt-clean-card-value{width:86px;border:none;background:transparent;padding:0;margin:0;text-align:right;font-family:'Sora',sans-serif;font-size:22px;line-height:1;font-weight:800;color:#ef3c32;}
.ppt-clean-card.status-achieved .ppt-clean-card-value{color:#24a053;}
.ppt-clean-card.status-near .ppt-clean-card-value{color:#de8e00;}
.ppt-clean-card-value:focus{outline:none;}
.ppt-clean-ach-wrap>span{font-size:13px;font-weight:800;color:#57708c;line-height:1.1;}
.ppt-clean-card-ach small{display:block;margin-top:2px;font-size:12px;font-weight:800;color:#7b8fa5;letter-spacing:.03em;}
.ppt-clean-ach-wrap.na-wrap .ppt-clean-card-value{width:90px;font-size:18px;color:#7c8da0;}

.ppt-clean-card-meta{display:flex;justify-content:flex-end;align-items:center;gap:6px;font-size:11px;color:#7b8fa5;font-weight:800;}
.ppt-clean-card-meta b{font-size:12px;}
.ppt-clean-card.status-achieved .ppt-clean-card-meta b{color:#1d8e47;}
.ppt-clean-card.status-near .ppt-clean-card-meta b{color:#c98709;}
.ppt-clean-card.status-below .ppt-clean-card-meta b{color:#d1322f;}
.ppt-clean-progress{height:6px;background:#edf2f7;border-radius:999px;overflow:hidden;}
.ppt-clean-progress i{display:block;height:100%;border-radius:999px;background:#ef3c32;}
.ppt-clean-card.status-achieved .ppt-clean-progress i{background:#24a053;}
.ppt-clean-card.status-near .ppt-clean-progress i{background:#de9308;}

.ppt-clean-areas{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;}
.ppt-clean-areas div{background:#f7fafc;border:1px solid #edf2f7;border-radius:8px;padding:5px 4px;text-align:center;}
.ppt-clean-areas span{display:block;font-size:10px;font-weight:800;color:#7b8fa5;line-height:1;}
.ppt-clean-areas b{display:block;margin-top:2px;font-size:11px;color:#314861;line-height:1.1;}

.ppt-clean-insight{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;border:1px solid #d6e0eb;border-radius:14px;padding:11px 14px;background:#fbfdff;}
.ppt-clean-insight-label{font-size:16px;font-weight:900;color:#1862ab;letter-spacing:.04em;}
.ppt-clean-insight p{margin:0;font-size:13px;line-height:1.38;color:#30455e;font-weight:600;}
.ppt-clean-source{font-size:11px;color:#7d8fa2;text-align:right;max-width:220px;}

.ppt-clean-frame.edit-national-mode .ppt-clean-card-value:not(.is-na){background:#fff9e8;border:1px dashed #dfa420;border-radius:6px;padding:2px 4px;}

/* better export area in the page */
.ppt-preview-shell{overflow-x:auto;padding-bottom:4px;}

@media print{
  .ppt-clean-frame{box-shadow:none;border:none;}
}

/* ========================================================================
   PPT HIGHLIGHT V3 — 24 KPI FIT 1 SLIDE 16:9 (4 COLUMNS x 6 ROWS)
   ======================================================================== */
.ppt-clean-frame{
  width:100%;
  min-width:1180px;
  aspect-ratio:16/9;
  height:auto;
  overflow:hidden;
  padding:11px 16px 11px;
  gap:6px;
  grid-template-rows:50px 60px 40px minmax(0,1fr) 52px;
  border-radius:14px;
}
.ppt-clean-header{padding-bottom:4px;align-items:center;}
.ppt-clean-title-wrap h1{font-size:32px;line-height:1;}
.ppt-clean-title-wrap p{margin-top:4px;font-size:12.5px;line-height:1.2;}
.ppt-clean-date{min-width:150px;}
.ppt-clean-date span{font-size:8px;margin-bottom:3px;}
.ppt-clean-date b{font-size:16px;}

.ppt-clean-summary-row{gap:6px;}
.ppt-clean-summary-card{min-height:0;height:60px;border-radius:10px;padding:8px 10px 7px 12px;}
.ppt-clean-summary-card::before{width:4px;border-radius:10px 0 0 10px;}
.ppt-clean-summary-card span{font-size:9px;line-height:1;}
.ppt-clean-summary-card b{margin-top:5px;font-size:22px;line-height:1;}
.ppt-clean-summary-card small{margin-top:4px;font-size:8px;line-height:1.05;}

.ppt-clean-area-row{gap:6px;}
.ppt-clean-area-card{height:40px;border-radius:9px;padding:6px 10px;display:flex;align-items:center;justify-content:space-between;gap:8px;}
.ppt-clean-area-card span{font-size:9px;line-height:1;}
.ppt-clean-area-card b{margin-top:0;font-size:16px;line-height:1;}

.ppt-clean-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-template-rows:repeat(6,minmax(0,1fr));
  gap:5px;
  min-height:0;
  overflow:hidden;
  align-content:stretch;
}
.ppt-clean-card{
  min-height:0;
  height:100%;
  border-radius:9px;
  padding:4px 7px 4px 9px;
  gap:2px;
  grid-template-rows:minmax(23px,auto) 9px 3px 13px;
  align-content:stretch;
}
.ppt-clean-card::before{width:4px;border-radius:9px 0 0 9px;}
.ppt-clean-card-top{grid-template-columns:24px minmax(0,1fr) 72px;gap:5px;align-items:start;min-height:0;}
.ppt-clean-card-no{width:21px;height:21px;border-radius:6px;font-size:9.5px;}
.ppt-clean-card-title{
  font-size:9.7px;
  line-height:1.08;
  padding-top:1px;
  -webkit-line-clamp:2;
  min-height:20px;
  word-break:normal;
}
.ppt-clean-card-ach{min-width:72px;}
.ppt-clean-ach-wrap{gap:1px;}
.ppt-clean-card-value{width:58px;font-size:16.5px;line-height:1;}
.ppt-clean-ach-wrap>span{font-size:8px;line-height:1;}
.ppt-clean-card-ach small{margin-top:0;font-size:7.5px;line-height:1;}
.ppt-clean-ach-wrap.na-wrap .ppt-clean-card-value{width:58px;font-size:12px;}
.ppt-clean-card-meta{gap:3px;font-size:6.8px;line-height:1;}
.ppt-clean-card-meta b{font-size:7.8px;line-height:1;}
.ppt-clean-progress{height:3px;}
.ppt-clean-areas{gap:3px;}
.ppt-clean-areas div{border-radius:4px;padding:2px 1px;display:flex;align-items:center;justify-content:center;gap:2px;min-width:0;}
.ppt-clean-areas span{font-size:6.5px;line-height:1;}
.ppt-clean-areas b{margin-top:0;font-size:7px;line-height:1;white-space:nowrap;}

.ppt-clean-insight{height:52px;border-radius:9px;padding:6px 10px;gap:8px;grid-template-columns:auto 1fr auto;overflow:hidden;}
.ppt-clean-insight-label{font-size:10px;}
.ppt-clean-insight p{font-size:7.7px;line-height:1.28;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.ppt-clean-source{font-size:6.6px;max-width:155px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.ppt-clean-frame.edit-national-mode .ppt-clean-card-value:not(.is-na){padding:1px 2px;width:60px;}

/* ========================================================================
   PPT HIGHLIGHT V5 — 16:7 WITH AREA CHART + INSIGHT
   ======================================================================== */
.ppt-clean-frame.v5{
  width:100%;
  min-width:1240px;
  aspect-ratio:16/8;
  height:auto;
  overflow:hidden;
  padding:11px 16px 10px;
  gap:6px;
  grid-template-rows:44px 56px minmax(0,1fr) 82px;
  border-radius:14px;
}
.ppt-clean-frame.v5 .ppt-clean-header{padding-bottom:3px;align-items:center;border-bottom:1px solid #edf2f7;}
.ppt-clean-frame.v5 .ppt-clean-title-wrap h1{font-size:32px;line-height:1;}
.ppt-clean-frame.v5 .ppt-clean-title-wrap p{margin-top:4px;font-size:11.5px;line-height:1.15;}
.ppt-clean-frame.v5 .ppt-clean-date{min-width:150px;}
.ppt-clean-frame.v5 .ppt-clean-date span{font-size:8px;margin-bottom:3px;}
.ppt-clean-frame.v5 .ppt-clean-date b{font-size:17px;}

.ppt-clean-frame.v5 .ppt-clean-summary-row{gap:6px;}
.ppt-clean-frame.v5 .ppt-clean-summary-card{min-height:0;height:56px;border-radius:10px;padding:7px 10px 7px 12px;}
.ppt-clean-frame.v5 .ppt-clean-summary-card::before{width:4px;border-radius:10px 0 0 10px;}
.ppt-clean-frame.v5 .ppt-clean-summary-card span{font-size:8.5px;line-height:1;}
.ppt-clean-frame.v5 .ppt-clean-summary-card b{margin-top:4px;font-size:23px;line-height:1;}
.ppt-clean-frame.v5 .ppt-clean-summary-card small{margin-top:4px;font-size:7.5px;line-height:1.05;}

.ppt-clean-frame.v5 .ppt-clean-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-template-rows:repeat(6,minmax(0,1fr));
  gap:5px;
  min-height:0;
  overflow:hidden;
  align-content:stretch;
}
.ppt-clean-frame.v5 .ppt-clean-card{
  min-height:0;
  height:100%;
  border-radius:9px;
  padding:4px 7px 4px 9px;
  gap:2px;
  grid-template-rows:minmax(22px,auto) 9px 3px 13px;
  align-content:stretch;
}
.ppt-clean-frame.v5 .ppt-clean-card::before{width:4px;border-radius:9px 0 0 9px;}
.ppt-clean-frame.v5 .ppt-clean-card-top{grid-template-columns:23px minmax(0,1fr) 76px;gap:5px;align-items:start;min-height:0;}
.ppt-clean-frame.v5 .ppt-clean-card-no{width:21px;height:21px;border-radius:6px;font-size:9.5px;}
.ppt-clean-frame.v5 .ppt-clean-card-title{font-size:9.8px;line-height:1.1;padding-top:1px;-webkit-line-clamp:2;min-height:20px;word-break:normal;}
.ppt-clean-frame.v5 .ppt-clean-card-ach{min-width:76px;}
.ppt-clean-frame.v5 .ppt-clean-ach-wrap{gap:1px;}
.ppt-clean-frame.v5 .ppt-clean-card-value{width:62px;font-size:17.5px;line-height:1;}
.ppt-clean-frame.v5 .ppt-clean-ach-wrap>span{font-size:8.5px;line-height:1;}
.ppt-clean-frame.v5 .ppt-clean-card-ach small{margin-top:0;font-size:7.5px;line-height:1;}
.ppt-clean-frame.v5 .ppt-clean-ach-wrap.na-wrap .ppt-clean-card-value{width:62px;font-size:12.5px;}
.ppt-clean-frame.v5 .ppt-clean-card-meta{gap:3px;font-size:6.5px;line-height:1;}
.ppt-clean-frame.v5 .ppt-clean-card-meta b{font-size:7.5px;line-height:1;}
.ppt-clean-frame.v5 .ppt-clean-progress{height:3px;}
.ppt-clean-frame.v5 .ppt-clean-areas{gap:3px;}
.ppt-clean-frame.v5 .ppt-clean-areas div{border-radius:4px;padding:2px 1px;display:flex;align-items:center;justify-content:center;gap:2px;min-width:0;}
.ppt-clean-frame.v5 .ppt-clean-areas span{font-size:6.5px;line-height:1;}
.ppt-clean-frame.v5 .ppt-clean-areas b{margin-top:0;font-size:7px;line-height:1;white-space:nowrap;}

.ppt-clean-frame.v5 .ppt-clean-bottom{display:grid;grid-template-columns:34% 66%;gap:8px;min-height:0;}
.ppt-clean-frame.v5 .ppt-area-chart-panel,
.ppt-clean-frame.v5 .ppt-clean-insight{border:1px solid #d6e0eb;border-radius:10px;background:#fbfdff;min-height:0;}

.ppt-clean-frame.v5 .ppt-area-chart-panel{padding:7px 10px;display:grid;grid-template-rows:auto 1fr;gap:5px;overflow:hidden;}
.ppt-clean-frame.v5 .ppt-area-chart-head{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;}
.ppt-clean-frame.v5 .ppt-area-chart-head h3{margin:0;font-size:10.5px;font-weight:900;color:#1d4d80;letter-spacing:.03em;}
.ppt-clean-frame.v5 .ppt-area-chart-head span{font-size:7px;color:#7c8da0;font-weight:700;}
.ppt-clean-frame.v5 .ppt-area-bars{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;align-items:end;min-height:0;}
.ppt-clean-frame.v5 .ppt-area-bar-item{display:grid;grid-template-rows:auto auto auto;gap:3px;min-width:0;}
.ppt-clean-frame.v5 .ppt-area-bar-meta{display:flex;justify-content:space-between;align-items:center;gap:4px;}
.ppt-clean-frame.v5 .ppt-area-bar-meta span{font-size:7.5px;font-weight:800;color:#54697f;white-space:nowrap;}
.ppt-clean-frame.v5 .ppt-area-bar-meta b{font-size:9.5px;font-family:'Sora',sans-serif;color:#173f70;white-space:nowrap;}
.ppt-clean-frame.v5 .ppt-area-bar-track{height:8px;background:#eaf0f6;border-radius:999px;overflow:hidden;}
.ppt-clean-frame.v5 .ppt-area-bar-track i{display:block;height:100%;background:linear-gradient(90deg,#2c6db6,#5ca7e7);border-radius:999px;}
.ppt-clean-frame.v5 .ppt-area-bar-item:nth-child(2) .ppt-area-bar-track i{background:linear-gradient(90deg,#cf3c4b,#f17657);}
.ppt-clean-frame.v5 .ppt-area-bar-item:nth-child(3) .ppt-area-bar-track i{background:linear-gradient(90deg,#208d58,#67bd7d);}
.ppt-clean-frame.v5 .ppt-area-bar-item:nth-child(4) .ppt-area-bar-track i{background:linear-gradient(90deg,#d69a16,#f2c84d);}
.ppt-clean-frame.v5 .ppt-area-bar-item small{font-size:6.5px;color:#7c8da0;font-weight:700;line-height:1.1;display:block;}

.ppt-clean-frame.v5 .ppt-clean-insight{padding:7px 10px;display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:start;overflow:hidden;}
.ppt-clean-frame.v5 .ppt-clean-insight-label{font-size:10.5px;font-weight:900;color:#1862ab;letter-spacing:.04em;padding-top:1px;}
.ppt-clean-frame.v5 .ppt-clean-insight p{margin:0;font-size:8.5px;line-height:1.34;color:#30455e;font-weight:600;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;}
.ppt-clean-frame.v5 .ppt-clean-source{font-size:6.8px;color:#7d8fa2;text-align:right;max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}

.ppt-clean-frame.v5.edit-national-mode .ppt-clean-card-value:not(.is-na){background:#fff9e8;border:1px dashed #dfa420;border-radius:6px;padding:1px 2px;width:60px;}

/* ========================================================================
   PPT HIGHLIGHT V7 — SIMPLE KPI CARD
   ======================================================================== */
.ppt-clean-frame.v5 .ppt-clean-card{
  grid-template-rows:auto 1fr;
  padding:6px 8px 6px 10px;
  gap:6px;
}
.ppt-clean-frame.v5 .ppt-clean-card-top.simple-card{
  grid-template-columns:minmax(0,1fr) 88px;
  gap:8px;
  align-items:start;
}
.ppt-clean-frame.v5 .ppt-clean-card-left{min-width:0;}
.ppt-clean-frame.v5 .ppt-clean-card-kpi{
  font-size:8.2px;
  line-height:1;
  font-weight:900;
  letter-spacing:.08em;
  color:#7b8fa5;
  margin-bottom:3px;
}
.ppt-clean-frame.v5 .ppt-clean-card-title{
  font-size:10.2px;
  line-height:1.12;
  min-height:24px;
  -webkit-line-clamp:2;
}
.ppt-clean-frame.v5 .ppt-clean-card-ach.simple-ach{
  min-width:88px;
  text-align:right;
}
.ppt-clean-frame.v5 .ppt-clean-card-ach.simple-ach .ppt-clean-ach-wrap{
  justify-content:flex-end;
  align-items:flex-end;
}
.ppt-clean-frame.v5 .ppt-clean-card-ach.simple-ach .ppt-clean-card-value{
  width:72px;
  font-size:19px;
}
.ppt-clean-frame.v5 .ppt-clean-card-ach.simple-ach .ppt-clean-ach-wrap>span{
  font-size:9px;
}
.ppt-clean-frame.v5 .ppt-clean-card-ach.simple-ach small{
  display:block;
  margin-top:1px;
  font-size:7.8px;
  font-weight:800;
  color:#7b8fa5;
}
.ppt-clean-frame.v5 .ppt-clean-card-ach.simple-ach .na-wrap .ppt-clean-card-value{
  width:72px;
  font-size:13px;
}
.ppt-clean-frame.v5 .simple-area-list{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:4px 5px;
}
.ppt-clean-frame.v5 .simple-area-list div{
  background:#f7fafc;
  border:1px solid #edf2f7;
  border-radius:6px;
  padding:4px 5px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:4px;
}
.ppt-clean-frame.v5 .simple-area-list span{
  font-size:7.3px;
  line-height:1.1;
  font-weight:800;
  color:#6d8094;
}
.ppt-clean-frame.v5 .simple-area-list b{
  font-size:8.2px;
  line-height:1;
  color:#22374d;
  white-space:nowrap;
}
.ppt-clean-frame.v5.edit-national-mode .ppt-clean-card-value:not(.is-na){width:72px;}

/* ========================================================================
   PPT HIGHLIGHT V8 — LESS CRAMPED CARD READABILITY
   ======================================================================== */
.ppt-clean-frame.v5{
  padding:10px 14px 9px;
  gap:5px;
  grid-template-rows:40px 50px minmax(0,1fr) 70px;
}
.ppt-clean-frame.v5 .ppt-clean-header{padding-bottom:2px;}
.ppt-clean-frame.v5 .ppt-clean-title-wrap h1{font-size:29px;}
.ppt-clean-frame.v5 .ppt-clean-title-wrap p{font-size:10px;margin-top:3px;}
.ppt-clean-frame.v5 .ppt-clean-date b{font-size:15px;}

.ppt-clean-frame.v5 .ppt-clean-summary-row{gap:5px;}
.ppt-clean-frame.v5 .ppt-clean-summary-card{height:50px;padding:6px 9px 6px 11px;}
.ppt-clean-frame.v5 .ppt-clean-summary-card span{font-size:7.8px;}
.ppt-clean-frame.v5 .ppt-clean-summary-card b{font-size:21px;margin-top:3px;}
.ppt-clean-frame.v5 .ppt-clean-summary-card small{font-size:6.8px;margin-top:3px;}

.ppt-clean-frame.v5 .ppt-clean-grid{gap:6px;}
.ppt-clean-frame.v5 .ppt-clean-card{
  padding:6px 8px 6px 10px;
  gap:4px;
  border-radius:10px;
}
.ppt-clean-frame.v5 .ppt-clean-card::before{width:5px;border-radius:10px 0 0 10px;}
.ppt-clean-frame.v5 .ppt-clean-card-top.simple-card.v8-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 82px;
  gap:8px;
  align-items:start;
}
.ppt-clean-frame.v5 .ppt-clean-card-kpi{
  font-size:8px;
  margin-bottom:0;
  align-self:center;
}
.ppt-clean-frame.v5 .ppt-clean-card-title.v8-title{
  font-size:9.4px;
  line-height:1.18;
  min-height:22px;
  max-height:22px;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.ppt-clean-frame.v5 .ppt-clean-card-ach.simple-ach{min-width:82px;}
.ppt-clean-frame.v5 .ppt-clean-card-ach.simple-ach .ppt-clean-card-value{
  width:66px;
  font-size:17px;
}
.ppt-clean-frame.v5 .ppt-clean-card-ach.simple-ach small{font-size:7px;}
.ppt-clean-frame.v5 .simple-area-list{
  gap:4px;
  align-content:start;
}
.ppt-clean-frame.v5 .simple-area-list div{
  padding:4px 5px;
  border-radius:7px;
}
.ppt-clean-frame.v5 .simple-area-list span{
  font-size:7px;
}
.ppt-clean-frame.v5 .simple-area-list b{
  font-size:7.8px;
}

.ppt-clean-frame.v5 .ppt-clean-bottom{gap:6px;grid-template-columns:33% 67%;}
.ppt-clean-frame.v5 .ppt-area-chart-panel{padding:6px 9px;gap:4px;}
.ppt-clean-frame.v5 .ppt-area-chart-head h3{font-size:9.2px;}
.ppt-clean-frame.v5 .ppt-area-chart-head span{font-size:6.3px;}
.ppt-clean-frame.v5 .ppt-area-bars{gap:5px;}
.ppt-clean-frame.v5 .ppt-area-bar-meta span{font-size:6.8px;}
.ppt-clean-frame.v5 .ppt-area-bar-meta b{font-size:8.6px;}
.ppt-clean-frame.v5 .ppt-area-bar-item small{font-size:5.8px;}
.ppt-clean-frame.v5 .ppt-area-bar-track{height:7px;}

.ppt-clean-frame.v5 .ppt-clean-insight{padding:6px 8px;gap:7px;}
.ppt-clean-frame.v5 .ppt-clean-insight-label{font-size:9.6px;}
.ppt-clean-frame.v5 .ppt-clean-insight p{font-size:7.6px;line-height:1.28;-webkit-line-clamp:4;}
.ppt-clean-frame.v5 .ppt-clean-source{font-size:6px;max-width:145px;}

/* ========================================================================
   DASHBOARD V2 — EXECUTIVE OPERATION OVERVIEW
   ======================================================================== */
.dashboard-v2{max-width:1540px;margin:0 auto;}
.dashboard-v2 .panel-kicker{display:block;font-size:10px;font-weight:800;letter-spacing:.13em;color:#8A929A;margin-bottom:6px;}

/* More visual navigation icon treatment */
.nav-icon{position:relative;background:linear-gradient(145deg,rgba(255,255,255,.10),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.07);box-shadow:inset 0 1px 0 rgba(255,255,255,.06);}
.nav-item:hover .nav-icon{background:linear-gradient(145deg,rgba(255,255,255,.15),rgba(255,255,255,.055));}
.nav-item.active .nav-icon{background:linear-gradient(145deg,#27667B,#143D60);border-color:rgba(255,255,255,.16);box-shadow:0 7px 18px rgba(39,102,123,.24),inset 0 1px 0 rgba(255,255,255,.22);}
.nav-item.active{box-shadow:inset 3px 0 0 var(--red);}

.dash-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.72fr);gap:26px;padding:30px 32px;border-radius:20px;background:linear-gradient(118deg,#fff 0%,#fff 56%,#F7F9FC 100%);border:1px solid #E4E7EA;box-shadow:0 10px 35px rgba(32,48,62,.055);}
.dash-hero::before{content:"";position:absolute;width:310px;height:310px;border-radius:50%;right:-145px;top:-175px;background:radial-gradient(circle,rgba(39,102,123,.10),rgba(39,102,123,0) 70%);pointer-events:none;}
.dash-hero::after{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,#27667B,#143D60);}
.dash-hero-copy{position:relative;z-index:1;align-self:center;}
.dash-hero-copy h2{font-family:'Sora',sans-serif;font-size:30px;line-height:1.16;letter-spacing:-.035em;color:#202A34;max-width:710px;margin-bottom:9px;}
.dash-hero-copy>p{font-size:13px;line-height:1.65;color:#67727D;max-width:760px;}
.dash-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;}
.dash-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:10px;padding:11px 15px;text-decoration:none;font-size:12px;font-weight:750;transition:transform .15s ease,box-shadow .15s ease,background .15s ease;}
.dash-btn svg{width:16px;height:16px;}
.dash-btn:hover{transform:translateY(-1px);}
.dash-btn-primary{background:linear-gradient(135deg,#27667B,#143D60);color:#fff;box-shadow:0 8px 17px rgba(39,102,123,.18);}
.dash-btn-primary:hover{box-shadow:0 10px 22px rgba(39,102,123,.25);}
.dash-btn-secondary{background:#F4F6F8;color:#31404E;border:1px solid #E0E5E9;}
.dash-btn-secondary:hover{background:#EEF1F4;}

.dash-hero-status{position:relative;z-index:1;align-self:stretch;background:linear-gradient(145deg,#27323E,#171D23);border:1px solid #303D49;border-radius:16px;padding:20px;color:#fff;box-shadow:0 16px 30px rgba(29,38,47,.15);display:flex;flex-direction:column;justify-content:center;}
.hero-status-top{display:flex;align-items:center;gap:7px;font-size:9px;font-weight:800;letter-spacing:.13em;color:#BFC9D1;margin-bottom:9px;}
.live-dot{width:7px;height:7px;border-radius:50%;background:#34C979;box-shadow:0 0 0 4px rgba(52,201,121,.12);}
.dash-hero-status>strong{font-family:'Sora',sans-serif;font-size:20px;line-height:1.2;}
.dash-hero-status>small{font-size:11px;color:#9FAAB3;margin-top:4px;}
.hero-coverage{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:17px;padding-top:15px;border-top:1px solid rgba(255,255,255,.11);}
.hero-coverage div{display:flex;flex-direction:column;gap:2px;}
.hero-coverage b{font-family:'Sora',sans-serif;font-size:16px;}
.hero-coverage span{font-size:9px;color:#9FAAB3;text-transform:uppercase;letter-spacing:.07em;}

.dash-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:16px;}
.metric-card{position:relative;overflow:hidden;min-height:126px;background:#fff;border:1px solid #E5E8EA;border-radius:16px;padding:18px;display:flex;align-items:flex-start;gap:13px;box-shadow:0 5px 20px rgba(32,48,62,.035);}
.metric-card::before{content:"";position:absolute;left:0;top:0;right:0;height:3px;opacity:.9;}
.metric-red::before{background:#27667B}.metric-blue::before{background:#2B67C9}.metric-green::before{background:#27945A}.metric-amber::before{background:#D99817}
.metric-icon{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.metric-icon svg{width:21px;height:21px;}
.metric-red .metric-icon{background:#FDECEF;color:#D90816}.metric-blue .metric-icon{background:#EAF1FD;color:#2963C0}.metric-green .metric-icon{background:#E9F6EF;color:#218750}.metric-amber .metric-icon{background:#FFF3DF;color:#B8790C}
.metric-copy{position:relative;z-index:2;min-width:0;display:flex;flex-direction:column;}
.metric-copy>span{font-size:10.5px;color:#7A858F;font-weight:700;margin-bottom:3px;}
.metric-copy>strong{font-family:'Sora',sans-serif;font-size:24px;line-height:1.05;color:#26323D;letter-spacing:-.03em;}
.metric-copy>strong em{font-style:normal;font-size:13px;color:#8A949D;margin-left:2px;}
.metric-copy>small{font-size:10px;color:#98A1A9;margin-top:6px;white-space:nowrap;}
.metric-decoration{position:absolute;right:14px;bottom:14px;height:34px;width:66px;display:flex;align-items:flex-end;gap:4px;opacity:.55;}
.metric-decoration i{flex:1;border-radius:3px 3px 1px 1px;background:currentColor;}.metric-decoration i:nth-child(1){height:35%}.metric-decoration i:nth-child(2){height:62%}.metric-decoration i:nth-child(3){height:48%}.metric-decoration i:nth-child(4){height:92%}
.metric-red .metric-decoration{color:#27667B}.metric-blue .metric-decoration{color:#2B67C9}
.metric-ring{--ring:0%;position:absolute;right:16px;bottom:13px;width:49px;height:49px;border-radius:50%;background:conic-gradient(#27945A var(--ring),#E8EDE9 0);display:grid;place-items:center;}
.metric-ring::after{content:"";width:35px;height:35px;border-radius:50%;background:#fff;position:absolute;}
.metric-ring span{position:relative;z-index:1;font-family:'Sora',sans-serif;font-size:8px;font-weight:800;color:#27945A;}
.coverage-bars{position:absolute;right:15px;bottom:14px;width:72px;height:35px;display:flex;align-items:flex-end;gap:4px;}
.coverage-bars i{width:10px;background:#F1D59D;border-radius:3px 3px 0 0;}.coverage-bars i:nth-child(1){height:35%}.coverage-bars i:nth-child(2){height:50%}.coverage-bars i:nth-child(3){height:67%}.coverage-bars i:nth-child(4){height:82%}.coverage-bars i:nth-child(5){height:100%;background:#D99817}

.dash-grid-main{display:grid;grid-template-columns:minmax(0,1.52fr) minmax(340px,.78fr);gap:16px;margin-top:16px;}
.dash-grid-secondary{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.65fr);gap:16px;margin-top:16px;}
.dash-panel{background:#fff;border:1px solid #E4E7EA;border-radius:17px;padding:20px;box-shadow:0 5px 22px rgba(31,47,61,.035);min-width:0;}
.dash-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px;}
.dash-panel-head h3,.section-title-row h3,.insight-panel h3{font-family:'Sora',sans-serif;font-size:16px;letter-spacing:-.02em;color:#26333F;}
.dash-panel-head p,.section-title-row p{font-size:10.5px;color:#89939C;margin-top:4px;}
.period-chip{font-size:10px;font-weight:700;color:#53606B;background:#F4F6F7;border:1px solid #E3E7EA;border-radius:8px;padding:7px 9px;white-space:nowrap;}
.panel-link{font-size:10.5px;color:#27667B;text-decoration:none;font-weight:700;white-space:nowrap;}.panel-link span{font-size:14px;margin-left:3px;}

.kpi-performance-list{display:flex;flex-direction:column;gap:13px;}
.kpi-performance-row{display:grid;grid-template-columns:126px minmax(0,1fr) 80px;gap:12px;align-items:center;}
.kpi-perf-label{display:flex;flex-direction:column;min-width:0;}.kpi-perf-label strong{font-size:10.5px;color:#34434F;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.kpi-perf-label span{font-size:8.5px;color:#A0A8AF;margin-top:2px;}
.kpi-perf-bar-wrap{min-width:0;}.kpi-perf-bar{height:8px;background:#EEF1F3;border-radius:99px;position:relative;overflow:visible;}.bar-fill{display:block;height:100%;border-radius:99px;}.bar-fill.good{background:linear-gradient(90deg,#37A869,#278C56)}.bar-fill.near{background:linear-gradient(90deg,#E8B03E,#D39316)}.bar-fill.bad{background:linear-gradient(90deg,#F1636B,#D92B35)}.bar-fill.missing{background:#BEC6CC}
.target-marker{position:absolute;top:-4px;width:2px;height:16px;background:#303B45;border-radius:2px;box-shadow:0 0 0 2px #fff;transform:translateX(-1px);}
.kpi-perf-scale{display:flex;justify-content:space-between;font-size:7.3px;color:#ADB4BA;margin-top:5px;}.kpi-perf-scale span:nth-child(2){color:#7A848C;font-weight:600;}
.kpi-perf-value{text-align:right;display:flex;flex-direction:column;align-items:flex-end;}.kpi-perf-value strong{font-family:'Sora',sans-serif;font-size:13px;}.kpi-perf-value span{font-family:'JetBrains Mono',monospace;font-size:8px;margin-top:2px;}.kpi-perf-value.good strong,.kpi-perf-value.good span{color:#25864F}.kpi-perf-value.near strong,.kpi-perf-value.near span{color:#B67A0D}.kpi-perf-value.bad strong,.kpi-perf-value.bad span{color:#C92832}

.trend-panel{display:flex;flex-direction:column;}.trend-head{margin-bottom:8px}.trend-legend{display:flex;gap:16px;align-items:center;font-size:9px;color:#697580;margin-bottom:3px;}.trend-legend span{display:flex;align-items:center;gap:6px;}.legend-line{width:16px;height:3px;border-radius:4px;}.legend-line.red{background:#D92B35}.legend-line.blue{background:#2B67C9}
.native-chart{height:242px;width:100%;min-width:0;}.native-chart svg{width:100%;height:100%;overflow:visible;}.chart-grid{stroke:#E8ECEF;stroke-width:1;stroke-dasharray:3 4}.chart-y-label,.chart-x-label{fill:#929BA3;font:8.5px 'Inter',sans-serif}.chart-target{stroke-width:1.2;stroke-dasharray:5 5;opacity:.45}.target-red{stroke:#D92B35}.target-blue{stroke:#2B67C9}.chart-series{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.chart-series-red{stroke:#D92B35}.chart-series-blue{stroke:#2B67C9}.chart-point{stroke:#fff;stroke-width:2;cursor:pointer}.point-red{fill:#D92B35}.point-blue{fill:#2B67C9}.trend-target-note{display:flex;justify-content:space-between;gap:8px;margin-top:2px;padding-top:9px;border-top:1px solid #EEF0F2;font-size:8.5px;color:#929BA3;}

.area-performance-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;}.area-performance-card{border:1px solid #E6E9EB;background:linear-gradient(180deg,#fff,#FAFBFB);border-radius:12px;padding:13px;}.area-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:10px;border-bottom:1px solid #ECEFF1;}.area-card-top strong{font-family:'Sora',sans-serif;font-size:11px;color:#32404D}.area-card-top span{font-size:7.5px;color:#9CA4AB;white-space:nowrap}.area-kpi-line{margin-top:10px}.area-kpi-meta{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:5px}.area-kpi-meta span{font-size:8.5px;color:#737F89}.area-kpi-meta b{font-family:'Sora',sans-serif;font-size:9px}.area-kpi-meta b.good{color:#25864F}.area-kpi-meta b.near{color:#AF790F}.area-kpi-meta b.bad{color:#C92C35}.area-mini-bar{height:4px;border-radius:99px;background:#EDF0F2;overflow:hidden}.area-mini-bar i{display:block;height:100%;border-radius:99px}.area-mini-bar i.good{background:#2D9559}.area-mini-bar i.near{background:#DCA123}.area-mini-bar i.bad{background:#D8323B}

.insight-panel{position:relative;overflow:hidden;background:linear-gradient(145deg,#EDF5FB,#F8FBFD 78%);border-color:#C7DCEB;display:flex;flex-direction:column;justify-content:center;min-height:190px;padding:22px 24px 22px 74px;}.insight-panel::after{content:"";position:absolute;right:-45px;bottom:-65px;width:155px;height:155px;border-radius:50%;border:24px solid rgba(31,103,162,.045);}.insight-icon{position:absolute;left:22px;top:24px;width:38px;height:38px;border-radius:11px;background:#DCECF7;color:#17669E;display:flex;align-items:center;justify-content:center}.insight-icon svg{width:20px;height:20px}.insight-panel .panel-kicker{color:#31719F}.insight-panel h3{font-size:17px;color:#204B69}.insight-panel p{font-size:11px;line-height:1.6;color:#46677D;margin-top:7px;position:relative;z-index:1}.insight-action{font-size:10px;color:#17669E;text-decoration:none;font-weight:750;margin-top:12px;position:relative;z-index:1}.insight-action span{margin-left:4px;font-size:13px}

.tools-section{margin-top:24px;padding-top:2px;}.section-title-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:12px}.tool-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tool-card{position:relative;min-height:145px;text-decoration:none;color:inherit;background:#fff;border:1px solid #E5E8EA;border-radius:15px;padding:17px;display:flex;align-items:flex-start;gap:13px;overflow:hidden;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.tool-card::after{content:"";position:absolute;right:-30px;bottom:-45px;width:100px;height:100px;border-radius:50%;background:#F5F7F8;transition:transform .2s ease}.tool-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(35,49,61,.08);border-color:#D4D9DD}.tool-card:hover::after{transform:scale(1.2)}.tool-featured{border-color:#F0C8CC;background:linear-gradient(145deg,#fff,#FFF9FA)}.tool-icon{width:45px;height:45px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)}.tool-icon svg{width:21px;height:21px}.icon-red{background:linear-gradient(145deg,#FDE7EA,#F9D7DB);color:#27667B}.icon-green{background:linear-gradient(145deg,#E9F6EF,#DDF1E6);color:#22854E}.icon-blue{background:linear-gradient(145deg,#EAF2FD,#DCE9FC);color:#2A64BE}.icon-amber{background:linear-gradient(145deg,#FFF4E1,#F9E8C6);color:#B6780B}.icon-purple{background:linear-gradient(145deg,#F1EBFA,#E8DCF7);color:#7454A1}.icon-slate{background:linear-gradient(145deg,#EDF1F3,#E3E8EB);color:#52626E}.tool-copy{min-width:0;position:relative;z-index:1}.tool-type{font-size:7.5px;letter-spacing:.12em;color:#A0A8AF;font-weight:800}.tool-copy h4{font-family:'Sora',sans-serif;font-size:13px;margin:5px 0 5px;color:#2E3B47}.tool-copy p{font-size:9.5px;line-height:1.55;color:#7B8790;max-width:300px}.tool-arrow{position:absolute;right:14px;top:13px;font-size:15px;color:#A8AFB5;z-index:2}.tool-card:hover .tool-arrow{color:#27667B}

.dash-empty{margin-top:16px;padding:54px 30px;background:#fff;border:1px dashed #CFD5DA;border-radius:18px;text-align:center}.dash-empty-visual{width:110px;height:62px;margin:0 auto 16px;display:flex;gap:7px;align-items:flex-end;justify-content:center}.dash-empty-visual i{width:20px;border-radius:5px 5px 2px 2px;background:#E5E9EC}.dash-empty-visual i:nth-child(1){height:35%}.dash-empty-visual i:nth-child(2){height:65%;background:#F4C5C9}.dash-empty-visual i:nth-child(3){height:95%;background:#27667B}.dash-empty h3{font-family:'Sora',sans-serif;font-size:17px}.dash-empty p{font-size:11px;line-height:1.6;color:#7F8992;max-width:650px;margin:7px auto 16px}

@media(max-width:1350px){
  .dash-metrics{grid-template-columns:repeat(2,1fr)}
  .dash-grid-main,.dash-grid-secondary{grid-template-columns:1fr}
  .area-performance-grid{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:1060px){
  .dash-hero{grid-template-columns:1fr}.dash-hero-status{min-height:150px}
  .tool-card-grid{grid-template-columns:repeat(2,1fr)}
  .area-performance-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .content{padding:20px 18px 32px}.dash-hero{padding:24px 22px}.dash-hero-copy h2{font-size:24px}
  .dash-metrics{grid-template-columns:1fr}.tool-card-grid{grid-template-columns:1fr}.area-performance-grid{grid-template-columns:1fr}
  .kpi-performance-row{grid-template-columns:105px minmax(0,1fr) 68px;gap:8px}.kpi-perf-scale span:nth-child(2){display:none}
  .insight-panel{padding-left:68px}.metric-card{min-height:112px}
}

.maintenance-snapshot{margin-top:16px;background:#fff;border:1px solid #E4E7EA;border-radius:17px;padding:20px;box-shadow:0 5px 22px rgba(31,47,61,.035)}
.maintenance-snapshot-grid{display:grid;grid-template-columns:minmax(250px,.7fr) minmax(180px,.45fr) minmax(360px,1.1fr);gap:16px;align-items:stretch}.maintenance-score{display:flex;align-items:center;gap:18px;padding:14px;border-radius:13px;background:#FAFBFB;border:1px solid #E8EBED}.maintenance-donut{--m-ring:0%;width:84px;height:84px;border-radius:50%;background:conic-gradient(#27945A var(--m-ring),#E8ECE9 0);display:grid;place-items:center;flex:0 0 auto}.maintenance-donut::before{content:"";position:absolute;width:64px;height:64px;border-radius:50%;background:#fff}.maintenance-donut>div{position:relative;z-index:1;text-align:center;display:flex;flex-direction:column}.maintenance-donut strong{font-family:'Sora',sans-serif;font-size:21px;line-height:1;color:#27874F}.maintenance-donut span{font-size:7.5px;color:#89939B;margin-top:3px}.maintenance-label{font-size:8px;font-weight:800;letter-spacing:.12em;color:#89939B}.maintenance-score h4{font-family:'Sora',sans-serif;font-size:21px;margin-top:4px;color:#2B3945}.maintenance-score p{font-size:9px;color:#949DA5;margin-top:3px}.maintenance-status-stack{display:grid;grid-template-columns:1fr;gap:7px}.maintenance-status-stack>div{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid #E8EBED;border-radius:10px;background:#FCFCFC}.maintenance-status-stack span{font-size:9px;color:#737E87}.maintenance-status-stack b{font-family:'Sora',sans-serif;font-size:14px}.m-good{color:#27894F}.m-near{color:#B67C0E}.m-bad{color:#C92B35}.maintenance-area-list{display:flex;flex-direction:column;justify-content:center;gap:9px;padding:8px 4px}.maintenance-area-row{display:grid;grid-template-columns:54px minmax(0,1fr) 52px;gap:9px;align-items:center}.maintenance-area-row>span{font-size:8.5px;color:#66737E;font-weight:700}.maintenance-area-row>b{text-align:right;font-family:'Sora',sans-serif;font-size:9px;color:#3D4A55}.maintenance-area-bar{height:6px;border-radius:99px;background:#EDF0F2;overflow:hidden}.maintenance-area-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#3A76C5,#2D925D)}
@media(max-width:1060px){.maintenance-snapshot-grid{grid-template-columns:1fr 1fr}.maintenance-area-list{grid-column:1/-1}}@media(max-width:760px){.maintenance-snapshot-grid{grid-template-columns:1fr}.maintenance-area-list{grid-column:auto}}
.maintenance-donut{position:relative;}


/* ========================================================================
   DASHBOARD V3 — FIXED SIDEBAR + OPERATION GREEN/BLUE PALETTE
   Palette: #143D60 · #27667B · #A0C878 · #DDEB9D
   ======================================================================== */
:root{
  --brand-navy:#143D60;
  --brand-teal:#27667B;
  --brand-green:#A0C878;
  --brand-lime:#DDEB9D;

  /* legacy theme aliases — keeps every module consistent */
  --red:#27667B;
  --red-dark:#143D60;
  --red-tint:#EEF5DF;
  --charcoal:#143D60;
  --blue:#27667B;
  --blue-tint:#EDF4F5;
}

/* App shell: only the content pane scrolls; sidebar account always stays visible */
html,body{height:100%;}
body{height:100vh;min-height:0;overflow:hidden;background:#F5F7F3;}
.sidebar{
  height:100vh;
  min-height:0;
  position:sticky;
  top:0;
  overflow:hidden;
  background:linear-gradient(180deg,#143D60 0%,#143D60 52%,#27667B 145%);
  box-shadow:8px 0 30px rgba(20,61,96,.10);
}
.sidebar::after{
  right:-74px;
  bottom:-78px;
  width:245px;
  height:245px;
  background:radial-gradient(circle,rgba(160,200,120,.18) 0%,rgba(160,200,120,0) 70%);
}
.brand{flex:0 0 auto;border-bottom-color:rgba(221,235,157,.14);}
.brand-word span{color:#A0C878;}
.brand-sub{color:rgba(255,255,255,.58);}
.brand-sub b{color:#DDEB9D;}

.nav{
  flex:1 1 auto;
  min-height:0;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(221,235,157,.42) transparent;
  padding:20px 14px 18px;
}
.nav::-webkit-scrollbar{width:6px;}
.nav::-webkit-scrollbar-track{background:transparent;}
.nav::-webkit-scrollbar-thumb{background:rgba(221,235,157,.35);border-radius:99px;}
.nav::-webkit-scrollbar-thumb:hover{background:rgba(221,235,157,.58);}
.nav-label{color:rgba(221,235,157,.70);}
.nav-item{color:rgba(255,255,255,.80);}
.nav-item:hover{background:rgba(221,235,157,.08);border-color:rgba(221,235,157,.10);}
.nav-item.active{
  color:#fff;
  background:linear-gradient(135deg,rgba(160,200,120,.18),rgba(39,102,123,.30));
  border-color:rgba(221,235,157,.26);
  box-shadow:inset 3px 0 0 #A0C878;
}
.nav-desc{color:rgba(255,255,255,.48);}
.nav-item.active .nav-desc{color:#DDEB9D;}
.nav-icon{
  background:linear-gradient(145deg,rgba(221,235,157,.12),rgba(255,255,255,.035));
  border-color:rgba(221,235,157,.12);
}
.nav-item:hover .nav-icon{background:linear-gradient(145deg,rgba(221,235,157,.19),rgba(255,255,255,.055));}
.nav-item.active .nav-icon{
  background:linear-gradient(145deg,#A0C878,#DDEB9D);
  border-color:rgba(221,235,157,.78);
  box-shadow:0 7px 18px rgba(160,200,120,.18),inset 0 1px 0 rgba(255,255,255,.35);
}
.nav-item.active .nav-icon svg{stroke:#143D60 !important;}
.nav-count{background:rgba(221,235,157,.11);color:#DDEB9D;}
.nav-item.active .nav-count{background:#DDEB9D;color:#143D60;}

.sidebar-foot{
  flex:0 0 auto;
  min-height:72px;
  margin-top:0;
  padding:14px 20px 16px;
  border-top:1px solid rgba(221,235,157,.18);
  background:rgba(20,61,96,.97);
  box-shadow:0 -12px 24px rgba(20,61,96,.16);
}
.avatar{
  width:36px;height:36px;
  background:linear-gradient(135deg,#A0C878,#DDEB9D);
  color:#143D60;
  box-shadow:0 5px 16px rgba(0,0,0,.12);
}
.user-name{color:#fff;}
.user-role{color:#DDEB9D;}
.user-meta{min-width:0;}

.main{height:100vh;min-height:0;overflow:hidden;}
.topbar{flex:0 0 72px;}
.content{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;}

/* Main theme accents */
.eyebrow{color:#27667B;}
.eyebrow::before{background:#A0C878;}
.dcard:hover{border-color:#A0C878;box-shadow:0 12px 28px rgba(20,61,96,.08);}
.card-meta{color:#143D60;background:#DDEB9D;}
.dropzone.drag{border-color:#A0C878;background:#F7FAEF;}
.dz-btn{background:#143D60;}
.btn-primary{background:#27667B;}
.btn-primary:hover{background:#143D60;}
.rules-list li .num{background:#DDEB9D;color:#143D60;}
.field-input:focus{border-color:#A0C878;box-shadow:0 0 0 3px rgba(160,200,120,.16);}
.compare-file-badge{background:#143D60;}
.compare-file-badge-new{background:#27667B;}
.compare-arrow{background:#DDEB9D;color:#143D60;}
.compare-result-head h2 span{color:#27667B;}
.btn-download-compare{background:#143D60;}

/* Preserve semantic KPI meaning where red/green is intentionally a status */
.trend-up{color:#27894F;}
.trend-down{color:#B42318;}
.status-err{background:#FCEAEA;color:#B42318;}
.status-ok{background:#E9F6EF;color:#157347;}

/* Dashboard executive theme */
.dashboard-v2 .panel-kicker{color:#647985;}
.dash-hero{background:linear-gradient(118deg,#fff 0%,#fff 58%,#F4F8EE 100%);border-color:#E2EADB;box-shadow:0 12px 34px rgba(20,61,96,.06);}
.dash-hero::before{background:radial-gradient(circle,rgba(160,200,120,.18),rgba(160,200,120,0) 70%);}
.dash-hero::after{background:linear-gradient(180deg,#27667B,#A0C878);}
.dash-btn-primary{background:linear-gradient(135deg,#27667B,#143D60);box-shadow:0 8px 17px rgba(20,61,96,.18);}
.dash-btn-primary:hover{box-shadow:0 10px 22px rgba(20,61,96,.25);}
.dash-btn-secondary{background:#F3F7EE;color:#143D60;border-color:#DDEB9D;}
.dash-btn-secondary:hover{background:#EDF4DF;}
.dash-hero-status{background:linear-gradient(145deg,#143D60,#27667B);border-color:rgba(221,235,157,.20);box-shadow:0 16px 30px rgba(20,61,96,.20);}
.hero-status-top,.dash-hero-status>small,.hero-coverage span{color:#DDEB9D;}
.live-dot{background:#A0C878;box-shadow:0 0 0 4px rgba(160,200,120,.16);}
.hero-coverage{border-top-color:rgba(221,235,157,.18);}

/* Four dashboard metrics use the requested palette as a single visual system */
.metric-red::before{background:#143D60;}
.metric-blue::before{background:#27667B;}
.metric-green::before{background:#A0C878;}
.metric-amber::before{background:#DDEB9D;}
.metric-red .metric-icon{background:#E8EFF3;color:#143D60;}
.metric-blue .metric-icon{background:#E7F0F2;color:#27667B;}
.metric-green .metric-icon{background:#F0F6E8;color:#6E914B;}
.metric-amber .metric-icon{background:#F6F9E9;color:#6D843A;}
.metric-red .metric-decoration{color:#143D60;}
.metric-blue .metric-decoration{color:#27667B;}
.metric-ring{background:conic-gradient(#A0C878 var(--ring),#EEF2E9 0);}
.metric-ring span{color:#143D60;}
.coverage-bars i{background:#DDEB9D;}
.coverage-bars i:nth-child(5){background:#A0C878;}
.dash-panel,.maintenance-snapshot{border-color:#E1E8DE;box-shadow:0 6px 22px rgba(20,61,96,.035);}
.period-chip{color:#27667B;background:#F3F7EE;border-color:#DDEB9D;}
.panel-link{color:#27667B;}

/* KPI status bars stay semantic, while chart series follow the new brand palette */
.trend-legend .legend-line.red{background:#27667B;}
.trend-legend .legend-line.blue{background:#A0C878;}
.target-red{stroke:#27667B;}.target-blue{stroke:#A0C878;}
.chart-series-red{stroke:#27667B;}.chart-series-blue{stroke:#A0C878;}
.point-red{fill:#27667B;}.point-blue{fill:#A0C878;}
.chart-grid{stroke:#E6ECE5;}

.insight-panel{background:linear-gradient(145deg,#F2F7E8,#FBFCF7 78%);border-color:#DDEB9D;}
.insight-panel::after{border-color:rgba(160,200,120,.12);}
.insight-icon{background:#DDEB9D;color:#143D60;}
.insight-panel .panel-kicker,.insight-action{color:#27667B;}
.insight-panel h3{color:#143D60;}
.insight-panel p{color:#426071;}

.tool-card{border-color:#E3E9DF;}
.tool-card:hover{border-color:#A0C878;box-shadow:0 12px 28px rgba(20,61,96,.08);}
.tool-card::after{background:#F4F7EF;}
.tool-featured{border-color:#A0C878;background:linear-gradient(145deg,#fff,#F8FBEF);}
.icon-red,.icon-green,.icon-blue,.icon-amber,.icon-purple,.icon-slate{background:linear-gradient(145deg,#DDEB9D,#EEF5D2);color:#143D60;}
.tool-card:hover .tool-arrow{color:#27667B;}
.dash-empty-visual i:nth-child(2){background:#DDEB9D;}
.dash-empty-visual i:nth-child(3){background:#A0C878;}

.maintenance-donut{background:conic-gradient(#A0C878 var(--m-ring),#EAF0E4 0);}
.maintenance-donut strong{color:#143D60;}
.maintenance-area-bar i{background:linear-gradient(90deg,#27667B,#A0C878);}

/* Compact sidebar on short laptop screens without shrinking the fixed account footer */
@media (max-height:820px){
  .brand{padding:20px 20px 16px;}
  .brand-word{font-size:18px;}
  .nav{padding-top:14px;padding-bottom:14px;}
  .nav-item{padding:10px 11px;margin-bottom:5px;}
  .nav-icon{width:31px;height:31px;}
  .nav-title{font-size:12.5px;}
  .nav-desc{font-size:10px;}
  .sidebar-foot{min-height:66px;padding:11px 18px 13px;}
}

/* ============================================================
   AUTHENTICATION V4
   ============================================================ */
.user-actions{margin-left:auto;display:flex;gap:6px;flex:0 0 auto;}
.user-action{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:#DDEB9D;background:rgba(221,235,157,.08);border:1px solid rgba(221,235,157,.12);transition:.18s ease;}
.user-action svg{width:15px;height:15px;}
.user-action:hover{background:#DDEB9D;color:#143D60;border-color:#DDEB9D;transform:translateY(-1px);}
.user-action-logout:hover{background:#FCEAEA;color:#B42318;border-color:#F2C9C5;}
.default-password-chip{margin-left:auto;display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border-radius:999px;background:#F6F9E9;border:1px solid #DDEB9D;color:#526B34;font:600 11px/1 Inter,sans-serif;text-decoration:none;white-space:nowrap;}
.default-password-chip span{width:7px;height:7px;border-radius:50%;background:#A0C878;box-shadow:0 0 0 4px rgba(160,200,120,.14);}
.default-password-chip:hover{background:#EEF5DF;color:#143D60;}

.auth-body{margin:0;min-height:100vh;overflow:auto;background:#F4F7F3;color:#1F2933;font-family:Inter,sans-serif;}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(420px,1.05fr) minmax(440px,.95fr);}
.auth-visual{position:relative;overflow:hidden;padding:42px 54px 48px;background:linear-gradient(145deg,#143D60 0%,#143D60 58%,#27667B 118%);color:#fff;display:flex;flex-direction:column;}
.auth-visual::before{content:"";position:absolute;width:520px;height:520px;border-radius:50%;right:-230px;top:-190px;background:radial-gradient(circle,rgba(160,200,120,.22),rgba(160,200,120,0) 68%);}
.auth-visual::after{content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(221,235,157,.12);border-radius:50%;left:-210px;bottom:-170px;box-shadow:0 0 0 55px rgba(221,235,157,.03),0 0 0 110px rgba(221,235,157,.02);}
.auth-brand{position:relative;z-index:2;display:flex;align-items:center;gap:9px;}
.auth-brand-word{font:800 22px/1 Sora,sans-serif;letter-spacing:-.6px;}
.auth-brand-word span{color:#A0C878;}.auth-brand-sub{margin-top:4px;color:rgba(255,255,255,.56);font:600 10px/1.2 Inter,sans-serif;text-transform:uppercase;letter-spacing:1.6px;}
.auth-copy{position:relative;z-index:2;margin:auto 0;max-width:620px;padding:60px 0 48px;}
.auth-kicker{display:flex;align-items:center;gap:9px;color:#DDEB9D;font:700 11px/1 Inter,sans-serif;letter-spacing:1.25px;}
.auth-kicker span{width:24px;height:2px;border-radius:99px;background:#A0C878;}
.auth-copy h1{margin:18px 0 18px;font:800 clamp(42px,4.3vw,68px)/1.04 Sora,sans-serif;letter-spacing:-2.4px;max-width:680px;}
.auth-copy p{margin:0;max-width:560px;color:rgba(255,255,255,.66);font:400 15px/1.8 Inter,sans-serif;}
.auth-visual-card{position:relative;z-index:2;display:flex;align-items:center;gap:13px;padding:15px 16px;width:min(390px,100%);border-radius:16px;background:rgba(255,255,255,.07);border:1px solid rgba(221,235,157,.14);backdrop-filter:blur(8px);}
.auth-mini-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(145deg,#A0C878,#DDEB9D);color:#143D60;}.auth-mini-icon svg{width:20px;height:20px;}
.auth-visual-card strong{display:block;font:700 12px/1.2 Sora,sans-serif;}.auth-visual-card span{display:block;margin-top:4px;color:rgba(255,255,255,.56);font-size:11px;}
.auth-panel{display:grid;place-items:center;padding:44px;background:linear-gradient(180deg,#FBFCFA,#F3F6F1);}
.auth-card{width:min(440px,100%);padding:34px 34px 30px;border-radius:24px;background:#fff;border:1px solid #E0E7DE;box-shadow:0 24px 70px rgba(20,61,96,.10);}
.auth-card-head{text-align:center;margin-bottom:25px;}.auth-lock{width:48px;height:48px;margin:0 auto 15px;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#DDEB9D,#EFF5D8);color:#143D60;box-shadow:0 8px 22px rgba(160,200,120,.22);}.auth-lock svg{width:22px;height:22px;}
.auth-card-head h2{margin:0;color:#1E2C38;font:800 23px/1.2 Sora,sans-serif;letter-spacing:-.6px;}.auth-card-head p{margin:8px 0 0;color:#77838D;font-size:12px;}
.auth-alert{margin:0 0 17px;padding:11px 13px;border-radius:11px;background:#FCEAEA;border:1px solid #F4D0CD;color:#B42318;font-size:11.5px;font-weight:600;}
.auth-form{display:flex;flex-direction:column;gap:16px;}.auth-form label>span,.password-form label>span{display:block;margin:0 0 7px;color:#445462;font:700 11px/1 Inter,sans-serif;}
.auth-input-wrap{height:48px;display:flex;align-items:center;gap:10px;padding:0 13px;border-radius:12px;background:#F8FAF7;border:1px solid #DCE4DA;transition:.16s ease;}.auth-input-wrap:focus-within{border-color:#A0C878;box-shadow:0 0 0 3px rgba(160,200,120,.15);background:#fff;}.auth-input-wrap>svg{width:17px;height:17px;color:#7A8A95;flex:0 0 auto;}.auth-input-wrap input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#1F2933;font:600 13px/1 Inter,sans-serif;}.auth-input-wrap input::placeholder{color:#A5AFB6;font-weight:500;}
.password-toggle{border:0;background:transparent;color:#7B8A93;cursor:pointer;padding:4px;display:grid;place-items:center;font-size:12px;}.password-toggle svg{width:17px;height:17px;}
.auth-submit{height:49px;margin-top:3px;border:0;border-radius:12px;background:linear-gradient(135deg,#27667B,#143D60);color:#fff;font:700 12px/1 Sora,sans-serif;cursor:pointer;box-shadow:0 10px 22px rgba(20,61,96,.18);transition:.18s ease;}.auth-submit:hover{transform:translateY(-1px);box-shadow:0 13px 26px rgba(20,61,96,.24);}.auth-submit span{margin-left:8px;color:#DDEB9D;font-size:16px;}
.auth-note{margin-top:20px;padding-top:18px;border-top:1px solid #E8EDE6;color:#7A8790;font-size:10.5px;line-height:1.6;text-align:center;}.auth-note strong{color:#526B34;}

.password-page{max-width:760px;margin:8px auto 40px;}.password-card{padding:30px;border-radius:20px;background:#fff;border:1px solid #E0E7DE;box-shadow:0 10px 32px rgba(20,61,96,.05);}.password-card-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#EEF5DF;color:#143D60;margin-bottom:18px;}.password-card-icon svg{width:22px;height:22px;}.password-card-head h2{margin:5px 0 7px;font:800 24px/1.2 Sora,sans-serif;color:#1E2C38;}.password-card-head p{margin:0;color:#71808A;font-size:12px;line-height:1.65;}.password-form{margin-top:25px;display:grid;gap:17px;}.auth-input-wrap.light{background:#FAFBF9;}.password-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:6px;}.btn-account-secondary,.btn-account-primary{height:42px;padding:0 17px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;font:700 11px/1 Sora,sans-serif;text-decoration:none;cursor:pointer;}.btn-account-secondary{background:#F5F7F3;border:1px solid #DDE5DA;color:#52616C;}.btn-account-primary{border:0;background:#143D60;color:#fff;}

@media (max-width:900px){.auth-shell{grid-template-columns:1fr;}.auth-visual{min-height:330px;padding:30px;}.auth-copy{padding:45px 0 28px;}.auth-copy h1{font-size:42px;}.auth-panel{padding:28px 18px 40px;}.auth-card{margin-top:-28px;position:relative;z-index:4;}.default-password-chip{display:none;}}

/* ============================================================
   MOBILE RESPONSIVE V5
   Real mobile shell: off-canvas navigation + fluid dashboard.
   ============================================================ */
.mobile-menu-btn,
.mobile-sidebar-close,
.sidebar-backdrop{display:none;}

@media (max-width:900px){
  html,body{width:100%;max-width:100%;height:100%;overflow:hidden;}
  body{display:block;min-width:0;background:#F5F7F3;}

  /* Off-canvas sidebar. Account footer stays pinned inside drawer. */
  .sidebar{
    position:fixed;
    z-index:1100;
    inset:0 auto 0 0;
    width:min(86vw,330px);
    height:100dvh;
    max-width:330px;
    transform:translate3d(-102%,0,0);
    transition:transform .24s cubic-bezier(.2,.8,.2,1);
    box-shadow:18px 0 45px rgba(20,61,96,.24);
    will-change:transform;
  }
  body.mobile-nav-open .sidebar{transform:translate3d(0,0,0);}
  .sidebar-backdrop{
    display:block;
    position:fixed;
    z-index:1090;
    inset:0;
    border:0;
    padding:0;
    background:rgba(14,31,45,.44);
    backdrop-filter:blur(2px);
    -webkit-backdrop-filter:blur(2px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .2s ease,visibility .2s ease;
  }
  body.mobile-nav-open .sidebar-backdrop{opacity:1;visibility:visible;pointer-events:auto;}

  .brand{padding:22px 54px 17px 20px;position:relative;}
  .brand-word{font-size:19px;}
  .brand-sub{margin-top:7px;}
  .mobile-sidebar-close{
    display:grid;
    place-items:center;
    position:absolute;
    right:14px;
    top:17px;
    width:34px;
    height:34px;
    border-radius:10px;
    border:1px solid rgba(221,235,157,.18);
    background:rgba(221,235,157,.08);
    color:#DDEB9D;
    cursor:pointer;
  }
  .mobile-sidebar-close svg{width:17px;height:17px;}
  .nav{padding:15px 12px 14px;}
  .nav-label{padding-left:9px;padding-bottom:8px;}
  .nav-label-group{margin-top:13px;}
  .nav-item{padding:11px 11px;margin-bottom:6px;border-radius:11px;gap:10px;}
  .nav-icon{width:34px;height:34px;}
  .nav-title{font-size:13px;}
  .nav-desc{font-size:10.5px;}
  .sidebar-foot{padding-bottom:max(14px,env(safe-area-inset-bottom));min-height:70px;}

  /* Main app fills the phone screen; never lives beside the sidebar. */
  .main{width:100%;max-width:100vw;height:100dvh;min-height:0;overflow:hidden;}
  .topbar{
    height:64px;
    min-height:64px;
    flex:0 0 64px;
    padding:0 14px;
    gap:11px;
    position:relative;
    z-index:50;
    box-shadow:0 2px 12px rgba(20,61,96,.035);
  }
  .mobile-menu-btn{
    display:grid;
    place-items:center;
    flex:0 0 auto;
    width:39px;
    height:39px;
    border-radius:11px;
    border:1px solid #DDE5DA;
    background:#F6F9F1;
    color:#143D60;
    cursor:pointer;
  }
  .mobile-menu-btn svg{width:19px;height:19px;}
  .topbar-title{min-width:0;overflow:hidden;}
  .topbar-title h1{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .topbar-title p{font-size:10.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100vw - 82px);}
  .default-password-chip{display:none;}

  .content{
    width:100%;
    max-width:100%;
    padding:15px 14px calc(28px + env(safe-area-inset-bottom));
    overflow-x:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
  }
  .page-head h2{font-size:20px;line-height:1.18;}
  .page-head p{font-size:12px;line-height:1.55;max-width:100%;}

  /* Generic page modules */
  .stats{grid-template-columns:1fr 1fr;gap:10px;margin:16px 0;}
  .stat-card{padding:15px;}
  .stat-value{font-size:21px;}
  .cards{grid-template-columns:1fr;gap:11px;margin-top:16px;}
  .dcard{padding:16px;gap:12px;}
  .converter-panel,.compare-upload-panel,.kpi24-area-panel,.maintenance-snapshot{padding:15px;border-radius:14px;}
  .converter-grid{grid-template-columns:1fr;gap:18px;}
  .dropzone{padding:28px 16px;}
  .compare-table-wrap{max-width:100%;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .compare-result-head,.narrative-head,.kpi24-page-head,.ppt-page-head{align-items:flex-start;flex-direction:column;}
  .narrative-grid{grid-template-columns:1fr;}

  /* Dashboard hero becomes a vertical executive card. */
  .dashboard-v2{width:100%;max-width:100%;margin:0;}
  .dash-hero{
    grid-template-columns:1fr;
    gap:18px;
    padding:21px 18px;
    border-radius:17px;
  }
  .dash-hero::after{width:4px;}
  .dash-hero-copy h2{font-size:23px;line-height:1.16;letter-spacing:-.025em;max-width:none;}
  .dash-hero-copy>p{font-size:12px;line-height:1.58;}
  .dash-hero-actions{display:grid;grid-template-columns:1fr;gap:9px;margin-top:16px;}
  .dash-btn{width:100%;justify-content:center;min-height:44px;}
  .dash-hero-status{min-height:0;padding:17px;border-radius:14px;}
  .dash-hero-status>strong{font-size:19px;}
  .hero-coverage{gap:8px;}

  .dash-metrics{grid-template-columns:1fr;gap:10px;margin-top:11px;}
  .metric-card{min-height:104px;padding:15px;border-radius:14px;}
  .dash-grid-main,.dash-grid-secondary{grid-template-columns:1fr;gap:11px;margin-top:11px;}
  .dash-panel{padding:15px;border-radius:14px;}
  .dash-panel-head{gap:9px;margin-bottom:14px;}
  .dash-panel-head h3,.section-title-row h3,.insight-panel h3{font-size:15px;}
  .dash-panel-head p,.section-title-row p{font-size:10px;line-height:1.45;}
  .period-chip{padding:6px 7px;font-size:9px;}

  .kpi-performance-list{gap:14px;}
  .kpi-performance-row{grid-template-columns:88px minmax(0,1fr) 58px;gap:7px;}
  .kpi-perf-label strong{font-size:9.5px;}
  .kpi-perf-label span{font-size:7.5px;}
  .kpi-perf-value strong{font-size:11.5px;}
  .kpi-perf-value span{font-size:7px;}
  .kpi-perf-scale{font-size:6.7px;}
  .kpi-perf-scale span:nth-child(2){display:none;}

  .native-chart{height:205px;overflow:hidden;}
  .trend-legend{gap:10px;flex-wrap:wrap;}
  .trend-target-note{flex-direction:column;gap:4px;}

  .area-performance-grid{grid-template-columns:1fr 1fr;gap:8px;}
  .area-performance-card{padding:12px;}
  .area-card-top{align-items:flex-start;flex-direction:column;gap:3px;}
  .area-card-top span{white-space:normal;}

  .insight-panel{min-height:0;padding:18px 17px 18px 62px;}
  .insight-icon{left:16px;top:18px;width:34px;height:34px;}
  .insight-panel p{font-size:10.5px;}

  .maintenance-snapshot-grid{grid-template-columns:1fr;gap:10px;}
  .maintenance-area-list{grid-column:auto;}
  .maintenance-score{padding:12px;gap:13px;}
  .maintenance-donut{width:72px;height:72px;}
  .maintenance-donut::before{width:55px;height:55px;}
  .maintenance-donut strong{font-size:18px;}

  .tools-section{margin-top:18px;}
  .tool-card-grid{grid-template-columns:1fr;gap:9px;}
  .tool-card{min-height:0;padding:14px;border-radius:13px;}
  .tool-icon{width:41px;height:41px;border-radius:11px;}
  .tool-copy h4{font-size:12.5px;}
  .tool-copy p{font-size:9.5px;}

  /* PPT / wide content stays usable through local horizontal scrolling. */
  .ppt-clean-frame,.ppt-frame,.ppt-highlight-frame{max-width:none;}
}

@media (max-width:520px){
  .stats{grid-template-columns:1fr;}
  .area-performance-grid{grid-template-columns:1fr;}
  .dash-panel-head{flex-direction:column;align-items:flex-start;}
  .panel-link{align-self:flex-start;}
  .hero-coverage{grid-template-columns:repeat(3,1fr);}
  .hero-coverage strong{font-size:13px;}
  .hero-coverage span{font-size:7px;}
  .kpi-performance-row{grid-template-columns:80px minmax(0,1fr) 54px;gap:6px;}
}

@media (max-width:380px){
  .content{padding-left:11px;padding-right:11px;}
  .dash-hero{padding:19px 15px;}
  .dash-hero-copy h2{font-size:21px;}
  .kpi-performance-row{grid-template-columns:72px minmax(0,1fr) 50px;}
  .kpi-perf-label strong{font-size:9px;}
  .nav-title{font-size:12.5px;}
}
