.rfq-page {
    --rfq-accent: #a34f00;
    --rfq-accent-hover: #753900;
    --rfq-border: #d7dce1;
    --rfq-surface: #f7f8fa;
    --rfq-text-muted: #555f68;
}

.rfq-page .rfq-support-info {
    display: flex;
    margin: 20px 0 24px;
    align-items: center;
    gap: 14px;
    border: 1px solid #e2e6ea;
    border-left: 4px solid var(--rfq-accent);
    border-radius: 8px;
    background: #fff;
    padding: 18px 22px;
    color: #292f35;
    box-shadow: 0 4px 16px rgba(28, 39, 49, .05);
}

.rfq-page .rfq-support-info__icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--rfq-accent);
    color: #fff;
    font-size: 21px;
    font-weight: 700;
}

.rfq-page .rfq-support-info__content {
    margin: 0;
    color: #3d454d;
    font-size: 15px;
    line-height: 1.5;
}

.rfq-page .rfq-support-info__content strong {
    display: block;
    margin-bottom: 2px;
    color: #242a30;
    font-size: 16px;
}

.rfq-page .rfq-support-info__content span {
    display: block;
}

.rfq-page a.rfq-link,
.rfq-page .rfq-support-info a,
.rfq-page .rfq-help a {
    color: var(--rfq-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.rfq-page a.rfq-link:hover,
.rfq-page a.rfq-link:focus,
.rfq-page .rfq-support-info a:hover,
.rfq-page .rfq-support-info a:focus,
.rfq-page .rfq-help a:hover,
.rfq-page .rfq-help a:focus {
    color: var(--rfq-accent-hover);
}

.rfq-page .rfq-page__actions {
    margin: 20px 0;
    text-align: right;
}

.rfq-page .rfq-help {
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--rfq-border);
    border-radius: 8px;
    background: var(--rfq-surface);
}

.rfq-page .rfq-help summary {
    cursor: pointer;
    padding: 16px 20px;
    color: #252a30;
    font-size: 16px;
    font-weight: 700;
}

.rfq-page .rfq-help summary:focus-visible {
    outline: 3px solid rgba(163, 79, 0, .35);
    outline-offset: -3px;
}

.rfq-page .rfq-help__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding: 0 20px 20px;
}

.rfq-page .rfq-help__step {
    position: relative;
    min-width: 0;
    border: 1px solid var(--rfq-border);
    border-radius: 7px;
    background: #fff;
    padding: 18px 16px 16px 52px;
}

.rfq-page .rfq-help__step > span {
    position: absolute;
    top: 15px;
    left: 14px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--rfq-accent);
    color: #fff;
    font-weight: 700;
}

.rfq-page .rfq-help__step h2 {
    margin: 0 0 8px;
    color: #252a30;
    font-size: 15px;
}

.rfq-page .rfq-help__step p {
    margin: 0;
    color: var(--rfq-text-muted);
    font-size: 13px;
    line-height: 1.55;
}

.rfq-page .rfq-help__contact {
    margin: 0 20px 20px;
    border-left: 4px solid var(--rfq-accent);
    background: #fff;
    padding: 14px 16px;
}

.rfq-page .rfq-list {
    overflow-x: auto;
    border: 1px solid var(--rfq-border);
    border-radius: 8px;
    background: #fff;
}

.rfq-page .rfq-list table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.rfq-page .rfq-list th,
.rfq-page .rfq-list td {
    border-bottom: 1px solid var(--rfq-border);
    padding: 14px 16px;
    vertical-align: middle;
}

.rfq-page .rfq-list thead th {
    background: var(--rfq-surface);
    color: #292f35;
    font-weight: 700;
}

.rfq-page .rfq-list tbody tr:last-child > * {
    border-bottom: 0;
}

.rfq-page .rfq-list__action {
    width: 1%;
    text-align: right;
    white-space: nowrap;
}

.rfq-page .rfq-list__action .button-1 {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.rfq-page .rfq-status {
    display: inline-block;
    border-radius: 999px;
    background: #e9eef3;
    padding: 5px 10px;
    color: #28343f;
    font-size: 12px;
    font-weight: 700;
}

.rfq-page .fieldset .title {
    text-align: left;
}

.rfq-page.request-page {
    color: #2a3036;
    font-size: 15px;
}

.rfq-page.request-page .rfq-card {
    margin: 0 0 24px;
    border: 1px solid var(--rfq-border);
    border-radius: 10px;
    background: #fff;
    padding: 24px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(28, 39, 49, .055);
}

.rfq-page.request-page .rfq-card > .title {
    margin: 0 0 20px;
    color: #303840;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.rfq-page.request-page .rfq-details-card .form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rfq-page.request-page .rfq-detail-field {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    background: #fafbfc;
    padding: 16px;
    font-size: 15px;
    white-space: normal;
}

.rfq-page.request-page .rfq-detail-field > * {
    float: none;
    clear: none;
}

.rfq-page.request-page .rfq-document-field {
    overflow: hidden;
}

.rfq-page.request-page .rfq-detail-field--wide {
    grid-column: 1 / -1;
}

.rfq-page.request-page .rfq-detail-field > label {
    display: block;
    margin: 0 0 8px;
    color: #626c75;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: .025em;
}

.rfq-page.request-page .rfq-detail-field__value {
    display: block;
    color: #252b31;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.rfq-page.request-page .rfq-notes-field textarea {
    width: 100%;
    min-height: 128px;
    border: 1px solid #aeb6bf;
    border-radius: 7px;
    background: #fff;
    padding: 13px 15px;
    color: #252b31;
    font: inherit;
    line-height: 1.5;
    resize: vertical;
}

.rfq-page.request-page .rfq-notes-text {
    min-height: 50px;
    white-space: pre-line;
    color: #303840;
    font-size: 15px;
    line-height: 1.55;
}

.rfq-page.request-page .rfq-notes-field textarea:focus,
.rfq-page.request-page .rfq-line-input:focus,
.rfq-page.request-page .upload-controls input[type="file"]:focus-visible {
    outline: 3px solid rgba(163, 79, 0, .24);
    outline-offset: 1px;
    border-color: var(--rfq-accent);
}

.rfq-page .request-page .data-table label,
.rfq-page.request-page .data-table label {
    display: none;
}

.rfq-page.request-page .rfq-items-table {
    overflow: hidden;
    border: 1px solid var(--rfq-border);
    border-radius: 9px;
}

.rfq-page.request-page .rfq-products-table {
    margin: 0;
    background: #fff;
}

.rfq-page.request-page .rfq-products-table th {
    border: 0;
    border-bottom: 1px solid var(--rfq-border);
    background: #f2f4f6;
    padding: 15px 14px;
    color: #505a63;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
}

.rfq-page.request-page .rfq-products-table td {
    border: 0;
    border-bottom: 1px solid #e5e8eb;
    padding: 18px 14px;
    color: #303840;
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
    vertical-align: middle;
}

.rfq-page.request-page .rfq-products-table tbody tr:last-child td {
    border-bottom: 0;
}

.rfq-page.request-page .rfq-products-table .picture img {
    width: 54px;
    height: 54px;
    border: 1px solid #e2e6e9;
    border-radius: 7px;
    background: #fff;
    object-fit: contain;
}

.rfq-page.request-page .rfq-products-table .product {
    min-width: 270px;
}

.rfq-page.request-page .rfq-business-profile,
.rfq-page.request-page .rfq-matched-product,
.rfq-page.request-page .rfq-extracted-item {
    color: #303840;
    font-size: 15px;
    line-height: 1.4;
}

.rfq-page.request-page .rfq-original-request {
    margin-top: 9px;
    border-left: 3px solid #d7dce1;
    padding-left: 10px;
}

.rfq-page.request-page .rfq-original-request small {
    font-size: 13px;
    line-height: 1.45;
}

.rfq-page.request-page .rfq-line-input {
    width: 100%;
    min-width: 120px;
    max-width: 180px;
    height: 46px;
    box-sizing: border-box;
    border: 1px solid #aeb6bf;
    border-radius: 7px;
    background: #fff;
    padding: 0 12px;
    color: #20262c;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
}

.rfq-page.request-page .request-options {
    margin-top: 22px;
}

.rfq-page.request-page .common-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.rfq-page.request-page .common-buttons button {
    min-height: 46px;
    margin: 0;
}

.rfq-page.request-page .button-1.download-document-button,
.rfq-page.request-page .button-1.upload-document-button {
    display: inline-flex;
    height: auto;
    min-height: 46px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
}

.rfq-page.request-page .download-document-button {
    background: var(--rfq-accent);
}

.rfq-page.request-page .download-document-button:hover,
.rfq-page.request-page .download-document-button:focus {
    background: var(--rfq-accent-hover);
    color: #fff;
}

.rfq-page .document-upload-section {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
    white-space: normal;
}

.rfq-page .document-upload-section .rfq-document-actions {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 14px;
}

.rfq-page .document-upload-section .upload-controls {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rfq-page .document-upload-section .upload-controls > * {
    max-width: 100%;
}

.rfq-page .document-upload-section .upload-controls input[type="file"] {
    min-height: 46px;
    min-width: 220px;
    flex: 1;
    box-sizing: border-box;
    border: 1px solid #c2c8ce;
    border-radius: 7px;
    background: #fff;
    padding: 5px;
    color: #444d55;
    font-size: 14px;
}

.rfq-page .document-upload-section .upload-controls input[type="file"]::file-selector-button {
    height: 34px;
    margin-right: 10px;
    cursor: pointer;
    border: 0;
    border-radius: 5px;
    background: #e9edf0;
    padding: 0 14px;
    color: #303840;
    font-weight: 700;
}

.rfq-page .document-upload-section .upload-controls input[type="file"]::file-selector-button:hover {
    background: #dce2e6;
}

.rfq-page .document-upload-section .hint {
    display: block;
    margin-top: 9px;
    color: var(--rfq-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.rfq-page .document-processing-status {
    display: inline-flex;
    margin: 0 0 14px 10px;
    vertical-align: middle;
}

.rfq-page .document-processing-status .badge {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    border-radius: 999px;
    padding: 6px 11px;
    background: #e9eef3;
    color: #34414c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.rfq-page .document-processing-status .badge-success {
    background: #e5f4ea;
    color: #176234;
}

.rfq-page .document-processing-status .badge-warning {
    background: #fff3d6;
    color: #755000;
}

.rfq-page .document-processing-status .badge-danger {
    background: #fde9e9;
    color: #982626;
}

.rfq-page #uploadRfqDocumentMessage {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.rfq-page textarea,
.rfq-page input[type="number"] {
    box-sizing: border-box;
    max-width: 100%;
}

.rfq-cart-action {
    margin-top: 10px;
}

.rfq-cart-action button {
    min-height: 44px;
}

.rfq-dialog {
    --rfq-dialog-accent: #a34f00;
    --rfq-dialog-accent-hover: #753900;
    width: min(620px, calc(100% - 32px));
    max-width: none;
    max-height: min(90vh, 90dvh);
    margin: auto;
    overflow: hidden;
    border: 1px solid #d5dce1;
    border-radius: 14px;
    background: #fff;
    padding: 0;
    color: #252a30;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}

.rfq-dialog::backdrop {
    background: rgba(12, 18, 24, .68);
    backdrop-filter: blur(2px);
}

.rfq-dialog[open] {
    animation: rfq-dialog-enter .2s ease-out;
}

.rfq-dialog .rfq-dialog__surface {
    display: flex;
    max-height: min(90vh, 90dvh);
    flex-direction: column;
}

.rfq-dialog .rfq-dialog__header,
.rfq-dialog .rfq-dialog__footer {
    display: flex;
    flex: none;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
}

.rfq-dialog .rfq-dialog__header {
    justify-content: space-between;
    border-bottom: 1px solid #d7dce1;
    border-top: 4px solid var(--rfq-dialog-accent);
    background: #fff;
}

.rfq-dialog .rfq-dialog__header h2 {
    margin: 0;
    color: #252a30;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.rfq-dialog .rfq-dialog__body {
    overflow-y: auto;
    padding: 24px;
    overscroll-behavior: contain;
}

.rfq-dialog .rfq-dialog__footer {
    justify-content: space-between;
    border-top: 1px solid #d7dce1;
    background: #f7f8f9;
}

.rfq-dialog .rfq-dialog__footer button {
    display: inline-flex;
    width: auto;
    height: auto;
    min-width: 190px;
    min-height: 46px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 11px 18px;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
}

.rfq-dialog .rfq-dialog__submit {
    border: 0;
    background: var(--rfq-dialog-accent);
    color: #fff;
}

.rfq-dialog .rfq-dialog__submit:hover,
.rfq-dialog .rfq-dialog__submit:focus-visible {
    background: var(--rfq-dialog-accent-hover);
}

.rfq-dialog .rfq-dialog__continue {
    border: 1px solid #aeb6bf;
    background: #fff;
    color: #303840;
    font-weight: 700;
}

.rfq-dialog .rfq-dialog__continue:hover,
.rfq-dialog .rfq-dialog__continue:focus-visible {
    border-color: #7f8992;
    background: #edf0f3;
    color: #20262c;
}

.rfq-dialog .rfq-dialog__close {
    display: grid;
    width: 44px;
    height: 44px;
    flex: none;
    cursor: pointer;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #414a52;
    font-size: 30px;
    line-height: 1;
}

.rfq-dialog .rfq-dialog__close:hover,
.rfq-dialog .rfq-dialog__close:focus-visible {
    background: #edf0f3;
    color: #171b1f;
}

.rfq-dialog .rfq-dialog__confirmation {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    border: 1px solid #cce5d4;
    border-radius: 9px;
    background: #f0faf3;
    padding: 16px;
}

.rfq-dialog .rfq-dialog__confirmation-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: #23824a;
    color: #fff;
    font-size: 23px;
    font-weight: 700;
}

.rfq-dialog .rfq-dialog__success {
    margin: 0;
    color: #29343d;
    font-size: 16px;
    line-height: 1.45;
}

.rfq-dialog .rfq-dialog__success strong {
    color: #17232c;
    font-size: 17px;
}

.rfq-dialog .rfq-dialog__count {
    margin: 6px 0 0;
    color: #4f5e68;
    font-size: 14px;
    line-height: 1.4;
}

.rfq-dialog .rfq-dialog__count strong {
    color: #1f6a3d;
    font-size: 16px;
}

.rfq-dialog .rfq-dialog__field {
    margin: 20px 0 0;
}

.rfq-dialog .rfq-dialog__field label {
    display: block;
    margin-bottom: 8px;
    color: #252a30;
    font-size: 14px;
    font-weight: 700;
}

.rfq-dialog .rfq-dialog__field textarea,
.rfq-dialog .rfq-dialog__field input[type="file"],
.rfq-dialog .rfq-dialog__field input[type="number"] {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #aeb6bf;
    border-radius: 7px;
    background: #fff;
    padding: 11px 13px;
    color: #252a30;
    font: inherit;
    font-size: 15px;
}

.rfq-dialog .rfq-dialog__field textarea {
    min-height: 110px;
    max-height: 240px;
    line-height: 1.5;
    resize: vertical;
}

.rfq-dialog .rfq-dialog__field small {
    display: block;
    margin-top: 7px;
    color: #555f68;
    line-height: 1.45;
}

.rfq-dialog .rfq-dialog__field textarea:focus,
.rfq-dialog .rfq-dialog__field input:focus {
    outline: 3px solid rgba(163, 79, 0, .28);
    border-color: #a34f00;
}

.rfq-dialog .rfq-dialog__quantity {
    display: grid;
    width: min(240px, 100%);
    grid-template-columns: 46px minmax(80px, 1fr) 46px;
}

.rfq-dialog .rfq-dialog__quantity button {
    display: grid;
    min-width: 46px;
    min-height: 46px;
    cursor: pointer;
    place-items: center;
    border: 1px solid #aeb6bf;
    background: #f0f2f4;
    color: #252a30;
    font-size: 24px;
    font-weight: 700;
}

.rfq-dialog .rfq-dialog__quantity button:hover,
.rfq-dialog .rfq-dialog__quantity button:focus-visible {
    background: #e1e6ea;
}

.rfq-dialog .rfq-dialog__quantity button:first-child {
    border-radius: 5px 0 0 5px;
}

.rfq-dialog .rfq-dialog__quantity button:last-child {
    border-radius: 0 5px 5px 0;
}

.rfq-dialog .rfq-dialog__quantity input {
    min-height: 46px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
}

.rfq-dialog .rfq-dialog__next-step {
    margin: 20px 0 0;
    border-left: 3px solid var(--rfq-dialog-accent);
    background: #f6f7f8;
    padding: 11px 13px;
    color: #515d66;
    font-size: 13px;
    line-height: 1.5;
}

.rfq-dialog .rfq-dialog__status {
    min-height: 20px;
    margin-top: 8px;
    color: #9f1c1c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

@keyframes rfq-dialog-enter {
    from {
        transform: translateY(-12px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1100px) {
    .rfq-page .rfq-help__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .rfq-page.request-page .rfq-card {
        padding: 20px;
    }

    .rfq-page.request-page .rfq-details-card .form-fields {
        grid-template-columns: 1fr;
    }

    .rfq-page.request-page .rfq-detail-field--wide {
        grid-column: auto;
    }

    .rfq-page .rfq-list {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .rfq-page .rfq-list table,
    .rfq-page .rfq-list tbody {
        display: block;
    }

    .rfq-page .rfq-list thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .rfq-page .rfq-list tr {
        display: block;
        margin-bottom: 16px;
        overflow: hidden;
        border: 1px solid var(--rfq-border);
        border-radius: 8px;
        background: #fff;
    }

    .rfq-page .rfq-list th,
    .rfq-page .rfq-list td {
        display: grid;
        width: auto;
        grid-template-columns: minmax(120px, 42%) minmax(0, 1fr);
        gap: 12px;
        border-bottom: 1px solid var(--rfq-border);
        padding: 12px 14px;
        text-align: left;
        white-space: normal;
    }

    .rfq-page .rfq-list th::before,
    .rfq-page .rfq-list td::before {
        content: attr(data-label);
        color: #555f68;
        font-weight: 700;
    }

    .rfq-page .rfq-list__action {
        display: block !important;
        border-bottom: 0 !important;
    }

    .rfq-page .rfq-list__action::before {
        content: none !important;
    }

    .rfq-page .rfq-list__action .button-1 {
        width: 100%;
    }

    .rfq-page.request-page .data-table colgroup,
    .rfq-page.request-page .data-table thead {
        display: none;
    }

    .rfq-page.request-page .rfq-items-table {
        overflow: visible;
        border: 0;
        border-radius: 0;
    }

    .rfq-page.request-page .data-table,
    .rfq-page.request-page .data-table tbody,
    .rfq-page.request-page .data-table tr,
    .rfq-page.request-page .data-table td {
        display: block;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .rfq-page.request-page .data-table tr {
        margin: 0 0 16px;
        overflow: hidden;
        border: 1px solid var(--rfq-border);
        border-radius: 8px;
        background: #fff;
    }

    .rfq-page.request-page .data-table td {
        border: 0;
        border-bottom: 1px solid var(--rfq-border);
        padding: 14px;
        text-align: left;
    }

    .rfq-page.request-page .data-table td:last-child {
        border-bottom: 0;
    }

    .rfq-page.request-page .data-table td label {
        display: block;
        margin-bottom: 6px;
        color: var(--rfq-text-muted);
        font-weight: 700;
    }

    .rfq-page.request-page .rfq-line-input {
        width: 100%;
        max-width: none;
    }

    .rfq-page.request-page .common-buttons {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .rfq-page .rfq-support-info {
        align-items: flex-start;
        gap: 11px;
        padding: 15px;
    }

    .rfq-page .rfq-support-info__icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 18px;
    }

    .rfq-page .rfq-support-info__content {
        font-size: 14px;
    }

    .rfq-page.request-page .rfq-card {
        padding: 16px;
    }

    .rfq-page.request-page .rfq-card > .title {
        margin-bottom: 16px;
        font-size: 19px;
    }

    .rfq-page.request-page .rfq-detail-field {
        padding: 14px;
    }

    .rfq-page .rfq-help__grid {
        grid-template-columns: 1fr;
        padding: 0 14px 14px;
    }

    .rfq-page .rfq-help summary {
        padding: 14px;
    }

    .rfq-page .rfq-help__contact {
        margin: 0 14px 14px;
    }

    .rfq-page .rfq-page__actions .button-1 {
        width: 100%;
        min-height: 44px;
    }

    .rfq-dialog {
        width: calc(100% - 24px);
        max-height: min(94vh, 94dvh);
    }

    .rfq-dialog .rfq-dialog__surface {
        max-height: min(94vh, 94dvh);
    }

    .rfq-dialog .rfq-dialog__header,
    .rfq-dialog .rfq-dialog__body,
    .rfq-dialog .rfq-dialog__footer {
        padding: 14px;
    }

    .rfq-dialog .rfq-dialog__footer {
        flex-direction: column;
    }

    .rfq-dialog .rfq-dialog__footer button {
        width: 100%;
    }

    .rfq-page .document-upload-section .upload-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .rfq-page .document-processing-status {
        display: flex;
        margin: 0 0 14px;
    }

    .rfq-page .document-upload-section .upload-controls input[type="file"],
    .rfq-page .document-upload-section .upload-controls button,
    .rfq-page .document-upload-section .download-document-button {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .rfq-page.request-page .common-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .rfq-page.request-page .common-buttons button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rfq-dialog[open] {
        animation: none;
    }

    .rfq-page *,
    .rfq-dialog * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
