/* ATLAS Phase 2F-A — Closed-App Push Notification Foundation */
.atlas-push-settings{
  margin:14px 0;
  border:1px solid rgba(168,85,247,.24);
  background:linear-gradient(135deg,rgba(168,85,247,.08),rgba(0,229,255,.05));
  border-radius:18px;
  padding:14px;
}
.atlas-push-settings h4{margin:0 0 6px;font-size:15px;letter-spacing:.02em}
.atlas-push-settings .atlas-push-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.atlas-push-settings input,.atlas-push-settings select{width:100%}
.atlas-push-status{
  position:fixed;
  right:16px;
  bottom:92px;
  z-index:9997;
  max-width:min(420px,calc(100vw - 32px));
  display:none;
  border:1px solid rgba(168,85,247,.28);
  background:rgba(2,6,23,.92);
  color:var(--text,#fff);
  box-shadow:0 16px 50px rgba(0,0,0,.35);
  border-radius:18px;
  padding:12px 14px;
  backdrop-filter:blur(14px);
}
body.light-mode .atlas-push-status{background:rgba(255,255,255,.94)}
.atlas-push-status.show{display:block}
.atlas-push-status strong{display:block;margin-bottom:4px}
.atlas-push-status p{margin:0;color:var(--muted2);font-size:12px;line-height:1.4}
.atlas-push-status .atlas-push-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.atlas-push-status button,.atlas-push-settings button{
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.07);
  color:var(--text,#fff);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
  font-size:12px;
}
.atlas-push-status button.primary,.atlas-push-settings button.primary{border-color:rgba(168,85,247,.5);background:rgba(168,85,247,.18)}
.atlas-push-status button.danger,.atlas-push-settings button.danger{border-color:rgba(248,113,113,.42);background:rgba(248,113,113,.12)}
.atlas-push-pill{
  display:inline-flex;
  align-items:center;
  gap:7px;
  border:1px solid rgba(168,85,247,.28);
  background:rgba(168,85,247,.08);
  border-radius:999px;
  padding:5px 8px;
  font-size:11px;
  color:var(--muted2);
}
.atlas-push-pill::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--muted2);
}
.atlas-push-pill[data-state="on"]::before{background:var(--green,#22c55e)}
.atlas-push-pill[data-state="warn"]::before{background:var(--amber,#f59e0b)}
.atlas-push-pill[data-state="off"]::before{background:var(--muted2,#94a3b8)}
@media(max-width:760px){
  .atlas-push-settings .atlas-push-grid{grid-template-columns:1fr}
  .atlas-push-status{left:12px;right:12px;bottom:86px;max-width:none}
}
