#topmenu_quick_feedback_slot {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
}
#topmenu_quick_feedback {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid rgba(0, 120, 212, 0.22);
    background: rgba(0, 120, 212, 0.06);
    color: #0078d4;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
#topmenu_quick_feedback:hover,
#topmenu_quick_feedback:focus-visible {
    background: rgba(0, 120, 212, 0.12);
    border-color: rgba(0, 120, 212, 0.45);
    outline: none;
}
#topmenu_quick_feedback.is-busy {
    opacity: 0.7;
    pointer-events: none;
}
#topmenu_quick_feedback i {
    font-size: 14px;
}
.po-qf-dialog {
    position: fixed;
    inset: 0;
    z-index: 12050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.po-qf-dialog.d-none {
    display: none !important;
}
.po-qf-dialog-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}
.po-qf-dialog-panel {
    position: relative;
    width: min(980px, 100%);
    max-height: min(92vh, 900px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
    border: 1px solid rgba(15, 23, 42, 0.08);
}
.po-qf-dialog-panel--success .po-qf-dialog-header {
    display: none;
}
.po-qf-dialog-header,
.po-qf-dialog-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    flex-shrink: 0;
}
.po-qf-dialog-header {
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.po-qf-dialog-header-copy {
    flex: 1;
    min-width: 0;
    text-align: left;
}
.po-qf-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    text-align: left;
}
.po-qf-intro {
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
    text-align: left;
}
.po-qf-dialog-body {
    padding: 16px 18px;
    overflow: auto;
    flex: 1;
    min-height: 0;
}
.po-qf-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 18px;
    align-items: stretch;
    min-height: 360px;
}
.po-qf-form-col {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.po-qf-form-col--left {
    justify-content: flex-start;
}
.po-qf-form-col--right {
    justify-content: flex-start;
}
.po-qf-type-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}
.po-qf-type-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid #d0d7de;
    background: #f8fafc;
    color: #334155;
    font-weight: 600;
    cursor: pointer;
}
.po-qf-type-btn.is-active {
    border-color: #0078d4;
    background: rgba(0, 120, 212, 0.1);
    color: #0078d4;
}
.po-qf-label {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-align: left;
}
.po-qf-description-hint {
    margin: 0 0 8px;
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
    text-align: left;
}
.po-qf-textarea {
    width: 100%;
    min-height: 220px;
    flex: 1;
    resize: vertical;
    border-radius: 10px;
    border: 1px solid #d0d7de;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.45;
    color: #0f172a;
}
.po-qf-textarea:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.15);
}
.po-qf-screenshot-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.po-qf-screenshot-head .po-qf-label {
    margin-bottom: 0;
}
.po-qf-marker-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.po-qf-marker-toolbar-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-right: 4px;
}
.po-qf-marker-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #d0d7de;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.po-qf-marker-btn:hover:not(:disabled),
.po-qf-marker-btn:focus-visible:not(:disabled) {
    border-color: #0078d4;
    color: #0078d4;
    outline: none;
}
.po-qf-marker-btn.is-active {
    border-color: #0078d4;
    background: rgba(0, 120, 212, 0.1);
    color: #0078d4;
}
.po-qf-marker-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.po-qf-screenshot-stage {
    position: relative;
    flex: 1;
    min-height: 280px;
    max-height: min(58vh, 520px);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #0f172a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.po-qf-screenshot-stage.d-none {
    display: none !important;
}
.po-qf-screenshot-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    pointer-events: none;
}
.po-qf-annotation-canvas {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    touch-action: none;
    pointer-events: auto;
}
.po-qf-annotation-canvas--tool-draw {
    cursor: crosshair;
}
.po-qf-annotation-canvas--tool-move {
    cursor: move;
}
.po-qf-link-btn {
    border: 0;
    background: transparent;
    color: #0078d4;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}
.po-qf-link-btn:hover {
    text-decoration: underline;
}
.po-qf-dialog-footer {
    border-top: 1px solid #e5e7eb;
    justify-content: flex-end;
    align-items: center;
}
.po-qf-footer-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
}
.po-qf-dialog-footer--success {
    justify-content: center;
}
.po-qf-dialog-footer--success .po-qf-footer-actions {
    justify-content: center;
}
.po-qf-success-panel {
    text-align: left;
    padding: 8px 2px 4px;
    width: 100%;
    max-width: none !important;
}
.po-qf-success-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 20px;
    align-items: center;
    min-height: 320px;
}
.po-qf-success-copy {
    min-width: 0;
}
.po-qf-success-celebration {
    position: relative;
    min-height: 280px;
    min-width: 240px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 20%, rgba(0, 120, 212, 0.12) 0%, transparent 52%),
        radial-gradient(circle at 70% 75%, rgba(22, 163, 74, 0.14) 0%, transparent 55%),
        linear-gradient(160deg, #f8fafc 0%, #eff6ff 48%, #f0fdf4 100%);
    border: 1px solid rgba(0, 120, 212, 0.12);
}
.po-qf-success-hero-check {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 118px;
    height: 118px;
    margin: -59px 0 0 -59px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 54px;
    color: #16A34A;
    background: linear-gradient(145deg, #DCFCE7 0%, #BBF7D0 100%);
    box-shadow: 0 16px 40px rgba(22, 163, 74, 0.22);
    transform: scale(0.35);
    opacity: 0;
    z-index: 2;
}
.po-qf-success-celebration.is-playing .po-qf-success-hero-check {
    animation: po-qf-success-hero-pop 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.po-qf-success-burst {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}
.po-qf-confetti {
    position: absolute;
    left: 50%;
    top: 46%;
    width: var(--po-qf-w, 8px);
    height: var(--po-qf-h, 12px);
    margin-left: calc(var(--po-qf-w, 8px) / -2);
    margin-top: calc(var(--po-qf-h, 12px) / -2);
    border-radius: var(--po-qf-radius, 2px);
    background: var(--po-qf-color, #0078D4);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
}
.po-qf-success-celebration.is-playing .po-qf-confetti {
    animation: po-qf-confetti-burst 2.5s cubic-bezier(0.18, 0.84, 0.32, 1) var(--po-qf-delay, 0s) forwards;
}
.po-qf-success-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.po-qf-sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #FBBF24;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.65);
    opacity: 0;
}
.po-qf-sparkle--1 { left: 18%; top: 22%; }
.po-qf-sparkle--2 { right: 16%; top: 28%; }
.po-qf-sparkle--3 { left: 24%; bottom: 20%; }
.po-qf-sparkle--4 { right: 22%; bottom: 18%; }
.po-qf-success-celebration.is-playing .po-qf-sparkle {
    animation: po-qf-sparkle-pop 1.8s ease-out forwards;
}
.po-qf-success-celebration.is-playing .po-qf-sparkle--2 {
    animation-delay: 0.15s;
}
.po-qf-success-celebration.is-playing .po-qf-sparkle--3 {
    animation-delay: 0.28s;
}
.po-qf-success-celebration.is-playing .po-qf-sparkle--4 {
    animation-delay: 0.42s;
}
.po-qf-success-celebration.is-reduced-motion .po-qf-confetti,
.po-qf-success-celebration.is-reduced-motion .po-qf-sparkle {
    animation: none !important;
    opacity: 0;
}
.po-qf-success-celebration.is-reduced-motion .po-qf-success-hero-check {
    animation: none !important;
    transform: scale(1);
    opacity: 1;
}
@keyframes po-qf-success-hero-pop {
    0% {
        transform: scale(0.35);
        opacity: 0;
    }
    55% {
        transform: scale(1.08);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes po-qf-confetti-burst {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.15) rotate(0deg);
    }
    12% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--po-qf-dx, 0px)), calc(-50% + var(--po-qf-dy, 120px))) scale(1) rotate(var(--po-qf-rot, 360deg));
    }
}
@keyframes po-qf-sparkle-pop {
    0% {
        opacity: 0;
        transform: scale(0.2);
    }
    20% {
        opacity: 1;
        transform: scale(1.15);
    }
    100% {
        opacity: 0;
        transform: scale(0.6);
    }
}
@media (max-width: 860px) {
    .po-qf-success-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .po-qf-success-celebration {
        min-height: 200px;
        order: -1;
    }
}
@media (prefers-reduced-motion: reduce) {
    .po-qf-success-celebration.is-playing .po-qf-confetti,
    .po-qf-success-celebration.is-playing .po-qf-sparkle,
    .po-qf-success-celebration.is-playing .po-qf-success-hero-check {
        animation: none !important;
    }
    .po-qf-success-celebration.is-playing .po-qf-success-hero-check {
        transform: scale(1);
        opacity: 1;
    }
}
.po-qf-success-headline {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    color: #0F172A;
    text-align: left;
}
.po-qf-success-lead,
.po-qf-success-body,
.po-qf-success-next {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
    text-align: left;
}
.po-qf-success-next {
    color: #64748B;
    margin-bottom: 16px;
}
.po-qf-success-ticket-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #BBF7D0;
    background: #F0FDF4;
}
.po-qf-success-ticket-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #166534;
}
.po-qf-success-ticket-value {
    font-size: 18px;
    line-height: 1.3;
    color: #14532D;
    font-weight: 700;
    word-break: break-word;
}
.po-qf-btn-done {
    min-width: 148px;
    justify-content: center;
}
.po-qf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.po-qf-btn-secondary {
    background: #ffffff;
    border-color: #d0d7de;
    color: #334155;
}
.po-qf-btn-primary {
    background: linear-gradient(180deg, #1a8fe3 0%, #0078d4 100%);
    color: #ffffff;
}
.po-qf-btn-primary.is-success {
    background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
}
.po-qf-btn-primary.is-busy,
.po-qf-btn-primary:disabled {
    opacity: 0.75;
    cursor: wait;
}
.po-qf-icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #d0d7de;
    background: #ffffff;
    color: #64748b;
    cursor: pointer;
}
.po-qf-error,
.po-qf-success {
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 12px;
}
.po-qf-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.po-qf-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
@media (max-width: 860px) {
    .po-qf-form-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .po-qf-form-col--right {
        order: -1;
    }
    .po-qf-screenshot-stage {
        min-height: 200px;
        max-height: 42vh;
    }
    .po-qf-textarea {
        min-height: 140px;
    }
}
html[data-theme="dark"] .po-qf-dialog-panel,
body.dark-mode .po-qf-dialog-panel {
    background: #1e2530;
    border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .po-qf-title,
body.dark-mode .po-qf-title {
    color: #f8fafc;
}
html[data-theme="dark"] .po-qf-intro,
html[data-theme="dark"] .po-qf-label,
html[data-theme="dark"] .po-qf-description-hint,
html[data-theme="dark"] .po-qf-marker-toolbar-label,
body.dark-mode .po-qf-intro,
body.dark-mode .po-qf-label,
body.dark-mode .po-qf-description-hint,
body.dark-mode .po-qf-marker-toolbar-label {
    color: #cbd5e1;
}
html[data-theme="dark"] .po-qf-textarea,
html[data-theme="dark"] .po-qf-type-btn,
html[data-theme="dark"] .po-qf-marker-btn,
body.dark-mode .po-qf-textarea,
body.dark-mode .po-qf-type-btn,
body.dark-mode .po-qf-marker-btn {
    background: #151a22;
    border-color: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}
html[data-theme="dark"] .po-qf-marker-btn.is-active,
html[data-theme="dark"] .po-qf-type-btn.is-active,
body.dark-mode .po-qf-marker-btn.is-active,
body.dark-mode .po-qf-type-btn.is-active {
    border-color: #60a5fa;
    background: rgba(96, 165, 250, 0.15);
    color: #93c5fd;
}
html[data-theme="dark"] .po-qf-screenshot-stage,
body.dark-mode .po-qf-screenshot-stage {
    border-color: rgba(255, 255, 255, 0.1);
    background: #0b0f14;
}
html[data-theme="dark"] .po-qf-success-celebration,
body.dark-mode .po-qf-success-celebration {
    background:
        radial-gradient(circle at 30% 20%, rgba(96, 165, 250, 0.16) 0%, transparent 52%),
        radial-gradient(circle at 70% 75%, rgba(74, 222, 128, 0.14) 0%, transparent 55%),
        linear-gradient(160deg, #151a22 0%, #1a2330 50%, #142018 100%);
    border-color: rgba(96, 165, 250, 0.18);
}
html[data-theme="dark"] .po-qf-success-hero-check,
body.dark-mode .po-qf-success-hero-check {
    color: #4ADE80;
    background: linear-gradient(145deg, rgba(22, 163, 74, 0.35) 0%, rgba(74, 222, 128, 0.2) 100%);
    box-shadow: 0 16px 40px rgba(22, 163, 74, 0.28);
}
html[data-theme="dark"] .po-qf-success-headline,
body.dark-mode .po-qf-success-headline {
    color: #F8FAFC;
}
html[data-theme="dark"] .po-qf-success-lead,
html[data-theme="dark"] .po-qf-success-body,
html[data-theme="dark"] .po-qf-success-next,
body.dark-mode .po-qf-success-lead,
body.dark-mode .po-qf-success-body,
body.dark-mode .po-qf-success-next {
    color: #CBD5E1;
}
html[data-theme="dark"] .po-qf-success-ticket-card,
body.dark-mode .po-qf-success-ticket-card {
    background: rgba(22, 163, 74, 0.12);
    border-color: rgba(74, 222, 128, 0.25);
}
html[data-theme="dark"] .po-qf-success-ticket-label,
html[data-theme="dark"] .po-qf-success-ticket-value,
body.dark-mode .po-qf-success-ticket-label,
body.dark-mode .po-qf-success-ticket-value {
    color: #BBF7D0;
}
html[data-theme="dark"] .po-qf-dialog-header,
html[data-theme="dark"] .po-qf-dialog-footer,
body.dark-mode .po-qf-dialog-header,
body.dark-mode .po-qf-dialog-footer {
    border-color: rgba(255, 255, 255, 0.08);
}
.po-qf-capture-toast {
    position: fixed;
    top: 22vh;
    left: 50%;
    z-index: 13000;
    width: min(480px, calc(100vw - 32px));
    transform: translate(-50%, -10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.po-qf-capture-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}
.po-qf-capture-toast.is-firefox {
    top: 14px;
    left: 400px;
    width: min(480px, calc(100vw - 416px));
    transform: translateY(-10px);
}
.po-qf-capture-toast.is-firefox.is-visible {
    transform: translateY(0);
}
.po-qf-capture-toast-inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 12px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #0078d4;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 0 0 1px rgba(0, 90, 158, 0.35),
        0 14px 36px rgba(0, 90, 158, 0.42);
    color: #ffffff;
}
.po-qf-capture-toast.is-visible .po-qf-capture-toast-inner {
    animation: po-qf-capture-toast-pulse 1.4s ease-in-out 2;
}
.po-qf-capture-toast-arrow {
    position: absolute;
    top: -10px;
    left: 28px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #0078d4;
    filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.2));
}
.po-qf-capture-toast.is-chromium .po-qf-capture-toast-arrow {
    display: none;
}
.po-qf-capture-toast-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 18px;
}
.po-qf-capture-toast.is-visible .po-qf-capture-toast-icon {
    animation: po-qf-capture-toast-arrow-nudge 0.9s ease-in-out 3;
}
.po-qf-capture-toast-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.po-qf-capture-toast-title {
    font-size: 1.02rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.3;
}
.po-qf-capture-toast-body {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.4;
}
@keyframes po-qf-capture-toast-pulse {
    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(0, 90, 158, 0.35),
            0 14px 36px rgba(0, 90, 158, 0.42);
    }
    50% {
        box-shadow:
            0 0 0 3px rgba(255, 255, 255, 0.35),
            0 16px 40px rgba(0, 90, 158, 0.55);
    }
}
@keyframes po-qf-capture-toast-arrow-nudge {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}
html[data-theme="dark"] .po-qf-capture-toast-inner,
body.dark-mode .po-qf-capture-toast-inner {
    background: #1d8fff;
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow:
        0 0 0 1px rgba(29, 143, 255, 0.45),
        0 16px 40px rgba(0, 0, 0, 0.55);
}
html[data-theme="dark"] .po-qf-capture-toast-arrow,
body.dark-mode .po-qf-capture-toast-arrow {
    border-bottom-color: #1d8fff;
}
@media (max-width: 900px) {
    .po-qf-capture-toast,
    .po-qf-capture-toast.is-firefox {
        top: 14px;
        left: 50%;
        width: calc(100vw - 32px);
        transform: translate(-50%, -10px);
    }
    .po-qf-capture-toast.is-visible,
    .po-qf-capture-toast.is-firefox.is-visible {
        transform: translate(-50%, 0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .po-qf-capture-toast {
        transition: none;
    }
    .po-qf-capture-toast.is-visible .po-qf-capture-toast-inner,
    .po-qf-capture-toast.is-visible .po-qf-capture-toast-icon {
        animation: none;
    }
}
