/* HQ-Feedback (gemeinsame Komponente, identisch in allen Apps). Farben aus den HQ-Tokens mit Rueckfallwerten. */
.hq-fb-open { display: inline-flex; align-items: center; gap: 7px; align-self: center; flex: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
              background: transparent; color: #cfc7bd; border: 1px solid #4a443e; border-radius: 8px; padding: 6px 12px;
              font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; }
.hq-fb-open:hover, .hq-fb-open:focus-visible { color: #fff; border-color: var(--gold, #d2a850); outline: none; }
.hq-fb-open svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

dialog.hq-fb { width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 0;
               border: 1px solid var(--line, #e4ddd2); border-radius: 12px; background: var(--surface, #fff);
               color: var(--ink, #1f1d1b); box-shadow: 0 18px 50px rgba(31, 29, 27, .22);
               font-family: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; font-size: 14px; }
dialog.hq-fb::backdrop { background: rgba(31, 29, 27, .45); }
.hq-fb form { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; margin: 0; }
.hq-fb h2 { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.hq-fb-hint { margin: -6px 0 0; color: var(--muted, #8a7e78); font-size: 13px; }
.hq-fb-types { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.hq-fb-types legend, .hq-fb-label { font-size: 13px; font-weight: 600; color: var(--ink-2, #4a443e); padding: 0; margin-bottom: 6px; }
.hq-fb-chip { position: relative; display: inline-flex; cursor: pointer; }
.hq-fb-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hq-fb-chip span { display: inline-block; padding: 7px 12px; border-radius: 18px; border: 1px solid var(--line-2, #d4c9b9);
                   background: var(--bg, #f5f2ed); font-size: 13px; font-weight: 600; color: var(--ink-2, #4a443e); }
.hq-fb-chip input:checked + span { background: var(--anthracite, #1f1d1b); border-color: var(--anthracite, #1f1d1b); color: #fff; }
.hq-fb-chip input:focus-visible + span { outline: 2px solid var(--gold, #d2a850); outline-offset: 2px; }
.hq-fb textarea { width: 100%; box-sizing: border-box; resize: vertical; min-height: 110px; font: inherit; color: inherit;
                  padding: 10px 12px; border: 1px solid var(--line-2, #d4c9b9); border-radius: 8px; background: #fff; margin-top: -6px; }
.hq-fb textarea:focus { outline: 2px solid var(--gold, #d2a850); outline-offset: 0; border-color: var(--gold, #d2a850); }
.hq-fb-msg { margin: 0; min-height: 1.2em; font-size: 13px; color: var(--ink-2, #4a443e); }
.hq-fb-msg.ok { color: var(--ok, #4c7a4f); font-weight: 600; }
.hq-fb-msg.err { color: var(--conflict, #a6402e); font-weight: 600; }
.hq-fb-actions { display: flex; justify-content: flex-end; gap: 10px; }
.hq-fb-btn { border-radius: 8px; padding: 9px 16px; font: inherit; font-weight: 600; cursor: pointer; border: 1px solid transparent; }
.hq-fb-btn.primary { background: var(--anthracite, #1f1d1b); color: #fff; }
.hq-fb-btn.primary:hover { background: #3a3632; }
.hq-fb-btn.primary:disabled { opacity: .5; cursor: default; }
.hq-fb-btn.secondary { background: var(--surface, #fff); color: var(--ink, #1f1d1b); border-color: var(--line-2, #d4c9b9); }
.hq-fb-btn.secondary:hover { background: var(--sand, #efe8dd); }
@media (max-width: 700px) {
    .hq-fb-open span { display: none; }          /* nur Symbol, Beschriftung bleibt als aria-label */
    .hq-fb-open { padding: 7px 9px; }
    .hq-fb form { padding: 16px; }
    .hq-fb-actions .hq-fb-btn { flex: 1; }
}
