.og-web-feedback {
    --feedback-surface: #f0f4f8;
    --feedback-field: #fff;
    --feedback-action: #244c72;
    --feedback-action-hover: #193e60;
    --feedback-gap: 32px;
    width: calc(100% - 48px);
    max-width: 820px;
    margin: var(--feedback-gap) auto;
    background: var(--feedback-surface);
    color: var(--og-ink);
    border-radius: 24px;
    scroll-margin-top: 90px;
}
.og-web-feedback + .og-form-card { margin-block-start: 0; }
html[data-appearance="dark"] .og-web-feedback {
    --feedback-surface: #272f37;
    --feedback-field: #1f252b;
    --feedback-action: #345a7f;
    --feedback-action-hover: #3c6489;
}
.og-web-feedback summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 20px 24px;
    list-style: none;
    border-radius: inherit;
    cursor: pointer;
}
.og-web-feedback summary::-webkit-details-marker { display: none; }
.og-web-feedback-intro { display: grid; gap: 3px; }
.og-web-feedback-intro strong { font-size: 1.125rem; font-weight: 650; line-height: 1.25; }
.og-web-feedback-intro > span,
.og-web-feedback-note { color: var(--og-muted); font-size: .9rem; line-height: 1.5; }
.og-web-feedback .og-web-feedback-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 15px;
    border: 0;
    border-radius: 999px;
    background: var(--feedback-action);
    color: #fff;
    flex-shrink: 0;
    font: 600 .875rem/1.35 var(--og-font);
}
.og-web-feedback summary:hover .og-web-feedback-action,
.og-web-feedback button:hover { background: var(--feedback-action-hover); }
.og-web-feedback .og-web-feedback-arrow { display: inline-flex; transition: transform .16s ease; }
.og-web-feedback details[open] .og-web-feedback-arrow { transform: rotate(90deg); }
html[dir="rtl"] .og-web-feedback-arrow > .og-icon { scale: -1 1; }
html[dir="rtl"] .og-web-feedback details[open] .og-web-feedback-arrow { transform: rotate(-90deg); }
.og-web-feedback [hidden] { display: none; }
.og-web-feedback-receipt {
    --receipt-surface: #e8f4eb;
    --receipt-title: #183c2a;
    --receipt-text: #365847;
    --receipt-icon-surface: #d2ead9;
    --receipt-icon: #247342;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border-radius: inherit;
    background: var(--receipt-surface);
    color: var(--receipt-text);
    text-align: start;
}
html[data-appearance="dark"] .og-web-feedback-receipt {
    --receipt-surface: #22382d;
    --receipt-title: #e0f5e8;
    --receipt-text: #b8d6c5;
    --receipt-icon-surface: #325441;
    --receipt-icon: #a3e4b9;
}
.og-web-feedback-receipt-icon {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--receipt-icon-surface);
    color: var(--receipt-icon);
    font-size: 22px;
}
.og-web-feedback-receipt strong {
    display: block;
    color: var(--receipt-title);
    font-size: 1.125rem;
    font-weight: 650;
    line-height: 1.25;
}
.og-web-feedback-receipt p { margin: 4px 0 0; font-size: .9375rem; line-height: 1.4; }
.og-web-feedback-receipt .og-web-feedback-note { color: inherit; font-size: .8125rem; }
.og-web-feedback form { padding: 0 24px 24px; }
.og-web-feedback form > p:first-of-type { margin: 0 0 18px; }
.og-web-feedback-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.og-web-feedback-fields label { display: block; min-width: 0; font-size: .9rem; font-weight: 600; }
.og-web-feedback-fields small,
.og-web-feedback-fields label > span { color: var(--og-muted); font-size: .82rem; font-weight: 400; }
.og-web-feedback-fields label > span { display: block; margin-block-start: 5px; }
.og-web-feedback-wide { grid-column: 1 / -1; }
.og-web-feedback-fields :is(input, textarea) {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin-block-start: 6px;
    padding: 9px 11px;
    border: 1px solid var(--og-line);
    border-radius: 12px;
    background: var(--feedback-field);
    color: var(--og-ink);
    font: 400 1rem/1.4 var(--og-font);
}
.og-web-feedback-fields textarea { resize: vertical; }
.og-web-feedback-fields input[type="file"] { padding: 4px; font-size: .875rem; }
.og-web-feedback-fields ::file-selector-button {
    min-height: 36px;
    margin-inline-end: 8px;
    padding-inline: 11px;
    border: 0;
    border-radius: 8px;
    background: var(--feedback-surface);
    color: var(--og-ink);
    font: inherit;
    cursor: pointer;
}
.og-web-feedback :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.og-web-feedback .og-web-feedback-action:focus-visible { outline-color: var(--og-ink); }
.og-web-feedback-bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-block-start: 18px; }
.og-web-feedback-bottom button { cursor: pointer; }
.og-web-feedback-bottom button:disabled { opacity: .72; cursor: wait; }
.og-web-feedback-status { margin: 0; font-size: .9rem; }
.og-web-feedback-status[data-error] { color: #a12f34; }
html[data-appearance="dark"] .og-web-feedback-status[data-error] { color: #ffb1b6; }
.og-web-feedback-bottom + .og-web-feedback-note { margin: 12px 0 0; }

@media (max-width: 620px) {
    .og-web-feedback { --feedback-gap: 24px; width: calc(100% - 32px); }
    .og-web-feedback summary { flex-wrap: wrap; padding: 16px; }
    .og-web-feedback-receipt { gap: 12px; padding: 16px; }
    .og-web-feedback form { padding: 0 16px 16px; }
    .og-web-feedback-fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .og-web-feedback .og-web-feedback-arrow { transition: none; }
}
