.quick-feedback-modal[hidden] {
    display: none !important;
}

.quick-feedback-form[hidden] {
    display: none !important;
}

.quick-feedback-modal__success[hidden] {
    display: none !important;
}

.quick-feedback-modal {
    position: fixed;
    inset: 0;
    z-index: 1800;
}

.quick-feedback-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 10, 18, 0.72);
    backdrop-filter: blur(6px);
}

.quick-feedback-modal__dialog {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: min(560px, calc(100vw - 28px));
    max-height: calc(100vh - 32px);
    overflow: auto;
    border-radius: 26px;
    border: 1px solid rgba(76, 95, 132, 0.88);
    background:
        radial-gradient(circle at top left, rgba(83, 97, 174, 0.18) 0%, rgba(83, 97, 174, 0) 42%),
        linear-gradient(180deg, rgba(16, 23, 38, 0.98) 0%, rgba(10, 16, 27, 0.99) 100%);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.52);
    padding: 22px;
    font-family: "Segoe UI", Tahoma, "Noto Sans", Arial, sans-serif;
}

.quick-feedback-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(83, 104, 141, 0.82);
    background: rgba(15, 23, 37, 0.94);
    color: #eff5ff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.quick-feedback-modal__intro {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.quick-feedback-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(89, 110, 149, 0.82);
    background: rgba(17, 26, 42, 0.8);
    color: #dce7ff;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.quick-feedback-modal__title {
    margin: 0;
    display: grid;
    gap: 3px;
}

.quick-feedback-modal__title-prefix {
    color: rgba(206, 218, 241, 0.8);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
}

.quick-feedback-modal__title-name {
    display: block;
    color: #f8fbff;
    font-size: clamp(1.24rem, 2.2vw, 1.78rem);
    font-weight: 700;
    line-height: 1.18;
}

.quick-feedback-modal__lead {
    margin: 0;
    color: rgba(203, 216, 238, 0.84);
    font-size: 0.92rem;
    line-height: 1.65;
}

.quick-feedback-form {
    display: grid;
    gap: 12px;
}

.quick-feedback-form--standalone {
    gap: 12px;
}

.quick-feedback-form--standalone .quick-feedback-form__compact-row > .quick-feedback-form__field > span {
    min-height: 0;
}

.quick-feedback-form__compact-row {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    gap: 12px;
}

.quick-feedback-form__compact-row--report {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.quick-feedback-form.is-multiline .quick-feedback-form__compact-row {
    grid-template-columns: minmax(0, 1fr);
}

.quick-feedback-form__field {
    display: grid;
    gap: 6px;
}

.quick-feedback-form__field--compact {
    align-content: start;
}

.quick-feedback-form__field span {
    color: #e8f0ff;
    font-size: 0.81rem;
    font-weight: 700;
}

.quick-feedback-form__compact-row > .quick-feedback-form__field > span {
    display: flex;
    align-items: flex-end;
    min-height: 2.8em;
}

.quick-feedback-form__field input,
.quick-feedback-form__field select,
.quick-feedback-form__field textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(68, 87, 121, 0.92);
    background: rgba(11, 17, 28, 0.96);
    color: #f5f8ff;
    padding: 12px 14px;
    font-family: "Segoe UI", Tahoma, "Noto Sans", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    resize: vertical;
}

.quick-feedback-form__field input::placeholder,
.quick-feedback-form__field textarea::placeholder {
    color: rgba(163, 178, 204, 0.68);
}

.quick-feedback-form__dynamic-value {
    width: 100%;
}

.quick-feedback-form__dynamic-value > input,
.quick-feedback-form__dynamic-value > textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(68, 87, 121, 0.92);
    background: rgba(11, 17, 28, 0.96);
    color: #f5f8ff;
    padding: 12px 14px;
    font-family: "Segoe UI", Tahoma, "Noto Sans", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    resize: vertical;
}

.quick-feedback-form__dynamic-value > input::placeholder,
.quick-feedback-form__dynamic-value > textarea::placeholder {
    color: rgba(163, 178, 204, 0.68);
}

.quick-feedback-form__hint {
    margin: -2px 0 0;
    color: rgba(163, 178, 204, 0.8);
    font-size: 0.78rem;
    line-height: 1.5;
}

.quick-feedback-form__hint--lookup {
    margin-top: -6px;
}

.quick-feedback-form__error {
    margin: -4px 0 0;
    color: #ffb6ba;
    font-size: 0.8rem;
    line-height: 1.55;
}

.quick-feedback-form__submit {
    min-height: 42px;
    border-radius: 16px;
    border: 1px solid rgba(198, 214, 255, 0.94);
    background: linear-gradient(180deg, #edf4ff 0%, #c8d9ff 100%);
    color: #0f1520;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    font-family: "Segoe UI", Tahoma, "Noto Sans", Arial, sans-serif;
}

.quick-feedback-form__submit.is-loading {
    opacity: 0.75;
    cursor: wait;
}

.quick-feedback-modal__notice {
    margin: 14px 0 0;
    min-height: 22px;
    color: rgba(204, 217, 239, 0.84);
    font-size: 0.84rem;
    line-height: 1.55;
}

.quick-feedback-modal__notice.is-success {
    color: #9ce5b2;
}

.quick-feedback-modal__notice.is-error {
    color: #ffb3b3;
}

.quick-feedback-modal__success {
    display: grid;
    gap: 12px;
    text-align: center;
    justify-items: center;
    padding: 28px 8px 12px;
}

.quick-feedback-modal__success h2 {
    margin: 0;
    color: #f8fbff;
    font-size: clamp(1.18rem, 2vw, 1.6rem);
    line-height: 1.2;
    font-family: "Segoe UI", Tahoma, "Noto Sans", Arial, sans-serif;
}

.quick-feedback-modal__success p {
    margin: 0;
    max-width: 34ch;
    color: rgba(204, 217, 239, 0.88);
    font-size: 0.93rem;
    line-height: 1.7;
}

body.is-quick-feedback-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .detail-insight-panel {
        padding: 11px 12px;
    }

    .detail-interest-strip__main {
        width: 100%;
    }

    .detail-interest-strip__summary {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }

    .detail-interest-strip__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .detail-interest-strip__action {
        width: auto;
    }
}

@media (min-width: 760px) {
    .js-detail-description-card > .detail-description-card__summary {
        cursor: default;
        pointer-events: none;
    }

    .js-detail-description-card > .detail-description-card__summary .detail-description-card__chevron {
        display: none;
    }
}

@media (max-width: 639px) {
    .quick-feedback-modal__dialog {
        width: calc(100vw - 18px);
        padding: 18px;
    }

    .quick-feedback-form__compact-row,
    .quick-feedback-form__submit {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

    .quick-feedback-modal__title-name {
        font-size: clamp(1.16rem, 5.6vw, 1.54rem);
    }

    .quick-feedback-form__compact-row > .quick-feedback-form__field > span {
        min-height: 0;
    }
}

