.ps-crm-card-page {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: calc(100vh - 50px);
    min-width: 0;
}

/* =========================
   TOP CARD
========================= */

.ps-crm-card-wrap {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    margin: 10px;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ps-crm-card-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 10px 16px 12px;
    background: var(--crm-module-color);
    color: #fff;
    flex: 0 0 auto;
}

.ps-crm-card-header-top,
.ps-crm-card-header-bottom {
    display: flex;
    align-items: top;
    justify-content: space-between;
    gap: 12px;
}

.ps-crm-card-header-main {
    min-width: 0;
    flex: 1 1 auto;
}

.ps-crm-card-header-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.ps-crm-card-header-meta .ps-crm-card-header-icon,
.ps-crm-card-header-meta .ps-crm-card-header-icon svg {
    width: 15px;
    height: 15px;
}

.ps-crm-card-title {
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ps-crm-card-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.ps-crm-card-more-wrap {
    position: relative;
    flex: 0 0 auto;
    height: 16px;
}

.ps-crm-card-more-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 40;
    min-width: 190px;
    padding: 8px;
    background: #fff;
    border: 1px solid #d7dee8;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}

.ps-crm-card-more-form {
    margin: 0;
}

.ps-crm-card-more-item {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 38px;
    padding: 9px 12px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #1e293b;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.ps-crm-card-more-item:hover {
    background: #f8fafc;
}

.ps-crm-card-more-item.is-danger {
    color: #b91c1c;
}

.ps-crm-card-more-item.is-danger:hover {
    background: #fef2f2;
}

.ps-crm-card-header .ps-crm-sideview-iconbtn {
    width: 34px;
    min-width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 11px;
    border: 1px solid color-mix(in srgb, var(--crm-module-color) 56%, rgba(255,255,255,.16));
    background: color-mix(in srgb, var(--crm-module-color) 70%, white);
    color: rgba(255,255,255,.98);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .16s ease, color .16s ease, border-color .16s ease, opacity .16s ease;
}

.ps-crm-card-header .ps-crm-sideview-iconbtn:hover {
    color: #fff;
    background: color-mix(in srgb, var(--crm-module-color) 85%, white);
    border-color: color-mix(in srgb, var(--crm-module-color) 68%, rgba(255,255,255,.18));
}

.ps-crm-card-header .ps-crm-sideview-iconbtn .ps-crm-icon svg {
    width: 16px;
    height: 16px;
    display: block;
    stroke-width: 2.35;
}

.ps-crm-card-header .ps-crm-card-more-toggle {
    width: 32px;
    min-width: 24px;
    height: 16px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(255,255,255,.98);
}

.ps-crm-card-header .ps-crm-card-more-toggle:hover {
    background: transparent;
    border-color: transparent;
    color: rgba(255,255,255,.76);
}

.ps-crm-card-header .ps-crm-card-more-toggle .ps-crm-icon svg {
    width: 36px;
    height: 36px;
    stroke-width: 2;
}

.ps-crm-card-header .ps-crm-save-btn {
    color: color-mix(in srgb, var(--crm-module-color) 88%, #0f172a 12%);
}

.ps-crm-card-header .ps-crm-discard-btn:hover {
    color: #b91c1c;
}

.ps-crm-card-header .ps-crm-save-btn.is-hidden,
.ps-crm-card-header .ps-crm-discard-btn.is-hidden {
    display: none !important;
}

.ps-crm-card-body {
    flex: 1 1 auto;
    min-height: calc(50vh - 50px);
    max-height: calc(50vh - 50px);
    min-width: 0;
    padding: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ps-crm-card-wrap.has-featured-panel:not(.is-embedded-card):not(.is-sideview-card) .ps-crm-card-body-layout.has-featured {
    display: grid;
    gap: 40px;
    align-items: stretch;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.95fr);
    min-width: 0;
    min-height: 0;
    height: 100%;
    flex: 1 1 auto;
}

.ps-crm-card-main,
.ps-crm-card-featured {
    min-width: 0;
    min-height: 0;
}

.ps-crm-related-split-card .ps-crm-card-wrap.is-embedded-card .ps-crm-card-body {
    display: block !important;
    grid-template-columns: none !important;
}

.ps-crm-card-grid {
    min-width: 0;
}

.ps-crm-locked-value {
    min-height: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 2px 12px;
    border: 1px solid #d0d7de;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    box-sizing: border-box;
}

.ps-crm-locked-value .ps-crm-relation-chip {
    background: #fff;
}

/* featured */
.ps-crm-card-featured-inner {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    padding: 12px;
}

.ps-crm-card-featured-heading {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.ps-crm-card-featured-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ps-crm-featured-tile {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.ps-crm-featured-tile-content {
    min-width: 0;
}

.ps-crm-featured-tile-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 4px;
}

.ps-crm-featured-tile-value {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 700;
    color: #0f172a;
}

.ps-crm-featured-tile-suffix {
    font-size: 0.8em;
    font-weight: 500;
}

.ps-crm-featured-tile-prefix,
.ps-crm-featured-tile-number {
    font: inherit;
}

/* relation autocomplete */
.ps-crm-relation-field-v2 {
    position: relative;
    z-index: 20;
}

.ps-crm-relation-search {
    position: relative;
}

.ps-crm-relation-results {
    display: none;
    position: absolute;
    z-index: 999999;
    min-width: 220px;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--ps-crm-relation-color, var(--crm-module-color, #2271b1)) 22%, #d7dee7);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.ps-crm-relation-field-v2.is-open {
    z-index: 200;
}

.ps-crm-relation-result-item {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #eef2f7;
    cursor: pointer;
}

.ps-crm-relation-result-item:last-child {
    border-bottom: 0;
}

.ps-crm-relation-result-item-create {
    font-weight: 600;
    color: var(--ps-crm-relation-color, var(--crm-module-color, #2271b1));
    background: color-mix(in srgb, var(--ps-crm-relation-color, var(--crm-module-color, #2271b1)) 8%, white);
}

.ps-crm-relation-result-item-create:hover {
    background: color-mix(in srgb, var(--ps-crm-relation-color, var(--crm-module-color, #2271b1)) 14%, white);
}

.ps-crm-relation-result-item:hover {
    background: #f6f7f7;
}

.ps-crm-relation-result-item.is-empty {
    cursor: default;
}

.ps-crm-relation-result-label {
    display: block;
}

.ps-crm-card-form,
.ps-crm-card-featured {
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 10px;
}

.ps-crm-related-split-card .ps-crm-card-form {
    width: 100%;
    max-width: 100%;
    height: 100%;
}

/* =========================
   BOTTOM RELATIONS
========================= */

.ps-crm-card-bottom {
    height: 47vh;
    min-height: calc(50vh - 55px);
    max-height: calc(50vh - 55px);
    background: #fff;
    overflow: hidden;
    min-width: 0;
}

.ps-crm-card-bottom-inner {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ps-crm-related-tabs-nav {
    flex: 0 0 auto;
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    align-items: flex-end;
    margin: 0;
    padding: 7px 0 0;
    background: #ebebeb;
}

.ps-crm-related-tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 6px 10px;
    margin: -1px;
    text-decoration: none;
    border-radius: 12px 12px 0 0;
    color: #667085;
    z-index: 1;
}

.ps-crm-related-tab + .ps-crm-related-tab::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #d9e0e7;
}

.ps-crm-related-tab .ps-crm-related-tab-icon {
    color: var(--crm-tab-color);
    opacity: .95;
    height: 18px;
    width: 18px;
}

.ps-crm-related-tab:hover {
    background: #f5f5f5;
    color: #475467;
}

.ps-crm-related-tab.is-active {
    background: #fff;
    color: #1f2937;
    border-color: #e5e7eb;
    border-bottom-color: #fff;
    z-index: 3;
    margin-bottom: -1px;
}

.ps-crm-related-tab.is-active .ps-crm-related-tab-icon {
    color: var(--crm-tab-color);
}

.ps-crm-related-content {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-top: 1px solid #e5e7eb;
}

.ps-crm-related-content {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    padding: 0px;
    overflow: hidden;
}

.ps-crm-related-split {
    height: 100%;
    min-height: 0;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    gap: 20px;
    align-items: stretch;
}

.ps-crm-related-split-list,
.ps-crm-related-split-card {
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ps-crm-related-split-list > .ps-crm-list-shell,
.ps-crm-related-split-card > * {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
}

/* embedded list must scroll correctly */
.ps-crm-list-wrap.is-embedded,
.ps-crm-related-split-list .ps-crm-list-wrap {
    margin: 0;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ps-crm-related-split-list .ps-crm-list-form {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.ps-crm-related-split-list .ps-crm-list-table-wrap,
.ps-crm-related-split-list .ps-crm-list-scroll,
.ps-crm-related-split-list .ps-crm-list-results {
    min-height: 0;
}

/* embedded quickview card on right */
.ps-crm-related-split-card.is-loading,
.ps-crm-related-split-card.is-loading * {
    cursor: progress;
}

.ps-crm-related-split-card.is-loading {
    opacity: .65;
    transition: opacity .15s ease;
}

.ps-crm-related-split-card .ps-crm-card-wrap {
    height: 100%;
    min-height: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.ps-crm-related-split-card .ps-crm-card-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    height: 100%;
    display: block;
}

.ps-crm-card-wrap.is-embedded-card .ps-crm-card-header {
    margin-bottom: 0;
}

.ps-crm-card-wrap.is-embedded-card .ps-crm-card-title {
    font-size: 22px;
}

.ps-crm-card-wrap.is-embedded-card .ps-crm-card-body {
    padding-top: 16px;
}

/* document field */
.ps-crm-document-file-field .ps-crm-document-file-create-ui {
    display: none;
}

.ps-crm-document-file-field .ps-crm-document-file-create-ui.is-open,
.ps-crm-document-file-field.is-replacing .ps-crm-document-file-create-ui {
    display: block;
}


/* modal */
.ps-crm-card-quickview-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
}

.ps-crm-card-quickview-modal.is-open {
    display: block;
}

.ps-crm-card-quickview-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.ps-crm-card-quickview-dialog {
    position: absolute;
    inset: 3vh 3vw;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.ps-crm-card-quickview-frame {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #fff;
}

.ps-crm-card-quickview-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.08);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

body.is-card-modal {
    background: #f6f7f9;
}

body.is-card-modal .ps-crm-card-wrap {
    max-width: none;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}

.ps-crm-card-featured-inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.ps-crm-featured-timeline-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    margin-bottom: 10px;
    padding-right: 2px;
}

.ps-crm-featured-timeline-composer {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 30px;
    gap: 5px;
    align-items: end;
    padding-top: 8px;
    background: #f8fafc;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    margin-top: auto;
}

.ps-crm-featured-timeline-submit,
.ps-crm-featured-timeline-type,
.ps-crm-featured-timeline-textarea {
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    background: #fff;
}

.ps-crm-featured-timeline-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    min-height: 38px;
    cursor: pointer;
    color: var(--crm-module-color, #2271b1);
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.ps-crm-featured-timeline-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
    background: #f8fafc;
}

.ps-crm-featured-timeline-submit .ps-crm-icon,
.ps-crm-featured-timeline-submit svg {
    width: 16px;
    height: 16px;
}

.ps-crm-featured-timeline-textarea {
    min-height: 38px;
    resize: vertical;
    padding: 3px 10px;
    line-height: 1;
    font: inherit;
    color: #0f172a;
}

.ps-crm-featured-timeline-type {
    height: 38px;
    min-height: 38px;
    padding: 0 10px;
    font: inherit;
    color: #0f172a;
}

.ps-crm-featured-timeline-composer.is-saving {
    opacity: .7;
    pointer-events: none;
}

.ps-crm-card-featured .ps-crm-timeline-item.is-clickable .ps-crm-timeline-card {
    cursor: default;
}

.ps-crm-card-featured .ps-crm-timeline-item.is-clickable:hover .ps-crm-timeline-card {
    border-color: #e5e7eb !important;
    box-shadow: none !important;
    transform: none !important;
}

.ps-crm-card-wrap.is-quickview-card .ps-crm-workflow-field {
    display: block;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
}

.ps-crm-card-wrap.is-quickview-card .ps-crm-workflow-main {
    display: inline-flex;
    align-items: stretch;
    min-width: max-content;
    width: max-content;
    padding: 0 0 10px 0;
}

.ps-crm-card-wrap.is-quickview-card .ps-crm-workflow-main .ps-crm-workflow-step {
    flex: 0 0 auto;
    min-width: max-content;
    white-space: nowrap;
}

.ps-crm-card-wrap.is-quickview-card .ps-crm-workflow-outside {
    display: inline-flex;
    margin-left: 8px;
}

.ps-crm-card-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    padding: 10px 14px;
    border-radius: 12px;
    background: #0f172a;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .16s ease, transform .16s ease;
}

.ps-crm-card-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Dokumentkort: la hovedkolonnen ha plass til signeringspanelet under form */
.ps-crm-card-wrap.has-featured-panel .ps-crm-card-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.ps-crm-card-wrap.has-featured-panel .ps-crm-card-main > .ps-crm-card-form {
    min-height: 0;
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Signeringspanel skal ligge under feltene, men inne i hovedkolonnen */
.ps-crm-card-wrap.has-featured-panel .ps-crm-sign-panel {
    flex: 0 0 auto;
}

.ps-crm-card-inline-action-form {
    display: inline-flex;
    margin: 0;
}

.ps-crm-card-transfer-btn {
    color: var(--crm-module-color, #2271b1);
}

.ps-crm-card-transfer-btn.is-disabled,
.ps-crm-card-transfer-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.ps-crm-card-transfer-btn.is-disabled svg,
.ps-crm-card-transfer-btn:disabled svg {
    opacity: 0.35;
}

.ps-crm-related-split-list .ps-crm-timeline-wrap {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    overflow: auto;
    padding-left: 12px;
}

.ps-crm-related-split-list .ps-crm-timeline {
    min-height: 0;
}

.ps-crm-card-wrap.is-sideview-card .ps-crm-card-main,
.ps-crm-card-wrap.is-quickview-card .ps-crm-card-main,
.ps-crm-card-wrap.is-embedded-card .ps-crm-card-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
}

.ps-crm-card-wrap.is-sideview-card .ps-crm-card-main > .ps-crm-card-form,
.ps-crm-card-wrap.is-quickview-card .ps-crm-card-main > .ps-crm-card-form,
.ps-crm-card-wrap.is-embedded-card .ps-crm-card-main > .ps-crm-card-form {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.ps-crm-card-wrap.is-sideview-card .ps-crm-sign-panel,
.ps-crm-card-wrap.is-quickview-card .ps-crm-sign-panel,
.ps-crm-card-wrap.is-embedded-card .ps-crm-sign-panel {
    flex: 0 0 auto;
    margin-top: 16px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
    .ps-crm-card-wrap.has-featured-panel .ps-crm-card-body,
    .ps-crm-related-split {
        grid-template-columns: 1fr;
    }

    .ps-crm-card-featured {
        overflow: visible;
    }
}

@media (max-width: 700px) {
    .ps-crm-card-wrap.has-featured-panel .ps-crm-card-body-layout,
    .ps-crm-card-wrap.has-featured-panel .ps-crm-card-body-layout.has-featured {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .ps-crm-card-featured {
        display: none !important;
    }

    .ps-crm-related-split {
        grid-template-columns: 1fr;
    }

    .ps-crm-related-split-card,
    [data-related-quickview-panel="1"] {
        display: none !important;
    }
    
        .ps-crm-card-header-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .ps-crm-card-actions {
        width: 100%;
    }

    .ps-crm-card-title {
        font-size: 18px;
        white-space: normal;
    }
}


@media (max-width: 900px) {
    .ps-crm-featured-timeline-composer {
        grid-template-columns: 110px minmax(0, 1fr) 40px;
    }
}


.ps-crm-card-featured-preview .ps-crm-card-featured-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 0;
}

.ps-crm-featured-preview-meta {
    margin-bottom: 10px;
    font-size: 13px;
    color: #64748b;
    word-break: break-word;
}

.ps-crm-featured-file-preview-frame-wrap {
    position: relative;
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.ps-crm-featured-file-preview-frame {
    width: 100%;
    height: 44vh;
    border: 0;
    display: block;
    background: #fff;
}

.ps-crm-featured-preview-notice {
    padding: 14px 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    color: #64748b;
    background: #f8fafc;
}

.ps-crm-featured-preview-notice.is-success {
    margin-bottom: 10px;
    border-style: solid;
    border-color: #bfdbfe;
    color: #1d4ed8;
    background: #eff6ff;
}


.ps-crm-featured-file-preview-frame-wrap.is-hidden,
.ps-crm-featured-preview-notice.is-hidden {
    display: none;
}

.ps-crm-featured-preview-notice.is-loading {
    position: relative;
    padding-left: 42px;
}

.ps-crm-featured-preview-notice.is-loading::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    border: 2px solid #cbd5e1;
    border-top-color: #64748b;
    border-radius: 999px;
    animation: ps-crm-featured-preview-spin 0.8s linear infinite;
}

@keyframes ps-crm-featured-preview-spin {
    to {
        transform: rotate(360deg);
    }
}

.ps-crm-featured-preview-actions {
    margin: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 1024px) {
    .ps-crm-featured-file-preview-frame-wrap,
    .ps-crm-featured-file-preview-frame {
        min-height: 480px;
        height: 480px;
    }
}