/* experience-pulse.css — the "How's your experience?" card. Body-level
   (outside .p-view's overflow clip), bottom-right, never modal. Uses the
   shell's platform tokens. */
.pf-pulse { position: fixed; right: 18px; bottom: 18px; z-index: 44; width: min(340px, calc(100vw - 36px)); }
.pf-pulse[hidden] { display: none; }
.pf-pulse-card {
  border: 1px solid var(--line);
  background: var(--tile);
  border-radius: 14px;
  padding: 16px 18px 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  transform: translateY(12px);
  opacity: 0;
  transition: transform .22s ease, opacity .22s ease;
}
.pf-pulse.is-open .pf-pulse-card { transform: none; opacity: 1; }
.pf-pulse-x {
  position: absolute; top: 8px; right: 10px;
  width: 26px; height: 26px; border-radius: 7px;
  border: 1px solid transparent; background: none; color: var(--faint);
  font-size: 18px; line-height: 1; cursor: pointer;
}
.pf-pulse-x:hover { color: var(--text); border-color: var(--line); }
.pf-pulse-q { margin: 0 24px 10px 0; font-weight: 600; font-size: 14.5px; color: var(--text); }
.pf-pulse-btns { display: flex; gap: 8px; }
.pf-pulse-btns button,
.pf-pulse-more button {
  flex: 1; font: inherit; font-size: 14px; font-weight: 600;
  padding: 8px 10px; border-radius: 9px; cursor: pointer;
  border: 1px solid var(--line); background: var(--tile-2); color: var(--text);
}
.pf-pulse-btns button:hover, .pf-pulse-more button:hover { border-color: var(--accent); }
.pf-pulse-btns button[aria-pressed="true"] { background: var(--accent); color: #1a1509; border-color: var(--accent); }
.pf-pulse-more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pf-pulse-more[hidden], .pf-pulse-btns[hidden], .pf-pulse-thanks[hidden] { display: none; }
.pf-pulse-more label { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.pf-pulse-more input {
  flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 7px 10px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--tile-2); color: var(--text);
}
.pf-pulse-more input:focus { outline: none; border-color: var(--accent); }
.pf-pulse-more button { flex: none; }
.pf-pulse-thanks { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.pf-pulse-foot { margin: 10px 0 0; text-align: right; }
.pf-pulse-never { background: none; border: none; padding: 0; font: inherit; font-size: 12px; color: var(--faint); cursor: pointer; }
.pf-pulse-never:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 720px) { .pf-pulse { right: 10px; bottom: 10px; left: 10px; width: auto; } }
