.aegistha{--aegistha:#2657b0;--aegistha-dark:#1c3f86;--amber:#f59e0b;--green:#1ea15a;--line:#e4e8ef;--ink:#1e2a3a;--muted:#5c6b7e}
.aegistha .aegistha-h1{display:flex;align-items:center;gap:8px;margin-bottom:16px}
.aegistha .aegistha-h1-mark{flex:0 0 auto;display:block}

/* Hero */
.aegistha .aegistha-hero{display:flex;align-items:center;gap:26px;background:linear-gradient(135deg,#2f68c8,#1b3c80);border-radius:18px;padding:22px 28px;margin:0 0 6px;max-width:880px;box-shadow:0 10px 26px rgba(28,63,134,.22)}
.aegistha .aegistha-ring{flex:0 0 auto}
.aegistha .aegistha-ring-arc{stroke:#f6b73c;animation:aegistha-ring 1s ease-out both}
.aegistha .aegistha-hero.aegistha-complete{background:linear-gradient(135deg,#1fa25b,#127048);box-shadow:0 10px 26px rgba(18,112,72,.24)}
.aegistha .aegistha-hero.aegistha-complete .aegistha-ring-arc{stroke:#fff}
.aegistha .aegistha-hero.aegistha-complete .aegistha-hero-sub{color:#d6f7e4}
@keyframes aegistha-ring{from{stroke-dashoffset:340}to{stroke-dashoffset:0}}
.aegistha .aegistha-ring-num{font:800 31px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;fill:#fff}
.aegistha .aegistha-ring-cap{font:700 11px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;fill:rgba(255,255,255,.75);text-transform:uppercase;letter-spacing:.08em}
.aegistha .aegistha-hero-label{font-size:24px;font-weight:800;color:#fff;letter-spacing:-.01em}
.aegistha .aegistha-hero-sub{margin:3px 0 9px;font-size:14px;color:#ffd98a;font-weight:600}
.aegistha .aegistha-hero-note{margin:0;font-size:12.5px;color:rgba(255,255,255,.82);max-width:540px;line-height:1.55}

/* Tabs */
.aegistha .aegistha-tabs{margin:22px 0 0;max-width:880px;border-bottom-color:#d3d9e3}
.aegistha .aegistha-tabs .nav-tab{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--muted);background:transparent;border-color:transparent}
.aegistha .aegistha-tabs .nav-tab .dashicons{font-size:17px;width:17px;height:17px;opacity:.75}
.aegistha .aegistha-tabs .nav-tab-active{color:var(--aegistha);background:#fff;border:1px solid #d3d9e3;border-bottom-color:#fff}
.aegistha .aegistha-count{background:#e4ecfb;color:#2a4a8f;border-radius:999px;font-size:11px;font-weight:800;padding:1px 8px;min-width:8px;text-align:center}
.aegistha .aegistha-panel{margin-top:8px}
.aegistha .aegistha-section-sub{margin:0 0 12px;color:var(--muted);font-size:13px}

/* Cards */
.aegistha .aegistha-item{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 18px 16px;margin:11px 0;max-width:880px;box-shadow:0 1px 3px rgba(20,30,60,.05);transition:box-shadow .16s,transform .16s}
.aegistha .aegistha-item:hover{box-shadow:0 6px 18px rgba(20,30,60,.10);transform:translateY(-1px)}
.aegistha .aegistha-done,.aegistha .aegistha-good{background:#f6fcf9;border-color:#dcefe4}
.aegistha .aegistha-applied{animation:aegistha-pop 1.5s ease-out 1;border-color:#8fdcae}
@keyframes aegistha-pop{0%{box-shadow:0 0 0 0 rgba(30,161,90,.5)}70%{box-shadow:0 0 0 15px rgba(30,161,90,0)}100%{box-shadow:0 0 0 0 rgba(30,161,90,0)}}

.aegistha .aegistha-item-head{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.aegistha .aegistha-chip{flex:0 0 auto;width:40px;height:40px;border-radius:11px;display:flex;align-items:center;justify-content:center}
.aegistha .aegistha-chip .dashicons{font-size:21px;width:21px;height:21px}
.aegistha .aegistha-done .aegistha-chip,.aegistha .aegistha-good .aegistha-chip{background:#e7f7ee}
.aegistha .aegistha-done .aegistha-chip .dashicons,.aegistha .aegistha-good .aegistha-chip .dashicons{color:#0a9a4e}
.aegistha .aegistha-todo .aegistha-chip,.aegistha .aegistha-attention .aegistha-chip{background:#fdeecf}
.aegistha .aegistha-todo .aegistha-chip .dashicons,.aegistha .aegistha-attention .aegistha-chip .dashicons{color:#c98a00}
.aegistha .aegistha-reminder .aegistha-chip{background:#eef1f5}
.aegistha .aegistha-reminder .aegistha-chip .dashicons{color:#7a8397}
.aegistha .aegistha-item-title{font-size:15.5px;font-weight:700;color:var(--ink);flex:1;min-width:170px}
.aegistha .aegistha-badge{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;padding:3px 9px;border-radius:999px;white-space:nowrap}
.aegistha .aegistha-badge-high{background:#fdeecf;color:#8a5a00}
.aegistha .aegistha-badge-medium{background:#e4ecfb;color:#2a4a8f}
.aegistha .aegistha-badge-minor{background:#eef1f5;color:#66738a}
.aegistha .aegistha-state{display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:700;padding:4px 11px;border-radius:999px;white-space:nowrap}
.aegistha .aegistha-state .dashicons{font-size:15px;width:15px;height:15px}
.aegistha .aegistha-state-done,.aegistha .aegistha-state-good{background:var(--green);color:#fff;box-shadow:0 2px 6px rgba(30,161,90,.35)}
.aegistha .aegistha-state-todo{background:#eef1f5;color:#7a8397}
.aegistha .aegistha-state-attention{background:#fdeecf;color:#8a5a00}
.aegistha .aegistha-state-reminder{background:#eef1f5;color:#66738a}

.aegistha .aegistha-explain{color:var(--muted);margin:11px 0 10px;line-height:1.55}
.aegistha .aegistha-detail-line{margin:0 0 10px;color:#3a4a5e;font-size:13px}
.aegistha .aegistha-detail{margin:0 0 10px 18px;color:#3a4a5e}
.aegistha .aegistha-detail li{list-style:disc;margin:3px 0}
.aegistha .aegistha-expand{color:var(--aegistha);text-decoration:none;font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:3px;margin:0 0 8px}
.aegistha .aegistha-expand .dashicons{font-size:16px;width:16px;height:16px;transition:transform .15s}
.aegistha .aegistha-expand[aria-expanded="true"] .dashicons{transform:rotate(90deg)}
.aegistha .aegistha-guide{background:#f5f8fc;border:1px solid #e4ecf7;border-radius:9px;padding:10px 13px;color:#3a4a5e;margin:0;line-height:1.55}
.aegistha .aegistha-guide-label{font-weight:700;color:var(--aegistha)}
.aegistha .aegistha-fixform{margin:12px 0 0}
.aegistha .aegistha-item .button-primary{background:var(--aegistha);border-color:var(--aegistha)}
.aegistha .aegistha-item .button-primary:hover{background:var(--aegistha-dark);border-color:var(--aegistha-dark)}
.aegistha .aegistha-undo{display:inline-flex;align-items:center;gap:3px;color:#5c6b7e;text-decoration:none;font-size:13px}
.aegistha .aegistha-undo .dashicons{font-size:15px;width:15px;height:15px}
.aegistha .aegistha-undo:hover{color:var(--aegistha)}
.aegistha .aegistha-recheck{margin:10px 0 0}
.aegistha .aegistha-recheck-btn{display:inline-flex;align-items:center;gap:4px;color:var(--aegistha);text-decoration:none;font-size:13px;font-weight:600}
.aegistha .aegistha-recheck-btn .dashicons{font-size:15px;width:15px;height:15px}
.aegistha .aegistha-anti-theater{margin:26px 0 8px;color:var(--muted);font-style:italic;max-width:780px}
.aegistha .aegistha-footer{margin:18px 0 8px;padding-top:16px;border-top:1px solid var(--line);color:var(--muted);font-size:13px;max-width:880px}
.aegistha .aegistha-footer a{color:var(--aegistha);text-decoration:none;font-weight:600}
.aegistha .aegistha-footer a:hover{text-decoration:underline}

/* Confirm modal */
.aegistha-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;background:rgba(20,30,55,.5)}
.aegistha-modal[hidden]{display:none}
.aegistha-modal-box{background:#fff;border-radius:16px;max-width:460px;width:calc(100% - 40px);padding:24px 26px;box-shadow:0 18px 50px rgba(10,20,50,.3);animation:aegistha-modal-in .18s ease-out}
@keyframes aegistha-modal-in{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
.aegistha-modal-title{margin:0 0 10px;font-size:19px;color:#1e2a3a}
.aegistha-modal-benefit{margin:0 0 12px;font-size:14.5px;color:#3a4a5e;line-height:1.55}
.aegistha-modal-tech{margin:0 0 12px;font-size:12.5px;color:#66738a;background:#f5f7fa;border-radius:8px;padding:8px 11px;line-height:1.5}
.aegistha-modal-tech-label{font-weight:700;color:#4a5568}
.aegistha-modal-reassure{display:flex;align-items:flex-start;gap:6px;margin:0 0 18px;font-size:13px;color:#0a7c3f}
.aegistha-modal-reassure .dashicons{color:#0a9a4e;font-size:17px;width:17px;height:17px;flex:0 0 auto}
.aegistha-modal-actions{display:flex;justify-content:flex-end;gap:10px}
.aegistha-modal-actions .button-primary{background:#2657b0;border-color:#2657b0}
.aegistha-modal-actions .button-primary:hover{background:#1c3f86;border-color:#1c3f86}
