/* Inline preferences and persistent navigation for long guides. */
.developer-notes { display: grid; gap: 22px; margin-top: 22px; }
.patch-note { border-top: 1px solid var(--line); padding-top: 18px; }
.patch-note h3 { margin: 0 0 12px; color: var(--accent); font-size: 17px; font-weight: 800; }
.patch-note ul { margin: 0; padding-left: 20px; color: var(--ink); font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.patch-note li + li { margin-top: 7px; }
.menu-theme { border: 0; padding: 12px 10px 16px; margin: 10px 0 2px; min-width: 0; }
.menu-theme legend { padding: 0; font-size: 13px; font-weight: 800; }
.menu-theme-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.menu-theme-option { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 70px; padding: 10px 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-raised); color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 800; }
.menu-theme-option > input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; opacity: 0; margin: 0; padding: 0; cursor: pointer; }
.menu-theme-option > .icon { width: 20px; height: 20px; }
.menu-theme-option:has(input:checked) { background: var(--accent); border-color: var(--accent); color: var(--bg); }
[data-theme="light"] .menu-theme-option:has(input:checked) { color: #fff; }
.feedback-form > textarea { display: block; margin-bottom: 0; }
.feedback-description #feedback-count { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 360px) { .feedback-modal .feedback-description { font-size: 11px; letter-spacing: -.1px; } }
.feedback-footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 12px; }
.feedback-actions>span { font-size: 11px; font-weight: 600; color: var(--muted); }
.feedback-actions { display: flex; align-items: center; gap: 10px; }
.feedback-form .feedback-send { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; min-height: 48px; padding: 0; border-radius: 50%; box-shadow: none; }
.feedback-send>.icon { width: 21px; height: 21px; margin: 0; }
.feedback-form .feedback-send:disabled { opacity: .5; cursor: not-allowed; transform: none; filter: none; }
.coffee-modal h2 { font-size: clamp(18px,5.4vw,29px); line-height: 1.35; white-space: nowrap; letter-spacing: -.6px; margin-inline: 0; }
.coffee-greeting { white-space: pre-line; }
.coffee-modal:has(.coffee-payment) { width: min(510px,100%); padding-top: 28px; }
.coffee-modal:has(.coffee-payment) .coffee-emblem { display: none; }
.coffee-modal:has(.coffee-payment) .eyebrow { margin-right: 40px; font-size: 10px; }
.coffee-payment { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 18px; }
.coffee-qr { display: block; width: auto; height: auto; max-width: 100%; max-height: min(300px,40dvh); border-radius: 12px; background: #fff; }
.coffee-instructions { text-align: center; color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0; }
.coffee-pay-link { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; padding: 12px 18px; border-radius: 12px; background: #fee500; color: #191919; text-decoration: none; font-size: 15px; font-weight: 800; }
.coffee-pay-link:hover { background: #f3da00; }
.coffee-pay-link .icon { width: 16px; height: 16px; }
@media (max-width: 540px) {
  .coffee-modal:has(.coffee-payment) { padding: 26px 22px 22px; }
  .coffee-payment { gap: 10px; margin-top: 12px; }
  .coffee-qr { max-height: min(260px,35dvh); }
  .coffee-instructions { font-size: 11px; }
  .coffee-pay-link { min-height: 44px; font-size: 13px; }
}
.help-modal { padding-top: 0; }
@media (max-width: 540px) {
  .menu-theme { padding-left: 7px; padding-right: 7px; }
  .menu-theme-option { font-size: 10px; }
}
