button.support-report-trigger { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-width:44px; min-height:44px; padding:9px 12px; border:1px solid #354259; border-radius:9px; background:#182335; box-shadow:none; color:#bbcee6; font:inherit; font-size:12px; font-weight:600; line-height:18px; white-space:normal; text-align:center; }
button.support-report-trigger:hover { background:#243954; box-shadow:none; color:#edf6ff; }
button.support-report-trigger:focus-visible { outline:2px solid #92c8ff; outline-offset:3px; }
/* Keep the two page controls in separate, stable slots above the mobile navigation. */
button.support-report-floating { position:fixed; right:16px; bottom:calc(24px + env(safe-area-inset-bottom, 0px)); z-index:1080; width:44px; height:44px; padding:10px; border-color:var(--kt-border,#ffffff14); background:var(--kt-surface-raised,#1c2535); color:var(--kt-muted,#a4b2c8); box-shadow:0 4px 16px #0005; }
#scroll_top { display:none; position:fixed; align-items:center; justify-content:center; right:16px; bottom:calc(80px + env(safe-area-inset-bottom, 0px)); z-index:1080; }
#scroll_top[hidden] { display:none !important; }
#scroll_top.is-visible { display:flex; }
#scroll_top #scroll_top_btn { box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; min-height:44px; margin:0; padding:10px; border:1px solid var(--kt-border,#ffffff14); border-radius:9px; background:var(--kt-surface-raised,#1c2535); color:var(--kt-text,#eef3fb); box-shadow:0 4px 16px #0005; }
#scroll_top #scroll_top_btn:hover,button.support-report-floating:hover { background:var(--kt-primary,#2369d0); color:#fff; box-shadow:0 4px 16px #0005; }
#scroll_top_btn:focus-visible { outline:2px solid #92c8ff; outline-offset:3px; }
.support-report-floating[hidden] { display:none !important; }
.auth-header-tools { display:flex; flex:none; align-items:center; justify-content:flex-end; gap:12px; min-width:0; }
.auth-header-tools .back-link { white-space:nowrap; }
.auth-header-tools .support-report-trigger { flex:none; }
.auth-header-tools .support-report-trigger--icon { width:44px; padding:10px; }
body.support-report-open { position:fixed !important; overflow:hidden !important; width:100% !important; }
.support-report[hidden],.support-report [hidden],.support-report-capture[hidden] { display:none !important; }
.support-report,.support-report *,.support-report-capture,.support-report-capture * { box-sizing:border-box; }
.support-report { position:fixed; inset:0; z-index:20000; display:flex; align-items:center; justify-content:center; padding:20px; background:#05090fe8; backdrop-filter:blur(7px); overflow:auto; overscroll-behavior:contain; color:#edf3fc; font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.support-report__panel { display:flex; flex-direction:column; width:min(560px,100%); max-height:calc(100vh - 40px); max-height:calc(100dvh - 40px); min-width:0; overflow:hidden; border:1px solid #354259; border-radius:18px; background:linear-gradient(145deg,#171f2d,#101621); box-shadow:0 24px 64px #0006; }
.support-report__heading { display:flex; flex:none; align-items:center; justify-content:space-between; gap:12px; padding:14px 20px; border-bottom:1px solid #29364a; }
.support-report .support-report__heading h2 { margin:0; color:#edf3fc; font:650 22px/28px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; letter-spacing:-.4px; }
.support-report .support-report__close { display:inline-flex; flex:none; align-items:center; justify-content:center; width:44px; height:44px; min-height:44px; padding:0; border:1px solid #354259; border-radius:9px; background:#202d40; box-shadow:none; color:#d9e9fc; }
.support-report .support-report__close:hover { background:#2b3d56; box-shadow:none; }
.support-report__form { display:flex; flex-direction:column; flex:1 1 auto; min-height:0; margin:0; }
.support-report__body { flex:1 1 auto; min-height:0; overflow-y:auto; padding:18px 20px; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#6b819e transparent; }
.support-report .support-report__muted { margin:0; color:#a3afc2; font-size:13px; line-height:20px; }
.support-report__field { margin-top:18px; }
.support-report .support-report__field label { display:block; margin:0 0 7px; color:#dbe4f1; font-size:13px; font-weight:600; }
.support-report .support-report__field textarea { display:block; width:100%; min-height:96px; max-height:240px; margin:0; padding:10px 12px; border:1px solid #40516d; border-radius:9px; background:#0d1320; box-shadow:none; color:#edf3fc; font:16px/24px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; resize:vertical; }
.support-report .support-report__field textarea[aria-invalid="true"] { border-color:#e57f8a; }
.support-report .support-report__hint { margin:7px 0 0; color:#a3afc2; font-size:11px; line-height:17px; }
.support-report__attachment { display:block; margin-top:20px; padding-top:18px; border-top:1px solid #29364a; }
.support-report__section-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
.support-report .support-report__section-title h3 { margin:0; color:#dbe4f1; font-size:14px; line-height:20px; font-weight:600; }
.support-report__section-title > span { color:#94a5bd; font-size:11px; line-height:17px; }
.support-report .support-report__button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; margin:0; padding:10px 15px; border:1px solid transparent; border-radius:9px; box-shadow:none; font:600 13px/20px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-align:center; white-space:normal; cursor:pointer; }
.support-report .support-report__button--primary { background:var(--kt-primary,#2369d0); color:white; }
.support-report .support-report__button--primary:hover:not(:disabled) { background:#1f5bb8; box-shadow:none; }
.support-report .support-report__button--secondary { border-color:#40516d; background:#202d40; color:#d9e9fc; }
.support-report .support-report__button--secondary:hover:not(:disabled) { background:#2b3d56; box-shadow:none; }
.support-report__attachment > .support-report__button { margin-top:12px; }
.support-report button:disabled { opacity:.5; cursor:not-allowed; }
.support-report__preview { margin-top:14px; }
.support-report__preview > img { display:block; width:100%; max-height:min(260px,32vh); height:auto; object-fit:contain; border:1px solid #40516d; border-radius:9px; background:#080b12; }
.support-report__attachment-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; }
.support-report .support-report__text-button { min-height:44px; margin:0; padding:8px 0; border:0; border-radius:4px; background:transparent; box-shadow:none; color:#9ccaff; font:600 12px/18px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-decoration:none; }
.support-report .support-report__text-button:hover { background:transparent; box-shadow:none; color:#d1e8ff; text-decoration:underline; }
.support-report__device { margin-top:18px; padding-top:14px; border-top:1px solid #29364a; }
.support-report__device > summary { min-height:44px; color:#dbe4f1; font-size:13px; line-height:20px; cursor:pointer; }
.support-report__device > summary > span { display:block; margin:3px 0 0 16px; color:#94a5bd; font-size:11px; line-height:17px; }
.support-report__device dl { display:grid; gap:9px; margin:14px 0 0; }
.support-report__device dl > div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.4fr); gap:12px; }
.support-report__device dt { color:#94a5bd; font-size:11px; line-height:17px; }
.support-report__device dd { min-width:0; margin:0; color:#dbe4f1; font-size:12px; line-height:18px; overflow-wrap:anywhere; }
.support-report__device dl > .support-report__user-agent { grid-template-columns:minmax(0,1fr); gap:4px; }
.support-report__device .support-report__user-agent dd { font-size:11px; line-height:17px; }
.support-report .support-report__status { margin:16px 0 0; padding:10px 12px; border:1px solid #375376; border-radius:8px; background:#182c45; color:#bddcff; font-size:12px; line-height:19px; overflow-wrap:anywhere; }
.support-report .support-report__status.is-error { border-color:#673542; background:#41212b; color:#ffabb2; }
.support-report__footer { display:flex; flex:none; justify-content:flex-end; gap:10px; margin:0; padding:14px 20px; border-top:1px solid #29364a; background:#101621; }
.support-report__footer .support-report__button--primary { min-width:140px; }
.support-report__success { padding:26px 22px; text-align:center; overflow-y:auto; }
.support-report__success-icon { display:flex; align-items:center; justify-content:center; width:48px; height:48px; margin:0 auto 16px; border:1px solid #2c685a; border-radius:50%; background:#14332e; color:#a5ead5; font-size:26px; }
.support-report .support-report__success h3 { margin:0 0 10px; color:#edf3fc; font-size:20px; line-height:26px; }
.support-report__success > p { margin:0 0 20px; color:#a3afc2; font-size:13px; line-height:20px; }
.support-report button:focus-visible,.support-report textarea:focus-visible,.support-report summary:focus-visible { outline:2px solid #92c8ff !important; outline-offset:3px; }
.support-report-capture { position:fixed; inset:0; z-index:20001; display:flex; align-items:flex-start; justify-content:center; padding:20px; touch-action:none; overscroll-behavior:contain; }
.support-report-capture > div { display:flex; align-items:center; gap:16px; max-width:100%; padding:10px 12px 10px 16px; border:1px solid #40516d; border-radius:12px; background:#101b2d; box-shadow:0 10px 40px #0008; color:#dbe4f1; font:13px/20px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.support-report-capture button { display:inline-flex; align-items:center; justify-content:center; min-height:44px; margin:0; padding:8px 12px; border:1px solid #40516d; border-radius:8px; background:#202d40; box-shadow:none; color:#dbe4f1; font:600 12px/18px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.support-report-capture button:hover { background:#2b3d56; box-shadow:none; }
@media(max-width:1250px) {
    .page-controls-has-nav #scroll_top { bottom:calc(132px + env(safe-area-inset-bottom, 0px)); }
    .page-controls-has-nav button.support-report-floating { bottom:calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media(max-width:699px) {
    button.support-report-floating,#scroll_top #scroll_top_btn { box-sizing:border-box; width:36px; height:36px; min-width:36px; min-height:36px; padding:8px; border-radius:8px; }
    button.support-report-floating,#scroll_top { right:12px; }
    button.support-report-floating svg,#scroll_top_btn svg { width:18px; height:18px; }
    #scroll_top { bottom:calc(72px + env(safe-area-inset-bottom, 0px)); }
    .page-controls-has-nav #scroll_top { bottom:calc(124px + env(safe-area-inset-bottom, 0px)); }
}
@media(max-width:520px) {
    .auth-header-tools { gap:8px; }
    .support-report { padding:10px; }
    .support-report__panel { max-height:calc(100vh - 20px); max-height:calc(100dvh - 20px); border-radius:14px; }
    .support-report__heading { padding:10px 14px; }
    .support-report .support-report__heading h2 { font-size:19px; line-height:25px; }
    .support-report__body { padding:14px; }
    .support-report__footer { padding:12px 14px; }
    .support-report__footer .support-report__button { flex:1; min-width:0; }
    .support-report__preview > img { max-height:180px; }
}
@media(max-height:600px) { .auth-entry-page { grid-template-rows:44px minmax(0,1fr) 0; } }
@media(prefers-reduced-motion:reduce) { .support-report * { transition:none !important; animation:none !important; } }
