/* PWA shell tweaks on top of the page styles. */
html, body { margin: 0; padding: 0; background: #FBF7EF; }
body {
  -webkit-text-size-adjust: 100%;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}
#app { min-height: 100vh; }

/* list rows become buttons here (no platform List component) */
.pr-check {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid #C9BFA8;
  background: #fff; color: #fff; font-size: 13px; line-height: 1;
  display: grid; place-items: center; padding: 0;
}
.pr-check-on { background: #3E9CCF; border-color: #3E9CCF; }
.pr-list-row { align-items: center; }
.pr-list-main { display: flex; flex-direction: column; gap: 2px; }
.pr-list-sub { font-size: 11.5px; color: #4A6379; }
.pr-del {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; cursor: pointer;
  border: 1px solid #E7DFCE; background: #fff; color: #4A6379; font-size: 17px; line-height: 1;
}
.pr-addrow { display: flex; gap: 8px; margin-top: 10px; }
.pr-addrow .pr-input { flex: 1 1 auto; }
.pr-quick-close { display: flex; justify-content: flex-end; margin: -4px 0 8px; }
.pr-quick-close .pr-btn { min-height: 38px; }
.pr-brand-side { display: flex; align-items: center; gap: 10px; }
.pr-brand-side .pr-add-btn { margin-inline-start: 0; }

/* standalone: keep content off the notch */
@media (display-mode: standalone) {
  .pr-topbar { padding-top: calc(9px + env(safe-area-inset-top)); }
}
