:root { --support-image-plate: #fff; --support-image-error: #9d342d; --support-scrim: rgba(20, 24, 26, .45); --support-shadow: 0 16px 56px rgba(20, 24, 26, .15); }
.support-trigger { display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); font: 500 12px/1.4 var(--sans); white-space: nowrap; cursor: pointer; }
.support-trigger svg, .support-close svg { display: block; flex: none; width: 18px; height: 18px; }
.support-trigger:hover, .support-close:hover { background: var(--hover); color: var(--accent-ink); }
.support-trigger:focus-visible, .support-close:focus-visible, .support-original:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.support-login { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; color: var(--muted); font-size: 12px; }
:root.support-modal-open { overflow: hidden; }
.support-dialog { width: min(420px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: var(--support-shadow); overflow: auto; overscroll-behavior: contain; }
.support-dialog[open] { display: grid; gap: 14px; }
.support-dialog::backdrop { background: var(--support-scrim); }
.support-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.support-heading h2 { margin: 0; font-size: 18px; font-weight: 650; }
.support-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.support-close { display: flex; flex: none; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.support-image { display: flex; justify-content: center; min-width: 0; border-radius: 10px; background: var(--support-image-plate); }
.support-qr { display: block; width: auto; height: auto; max-width: 100%; max-height: 55vh; max-height: 55dvh; margin: 0 auto; object-fit: contain; border-radius: 0; -webkit-touch-callout: default; }
.support-qr[hidden] { display: none; }
.support-notice { padding: 24px 16px; color: var(--support-image-error); font-size: 13px; line-height: 1.8; }
.support-instructions { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.support-original { display: flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--sunken); color: var(--ink); font-size: 13px; font-weight: 500; text-decoration: none; }
.support-original:hover { background: var(--hover); }
@media (max-width: 1100px) {
  .landing-controls .support-trigger { min-width: 36px; padding-inline: 6px; }
  .landing-controls .support-trigger svg, .landing-controls .support-label-prefix { display: none; }
}
@media (max-width: 600px) {
  .admin-head-actions .support-trigger { min-width: 36px; padding-inline: 6px; }
  .admin-head-actions .support-trigger svg, .admin-head-actions .support-label-prefix { display: none; }
  .support-dialog { padding: 16px; }
}
