:root{--erp-primary:#2563eb;--erp-success:#10b981;--erp-warning:#f59e0b;--erp-danger:#ef4444;--erp-neutral:#f8fafc}
.erp-icon{vertical-align:middle;flex:none;display:inline-block;width:18px;height:18px;stroke-width:1.75}
.admin-nav-btn .nav-icon{width:20px;height:20px;flex:none;display:inline-flex;align-items:center;justify-content:center}
.admin-nav-btn>div>span:last-child{white-space:normal;overflow-wrap:anywhere;text-align:left}
.phase2-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:0;margin-bottom:12px}
.phase2-actions .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;white-space:normal;text-align:center;max-width:100%}
.phase2-actions select{max-width:100%;min-width:0;padding:8px;border:1px solid #cbd5e1;border-radius:4px}
.phase2-file-list{white-space:pre-wrap;overflow-wrap:anywhere;color:#475569}
.phase2-rate{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 0;border-bottom:1px solid #e2e8f0}.phase2-rate small{grid-column:1/-1;color:#475569}
.phase2-health{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:#166534;border:1px solid #bbf7d0;background:#f0fdf4;border-radius:6px;padding:6px 8px;white-space:nowrap}
.phase2-health:before{content:'';width:7px;height:7px;background:#10b981;border-radius:50%;flex:none}
@media(max-width:1100px){.topbar-actions .phase2-health{font-size:0;gap:0;width:24px;height:28px;padding:0;justify-content:center}}
.phase2-health[data-state="offline"]{color:#991b1b;background:#fef2f2;border-color:#fecaca}.phase2-health[data-state="offline"]:before{background:#ef4444}
.phase2-health[data-state="checking"]{color:#475569;background:#f8fafc;border-color:#cbd5e1}.phase2-health[data-state="checking"]:before{background:#94a3b8}
.phase2-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;border-bottom:1px solid #e2e8f0;padding:0 0 20px;margin-bottom:20px}.phase2-kpis>div{min-width:0}.phase2-kpis h3{font-size:13px;font-weight:600;margin:0 0 8px;color:#475569}.phase2-kpis strong{font-size:20px;overflow-wrap:anywhere}.phase2-kpis small{display:block;color:#64748b;margin-top:4px}
.phase2-preview{width:100%;max-height:65vh;object-fit:contain;border:0;min-height:240px}
.phase2-customer-history{margin-bottom:18px}.phase2-customer-history summary{cursor:pointer;font-weight:600;padding:12px 0}
#admin-module-container input[type="checkbox"][onchange*="updateConsent"]{appearance:none;width:34px;height:20px;border-radius:10px;background:#94a3b8;position:relative;cursor:pointer;flex:none}
#admin-module-container input[type="checkbox"][onchange*="updateConsent"]:before{content:'';position:absolute;width:14px;height:14px;border-radius:50%;left:3px;top:3px;background:white}
#admin-module-container input[type="checkbox"][onchange*="updateConsent"]:checked{background:#10b981}#admin-module-container input[type="checkbox"][onchange*="updateConsent"]:checked:before{left:17px}
@media(max-width:800px){.phase2-health{font-size:11px}.phase2-kpis{grid-template-columns:1fr;gap:14px}.phase2-actions{justify-content:flex-start}.phase2-rate{grid-template-columns:1fr}.phase2-rate small{grid-column:auto}}
#admin-release-notice { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 20px; color:#78350f; background:#fffbeb; border-bottom:1px solid #fcd34d; font-size:13px; flex-wrap:wrap; }
#admin-release-notice .btn { flex-shrink:0; }
@media print { #admin-release-notice { display:none; } }
