/* B's T233 hand-off: "Send feedback" and the demo mark (feedback.js), structure only, for E's look.
   - .feedback-pill: the menu's foot, after How do I (a .nav like it: icon and label, so the folded menu keeps the
     icon); only where the server offers it (/me `feedback`);
   - .feedback-box: a modal <dialog> (top layer: never clipped by the menu, never over the help chat's launcher);
     its note, a counter in the last 300 characters, the server's own sentence on a refusal, then "Sent, thanks";
   - .demo-mark: "Demo: made-up data" in the server's words, under the brand in the menu and in the phone's top bar. */
.feedback-box { width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: var(--edge); border-radius: var(--r-lg); background: var(--surface); color: var(--fg); box-shadow: var(--lift-2); }
.feedback-box::backdrop { background: rgb(0 0 0 / .35); }
.feedback-form { display: grid; gap: 10px; padding: 18px 20px 20px; }
.feedback-form h2 { margin: 0; font-size: var(--t-h3, 1.15rem); }
.feedback-form .hint { margin: 0; overflow-wrap: anywhere; }
.feedback-form label { font-weight: 700; }
.feedback-form textarea { width: 100%; min-height: 8em; resize: vertical; font: inherit; box-sizing: border-box; }
.feedback-count:empty { display: none; }
.feedback-error { margin: 0; }
.feedback-form .pop-buttons .btn { min-height: 44px; }
.demo-slot:empty { display: none; }
.demo-mark { display: inline-block; padding: 2px 10px; border-radius: 999px; border: 1px dashed currentColor; font-size: var(--t-small); font-weight: 700; opacity: .85; white-space: nowrap; }
.demo-slot .demo-mark-side { margin: 0 0 8px; }
.topbar .demo-slot { margin-left: auto; }
.menu-folded > .side .demo-slot { display: none; }
@media (max-width: 699px) {
  .feedback-box { width: calc(100vw - 16px); }
  .feedback-form { padding: 14px; }
}
