/* Moonkeeper Alpha 2.1: read-only audit panel. Scoped to avoid changing existing worlds. */
.audit21{padding-top:52px;padding-bottom:88px;color:#f5e9f4}
.audit21-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:240px;padding:36px 42px;border:1px solid rgba(255,170,218,.32);border-radius:26px;background:radial-gradient(circle at 85% 12%,rgba(191,100,164,.2),transparent 45%),linear-gradient(130deg,#39213f,#251529 68%,#1a1225);overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.15)}
.audit21-hero>div{max-width:680px;position:relative;z-index:1}
.audit21-hero h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(2.5rem,4.5vw,4.2rem);line-height:1.1;margin:15px 0;color:#ffe6f6;font-weight:400}
.audit21-hero h1 em,.audit21-panel h2 em{color:#eeb0d2}
.audit21-hero p{color:#e2cede;line-height:1.8;max-width:660px}
.audit21-hero img{flex:0 0 auto;max-width:24%;height:auto;filter:drop-shadow(0 10px 18px rgba(0,0,0,.3))}
.audit21-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.audit21-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}
.audit21-kpis article,.audit21-panel{border:1px solid rgba(255,174,222,.25);border-radius:19px;background:linear-gradient(145deg,rgba(62,35,68,.91),rgba(28,21,39,.94));box-shadow:0 16px 38px rgba(0,0,0,.11)}
.audit21-kpis article{padding:25px 26px;display:flex;flex-direction:column;gap:9px;min-width:0}
.audit21-kpis span{font-size:.76rem;color:#f2b5d5;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.audit21-kpis strong{font-family:Georgia,serif;font-size:2.2rem;font-weight:500;color:#ffe3f2;overflow-wrap:anywhere}
.audit21-kpis small{color:#d1bbd3;line-height:1.5}
.audit21-ok{color:#b8f3db!important}.audit21-warn{color:#ffd2a3!important}
.audit21-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:18px 0}
.audit21-panel{padding:29px;min-width:0}
.audit21-panel h2{font-family:Georgia,serif;font-size:clamp(1.65rem,2.3vw,2.1rem);font-weight:400;margin:0 0 13px}
.audit21-panel>p{color:#d9c1d7;font-size:.92rem;line-height:1.7;margin-bottom:18px}
.audit21-rows{display:flex;flex-direction:column}
.audit21-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:space-between;padding:13px 0;border-bottom:1px solid rgba(255,190,224,.13);font-size:.9rem}
.audit21-row>div{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 160px}
.audit21-row strong{color:#ffe5f2;font-weight:700}
.audit21-row small{color:#bca6c3;font-size:.79rem}
.audit21-row>a{color:#ffbbdd;text-decoration:underline;text-underline-offset:3px}
.audit21-state{padding:5px 10px;border-radius:999px;font-size:.75rem;font-weight:800;white-space:nowrap;border:1px solid rgba(255,190,225,.22)}
.audit21-state.is-ok{background:rgba(76,139,111,.2);color:#b8f3db}.audit21-state.is-warn{background:rgba(143,97,55,.25);color:#ffd2a3}.audit21-state.is-neutral{background:rgba(127,100,153,.18);color:#dccce5}
.audit21-panel>.btn{margin-top:20px}.audit21-positive{color:#b9f1db!important}.audit21-negative{color:#ffd2ae!important}
.audit21-checklist{list-style:disc;padding-left:20px;margin:10px 0 0;color:#e1d0e1;font-size:.9rem;line-height:1.8}.audit21-checklist li{margin-bottom:8px}
.audit21-footer{text-align:center;color:#cbb4d5;font-size:.78rem;letter-spacing:.04em;padding:22px 5px}
@media(max-width:850px){.audit21-grid{grid-template-columns:1fr}}
@media(max-width:650px){.audit21{padding-top:28px}.audit21-hero{padding:24px;min-height:0}.audit21-hero img{max-width:90px;align-self:flex-start;opacity:.85}.audit21-kpis{grid-template-columns:1fr}.audit21-kpis article{padding:20px}.audit21-panel{padding:21px}.audit21-row{gap:7px}}
@media(max-width:390px){.audit21-hero img{display:none}.audit21-row>a{width:100%}}

/* One active top-level section at a time: More worlds receives a visible active state. */
.nav-worlds.is-current>summary{color:#ffc5e1!important;text-decoration:underline;text-decoration-color:#d67faa;text-underline-offset:7px}
