.consumer-helpdesk-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, .65fr);
    gap: 18px;
    align-items: start;
}

.consumer-helpdesk-panel {
    border: 1px solid #d8e4e6;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.consumer-helpdesk-primary {
    padding: 24px;
}

.consumer-helpdesk-form-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 23px;
}

.consumer-helpdesk-form-heading h3,
.consumer-helpdesk-success h3,
.consumer-helpdesk-locked h3 {
    margin: 3px 0 8px;
    color: #082f42;
    font-size: 23px;
}

.consumer-helpdesk-form-heading p,
.consumer-helpdesk-success p,
.consumer-helpdesk-locked p {
    margin: 0;
    color: #617983;
    line-height: 1.58;
}

.consumer-helpdesk-eyebrow {
    margin: 0 0 4px !important;
    color: #008a82 !important;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.consumer-helpdesk-identity {
    flex: 0 0 auto;
    min-width: 150px;
    padding: 11px 13px;
    border: 1px solid #cde2e1;
    border-radius: 10px;
    background: #f2faf9;
    text-align: right;
}

.consumer-helpdesk-identity span {
    display: block;
    color: #72878e;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.consumer-helpdesk-identity strong {
    display: block;
    margin-top: 2px;
    color: #006e69;
    font-size: 13px;
}

.consumer-helpdesk-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px 18px;
}

.consumer-helpdesk-wide {
    grid-column: 1 / -1;
}

.consumer-helpdesk-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.consumer-helpdesk-field > span {
    color: #173d4e;
    font-size: 13px;
    font-weight: 700;
}

.consumer-helpdesk-field input,
.consumer-helpdesk-field select,
.consumer-helpdesk-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cad9dc;
    border-radius: 9px;
    background: #fff;
    padding: 12px 13px;
    color: #123646;
    font: inherit;
}

.consumer-helpdesk-field textarea {
    min-height: 150px;
    resize: vertical;
}

.consumer-helpdesk-field input:focus,
.consumer-helpdesk-field select:focus,
.consumer-helpdesk-field textarea:focus {
    outline: 3px solid rgba(0,151,142,.12);
    border-color: #008e87;
}

.consumer-helpdesk-field small {
    color: #72878f;
    line-height: 1.45;
}

.consumer-helpdesk-upload {
    display: grid;
    gap: 4px;
    padding: 19px;
    border: 1px dashed #a9cdca;
    border-radius: 11px;
    background: #f7fbfb;
    cursor: pointer;
}

.consumer-helpdesk-upload:hover {
    border-color: #008e87;
    background: #f0faf8;
}

.consumer-helpdesk-upload strong {
    color: #0c4450;
}

.consumer-helpdesk-upload span {
    color: #738990;
    font-size: 12px;
}

.consumer-helpdesk-file-input {
    position: absolute;
    width: 1px !important;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.consumer-helpdesk-file-list {
    display: grid;
    gap: 6px;
}

.consumer-helpdesk-file {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f2f7f7;
    color: #284f59;
    font-size: 12px;
}

.consumer-helpdesk-status {
    min-height: 20px;
    margin-top: 15px;
    color: #49656d;
    font-size: 13px;
}

.consumer-helpdesk-status.is-error {
    color: #a13b3b;
}

.consumer-helpdesk-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid #edf1f2;
}

.consumer-helpdesk-actions > span {
    color: #72878f;
    font-size: 12px;
}

.consumer-helpdesk-side {
    display: grid;
    gap: 14px;
}

.consumer-helpdesk-side-card {
    border: 1px solid #d8e4e6;
    border-radius: 13px;
    background: #fff;
    padding: 18px;
}

.consumer-helpdesk-side-card h3 {
    margin: 2px 0 12px;
    color: #0b3849;
    font-size: 17px;
}

.consumer-helpdesk-side-card p {
    margin: 0;
    color: #657b83;
    font-size: 13px;
    line-height: 1.55;
}

.consumer-helpdesk-steps {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.consumer-helpdesk-step {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
}

.consumer-helpdesk-step > span:first-child {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #e6f7f4;
    color: #007e76;
    font-size: 11px;
    font-weight: 800;
}

.consumer-helpdesk-step strong {
    display: block;
    color: #204652;
    font-size: 13px;
}

.consumer-helpdesk-step p {
    margin-top: 2px;
    font-size: 12px;
}

.consumer-helpdesk-quick-links {
    display: grid;
    gap: 8px;
}

.consumer-helpdesk-quick-link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    border: 1px solid #e0e9ea;
    border-radius: 9px;
    background: #fbfcfc;
    color: #0b5560;
    text-align: left;
    text-decoration: none;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.consumer-helpdesk-quick-link:hover {
    border-color: #acd4d0;
    background: #f4faf9;
}

.consumer-helpdesk-loading,
.consumer-helpdesk-error,
.consumer-helpdesk-locked,
.consumer-helpdesk-success {
    padding: 28px;
}

.consumer-helpdesk-loading {
    display: flex;
    align-items: center;
    gap: 14px;
}

.consumer-helpdesk-loading strong,
.consumer-helpdesk-error strong {
    display: block;
    color: #173d4e;
}

.consumer-helpdesk-loading p,
.consumer-helpdesk-error p {
    margin: 3px 0 0;
    color: #6e838b;
}

.consumer-helpdesk-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid #d9e9e7;
    border-top-color: #008e87;
    border-radius: 50%;
    animation: consumer-helpdesk-spin .8s linear infinite;
}

@keyframes consumer-helpdesk-spin {
    to {
        transform: rotate(360deg);
    }
}

.consumer-helpdesk-success-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #e8f8f4;
    color: #00836f;
    font-weight: 800;
}

.consumer-helpdesk-locked .button,
.consumer-helpdesk-error .button {
    margin-top: 18px;
}

.consumer-helpdesk-reference {
    display: inline-flex;
    flex-direction: column;
    gap: 3px;
    min-width: 220px;
    margin: 20px 0;
    padding: 14px 17px;
    border: 1px solid #b6dcd6;
    border-radius: 10px;
    background: #f1faf8;
}

.consumer-helpdesk-reference span {
    color: #6f8389;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.consumer-helpdesk-reference strong {
    color: #006f67;
    font-size: 20px;
    letter-spacing: .03em;
}

.consumer-helpdesk-warning {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff7e9;
    color: #77531d;
    font-size: 13px;
}

.consumer-helpdesk-success-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .consumer-helpdesk-layout {
        grid-template-columns: 1fr;
    }

    .consumer-helpdesk-side {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 700px) {
    .consumer-helpdesk-grid,
    .consumer-helpdesk-side {
        grid-template-columns: 1fr;
    }

    .consumer-helpdesk-wide {
        grid-column: auto;
    }

    .consumer-helpdesk-form-heading {
        flex-direction: column;
    }

    .consumer-helpdesk-identity {
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }

    .consumer-helpdesk-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .consumer-helpdesk-actions .button {
        width: 100%;
    }
}
