html,
body,
#app {
    margin: 0;
    min-height: 100%;
    height: 100%;
}

body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) {
    font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(191, 163, 107, 0.28), transparent 28%),
        radial-gradient(circle at bottom right, rgba(76, 113, 122, 0.18), transparent 35%),
        #efe8db;
    color: #2d2a26;
}

.soup-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease-out, padding .3s ease-out;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.soup-expand {
    max-height: 2000px;
    transition: max-height .3s ease-in, opacity .3s ease-in, padding .3s ease-in;
    opacity: 1;
}

.soup-expand-5000 {
    max-height: 5000px;
    transition: max-height .3s ease-in, opacity .3s ease-in, padding .3s ease-in;
    opacity: 1;
}

.soup-expand-1000 {
    max-height: 1000px;
    transition: max-height .3s ease-in, opacity .3s ease-in, padding .3s ease-in;
    opacity: 1;
}

.soup-expand-500 {
    max-height: 500px;
    transition: max-height .3s ease-in, opacity .3s ease-in, padding .3s ease-in;
    opacity: 1;
}

.soup-expand-100 {
    max-height: 100px;
    transition: max-height .3s ease-in, opacity .3s ease-in, padding .3s ease-in;
    opacity: 1;
}

.full-width-input {
    width: 100%;
}

.text-mutedhl7 {
    color: #6c757d;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
}

body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) button,
body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) .button-link {
    border: 0;
    border-radius: 999px;
    background: #29474f;
    color: #f7f4ec;
    padding: 0.7rem 1rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 120ms ease, opacity 120ms ease, background 120ms ease;
}

body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) button:hover,
body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) .button-link:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) button:disabled {
    cursor: wait;
    opacity: 0.6;
    transform: none;
}

body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) button.secondary,
body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) .button-link.secondary {
    background: #d7cdb7;
    color: #2d2a26;
}

body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) button.danger,
body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) .button-link.danger {
    background: #933f32;
}

body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) input,
body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) select,
body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) textarea {
    width: 100%;
    border: 1px solid #c5baa1;
    border-radius: 14px;
    background: rgba(255, 252, 246, 0.92);
    color: #2d2a26;
    padding: 0.75rem 0.9rem;
    font: inherit;
}

body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) textarea,
body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) code,
body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) pre,
.brand__url,
.monaco-panel {
    font-family: "IBM Plex Mono", Consolas, monospace;
}

body:not(:has(.hl7-soup-page)):not(:has(.fhir-soup-page)) textarea {
    min-height: 12rem;
    resize: vertical;
}

.shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100dvh;
    position: relative;
    background: transparent;
}

.shell--onboarding,
.shell--mobile {
    grid-template-columns: minmax(0, 1fr);
}

.shell--sidebar-compact {
    grid-template-columns: 7rem minmax(0, 1fr);
}

.shell__sidebar {
    min-height: 100vh;
    padding: 1.15rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(180deg, rgba(43, 52, 60, 0.98), rgba(30, 34, 39, 0.96));
    color: #f3efe6;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 40;
}

.shell__sidebar-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0.85rem;
}

.shell__sidebar-copy {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
}

.shell__sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f7f4ec;
}

.shell__sidebar-toggle {
    min-width: 2.55rem;
    min-height: 2.55rem;
    padding: 0.55rem;
    border-radius: 14px;
}

.shell__kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: #d7cdb7;
}

.nav {
    display: grid;
    gap: 0.45rem;
    align-content: start;
    flex: 1 1 auto;
}

.nav__notice {
    padding: 0.2rem 0.2rem 0.55rem;
    color: #f6d8cf;
    font-size: 0.8rem;
    line-height: 1.45;
}

.nav__group {
    display: grid;
    gap: 0.28rem;
}

.nav__link {
    display: block;
    padding: 0.78rem 0.95rem;
    border-radius: 16px;
    color: #d8d2c4;
    text-decoration: none;
    font-weight: 500;
}

.nav__link.active,
.nav__link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff8eb;
}

.nav__link--disabled,
.nav__link--disabled:hover {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(216, 210, 196, 0.5);
    cursor: not-allowed;
}

.nav--collapsed .nav__notice {
    padding-inline: 0.3rem;
    text-align: center;
}

.nav__link--compact {
    padding: 0.72rem 0.55rem;
    text-align: center;
}

.nav__link-text {
    display: block;
}

.nav__sublist {
    display: grid;
    gap: 0.2rem;
    padding-left: 0.95rem;
}

.nav__sublink {
    display: flex;
    align-items: center;
    min-height: 2.15rem;
    padding: 0.45rem 0.7rem 0.45rem 0.95rem;
    border-radius: 14px;
    color: #cbc8c2;
    font-size: 0.9rem;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
    transition: background 120ms ease, color 120ms ease;
}

.nav__sublink::before {
    content: "";
    position: absolute;
    left: 0.28rem;
    top: 50%;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 999px;
    background: rgba(216, 210, 196, 0.3);
    transform: translateY(-50%);
}

.nav__sublink:hover,
.nav__sublink.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff8eb;
}

.nav__sublink.active::before {
    background: #78c7ff;
}

.nav__sublink-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shell__content {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.shell__content--onboarding {
    display: grid;
    align-items: center;
    justify-items: center;
    padding: clamp(1.25rem, 4vw, 3rem);
}

.shell__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 1rem 1.5rem 1.75rem;
    position: relative;
}

.shell__body-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 1.25rem;
    min-height: 0;
    transition: filter 140ms ease, opacity 140ms ease, transform 140ms ease;
}

.shell__body-content > .dashboard-shell {
    flex: 1 1 auto;
    min-height: 0;
}

.shell__body--onboarding {
    width: min(100%, 76rem);
    align-content: center;
}

.shell__body--switching {
    overflow: hidden;
}

.shell__body--switching .shell__body-content {
    filter: blur(3px);
    opacity: 0.52;
    transform: scale(0.995);
    pointer-events: none;
    user-select: none;
}

.shell__body-overlay {
    position: absolute;
    inset: 0;
    background: rgba(239, 232, 219, 0.18);
    pointer-events: auto;
}

.shell-header {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0.65rem 1.5rem;
    border: 0;
    border-bottom: 1px solid rgba(96, 78, 48, 0.12);
    border-radius: 0;
    background: rgba(255, 251, 244, 0.94);
    box-shadow: none;
}

.shell-header__primary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.shell-header__menu-button {
    display: none;
    min-width: 3.25rem;
}

.shell-header__server-name {
    font-size: clamp(1.28rem, 1.4vw + 0.95rem, 1.9rem);
    font-weight: 700;
    color: #2d2a26;
    line-height: 1.08;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shell-header__server-picker {
    width: auto;
    max-width: min(100%, 28rem);
    min-width: 10rem;
    justify-self: start;
    border: 1px solid rgba(96, 78, 48, 0.14);
    border-radius: 999px;
    background-color: rgba(215, 205, 183, 0.88);
    background-image:
        linear-gradient(45deg, transparent 50%, #665d4f 50%),
        linear-gradient(135deg, #665d4f 50%, transparent 50%);
    background-position:
        calc(100% - 1.1rem) calc(50% - 0.08rem),
        calc(100% - 0.75rem) calc(50% - 0.08rem);
    background-size: 0.35rem 0.35rem;
    background-repeat: no-repeat;
    padding: 0.55rem 2.2rem 0.55rem 1rem;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #2d2a26;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    appearance: none;
}

.shell-header__server-picker:focus {
    outline: none;
    border-color: rgba(31, 79, 90, 0.28);
    background-color: rgba(213, 229, 234, 0.9);
    color: #1f4f5a;
}

.shell-header__brand-strip {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    min-width: 0;
}

.shell-header__brand-icon {
    display: block;
    width: auto;
    height: 2.2rem;
    max-width: none;
    margin: 0;
}

.shell-header__brand-text {
    font-size: 1rem;
    font-weight: 700;
    color: #2d2a26;
    white-space: nowrap;
}

.shell-header__notice {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border-radius: 18px;
    font-size: 0.92rem;
    line-height: 1.45;
}

.shell-header__notice--warning {
    background: rgba(243, 224, 180, 0.55);
    border: 1px solid rgba(122, 87, 5, 0.12);
    color: #6b4f0c;
}

.shell-header__notice--info {
    background: rgba(213, 229, 234, 0.55);
    border: 1px solid rgba(31, 79, 90, 0.12);
    color: #23454f;
}

.shell-header__notice--error {
    background: rgba(243, 212, 207, 0.68);
    border: 1px solid rgba(139, 43, 29, 0.12);
    color: #7a2417;
}

.shell__drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(17, 20, 24, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
}

.shell__drawer-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.shell--sidebar-compact .shell__sidebar {
    padding-inline: 0.72rem;
}

.shell--sidebar-compact .shell__sidebar-top {
    flex-direction: column;
    align-items: stretch;
}

.shell--sidebar-compact .shell__sidebar-copy {
    justify-items: center;
    text-align: center;
}

.shell--sidebar-compact .shell__sidebar-title {
    display: none;
}

.shell__wall {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: rgba(17, 20, 24, 0.34);
    backdrop-filter: blur(2px);
}

.shell__wall-card {
    width: min(36rem, calc(100vw - 2rem));
    padding: 1.4rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    background: rgba(30, 34, 39, 0.88);
    color: #f6f2ea;
    text-align: center;
    box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.24);
}

.shell__wall-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.72rem;
    color: #d7cdb7;
}

.shell__wall-card h2 {
    margin: 0.6rem 0 0.35rem;
    font-size: 1.45rem;
    font-weight: 700;
}

.shell__wall-address {
    font-family: "IBM Plex Mono", Consolas, monospace;
    color: #bfe1ff;
    word-break: break-word;
}

.shell__wall-detail {
    margin-top: 0.85rem;
    color: #eadfd1;
    font-size: 0.92rem;
    line-height: 1.5;
}

.shell__wall-note {
    margin-top: 0.85rem;
    color: #d6cdc0;
    font-size: 0.86rem;
}

.shell__wall-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

@media (max-width: 980px) {
    .shell__body {
        padding: 0.9rem 0.95rem 1.2rem;
    }

    .shell-header {
        padding-inline: 0.95rem;
    }

    .shell-header__primary {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .shell-header__server-picker {
        max-width: min(100%, 20rem);
    }
}

@media (max-width: 759px) {
    .shell__sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(19rem, calc(100vw - 3.5rem));
        min-height: 100dvh;
        transform: translateX(-110%);
        transition: transform 180ms ease;
        box-shadow: 0 22px 50px rgba(7, 10, 13, 0.32);
    }

    .shell--drawer-open .shell__sidebar {
        transform: translateX(0);
    }

    .shell__content--onboarding {
        padding: 1rem;
    }

    .shell-header {
        padding: 0.7rem 0.9rem;
    }

    .shell-header__menu-button {
        display: inline-flex;
    }

    .shell-header__primary {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .shell-header__server-name {
        font-size: 1.2rem;
    }

    .shell-header__server-picker {
        max-width: min(100%, 14rem);
        min-width: 8.75rem;
        font-size: 0.95rem;
        min-height: 0;
        padding-block: 0.48rem;
    }

    .shell-header__brand-icon {
        height: 1.95rem;
    }

    .shell-header__brand-text {
        font-size: 0.92rem;
    }

    .shell__body {
        padding: 0.85rem 0.9rem 1.1rem;
    }
}

@media (min-width: 760px) {
    .shell {
        height: 100dvh;
    }

    .shell__sidebar {
        min-height: 100dvh;
    }

    .shell__content:not(.shell__content--onboarding) {
        height: 100dvh;
        overflow: hidden;
    }

    .shell__content--onboarding {
        height: 100dvh;
        overflow: auto;
    }
}

body.is-resizing-dashboard {
    user-select: none;
}

.page-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
}

.page-header h1,
.panel h2,
.panel h3 {
    margin: 0;
}

.panel {
    background: rgba(255, 251, 244, 0.9);
    border: 1px solid rgba(96, 78, 48, 0.15);
    border-radius: 24px;
    padding: 1.2rem;
    box-shadow: 0 18px 40px rgba(56, 45, 25, 0.08);
}

.panel__header,
.panel__toolbar,
.actions,
.field-row,
.metrics-grid,
.page-grid,
.tab-row {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.panel__header {
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.9rem;
}

.panel__toolbar {
    margin-bottom: 1rem;
}

.field-row > * {
    flex: 1 1 220px;
}

.page-grid {
    align-items: start;
}

.page-grid > * {
    flex: 1 1 460px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.9rem;
}

.metric {
    padding: 1rem;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(244, 238, 224, 0.95), rgba(231, 222, 204, 0.82));
    border: 1px solid rgba(96, 78, 48, 0.12);
}

.metric__label {
    font-size: 0.82rem;
    color: #6e6658;
}

.metric__value {
    margin-top: 0.35rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 0.8rem 0.7rem;
    border-bottom: 1px solid rgba(96, 78, 48, 0.14);
    vertical-align: top;
    text-align: left;
}

.data-table tbody tr:hover {
    background: rgba(214, 205, 183, 0.22);
}

.data-table tbody tr.is-selected {
    background: rgba(110, 136, 143, 0.18);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge--success {
    background: #d8ead7;
    color: #255b28;
}

.badge--warning {
    background: #f3e0b4;
    color: #7a5705;
}

.badge--danger {
    background: #f3d4cf;
    color: #8b2b1d;
}

.badge--info {
    background: #d5e5ea;
    color: #1f4f5a;
}

.badge--neutral {
    background: #e2ddd2;
    color: #534c43;
}

.inline-status {
    margin: 0.4rem 0 0;
    color: #5f5648;
}

.error-text {
    color: #8b2b1d;
}

.notifications,
.stack {
    display: grid;
    gap: 0.75rem;
}

.notification {
    border-radius: 16px;
    padding: 0.95rem 1rem;
    background: rgba(241, 234, 219, 0.85);
    border: 1px solid rgba(96, 78, 48, 0.12);
}

.notification--critical {
    background: rgba(244, 214, 209, 0.9);
    border-color: rgba(147, 63, 50, 0.25);
}

.mono {
    font-family: "IBM Plex Mono", Consolas, monospace;
}

.json-editor {
    min-height: 22rem;
}

.monaco-panel {
    min-height: 18rem;
    height: 26rem;
    border: 1px solid rgba(96, 78, 48, 0.16);
    border-radius: 18px;
    overflow: hidden;
}

.monaco-editor-container {
    height: 100%;
}

.monaco-panel--compact {
    height: 18rem;
}

.decorationGlyphMarginClass {
    background: #933f32;
}

.decorationContentClass {
    background: rgba(102, 255, 102, 0.13);
}

.decorationPathMouseOverClass {
    background: rgba(96, 78, 48, 0.12);
}

.decorationPathSelectedClass {
    background: rgba(207, 226, 255, 0.65);
}

.decorationPathValidationClass {
    background: rgba(248, 215, 218, 0.6);
}

.decorationPathValidationOrangeClass {
    background: rgba(255, 243, 205, 0.68);
}

.decorationPathValidationBlueClass {
    background: rgba(207, 226, 255, 0.72);
}

.decorationPathValidationGreenClass {
    background: rgba(212, 237, 218, 0.72);
}

.decorationGlyphMarginValidationClass {
    background: #933f32;
}

.decorationGlyphMarginValidationOrangeClass {
    background: #c9851b;
}

.decorationGlyphMarginValidationBlueClass {
    background: #2d6da3;
}

.decorationGlyphMarginValidationGreenClass {
    background: #2d7b4f;
}

.monaco-frame,
.monaco-fill {
    height: 100%;
}

.list-box {
    display: grid;
    gap: 0.45rem;
    max-height: 26rem;
    overflow: auto;
}

.list-box button {
    text-align: left;
    justify-content: flex-start;
    border-radius: 16px;
    background: rgba(215, 205, 183, 0.42);
    color: #2d2a26;
}

.list-box button.active {
    background: #29474f;
    color: #f7f4ec;
}

.empty-state,
.boot-screen {
    display: grid;
    place-items: center;
    text-align: center;
}

.boot-screen {
    min-height: 100vh;
    color: #2d2a26;
    gap: 1rem;
}

.boot-screen__logo-frame {
    padding: 1rem 1.1rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 48px rgba(56, 45, 25, 0.12);
}

.boot-screen__logo {
    display: block;
    width: min(32rem, 72vw);
    height: auto;
}

.boot-screen__title {
    font-size: 2rem;
    font-weight: 700;
}

.boot-screen__subtitle {
    margin-top: 0.55rem;
    color: #665d4f;
}

#blazor-error-ui {
    background: #fff6d1;
    bottom: 0;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.18);
    display: none;
    left: 0;
    padding: 0.8rem 1rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

@media (min-width: 761px) {
    /* Keep the interface designer panels sharing the available column height even if an older scoped CSS bundle is still in use. */
    .interface-designer-page__main-column {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--interface-designer-gap) !important;
        min-width: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        grid-template-rows: none !important;
    }

    .interface-designer-page__main-column > .interface-designer-page__workspace-panel {
        flex: 1.02 1 0 !important;
        min-height: 0 !important;
    }

    .interface-designer-page__main-column > .interface-designer-page__lower-column {
        flex: 0.98 1 0 !important;
        min-height: calc(
            var(--interface-designer-preview-expanded-min-height, 16rem) +
            var(--interface-designer-validation-expanded-min-height, 14rem) +
            var(--interface-designer-gap, 0.8rem)) !important;
    }

    .interface-designer-page__main-column--preview-collapsed > .interface-designer-page__workspace-panel,
    .interface-designer-page__main-column--validation-collapsed > .interface-designer-page__workspace-panel {
        flex: 1.28 1 0 !important;
    }

    .interface-designer-page__main-column--preview-collapsed > .interface-designer-page__lower-column,
    .interface-designer-page__main-column--validation-collapsed > .interface-designer-page__lower-column {
        flex: 0.72 1 0 !important;
    }

    .interface-designer-page__main-column--preview-collapsed > .interface-designer-page__lower-column {
        min-height: calc(
            var(--interface-designer-collapsed-panel-height, 3.35rem) +
            var(--interface-designer-validation-expanded-min-height, 14rem) +
            var(--interface-designer-gap, 0.8rem)) !important;
    }

    .interface-designer-page__main-column--validation-collapsed > .interface-designer-page__lower-column {
        min-height: calc(
            var(--interface-designer-preview-expanded-min-height, 16rem) +
            var(--interface-designer-collapsed-panel-height, 3.35rem) +
            var(--interface-designer-gap, 0.8rem)) !important;
    }

    .interface-designer-page__main-column--preview-collapsed.interface-designer-page__main-column--validation-collapsed > .interface-designer-page__workspace-panel {
        flex: 1 1 0 !important;
    }

    .interface-designer-page__main-column--preview-collapsed.interface-designer-page__main-column--validation-collapsed > .interface-designer-page__lower-column {
        flex: 0 0 auto !important;
        min-height: calc(
            (var(--interface-designer-collapsed-panel-height, 3.35rem) * 2) +
            var(--interface-designer-gap, 0.8rem)) !important;
    }

    .interface-designer-page__lower-column {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--interface-designer-gap) !important;
        min-width: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
        grid-template-rows: none !important;
    }

    .interface-designer-page__lower-column > .interface-designer-page__preview-panel {
        flex: 1 1 0 !important;
        min-height: var(--interface-designer-preview-expanded-min-height, 16rem) !important;
    }

    .interface-designer-page__lower-column > .interface-designer-page__validation-panel {
        flex: 0.82 1 0 !important;
        min-height: var(--interface-designer-validation-expanded-min-height, 14rem) !important;
    }

    .interface-designer-page__lower-column--preview-collapsed > .interface-designer-page__preview-panel {
        flex: 0 0 auto !important;
        min-height: var(--interface-designer-collapsed-panel-height, 3.35rem) !important;
    }

    .interface-designer-page__lower-column--preview-collapsed > .interface-designer-page__validation-panel {
        flex: 1 1 0 !important;
    }

    .interface-designer-page__lower-column--validation-collapsed > .interface-designer-page__preview-panel {
        flex: 1 1 0 !important;
    }

    .interface-designer-page__lower-column--validation-collapsed > .interface-designer-page__validation-panel {
        flex: 0 0 auto !important;
        min-height: var(--interface-designer-collapsed-panel-height, 3.35rem) !important;
    }

    .interface-designer-page__lower-column--preview-collapsed.interface-designer-page__lower-column--validation-collapsed > .interface-designer-page__preview-panel,
    .interface-designer-page__lower-column--preview-collapsed.interface-designer-page__lower-column--validation-collapsed > .interface-designer-page__validation-panel {
        flex: 0 0 auto !important;
        min-height: var(--interface-designer-collapsed-panel-height, 3.35rem) !important;
    }
}
