.mozhe-feedback-open { overflow: hidden; }
.mozhe-feedback-overlay { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; background: rgba(19, 22, 35, .62); }
.mozhe-feedback-dialog { box-sizing: border-box; width: min(100%, 520px); max-height: min(92vh, 760px); overflow-y: auto; border-radius: 20px; padding: 20px 24px; background: #fff; color: #202633; box-shadow: 0 24px 80px rgba(0,0,0,.3); font: 14px/1.5 system-ui, sans-serif; }
.mozhe-feedback-dialog * { box-sizing: border-box; }
.mozhe-feedback-dialog header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.mozhe-feedback-dialog header small { color: #67738a; font-size: 11px; letter-spacing: .14em; }
.mozhe-feedback-dialog h2 { margin: 2px 0 0; font-size: 24px; }
.mozhe-feedback-close { border: 0; background: #f1f3f7; border-radius: 50%; width: 34px; height: 34px; font-size: 24px; line-height: 1; cursor: pointer; }
.mozhe-feedback-lead { color: #596577; margin: 8px 0 12px; }
.mozhe-feedback-qq { display: grid; grid-template-columns: 1fr auto; gap: 2px; padding: 10px 14px; border: 1px solid #c8d7ff; border-radius: 12px; background: #f3f7ff; color: #2453b2; text-decoration: none; }
.mozhe-feedback-qq strong { font-size: 16px; }
.mozhe-feedback-qq span { grid-row: 2; color: #61708c; }
.mozhe-feedback-qq b { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 19px; }
.mozhe-feedback-qq:hover { background: #eaf1ff; }
.mozhe-feedback-tabs { display: flex; gap: 16px; border-bottom: 1px solid #dce2eb; margin: 14px 0 10px; }
.mozhe-feedback-tabs button { border: 0; border-bottom: 2px solid transparent; padding: 0 0 10px; background: none; color: #667184; font: inherit; font-weight: 700; cursor: pointer; }
.mozhe-feedback-tabs button[aria-selected="true"] { border-color: #3568d4; color: #234eaa; }
.mozhe-feedback-form { display: grid; gap: 5px; }
.mozhe-feedback-form label { font-weight: 700; margin-top: 6px; }
.mozhe-feedback-form input, .mozhe-feedback-form select, .mozhe-feedback-form textarea, .mozhe-feedback-lookup input { width: 100%; border: 1px solid #cbd3df; border-radius: 9px; background: #fff; color: #202633; padding: 8px 12px; font: inherit; }
.mozhe-feedback-form textarea { min-height: 86px; resize: vertical; }
.mozhe-feedback-hint { color: #738092; }
.mozhe-feedback-form .mozhe-feedback-trap { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mozhe-feedback-submit, .mozhe-feedback-lookup button { border: 0; border-radius: 9px; background: #3268d8; color: #fff; padding: 11px 16px; font: inherit; font-weight: 700; cursor: pointer; }
.mozhe-feedback-submit { margin-top: 6px; }
.mozhe-feedback-submit:disabled { opacity: .6; cursor: wait; }
.mozhe-feedback-history { display: grid; gap: 14px; }
.mozhe-feedback-history[hidden], .mozhe-feedback-form[hidden] { display: none; }
.mozhe-feedback-receipts { display: flex; flex-wrap: wrap; gap: 8px; max-height: 110px; overflow: auto; }
.mozhe-feedback-receipts p { color: #697589; margin: 0; }
.mozhe-feedback-receipt { border: 1px solid #d5deed; border-radius: 8px; background: #f5f7fb; padding: 7px 10px; cursor: pointer; }
.mozhe-feedback-lookup { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 8px; align-items: center; }
.mozhe-feedback-lookup strong { grid-column: 1 / -1; }
.mozhe-feedback-result { overflow-wrap: anywhere; white-space: pre-wrap; }
.mozhe-feedback-result p { margin: 8px 0; }
.mozhe-feedback-result small { display: block; border-radius: 8px; padding: 10px; background: #f1f5fb; }
.mozhe-feedback-thread-entry { margin-top: 8px; border-radius: 8px; padding: 10px; background: #f1f5fb; }
.mozhe-feedback-thread-entry strong { color: #485774; font-size: 12px; }
.mozhe-feedback-thread-entry p { margin: 4px 0 0; }
.mozhe-feedback-reply-form { display: grid; gap: 8px; margin-top: 12px; }
.mozhe-feedback-reply-form textarea { width: 100%; border: 1px solid #cbd3df; border-radius: 9px; background: #fff; color: #202633; padding: 10px 12px; font: inherit; resize: vertical; }
.mozhe-feedback-reply-form button { justify-self: start; border: 0; border-radius: 9px; background: #3268d8; color: #fff; padding: 9px 14px; font: inherit; font-weight: 700; cursor: pointer; }
.mozhe-feedback-message { margin: 14px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: #236047; }
.mozhe-feedback-message:empty { display: none; }
.mozhe-feedback-message[data-error="true"] { color: #a12626; }
@media (max-width: 520px) { .mozhe-feedback-dialog { padding: 18px; } .mozhe-feedback-lookup { grid-template-columns: 1fr; } }
