/* Push dialog + small studio additions. Uses the studio's tokens (--frost, --edge, --ease). */
.pill.home { position: absolute; top: var(--top); left: var(--side); text-decoration: none; padding: 0 20px 0 14px; z-index: 5; }
#push-back { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pop-modal {
  position: fixed; z-index: 61; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(540px, calc(100vw - 28px)); max-height: min(86vh, 760px);
  display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; color: #fff;
  background: var(--dark); border: 1px solid var(--edge); -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8);
  box-shadow: 0 24px 80px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.2);
}
.pop-modal .panel-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 14px; }
.pop-modal .panel-head h2 { font-size: 17px; font-weight: 600; }
.pm-body { padding: 4px 20px 22px; overflow-y: auto; user-select: text; -webkit-user-select: text; }
.pm-body p { font-size: 14px; line-height: 1.5; margin: 8px 0; }
.pmute { color: rgba(255,255,255,.55); }
.psum { padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.08); font-size: 14px; margin-bottom: 14px; }
.pf { display: block; margin-top: 12px; }
.pf > span { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.pin { width: 100%; font: inherit; font-size: 14px; color: #fff; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); outline: 0; user-select: text; -webkit-user-select: text; }
textarea.pin { border-radius: 16px; font: 12px ui-monospace, Menlo, monospace; resize: vertical; }
.pin:focus { border-color: rgba(255,255,255,.55); }
.pin option { background: #1c1c1e; }
.pdet { margin: 4px 0 14px; }
.pdet > summary { cursor: pointer; font-size: 14px; padding: 8px 0; color: rgba(255,255,255,.8); }
.pbtns { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.pbtn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--edge); background: var(--frost); color: #fff; font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255,255,255,.28); transition: background .25s ease, transform .3s var(--ease); }
.pbtn:hover { background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.12)); }
.pbtn.solid { background: rgba(255,255,255,.94); color: #000; border-color: transparent; }
.pbtn[disabled] { opacity: .5; pointer-events: none; }
.pnote { margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: 14px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); }
.pnote.bad { border-color: rgba(255,69,58,.6); } .pnote.ok { border-color: rgba(48,209,88,.55); }
.pwarn { color: #ffd60a; }
.pphone { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.pcode { font: 600 20px ui-monospace, Menlo, monospace; letter-spacing: .14em; }
.mobile-note { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); padding: 12px 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between; font-size: 13px; border-radius: 20px; background: var(--dark); border: 1px solid var(--edge); -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8); }
