/* PEWIT Labs — shared admin shell (suite design system) */
:root{
  --pewit-text:#0f1729;--pewit-muted:#5a6478;--pewit-primary:#2f6bff;
  --pewit-bg:#f6f8fc;--pewit-surface:#fff;--pewit-border:#e7eaf1;
  --pewit-radius:12px;--pewit-font:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--pewit-font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  --pewit-success:#059669;--pewit-warn:#b45309;--pewit-danger:#dc2626;
}
.pewit-wrap{max-width:1100px;margin:0 auto;padding:8px;font-family:var(--pewit-font);color:var(--pewit-text);font-size:14px;-webkit-font-smoothing:antialiased}
.pewit-app-body{background:linear-gradient(180deg,var(--pewit-bg),#fff 360px);margin:0 -20px;padding:24px 28px 48px}
.pewit-app-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}
.pewit-app-brand{display:flex;align-items:center;gap:12px;min-width:0}
.pewit-app-icon{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,#1f4fe6,var(--pewit-primary));
  display:grid;place-items:center;box-shadow:0 8px 20px rgba(47,107,255,.28);flex:none}
.pewit-app-title{font-size:18px;font-weight:700}
.pewit-app-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pewit-app-subtitle{font-size:12px;color:var(--pewit-muted)}
.pewit-version,.pewit-badge{font-size:11px;padding:2px 8px;border-radius:999px;border:1px solid var(--pewit-border)}
.pewit-hero-card{background:var(--pewit-surface);border:1px solid var(--pewit-border);border-radius:var(--pewit-radius);
  padding:28px 32px;margin-bottom:24px;box-shadow:0 1px 2px rgba(15,23,41,.05)}
.pewit-hero-card h1{margin:0 0 8px;font-size:28px;line-height:1.2}
.pewit-lead{font-size:16px;color:var(--pewit-muted);margin:0 0 12px;line-height:1.5}
.pewit-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.pewit-btn{display:inline-flex;align-items:center;padding:10px 18px;border-radius:10px;font-weight:600;text-decoration:none;font-size:14px;border:none;cursor:pointer;line-height:1.2}
.pewit-btn:disabled{opacity:.55;cursor:not-allowed}
.pewit-btn-primary{background:var(--pewit-primary);color:#fff}
.pewit-btn-secondary{background:var(--pewit-surface);color:var(--pewit-text);border:1px solid var(--pewit-border)}
.pewit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-bottom:20px}
.pewit-grid-stats{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.pewit-card{background:var(--pewit-surface);border:1px solid var(--pewit-border);border-radius:var(--pewit-radius);padding:20px;margin-bottom:20px}
.pewit-killer-card{border:1px solid #2f6bff33;background:linear-gradient(135deg,#f8fbff,#fff)}
.pewit-card h2,.pewit-card h3{margin:0 0 12px;font-size:16px}
.pewit-card ul,.pewit-card ol{margin:0;padding-left:18px;color:var(--pewit-muted);font-size:13px;line-height:1.6}
.pewit-card-pro{border-color:#dbe7ff}
.pewit-footer-note{font-size:13px;color:var(--pewit-muted)}
.pewit-badge-plan{font-weight:600}
.pewit-plan-free{background:#f0fbf6;border-color:#bdebd6;color:#065f46}
.pewit-plan-pro,.pewit-plan-trial{background:#eef4ff;border-color:#dbe7ff;color:#1d4ed8}
.pewit-plan-agency{background:#f5f0ff;border-color:#e8dff5;color:#6b21a8}
.pewit-callout{padding:14px 18px;border-radius:10px;margin-bottom:20px;font-size:13px;line-height:1.5}
.pewit-callout-free{background:#f0fbf6;border:1px solid #bdebd6}
.pewit-callout-etch{background:#1a1625;border:1px solid #3d2f5c;color:#e9e0ff}
.pewit-muted{color:var(--pewit-muted);font-size:13px}
.pewit-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px;border-bottom:1px solid var(--pewit-border);padding-bottom:8px}
.pewit-tab{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:8px;text-decoration:none;color:var(--pewit-muted);font-size:14px;font-weight:500}
.pewit-tab.is-active{background:#eef4ff;color:var(--pewit-primary);font-weight:600}
.pewit-tab-lock{font-size:10px;padding:1px 6px;border-radius:999px;background:#fff8e6;color:#92400e;border:1px solid #f6e2b8}
.pewit-stat-label{font-size:12px;color:var(--pewit-muted);margin-bottom:6px}
.pewit-stat-value{font-size:28px;font-weight:700;line-height:1.1}
.pewit-stat-sm{font-size:18px}
.pewit-badge-ok{background:#ecfdf5;border-color:#a7f3d0;color:var(--pewit-success)}
body.pewit-etch-ui .pewit-wrap{--pewit-text:#e8eaef;--pewit-muted:#9aa3b5;--pewit-primary:#8b5cf6;--pewit-bg:#121218;--pewit-surface:#1a1a22;--pewit-border:#2a2a36}
body.pewit-etch-ui .pewit-app-body{background:linear-gradient(180deg,#121218,#1a1a22 360px)}
body.pewit-etch-ui .pewit-app-icon{background:linear-gradient(135deg,#5b21b6,#8b5cf6);box-shadow:0 8px 20px rgba(139,92,246,.35)}
body.pewit-etch-ui .pewit-btn-primary{background:#7c3aed}
body.pewit-etch-ui .pewit-btn-secondary{background:#1f1f28;color:#e8eaef;border-color:#2a2a36}
body.pewit-etch-ui .pewit-tab.is-active{background:#1f1f28;border-color:#2a2a36;color:#fff}
body.pewit-etch-ui .pewit-plan-pro,body.pewit-etch-ui .pewit-plan-trial{background:#2d1f4a;border-color:#4c3d6e;color:#c4b5fd}

/* Hide third-party admin notices on PEWIT screens (other plugins dump license nags here). */
body[class*="pewit-ai-"] #wpbody-content > .notice,
body[class*="pewit-ai-"] #wpbody-content > .updated,
body[class*="pewit-ai-"] #wpbody-content > .error,
body[class*="pewit-ai-"] #wpbody-content > .update-nag,
body[class*="pewit-geo-"] #wpbody-content > .notice,
body[class*="pewit-geo-"] #wpbody-content > .updated,
body[class*="pewit-geo-"] #wpbody-content > .error,
body[class*="pewit-geo-"] #wpbody-content > .update-nag,
body[class*="toplevel_page_pewit-"] #wpbody-content > .notice,
body[class*="toplevel_page_pewit-"] #wpbody-content > .updated,
body[class*="toplevel_page_pewit-"] #wpbody-content > .error,
body[class*="toplevel_page_pewit-"] #wpbody-content > .update-nag{display:none!important}

