/* v0.9.19 — isolated dashboard and quick-actions settings, preserving modules and sidebar. */
.evp-content:has(.evpd-dashboard){max-width:1780px;padding:22px 26px 50px}
.evp-content:has(.evpd-settings){max-width:1530px}
.evpd-dashboard,.evpd-settings{font-family:inherit;color:#173455}
.evpd-dashboard *,.evpd-settings *{box-sizing:border-box}
.evpd-dashboard a,.evpd-settings a{text-decoration:none}
.evpd-icon{width:23px;height:23px;display:block;flex:0 0 auto}
.evpd-hero{background:linear-gradient(108deg,#0b2147 0%,#123d7f 48%,#0964a4 100%);border-radius:19px;min-height:145px;padding:28px 33px;position:relative;overflow:hidden;color:white;box-shadow:0 10px 26px #0e316b1c}
.evpd-hero:after{content:"";position:absolute;right:-8%;top:-170px;width:47%;height:460px;transform:rotate(-20deg);border-radius:45%;border:60px solid #ffffff0f;pointer-events:none}
.evpd-hero-orbs{position:absolute;right:5%;bottom:-60px;width:210px;height:210px;border:1px solid #ffffff40;border-radius:50%;box-shadow:0 0 0 27px #ffffff09,0 0 0 55px #ffffff08;pointer-events:none}
.evpd-hero-body{position:relative;z-index:1}
.evpd-overline{font-size:11px;font-weight:750;letter-spacing:.09em;color:#a8d4ff}
.evp-content .evpd-hero h2{color:#fff;margin:10px 0 8px;font-size:clamp(23px,2.1vw,31px);line-height:1.18;font-weight:800}
.evpd-hero p{font-size:15px;color:#d9eaff;margin:0}
.evpd-event-filter{display:flex;align-items:center;gap:22px;justify-content:space-between;margin:18px 0 0;flex-wrap:wrap}
.evpd-event-filter form{display:flex;align-items:center;gap:12px;margin:0}
.evpd-event-filter label{color:#294a71;font-size:13px;font-weight:700}
.evp-content .evpd-event-filter select{border:1px solid #c4d8ee;background:#fff;color:#153453;border-radius:11px;padding:9px 34px 9px 12px;min-width:min(300px,78vw);height:42px}
.evpd-filter-note{font-size:12px;color:#6c8098}
.evpd-quick-section{margin-top:23px}
.evpd-quick-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.evp-content .evpd-quick-top h3{font-size:16px;color:#183b64;margin:0;font-weight:750}
.evpd-manage{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650;color:#1667b8}
.evpd-manage .evpd-icon{height:17px;width:17px}
.evpd-quick-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:11px}
.evpd-quick-tile{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;text-align:center;padding:17px 5px 14px;min-height:98px;border:1px solid #d5e1ef;border-radius:15px;background:#fff;color:#174c9b;box-shadow:0 3px 8px #153f7311;transition:box-shadow .15s,border-color .15s,transform .15s}
.evpd-quick-tile .evpd-icon{width:29px;height:29px}
.evpd-quick-tile span{font-size:12px;line-height:1.25;font-weight:700;color:#203859}
.evpd-quick-tile:hover{border-color:#277adc;box-shadow:0 6px 15px #1653ad21;transform:translateY(-2px)}
.evpd-quick-tile:focus-visible{outline:3px solid #368bef;outline-offset:2px}
.evpd-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:19px 0 20px}
.evpd-stat{display:flex;align-items:center;gap:12px;min-width:0;background:#fff;border:1px solid #e1eaf5;box-shadow:0 3px 10px #0b347911;border-radius:15px;padding:17px 13px;min-height:88px}
.evpd-stat-icon{width:39px;height:39px;flex:0 0 39px;border-radius:12px;background:#e6f1ff;display:grid;place-items:center;color:#1469c5}
.evpd-stat:nth-child(2) .evpd-stat-icon{background:#e0f7eb;color:#17965d}
.evpd-stat:nth-child(4) .evpd-stat-icon{background:#f1ebff;color:#7953cf}
.evpd-stat:nth-child(5) .evpd-stat-icon{background:#fff5de;color:#ce8a12}
.evpd-stat:nth-child(6) .evpd-stat-icon{background:#e1f7f6;color:#1599a6}
.evpd-stat-icon .evpd-icon{height:23px;width:23px}
.evpd-stat-txt{min-width:0;display:block}
.evpd-stat-txt small{color:#405675;font-size:11px;font-weight:650;display:block;white-space:normal}
.evpd-stat-txt strong{color:#102b58;font-size:clamp(19px,1.65vw,26px);line-height:1.2;display:block;margin-top:3px;font-variant-numeric:tabular-nums}
.evpd-stat-txt em{display:block;color:#6c849e;font-size:10px;line-height:1.3;font-style:normal}
.evpd-panels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}
.evpd-panel{background:#fff;border:1px solid #e1e9f4;box-shadow:0 3px 11px #153a7611;border-radius:18px;padding:20px;min-width:0;min-height:248px}
.evpd-panel-header{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:19px}
.evp-content .evpd-panel-header h3{font-size:16px;color:#18385c;font-weight:800;margin:0}
.evpd-panel-header a{color:#2068b4;font-size:11px;white-space:nowrap;font-weight:700}
.evpd-panel-header a:hover{text-decoration:underline}
.evpd-readiness{display:flex;align-items:center;gap:16px}
.evpd-score{width:130px;height:130px;flex:0 0 130px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;background:conic-gradient(#21b36d calc(var(--evpd-score)*1%),#e8eff6 0)}
.evpd-score:before{content:"";background:#fff;position:absolute;inset:12px;border-radius:50%}
.evpd-score strong,.evpd-score small{position:relative;z-index:1}
.evpd-score strong{font-size:31px;color:#163a64;line-height:1}
.evpd-score small{font-size:12px;color:#58718d;margin-top:7px}
.evpd-check-list{display:grid;gap:10px;min-width:0}
.evpd-check-item{display:flex;align-items:center;gap:7px;color:#415a75;font-size:12px}
.evpd-check-item span{display:inline-grid;place-items:center;width:20px;height:20px;flex:0 0 20px;border-radius:50%;font-weight:800;color:#fff;font-size:11px}
.evpd-check-item .ok{background:#1cad67}.evpd-check-item .warn{background:#eaa92e}
.evpd-panel-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;flex-wrap:wrap}
.evpd-panel-footer span{font-size:11px;color:#8a9aae}
.evpd-btn,.evpd-btn-primary{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:10px 15px;color:#fff!important;background:#176dcc;box-shadow:0 3px 8px #166dcc27;font-weight:750;font-size:12px;cursor:pointer}
.evpd-btn:hover,.evpd-btn-primary:hover{background:#12599f}
.evpd-attendance{display:grid;justify-items:center;gap:15px}
.evpd-gauge{width:177px;height:177px;display:flex;justify-content:center;align-items:center;flex-direction:column;border-radius:50%;position:relative;background:conic-gradient(#2879e5 calc(var(--evpd-progress)*1%),#e9eff7 0)}
.evpd-gauge:before{content:"";position:absolute;background:white;border-radius:50%;inset:17px}
.evpd-gauge strong,.evpd-gauge span{z-index:1}.evpd-gauge strong{font-size:30px;color:#173a66;line-height:1.1;white-space:nowrap}.evpd-gauge strong small{font-size:16px;color:#6c8098}.evpd-gauge span{color:#607c9e;font-size:12px;margin-top:9px}
.evpd-attendance-notes{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.evpd-attendance-notes>div{background:#f5f9ff;border:1px solid #e1eaf6;padding:10px 12px;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:4px}
.evpd-attendance-notes span{font-size:11px;color:#62758b}.evpd-attendance-notes strong{font-size:17px;color:#174e92}
.evpd-timeline{display:grid;gap:8px}
.evpd-agenda-row{display:grid;grid-template-columns:40px 11px minmax(0,1fr);gap:9px;align-items:center;min-width:0}
.evpd-agenda-row time{color:#2b4d73;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums}
.evpd-agenda-dot{width:10px;height:10px;border:2px solid #76a4df;border-radius:50%}
.evpd-agenda-label{padding:8px 10px;background:#f5f8fd;border-radius:9px;display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0}
.evpd-agenda-label strong{font-size:12px;font-weight:650;color:#243954;overflow-wrap:anywhere}.evpd-agenda-label small{color:#6d85a0;font-size:10px;white-space:nowrap}
.evpd-nodata{margin:20px 0;color:#75849a;font-size:12px;line-height:1.6}
.evpd-alert-row,.evpd-task-row{display:flex;align-items:center;gap:10px;padding:11px 12px;margin:8px 0;border-radius:10px;background:#f4f8ff}
.evpd-alert-row .evpd-icon{width:18px;height:18px;color:#2b74bf}.evpd-alert-row.priority-critical{background:#ffeff1}.evpd-alert-row.priority-critical .evpd-icon{color:#e34e59}
.evpd-alert-row.priority-high{background:#fff5e5}.evpd-alert-row.priority-high .evpd-icon{color:#c88d15}
.evpd-alert-row strong,.evpd-task-row strong{font-size:12px;color:#243d59;font-weight:700;display:block;overflow-wrap:anywhere}
.evpd-alert-row small,.evpd-task-row small{color:#7389a0;font-size:11px;display:block;margin-top:2px}
.evpd-task-state{border-radius:7px;width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;border:1px solid #adc3dd;color:#6084ab;font-weight:800}
.evpd-task-state.done{background:#15a461;color:white;border-color:#15a461}.evpd-task-row strong.done{text-decoration:line-through;color:#7b8da2}
.evpd-chart{height:185px;display:flex;gap:10px;align-items:stretch;justify-content:space-evenly;border-bottom:1px solid #dbe5f1;padding-top:8px}
.evpd-chart-col{min-width:0;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;flex:1;gap:8px}
.evpd-chart-bar{min-height:5px;width:min(90%,32px);background:linear-gradient(#3798fa,#2268cd);border-radius:5px 5px 0 0}
.evpd-chart-col small{font-size:9px;white-space:nowrap;color:#7589a2}
.evpd-disclaimer{font-size:11px;color:#7d90a5;margin:20px 0 0}
.evpd-empty-panel{margin:22px 0;background:#fff;border:1px solid #e1eaf5;border-radius:14px;padding:24px}.evpd-empty-panel h3{margin:0 0 8px;font-size:17px}.evpd-empty-panel p{color:#6d8299;margin:0}
/* Settings: full-width editor and real-time preview */
.evpd-settings{background:white;border:1px solid #dce6f3;box-shadow:0 8px 24px #234c7820;border-radius:20px;padding:26px;max-width:1320px;margin:0 auto}
.evpd-settings-head{display:flex;gap:15px;align-items:center;border-bottom:1px solid #e3ecf6;padding-bottom:18px}
.evpd-settings-mark{color:#1763bc;background:#e9f2ff;padding:12px;border-radius:13px}
.evpd-settings-mark .evpd-icon{width:26px;height:26px}
.evp-content .evpd-settings h2{font-size:22px;margin:0 0 5px;color:#153b6a}
.evpd-settings-head p{color:#6e8297;margin:0;font-size:13px}
.evpd-settings-info{background:#eaf3ff;border-radius:9px;color:#25537f;padding:11px 14px;margin:18px 0;font-size:13px}
.evpd-success{color:#136c48;background:#e6f7ec;border-radius:8px;padding:11px;margin:17px 0;font-size:13px;font-weight:700}
.evpd-settings-columns{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;margin-top:20px}
.evpd-settings-list,.evpd-settings-preview{padding:19px;border:1px solid #dde7f3;border-radius:14px;background:#fff}
.evpd-settings-preview{background:#f7faff;align-self:start;position:sticky;top:20px}
.evpd-settings-list-head{display:flex;justify-content:space-between;align-items:center;gap:10px}
.evp-content .evpd-settings h3{font-size:16px;color:#193e68;margin:0 0 7px}
.evpd-count{background:#e9f2ff;color:#1b64ab;padding:5px 9px;border-radius:9px;font-size:12px;font-weight:750}
.evpd-count.error{background:#fff1f1;color:#c43441}
.evpd-muted,.evpd-help{font-size:12px;color:#74889f;line-height:1.5}
.evp-content .evpd-search{width:100%;height:40px!important;min-height:40px!important;border:1px solid #cbd9eb;border-radius:10px;padding:9px 12px;font-size:13px;margin:7px 0 13px}
.evpd-module-list{padding:0;margin:0;list-style:none;display:grid;gap:6px;max-height:560px;overflow-y:auto}
.evpd-module-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid #e2eaf4;border-radius:10px;min-width:0}
.evpd-module-row.selected{background:#eef5ff;border-color:#b9d3ef}
.evpd-module-row[hidden]{display:none}
.evpd-row-arrows{display:flex;flex-direction:column;gap:2px}
.evpd-row-arrows button{font-size:13px!important;line-height:1!important;min-height:0!important;width:24px;height:19px;padding:0!important;border:1px solid #cbd9eb;border-radius:5px;background:white;color:#547392}
.evpd-row-arrows button:focus-visible{outline:2px solid #3679cc}
.evpd-row-icon{color:#1967ba}.evpd-row-icon .evpd-icon{width:21px;height:21px}
.evpd-module-row label{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1;font-size:13px;color:#25496e;font-weight:650;margin:0;cursor:pointer}
.evpd-module-row label input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:#216fc4;flex-shrink:0}
.evpd-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;padding:14px 0}
.evpd-preview-item{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;gap:9px;min-height:82px;padding:12px 4px;background:#fff;border:1px solid #d6e3f4;border-radius:11px;color:#1a6fc5}
.evpd-preview-item span{font-size:10px;font-weight:750;color:#37526f;overflow-wrap:anywhere}.evpd-preview-item .evpd-icon{height:23px;width:23px}
.evpd-settings-footer{display:flex;justify-content:flex-end;gap:11px;border-top:1px solid #e2eaf5;padding-top:19px;margin-top:20px}
.evpd-btn-ghost{display:inline-flex;align-items:center;justify-content:center;padding:10px 20px;border:1px solid #bbcfe5;border-radius:9px;color:#2c5277;font-size:13px;font-weight:700}
.evpd-btn-primary:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:1230px){.evpd-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.evpd-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.evpd-panels{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){.evpd-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.evpd-panels{grid-template-columns:1fr}.evpd-settings-columns{grid-template-columns:1fr}.evpd-settings-preview{position:static}}
@media(max-width:680px){.evp-content:has(.evpd-dashboard){padding:15px 12px 40px}.evpd-hero{min-height:125px;padding:22px}.evpd-event-filter form{flex-wrap:wrap}.evpd-event-filter select{min-width:230px!important}.evpd-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.evpd-quick-tile{min-height:79px;padding:9px 3px;gap:7px;border-radius:11px}.evpd-quick-tile .evpd-icon{width:24px;height:24px}.evpd-quick-tile span{font-size:10px}.evpd-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.evpd-stat{padding:12px 10px;min-height:80px;gap:7px}.evpd-stat-icon{width:31px;height:31px;flex-basis:31px}.evpd-stat-icon .evpd-icon{width:19px;height:19px}.evpd-stat-txt strong{font-size:20px}.evpd-panel{padding:16px}.evpd-readiness{gap:12px}.evpd-score{width:112px;height:112px;flex-basis:112px}.evpd-check-item{font-size:11px}.evpd-settings{padding:15px;border-radius:13px}.evpd-settings-list,.evpd-settings-preview{padding:13px}.evpd-settings-footer{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.evpd-quick-tile{transition:none}.evpd-quick-tile:hover{transform:none}}

.evpd-chart-note{color:#718aa5;font-size:10px;line-height:1.4;margin:14px 0 0}
