.gmrc-form-page h1.entry-title,
.gmrc-form-page h1.page-title,
.gmrc-form-page h1.entry-title:empty,
.gmrc-form-page h1.page-title:empty,
.gmrc-form-page .entry-header:has(> h1.entry-title),
.gmrc-form-page .page-header:has(> h1.page-title),
.gmrc-form-page .site-page-header:has(h1) {
    display: none !important;
}

.gmrc-app {
    --gmrc-ink: #171717;
    --gmrc-ink-soft: #27231d;
    --gmrc-gold: #d8b15d;
    --gmrc-gold-dark: #a87822;
    --gmrc-gold-soft: #fff7e1;
    --gmrc-surface: #f6f5f2;
    --gmrc-card: #ffffff;
    --gmrc-border: #e4e1da;
    --gmrc-border-strong: #d4cfc5;
    --gmrc-muted: #6b6b68;
    --gmrc-danger: #b42318;
    --gmrc-success: #18754a;
    max-width: 960px;
    margin: 36px auto 48px;
    color: var(--gmrc-ink);
    font-family: inherit;
    line-height: 1.5;
}

.gmrc-app *,
.gmrc-app *::before,
.gmrc-app *::after {
    box-sizing: border-box;
}

/* Pasek postępu */
.gmrc-progress {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 20px;
    padding: 6px;
    border: 1px solid var(--gmrc-border);
    border-radius: 17px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 34px rgba(23, 23, 23, .055);
}

.gmrc-progress span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 12px;
    color: #8b8984;
    font-size: 12.5px;
    font-weight: 750;
    letter-spacing: .01em;
    text-align: center;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.gmrc-progress span.is-active {
    color: #795719;
    background: #f7f0df;
}

.gmrc-progress span.is-active:has(+ span:not(.is-active)),
.gmrc-progress span.is-active:last-child {
    color: #fff;
    background: linear-gradient(135deg, #111 0%, #2a251d 100%);
    box-shadow: 0 7px 17px rgba(23, 23, 23, .16), inset 0 1px 0 rgba(255, 255, 255, .12);
}

/* Kroki formularza */
.gmrc-step {
    display: none;
}

.gmrc-step.is-active {
    display: block;
    animation: gmrcFade .24s ease;
}

@keyframes gmrcFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Ekran startowy */
.gmrc-step[data-step="type"] .gmrc-heading {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-bottom: 18px;
    padding: 42px 34px 40px;
    border: 1px solid rgba(216, 177, 93, .28);
    border-radius: 27px;
    background: linear-gradient(135deg, #111 0%, #1c1b19 52%, #302717 100%);
    box-shadow: 0 20px 46px rgba(23, 23, 23, .15);
    text-align: center;
}

.gmrc-step[data-step="type"] .gmrc-heading::before {
    position: absolute;
    z-index: -1;
    top: -110px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 177, 93, .22) 0%, rgba(216, 177, 93, 0) 68%);
    content: "";
}

.gmrc-step[data-step="type"] .gmrc-heading::after {
    position: absolute;
    z-index: -1;
    bottom: -115px;
    left: -60px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(216, 177, 93, .17);
    border-radius: 50%;
    content: "";
}

.gmrc-heading h2 {
    margin: 7px 0 13px;
    color: #fff;
    font-size: clamp(29px, 4vw, 39px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.gmrc-heading p {
    max-width: 690px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .73);
    font-size: 15.5px;
    line-height: 1.7;
}

.gmrc-heading .gmrc-kicker {
    color: var(--gmrc-gold) !important;
    font-size: 11.5px !important;
    font-weight: 850;
    letter-spacing: .19em;
    text-transform: uppercase;
}

/* Wybór: zwrot / reklamacja */
.gmrc-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.gmrc-choice {
    position: relative;
    overflow: hidden;
    min-height: 205px;
    padding: 27px;
    appearance: none;
    border: 1px solid var(--gmrc-border);
    border-radius: 22px;
    background: var(--gmrc-card);
    box-shadow: 0 11px 30px rgba(23, 23, 23, .055);
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.gmrc-choice::after {
    position: absolute;
    right: 24px;
    bottom: 22px;
    width: 28px;
    height: 1px;
    background: var(--gmrc-gold);
    box-shadow: 7px -4px 0 -3px var(--gmrc-gold), 7px 4px 0 -3px var(--gmrc-gold);
    content: "";
    opacity: .75;
    transition: transform .2s ease;
}

.gmrc-choice:hover,
.gmrc-choice:focus-visible {
    outline: none;
    border-color: rgba(168, 120, 34, .58);
    box-shadow: 0 18px 42px rgba(23, 23, 23, .1);
    transform: translateY(-3px);
}

.gmrc-choice:hover::after,
.gmrc-choice:focus-visible::after {
    transform: translateX(4px);
}

.gmrc-choice-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 21px;
    border: 1px solid rgba(216, 177, 93, .32);
    border-radius: 50%;
    background: linear-gradient(145deg, #171717 0%, #2b261e 100%);
    color: transparent;
    font-size: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 7px 17px rgba(23, 23, 23, .12);
}

.gmrc-choice-icon::before {
    display: block;
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
}

.gmrc-choice[data-case-type="return"] .gmrc-choice-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e4bf70' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 14 4 9l5-5'/%3E%3Cpath d='M4 9h9a7 7 0 1 1-6.7 9'/%3E%3C/svg%3E");
}

.gmrc-choice[data-case-type="complaint"] .gmrc-choice-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e4bf70' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 20 6v5c0 5-3.4 8.5-8 10-4.6-1.5-8-5-8-10V6l8-3Z'/%3E%3Cpath d='m9.2 12 1.8 1.8 4-4'/%3E%3C/svg%3E");
}

.gmrc-choice strong {
    display: block;
    margin: 0 42px 7px 0;
    color: var(--gmrc-ink);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.25;
}

.gmrc-choice small {
    display: block;
    max-width: 340px;
    color: var(--gmrc-muted);
    font-size: 14px;
    line-height: 1.58;
}

/* Karty i sekcje */
.gmrc-card {
    position: relative;
    margin-bottom: 16px;
    padding: 27px;
    border: 1px solid var(--gmrc-border);
    border-radius: 21px;
    background: var(--gmrc-card);
    box-shadow: 0 10px 31px rgba(23, 23, 23, .05);
}

.gmrc-card::before {
    position: absolute;
    top: 25px;
    left: 0;
    width: 3px;
    height: 32px;
    border-radius: 0 5px 5px 0;
    background: var(--gmrc-gold);
    content: "";
}

.gmrc-card-narrow {
    max-width: 610px;
    margin-right: auto;
    margin-left: auto;
}

.gmrc-card h2 {
    margin: 0 0 8px;
    color: var(--gmrc-ink);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.gmrc-card h2 small {
    color: var(--gmrc-muted);
    font-size: 13px;
    font-weight: 550;
    letter-spacing: 0;
}

.gmrc-card > p {
    margin: 5px 0 18px;
    color: var(--gmrc-muted);
    font-size: 14px;
    line-height: 1.65;
}

.gmrc-fields {
    display: grid;
    gap: 15px;
}

.gmrc-fields-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gmrc-app label {
    display: block;
    color: #33322f;
    font-size: 13.5px;
    font-weight: 750;
}

.gmrc-app input[type="text"],
.gmrc-app input[type="email"],
.gmrc-app input[type="tel"],
.gmrc-app input[type="file"],
.gmrc-app input[type="number"],
.gmrc-app select,
.gmrc-app textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    margin-top: 7px;
    padding: 12px 14px;
    border: 1px solid var(--gmrc-border-strong);
    border-radius: 12px;
    outline: none;
    background: #fbfbfa;
    box-shadow: inset 0 1px 1px rgba(23, 23, 23, .018);
    color: var(--gmrc-ink);
    font: inherit;
    font-size: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.gmrc-app textarea {
    min-height: 112px;
    line-height: 1.55;
    resize: vertical;
}

.gmrc-app input[type="file"] {
    padding: 8px;
    background: #fff;
}

.gmrc-app input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 9px 13px;
    border: 0;
    border-radius: 9px;
    background: var(--gmrc-surface);
    color: var(--gmrc-ink);
    cursor: pointer;
    font: inherit;
    font-size: 12.5px;
    font-weight: 800;
}

.gmrc-app input::placeholder,
.gmrc-app textarea::placeholder {
    color: #a09e98;
    opacity: 1;
}

.gmrc-app input:focus,
.gmrc-app select:focus,
.gmrc-app textarea:focus {
    border-color: var(--gmrc-gold-dark);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(216, 177, 93, .16);
}

.gmrc-app input[type="checkbox"],
.gmrc-app input[type="radio"] {
    accent-color: var(--gmrc-ink);
}

/* Przyciski */
.gmrc-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 22px;
}

.gmrc-actions-sticky {
    position: sticky;
    z-index: 5;
    bottom: 12px;
    padding: 12px;
    border: 1px solid rgba(212, 207, 197, .9);
    border-radius: 16px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 15px 38px rgba(23, 23, 23, .13);
    backdrop-filter: blur(12px);
}

.gmrc-app .gmrc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    padding: 12px 20px;
    appearance: none;
    border: 1px solid var(--gmrc-ink);
    border-radius: 11px;
    background: linear-gradient(135deg, #171717 0%, #2b261e 100%);
    box-shadow: 0 8px 19px rgba(23, 23, 23, .13);
    color: #fff !important;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none !important;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.gmrc-app .gmrc-btn:hover,
.gmrc-app .gmrc-btn:focus-visible {
    border-color: var(--gmrc-gold-dark);
    outline: none;
    box-shadow: 0 11px 24px rgba(23, 23, 23, .17), 0 0 0 3px rgba(216, 177, 93, .15);
    color: #fff !important;
    transform: translateY(-1px);
}

.gmrc-app .gmrc-btn:disabled {
    cursor: wait;
    opacity: .58;
    transform: none;
}

.gmrc-app .gmrc-btn-secondary {
    border-color: var(--gmrc-border);
    background: #f4f3f0;
    box-shadow: none;
    color: #44423e !important;
}

.gmrc-app .gmrc-btn-secondary:hover,
.gmrc-app .gmrc-btn-secondary:focus-visible {
    border-color: var(--gmrc-border-strong);
    background: #ebe9e4;
    box-shadow: 0 0 0 3px rgba(216, 177, 93, .12);
    color: var(--gmrc-ink) !important;
}

/* Komunikaty */
.gmrc-alert {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 750;
}

.gmrc-alert-error {
    border: 1px solid #f1c0bc;
    background: #fff4f2;
    color: var(--gmrc-danger);
}

.gmrc-alert-success {
    border: 1px solid #b8dccb;
    background: #f0faf5;
    color: var(--gmrc-success);
}

.gmrc-return-only,
.gmrc-complaint-only {
    display: none;
}

.gmrc-type-return .gmrc-return-only,
.gmrc-type-complaint .gmrc-complaint-only {
    display: block;
}

/* Produkty z zamówienia */
.gmrc-product-list {
    display: grid;
    gap: 10px;
}

.gmrc-product {
    position: relative;
    display: grid !important;
    grid-template-columns: auto 64px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--gmrc-border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.gmrc-product:hover {
    border-color: var(--gmrc-border-strong);
    background: #fcfbf8;
}

.gmrc-product:has(input:checked) {
    border-color: var(--gmrc-gold-dark);
    background: var(--gmrc-gold-soft);
    box-shadow: 0 0 0 3px rgba(216, 177, 93, .12);
}

.gmrc-product input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.gmrc-product img,
.gmrc-product-placeholder {
    width: 64px;
    height: 64px;
    border: 1px solid #efede8;
    border-radius: 10px;
    background: #f7f6f3;
    object-fit: contain;
}

.gmrc-product-placeholder {
    display: grid;
    place-items: center;
    font-size: 27px;
}

.gmrc-product strong,
.gmrc-product small {
    display: block;
}

.gmrc-product strong {
    color: var(--gmrc-ink);
    font-size: 14.5px;
}

.gmrc-product small {
    margin-top: 5px;
    color: var(--gmrc-muted);
    font-size: 12.5px;
    font-weight: 500;
}

/* Opcje i zgody */
.gmrc-radio-card {
    display: flex !important;
    gap: 12px;
    align-items: flex-start;
    margin-top: 10px;
    padding: 15px;
    border: 1px solid var(--gmrc-border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.gmrc-radio-card:hover {
    border-color: var(--gmrc-border-strong);
}

.gmrc-radio-card:has(input:checked) {
    border-color: var(--gmrc-gold-dark);
    background: var(--gmrc-gold-soft);
    box-shadow: 0 0 0 3px rgba(216, 177, 93, .1);
}

.gmrc-radio-card input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.gmrc-radio-card strong,
.gmrc-radio-card small {
    display: block;
}

.gmrc-radio-card strong {
    color: var(--gmrc-ink);
    font-size: 14px;
}

.gmrc-radio-card small {
    margin-top: 4px;
    color: var(--gmrc-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.gmrc-check {
    display: flex !important;
    gap: 11px;
    align-items: flex-start;
    margin: 11px 0;
    color: #4e4d49 !important;
    font-size: 13.5px !important;
    font-weight: 550 !important;
    line-height: 1.52 !important;
}

.gmrc-check input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin-top: 2px;
}

.gmrc-label-consent {
    margin: 14px 0 0 !important;
    padding: 13px 14px;
    border: 1px solid #ecd8a9;
    border-radius: 12px;
    background: var(--gmrc-gold-soft);
}

.gmrc-help {
    margin-bottom: 0 !important;
    color: var(--gmrc-muted);
    font-size: 12.5px;
}

/* Ekran sukcesu */
.gmrc-card.gmrc-success {
    overflow: hidden;
    padding: 46px 28px;
    text-align: center;
}

.gmrc-card.gmrc-success::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 0;
}

.gmrc-success-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 19px;
    border: 1px solid rgba(216, 177, 93, .4);
    border-radius: 50%;
    background: linear-gradient(145deg, #171717 0%, #2b261e 100%);
    box-shadow: 0 12px 26px rgba(23, 23, 23, .16);
    color: var(--gmrc-gold);
    font-size: 32px;
    font-weight: 900;
}

.gmrc-success h2 {
    font-size: 28px;
}

.gmrc-success #gmrc-success-message {
    max-width: 650px;
    margin: 14px auto 24px;
    color: var(--gmrc-muted);
    line-height: 1.7;
}

@media (max-width: 700px) {
    .gmrc-app {
        margin: 18px 0 30px;
    }

    .gmrc-progress {
        gap: 3px;
        margin-bottom: 12px;
        padding: 4px;
        border-radius: 13px;
    }

    .gmrc-progress span {
        min-height: 36px;
        padding: 6px 3px;
        border-radius: 9px;
        font-size: 10px;
        letter-spacing: -.015em;
    }

    .gmrc-step[data-step="type"] .gmrc-heading {
        margin-bottom: 12px;
        padding: 27px 19px 26px;
        border-radius: 20px;
    }

    .gmrc-heading h2 {
        margin-top: 6px;
        font-size: 27px;
    }

    .gmrc-heading p {
        font-size: 13.5px;
        line-height: 1.58;
    }

    .gmrc-choice-grid,
    .gmrc-fields-2 {
        grid-template-columns: 1fr;
    }

    .gmrc-choice-grid {
        gap: 10px;
    }

    .gmrc-choice {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        column-gap: 13px;
        min-height: 0;
        padding: 18px;
        border-radius: 17px;
    }

    .gmrc-choice-icon {
        grid-row: 1 / span 2;
        width: 46px;
        height: 46px;
        margin: 0;
    }

    .gmrc-choice-icon::before {
        width: 21px;
        height: 21px;
    }

    .gmrc-choice strong {
        align-self: end;
        margin: 0 30px 3px 0;
        font-size: 16px;
    }

    .gmrc-choice small {
        font-size: 12px;
        line-height: 1.45;
    }

    .gmrc-choice::after {
        right: 17px;
        bottom: auto;
        top: 35px;
        width: 19px;
    }

    .gmrc-card {
        margin-bottom: 11px;
        padding: 19px;
        border-radius: 16px;
    }

    .gmrc-card::before {
        top: 19px;
        height: 27px;
    }

    .gmrc-card h2 {
        font-size: 18px;
    }

    .gmrc-card > p {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .gmrc-actions {
        flex-direction: column-reverse;
        gap: 8px;
    }

    .gmrc-actions .gmrc-btn {
        width: 100%;
    }

    .gmrc-actions-sticky {
        bottom: 6px;
        padding: 9px;
        border-radius: 13px;
    }

    .gmrc-product {
        grid-template-columns: auto 52px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .gmrc-product img,
    .gmrc-product-placeholder {
        width: 52px;
        height: 52px;
    }

    .gmrc-card.gmrc-success {
        padding: 34px 19px;
    }

    .gmrc-success-icon {
        width: 62px;
        height: 62px;
    }

    .gmrc-success h2 {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gmrc-step.is-active {
        animation: none;
    }

    .gmrc-choice,
    .gmrc-choice::after,
    .gmrc-app .gmrc-btn {
        transition: none;
    }
}

/* Bezpieczny wątek korespondencji z klientem */
.gmrc-thread-shell {
    --gmrc-ink: #171717;
    --gmrc-muted: #6b6b68;
    --gmrc-border: #e4e1da;
    --gmrc-card: #fff;
    --gmrc-brand: #103f38;
    max-width: 900px;
    margin: 36px auto 48px;
    color: var(--gmrc-ink);
    font-family: inherit;
}

.gmrc-thread-shell *,
.gmrc-thread-shell *::before,
.gmrc-thread-shell *::after {
    box-sizing: border-box;
}

.gmrc-thread-shell .gmrc-card {
    margin-bottom: 16px;
    padding: clamp(20px, 4vw, 34px);
    border: 1px solid var(--gmrc-border);
    border-radius: 20px;
    background: var(--gmrc-card);
    box-shadow: 0 14px 40px rgba(23, 23, 23, .055);
}

.gmrc-thread-head {
    position: relative;
}

.gmrc-thread-head .gmrc-kicker {
    margin: 0 0 7px;
    color: #9a742c;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gmrc-thread-head h2 {
    max-width: 680px;
    margin: 0 0 8px;
    font-size: clamp(22px, 4vw, 34px);
    line-height: 1.15;
}

.gmrc-thread-head > p:not(.gmrc-kicker) {
    max-width: 680px;
    margin: 0;
    color: var(--gmrc-muted);
}

.gmrc-thread-status {
    display: inline-flex;
    margin-top: 18px;
    padding: 7px 11px;
    border: 1px solid #c7d9d4;
    border-radius: 999px;
    background: #eef7f4;
    color: var(--gmrc-brand);
    font-size: 12px;
    font-weight: 800;
}

.gmrc-thread-shell .gmrc-alert {
    margin: 0 0 16px;
    padding: 13px 15px;
    border-radius: 12px;
}

.gmrc-thread-shell .gmrc-alert-success {
    border: 1px solid #bad8ce;
    background: #edf8f4;
    color: #0f5b48;
}

.gmrc-thread-shell .gmrc-alert-error,
.gmrc-thread-error {
    border-color: #edc8c5 !important;
    background: #fff7f6 !important;
    color: #8f2f28;
}

.gmrc-public-correspondence h3 {
    margin: 0 0 16px;
    font-size: 20px;
}

.gmrc-thread-shell .gmrc-chat-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 580px;
    padding: 16px;
    overflow-y: auto;
    border: 1px solid var(--gmrc-border);
    border-radius: 15px;
    background: #f6f7f5;
}

.gmrc-thread-shell .gmrc-chat-message {
    align-self: flex-start;
    width: fit-content;
    max-width: min(80%, 680px);
    padding: 11px 13px;
    border: 1px solid #deded9;
    border-radius: 14px 14px 14px 4px;
    background: #fff;
}

.gmrc-thread-shell .gmrc-chat-message.is-ours {
    align-self: flex-end;
    border-color: #bdd8d0;
    border-radius: 14px 14px 4px 14px;
    background: #eaf5f1;
}

.gmrc-thread-shell .gmrc-chat-author {
    margin-bottom: 4px;
    color: var(--gmrc-brand);
    font-size: 12px;
    font-weight: 850;
}

.gmrc-thread-shell .gmrc-chat-text {
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.gmrc-thread-shell .gmrc-chat-time {
    display: block;
    margin-top: 6px;
    color: var(--gmrc-muted);
    font-size: 11px;
}

.gmrc-thread-shell .gmrc-chat-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.gmrc-thread-shell .gmrc-chat-attachments a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid #c9d9d4;
    border-radius: 999px;
    background: #fff;
    color: var(--gmrc-brand);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

.gmrc-thread-shell .gmrc-chat-empty {
    margin: 0;
    color: var(--gmrc-muted);
}

.gmrc-thread-reply {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gmrc-border);
}

.gmrc-thread-reply label {
    display: block;
    margin: 0 0 13px;
    font-weight: 800;
}

.gmrc-thread-reply textarea,
.gmrc-thread-reply input[type="file"] {
    display: block;
    width: 100%;
    margin-top: 7px;
}

.gmrc-thread-reply textarea {
    min-height: 125px;
    padding: 12px 14px;
    border: 1px solid #d5d3cc;
    border-radius: 11px;
    resize: vertical;
}

.gmrc-thread-reply label:has(input[type="file"]) {
    padding: 13px 14px;
    border: 1px dashed #c8d7d2;
    border-radius: 11px;
    background: #f8faf9;
}

.gmrc-thread-reply small {
    display: block;
    margin-top: 6px;
    color: var(--gmrc-muted);
    font-size: 12px;
    font-weight: 500;
}

.gmrc-thread-reply .gmrc-btn {
    min-height: 45px;
    padding: 11px 20px;
    border: 0;
    border-radius: 11px;
    background: var(--gmrc-brand);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 680px) {
    .gmrc-thread-shell {
        margin: 18px auto 30px;
    }

    .gmrc-thread-shell .gmrc-card {
        padding: 18px;
        border-radius: 16px;
    }

    .gmrc-thread-shell .gmrc-chat-list {
        padding: 11px;
    }

    .gmrc-thread-shell .gmrc-chat-message {
        max-width: 94%;
    }

    .gmrc-thread-reply .gmrc-btn {
        width: 100%;
    }
}
