.aw-offers-head .aw-kicker,
.iw-offers-hero .iw-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.aw-offers-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
    gap: 18px;
    align-items: stretch;
}

.aw-offer-optin__form {
    display: grid;
    gap: 14px;
}

.aw-editorial-offer header { grid-template-columns: 44px minmax(0, 1fr) auto; }
.aw-editorial-offer header h2 { font-size: 20px; line-height: 1.4; }
.aw-editorial-offer .aw-offer-card__icon img { width: 40px; height: 40px; object-fit: contain; }
.aw-editorial-offer__sender { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; color: #344054; font-size: 13px; }
.aw-editorial-offer__sender strong { font-weight: 700; }
.aw-editorial-offer__sender span { color: #8a94a3; font-size: 11px; font-weight: 600; }
.aw-editorial-offer__content { line-height: 1.65; overflow-wrap: anywhere; overflow-x: auto; }
.aw-editorial-offer__content img { max-width: 100%; height: auto; }
.aw-editorial-offer__details summary { display: flex; gap: 8px; align-items: center; list-style: none; cursor: pointer; color: #087bb8; font-weight: 600; }
.aw-editorial-offer__details summary::-webkit-details-marker { display: none; }
.aw-editorial-offer__details[open] summary .material-icons { transform: rotate(180deg); }
.aw-editorial-offer__details[open] .aw-editorial-offer__content { margin-top: 14px; }
.aw-editorial-offer .aw-offer-card__body:has(> .aw-editorial-offer__details[open]) > .aw-editorial-offer__preview { display: none; }
.aw-editorial-offer__content h1, .aw-editorial-offer__content h2 { font-size: 20px; }
.aw-editorial-offer .aw-offer-actions { margin-top: 20px; padding-top: 16px; border-top: 1px solid #dceaf3; }
.aw-editorial-offer[data-institution-id="1380"] { border-top: 3px solid #c81d2a; }
.aw-editorial-offer[data-institution-id="1380"] .aw-offer-actions .aw-button--primary { border-color: #c81d2a; background: #c81d2a; }
.aw-editorial-offer[data-institution-id="1380"] .aw-offer-actions .aw-button--primary:hover { border-color: #a81722; background: #a81722; }
.aw-editorial-offer .aw-offer-facts > span { border: 0; border-left: 2px solid #dceaf3; border-radius: 0; }
.aw-editorial-offer .aw-editorial-offer__content > * + * { margin-top: 12px; }
@media (max-width: 600px) {
    .aw-editorial-offer header { grid-template-columns: 44px minmax(0, 1fr); }
    .aw-editorial-offer header > em { grid-column: 2; justify-self: start; }
    .aw-editorial-offer .aw-offer-actions { flex-wrap: wrap; }
}

.aw-offers-head .aw-kicker > .material-icons {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    font-size: 20px;
    line-height: 1;
}

.aw-offers-grid > .aw-panel {
    box-shadow: none;
}

.aw-offers-grid .aw-panel-head {
    padding: 18px 20px;
}

.aw-offers-grid .aw-panel-head > div {
    min-width: 0;
}

.aw-offers-grid .aw-panel-head__icon,
.aw-offer-privacy > .material-icons {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    font-size: 24px;
}

.aw-offer-panel-body {
    display: grid;
    gap: 20px;
    min-width: 0;
    padding: 20px;
}

.aw-offer-panel-body .aw-field,
.aw-offer-panel-body form,
.aw-offer-panel-body .aw-contact-consent {
    min-width: 0;
    margin: 0;
}

.aw-offer-panel-body textarea {
    resize: vertical;
    min-height: 110px;
}

.aw-offer-panel-body .aw-button {
    white-space: normal;
    height: auto;
    min-height: 46px;
    line-height: 1.4;
}

.aw-offer-panel-body .aw-button > .material-icons {
    flex-shrink: 0;
}

.aw-offer-active {
    display: grid;
    gap: 8px;
    padding: 0 0 18px;
    border-bottom: 1px solid #dceaf3;
}

.aw-offer-active b {
    font-size: 28px;
    line-height: 1;
    color: #167047;
}

.aw-offer-active span {
    font-weight: 700;
    color: #12372a;
}

.aw-offer-active small,
.aw-offer-privacy small,
.aw-offer-card small {
    color: #667085;
}

.aw-offer-metrics,
.iw-offers-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.aw-offer-metrics span,
.iw-offers-summary span {
    min-width: 0;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.aw-offer-metrics b,
.iw-offers-summary b {
    display: block;
    font-size: 26px;
    line-height: 1;
    color: #111827;
}

.aw-offer-metrics small,
.iw-offers-summary small {
    display: block;
    margin-top: 5px;
    color: #667085;
}

.aw-offer-privacy,
.iw-offer-lock {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 12px;
    border-radius: 8px;
    background: #f7f8fb;
    color: #344054;
}

.aw-offer-list,
.iw-offer-requests {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.aw-offer-summary .aw-offer-metrics {
    gap: 0;
}

.aw-offer-summary .aw-offer-metrics > span {
    padding: 0 14px;
    border: 0;
    border-radius: 0;
    background: none;
}

.aw-offer-summary .aw-offer-metrics > span:first-child {
    padding-left: 0;
}

.aw-offer-summary .aw-offer-metrics > span + span {
    border-left: 1px solid #dceaf3;
}

.aw-offer-summary .aw-offer-privacy {
    margin: 0;
    padding: 20px 0 0;
    border-top: 1px solid #dceaf3;
    border-radius: 0;
    background: none;
}

.aw-offer-privacy > span {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.aw-offer-privacy small {
    line-height: 1.6;
}

.aw-offer-card .aw-offer-acceptance-note {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #dceaf3;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.aw-offer-card,
.iw-offer-request {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.aw-offer-card {
    padding: 18px;
}

.aw-offer-card--accepted {
    border-color: rgba(42, 132, 92, .25);
}

.aw-offer-card--rejected {
    opacity: .78;
}

.aw-offer-card header,
.iw-offer-request summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
}

.aw-offer-card__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #eef4ff;
    color: #275a9f;
}

.aw-offer-card h2,
.iw-offer-request b {
    margin: 0;
    color: #111827;
}

.aw-offer-card p {
    margin: 0;
}

.aw-offer-card em,
.iw-offer-request__state {
    justify-self: end;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #344054;
    font-style: normal;
    font-size: 13px;
    white-space: nowrap;
}

.aw-offer-card__body {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.aw-offer-program {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    background: #f8fafc;
}

.aw-offer-program span {
    display: grid;
    gap: 2px;
}

.aw-offer-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.aw-offer-facts span {
    padding: 12px;
    border: 1px solid #edf0f5;
    border-radius: 8px;
}

.aw-offer-facts b,
.aw-offer-facts small {
    display: block;
}

.aw-offer-card blockquote {
    margin: 0;
    padding: 12px 14px;
    border-left: 3px solid #2f6fed;
    background: #f8fbff;
    color: #1f2937;
}

.aw-offer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.aw-offers-empty {
    margin-top: 18px;
}

.iw-offers-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 18px;
    align-items: end;
    margin-bottom: 18px;
}

.iw-offers-hero h1 {
    margin: 4px 0 6px;
    color: #111827;
}

.iw-offer-request summary {
    cursor: pointer;
    padding: 16px;
    list-style: none;
}

.iw-offer-request summary::-webkit-details-marker {
    display: none;
}

.iw-offer-request__main {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.iw-offer-request__main small {
    color: #667085;
}

.iw-offer-request__body {
    display: grid;
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
    gap: 18px;
    padding: 0 16px 16px;
}

.iw-offer-profile,
.iw-offer-form,
.iw-offer-sent {
    border: 1px solid #edf0f5;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
}

.iw-offer-profile h2,
.iw-offer-form h2,
.iw-offer-sent h2 {
    margin: 0 0 12px;
    font-size: 18px;
}

.iw-offer-profile dl {
    display: grid;
    gap: 10px;
    margin: 0;
}

.iw-offer-profile dl div {
    display: grid;
    gap: 3px;
}

.iw-offer-profile dt {
    font-size: 12px;
    color: #667085;
}

.iw-offer-profile dd {
    margin: 0;
    color: #111827;
    font-weight: 700;
}

.iw-offer-form {
    display: grid;
    gap: 12px;
}

.iw-offer-form label {
    display: grid;
    gap: 6px;
    color: #344054;
    font-weight: 700;
}

.iw-offer-form input,
.iw-offer-form select,
.iw-offer-form textarea {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 10px 12px;
    font: inherit;
    color: #111827;
}

.iw-offer-form__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.iw-offer-sent {
    display: grid;
    gap: 10px;
    align-content: start;
}

@media (max-width: 980px) {
    .aw-offers-grid,
    .iw-offers-hero,
    .iw-offer-request__body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .aw-offers-grid .aw-panel-head,
    .aw-offer-panel-body {
        padding: 16px;
    }

    .aw-offer-summary .aw-offer-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .aw-offer-summary .aw-offer-metrics > span {
        padding-right: 6px;
        padding-left: 10px;
    }

    .aw-offer-card header,
    .iw-offer-request summary {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .aw-offer-card em,
    .iw-offer-request__state {
        justify-self: start;
    }

    .aw-offer-metrics,
    .aw-offer-facts,
    .iw-offers-summary,
    .iw-offer-form__row {
        grid-template-columns: 1fr;
    }
}
