/* "Keep this up to date by itself" (studio, public/programa-watch.js). The switch is the studio's glass switch
   (.sp-switch, studio-p3.css); tags come from the one glass pill system (portal.css). Calm, slow motion; no red here:
   nothing is a deadline or money due. */
.pg-watch [data-pg-state] { display: grid; gap: 12px; }
.pg-watch [data-pg-state] > * { margin: 0; }
.pg-watch [hidden] { display: none !important; }
.pg-watch .sp-switch { border-top: 0; }
.pg-runs { display: grid; gap: 6px; padding-top: 6px; border-top: 1px solid rgba(185, 168, 155, 0.45); }
.pg-runs .pg-list > li { gap: 4px; }
.pg-runs .pg-list > li > strong { overflow-wrap: anywhere; }

/* the note that a file came in: a glass card above the tab bar, fades in slowly, never in the way */
.pg-toast {
  position: fixed; left: 16px; right: 16px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  max-width: 460px; margin: 0 auto; padding: 16px 18px; display: grid; gap: 12px;
  border-radius: 18px; border: 1px solid var(--green-edge); color: var(--charcoal);
  background: linear-gradient(180deg, rgba(46, 125, 85, 0.10), rgba(46, 125, 85, 0.03)), rgba(255, 248, 241, 0.94);
  box-shadow: var(--glass-edge), var(--lift-clear); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--t-appear, .7s) var(--ease), transform var(--t-appear, .7s) var(--ease);
}
.pg-toast.is-in { opacity: 1; transform: none; }
.pg-toast p { margin: 0; font: 600 16px/1.45 var(--f-body); }
.pg-toast-act { display: flex; gap: 10px; }
.pg-toast-act > .btn-outline, .pg-toast-act > .btn-solid { flex: 1 1 0; width: auto; min-width: 0; }
@media (min-width: 900px) { .pg-toast { left: auto; right: 32px; bottom: 32px; margin: 0; } }
@media (prefers-reduced-motion: reduce) { .pg-toast { transition: none; transform: none; } }
