#call-preference-settings {
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: .2em;
}
#call-preference-settings:hover { color: var(--accent); }
#call-preferences {
  position: fixed;
  z-index: 25;
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  width: min(375px, calc(100% - 24px));
  max-height: 55vh;
  overflow: auto;
  padding: 16px 18px;
  border: 1px solid #66717b;
  border-radius: 5px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 4px 20px #0006;
}
body.mss-has-tray #call-preferences { bottom: calc(78px + env(safe-area-inset-bottom)); }
#call-preferences h2 { margin-bottom: 7px; font-size: 17px; }
#call-preferences p { color: var(--muted); font-size: 14px; line-height: 1.45; }
#call-choice-status { margin-top: 5px; }
.call-choice-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.call-choice-actions button {
  min-height: 42px;
  padding: 7px 13px;
  font-weight: 650;
  font-size: 14px;
  border-color: #79838d;
}
.call-choice-actions button:hover { border-color: var(--accent); }
@media print { #call-preferences, #call-preference-settings { display: none; } }
