:root {
    --app-font-size: clamp(13px, 0.2vw + 12px, 16px);
    --app-space-1: clamp(8px, 0.45vw, 12px);
    --app-space-2: clamp(12px, 0.75vw, 18px);
    --app-space-3: clamp(16px, 1vw, 24px);
    --app-radius-lg: clamp(12px, 1vw, 16px);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

html {
    font-size: var(--app-font-size);
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #e9eff7;
    background-image:
        radial-gradient(1200px circle at 14% 6%, rgba(245, 183, 59, 0.18), transparent 58%),
        radial-gradient(980px circle at 88% 14%, rgba(11, 79, 179, 0.17), transparent 55%),
        linear-gradient(180deg, #f2f6fc 0%, #eaf2fb 52%, #e6f0fa 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #0f1b2e;
}

app,
#app,
.mud-layout,
.mud-main-content,
.mud-drawer-content {
    background: transparent !important;
}

.mud-drawer-content {
    min-width: 0;
}

.mud-layout {
    min-height: 100vh;
}

.mud-main-content {
    margin-top: 0;
    margin-bottom: 0;
}

.main-content {
    padding-top: calc(var(--mud-appbar-height) + var(--app-space-2));
    padding-bottom: var(--app-space-3);
    width: 100%;
}

.content-shell {
    width: 100%;
    max-width: min(1320px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 var(--app-space-2) var(--app-space-2);
}

.app-topbar {
    backdrop-filter: blur(8px);
    background: linear-gradient(116deg, #0a1429 0%, #0b4fb3 54%, #08a64e 100%) !important;
    color: #fff;
}

.app-drawer {
    background: rgba(255, 255, 255, 0.97);
    border-right: 1px solid rgba(11, 79, 179, 0.14);
}

.app-drawer.mud-drawer-temporary.mud-drawer--closed {
    pointer-events: none;
    visibility: hidden;
}

.app-drawer.mud-drawer-temporary.mud-drawer--open {
    pointer-events: auto;
    visibility: visible;
}

.app-drawer .mud-drawer-header {
    min-height: auto;
    overflow: hidden;
    padding: 12px 12px 6px;
}

.app-navmenu .mud-nav-link {
    margin: 2px 10px;
    border-radius: 10px;
    min-height: 44px;
    cursor: pointer;
}

.app-navmenu .mud-nav-link.active {
    background: rgba(8, 166, 78, 0.14);
    color: #0a2759;
    font-weight: 600;
}

.nav-logo {
    width: min(100%, 200px);
    max-height: clamp(64px, 16vh, 120px);
    height: auto;
    object-fit: contain;
    display: block;
    opacity: 0.96;
    filter: drop-shadow(0 0 10px rgba(245, 183, 59, 0.35));
}

.header-logo {
    max-height: 50px;
    width: auto;
    display: block;
    transition: opacity .2s ease, transform .15s ease;
}
.logo-home-link .header-logo:hover {
    opacity: 1;
    transform: scale(1.02);
}
.mud-appbar .header-wrap {
    background: transparent;
}

.header-wrap {
    background: transparent;
    padding: 2px 6px;
    display: flex;
    align-items: center;
}

.app-topbar.nav-expanded .header-wrap {
    display: none;
}

.app-topbar.nav-collapsed {
    box-shadow: 0 4px 16px rgba(10, 20, 41, 0.28);
}

.page-toolbar {
    margin: 4px 0 14px;
    display: flex;
    justify-content: flex-start;
}

.page-back-button {
    border-radius: 999px;
    font-weight: 600;
}

.auth-back-wrap {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 10;
}

.page-title {
    margin-bottom: 4px;
}

.page-subtitle {
    margin-bottom: 18px;
}

.kpi-card,
.surface-card {
    border-radius: var(--app-radius-lg);
    box-shadow: 0 10px 30px rgba(11, 37, 86, 0.14);
    border: 1px solid rgba(11, 79, 179, 0.14);
    background: rgba(255, 255, 255, 0.95);
}

.kpi-card {
    min-height: 112px;
}

.surface-card .mud-card-content,
.form-card .mud-card-content {
    padding: clamp(12px, 1.4vw, 20px);
}

.surface-card .mud-table-container,
.form-card .mud-table-container {
    overflow-x: auto;
    border: 1px solid rgba(11, 79, 179, 0.12);
    border-radius: 12px;
}

.surface-card .mud-table thead .mud-table-cell,
.form-card .mud-table thead .mud-table-cell {
    color: #0a2759;
    font-weight: 700;
    background: #f4f8fd;
    border-bottom-color: rgba(11, 79, 179, 0.14);
}

.form-card {
    border-radius: var(--app-radius-lg);
    box-shadow: 0 10px 30px rgba(10, 29, 69, 0.13);
    border: 1px solid rgba(8, 166, 78, 0.22);
    background: #fff;
}

.settings-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: var(--app-radius-lg);
    border: 1px solid rgba(11, 79, 179, 0.14);
    box-shadow: 0 10px 26px rgba(10, 39, 89, 0.12);
    background: rgba(255, 255, 255, 0.96);
}

.settings-card .mud-card-content {
    flex: 1 1 auto;
}

.settings-card .mud-card-actions {
    padding: 0 clamp(12px, 1.4vw, 20px) clamp(12px, 1.4vw, 20px);
}

.help-qr-card {
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    border-color: rgba(11, 79, 179, 0.14) !important;
}

.help-qr-preview {
    position: relative;
    min-height: clamp(220px, 42vw, 360px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f4f8fd 0%, #eef8f3 100%);
}

.help-qr-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.help-qr-fallback {
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    color: #0a2759;
    text-align: center;
}

.shipment-toolbar {
    width: 100%;
}

.shipment-toolbar .mud-input-control {
    flex: 1 1 240px;
    min-width: min(100%, 260px);
}

.settings-action-stack,
.form-action-stack {
    flex-wrap: wrap;
}


.label-create-card {
    max-width: 1100px;
}

.label-create-grid {
    align-items: flex-start;
}

.label-create-manifest-alert {
    max-width: 1100px;
}

.section-header {
    margin-bottom: 10px;
}

.readonly-field .mud-input-input.mud-input-root {
    background: rgba(10, 20, 41, 0.04);
    font-weight: 600;
}

.state-card-empty {
    border: 1px dashed rgba(11, 79, 179, 0.32);
    border-radius: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.75);
}

.donut-wrap {
    min-height: 360px;
}

.donut-chart-lg {
    width: 100%;
    min-height: 320px;
    height: 42vh;
    max-height: 480px;
}

.status-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mud-focus-visible,
.mud-input-control-input-container:focus-within,
.mud-button-root:focus-visible {
    outline: 2px solid rgba(11, 79, 179, 0.42);
    outline-offset: 2px;
}

.auth-layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 560px;
    border-radius: 20px;
    border: 1px solid rgba(11, 79, 179, 0.12);
    box-shadow: 0 16px 44px rgba(10, 39, 89, 0.22);
}

.patient-portal-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.98) 100%);
    border: 1px solid rgba(11, 79, 179, 0.16);
    box-shadow: 0 14px 40px rgba(10, 39, 89, 0.18);
}

.patient-history-card {
    max-width: 1040px;
}


.portal-logo {
    align-self: center;
    width: min(320px, 82vw);
    max-height: 120px;
    margin: 0 auto 8px;
}

.portal-heading .mud-chip {
    align-self: flex-start;
    font-weight: 600;
    letter-spacing: .02em;
}

.portal-cpt-button {
    font-weight: 700;
    letter-spacing: .01em;
    width: 100%;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(245, 183, 59, 0.32);
}

.cpt-codes-card {
    max-width: 1080px;
}

.cpt-section {
    border-radius: 14px;
    border-color: rgba(11, 79, 179, 0.16);
}

.patient-portal-form {
    display: grid;
    gap: 12px;
}

.portal-note {
    text-align: center;
}

.portal-summary,
.portal-totals {
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.9);
}

.portal-tests {
    border: 1px solid rgba(11, 79, 179, 0.14);
    border-radius: 12px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.85);
}

.portal-tests-inline {
    margin: 0;
    padding: 4px;
}

.patient-order-table .mud-table-container {
    border-radius: 12px;
    border: 1px solid rgba(11, 79, 179, 0.14);
}

.portal-actions {
    flex-wrap: wrap;
}

.portal-success-avatar {
    width: 64px;
    height: 64px;
    box-shadow: 0 8px 18px rgba(45, 170, 77, 0.35);
}

.app-logo {
    width: min(290px, 82vw);
    max-height: 116px;
    object-fit: contain;
    display: block;
}

.login-logo {
    width: min(320px, 88vw);
    max-height: 128px;
}

.portal-entry-logo {
    width: min(390px, 92vw);
    max-height: 148px;
}

.portal-history-logo {
    width: min(280px, 68vw);
    max-height: 104px;
}

.logo-home-link {
    display: inline-flex;
    text-decoration: none;
    border-radius: 16px;
}

.logo-emblem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(8px, 1.6vw, 14px) clamp(12px, 2.2vw, 20px);
    border-radius: 18px;
    background: linear-gradient(120deg, rgba(11, 79, 179, 0.08), rgba(8, 166, 78, 0.14));
    border: 1px solid rgba(11, 79, 179, 0.2);
    box-shadow: 0 10px 26px rgba(10, 39, 89, 0.16);
}

.logo-home-link .logo-emblem {
    transition: transform .15s ease, box-shadow .2s ease;
}

.logo-home-link:hover .logo-emblem {
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(10, 39, 89, 0.22);
}

.logo-static {
    cursor: default;
}

.login-feature-marquee {
    margin-top: 8px;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid rgba(11, 79, 179, 0.14);
    border-radius: 12px;
    background: linear-gradient(110deg, rgba(11, 79, 179, 0.07), rgba(8, 166, 78, 0.09));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
    position: relative;
    padding: 10px 0;
}

.login-feature-marquee .login-feature-track {
    display: inline-flex !important;
    width: max-content;
    align-items: baseline;
    gap: 30px;
    white-space: nowrap;
    will-change: transform;
    animation: login-feature-scroll 30s linear infinite;
}

.login-feature-marquee .login-feature-line {
    display: inline-block !important;
    padding-left: 18px;
    color: #0a316d;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap !important;
}

@keyframes login-feature-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-feature-marquee {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .login-feature-marquee .login-feature-track {
        animation: none;
        display: inline-flex !important;
    }

    .login-feature-marquee .login-feature-line + .login-feature-line {
        display: none;
    }
}

@media (max-width: 600px) {
    .login-feature-marquee {
        border-radius: 10px;
        padding: 8px 0;
    }

    .login-feature-marquee .login-feature-track {
        gap: 24px;
        animation-duration: 24s;
    }

    .login-feature-marquee .login-feature-line {
        font-size: 0.84rem;
        padding-left: 14px;
    }
}

.mud-paper,
.mud-card,
.mud-button-root,
.mud-input-control,
.mud-chip,
.mud-table,
.mud-alert {
    font-size: 1rem;
}


@media (min-width: 960px) {
    .mud-main-content,
    .content-shell {
        min-width: 0;
    }

    .main-content.nav-open {
        margin-left: var(--mud-drawer-width-left, 260px);
        width: calc(100% - var(--mud-drawer-width-left, 260px));
    }

    .main-content.nav-closed {
        margin-left: 0;
    }

    .main-content.nav-open {
        --desktop-shell-padding: clamp(12px, 1vw, 24px);
        --desktop-available-width: calc(100vw - var(--mud-drawer-width-left, 260px));
    }

    .main-content.nav-open .content-shell {
        width: 100%;
        max-width: 100% !important;
        padding-left: var(--desktop-shell-padding);
        padding-right: var(--desktop-shell-padding);
    }

    .app-navmenu .mud-nav-link-text {
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .manifest-table table {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 959px) {
    .desktop-only {
        display: none !important;
    }

    .content-shell {
        max-width: 100%;
        padding: 0 12px 12px;
    }

    .header-logo {
        max-height: 42px;
    }

    .app-drawer {
        width: min(88vw, 320px) !important;
    }

    .nav-logo {
        max-height: clamp(52px, 14vh, 88px);
        width: min(100%, 170px);
    }

    .donut-wrap {
        min-height: 300px;
    }

    .donut-chart-lg {
        min-height: 260px;
        height: 36vh;
        max-height: 340px;
    }
}

@media (max-width: 600px) {
    .kpi-card,
    .surface-card,
    .form-card {
        border-radius: 14px;
    }

    .mud-table-container {
        border-radius: 12px;
    }

    .mud-button-root {
        min-height: 42px;
    }

    .status-legend {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-back-wrap {
        top: 10px;
        left: 10px;
    }

    .portal-actions {
        flex-direction: column;
    }

    .portal-actions .mud-button-root {
        width: 100%;
    }

    .shipment-toolbar {
        justify-content: stretch !important;
    }

    .shipment-toolbar .mud-input-control,
    .shipment-toolbar .mud-button-root,
    .settings-action-stack .mud-button-root,
    .form-action-stack .mud-button-root,
    .settings-card .mud-button-root {
        width: 100%;
    }

    .surface-card .mud-table-cell::before,
    .form-card .mud-table-cell::before {
        color: #5f6f86;
        font-weight: 700;
    }

    .main-content {
        padding-top: calc(var(--mud-appbar-height) + 12px);
    }

    .content-shell {
        padding: 0 10px 10px;
    }
}

@media (max-width: 1280px) and (max-height: 820px) {
    :root {
        --app-font-size: clamp(12px, 0.15vw + 11.5px, 14px);
        --app-space-1: clamp(6px, 0.4vw, 10px);
        --app-space-2: clamp(10px, 0.6vw, 14px);
        --app-space-3: clamp(12px, 0.8vw, 18px);
    }

    .header-logo {
        max-height: 40px;
    }

    .nav-logo {
        max-height: clamp(48px, 10vh, 76px);
    }

    .kpi-card {
        min-height: 96px;
    }
}

.manifest-table {
    table-layout: fixed;
}

.manifest-table .mud-table-container {
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(11, 79, 179, 0.12);
    border-radius: 12px;
}

.manifest-table table {
    width: 100%;
    min-width: 1320px;
    table-layout: fixed;
}

.manifest-table .manifest-th,
.manifest-table .mud-table-cell {
    vertical-align: middle;
}

.manifest-table .manifest-th {
    white-space: nowrap;
    color: #0a2759;
    font-size: 0.92rem;
    font-weight: 900;
    letter-spacing: 0.015em;
    text-align: center;
    background: #f3f7fd;
    border-bottom-color: rgba(11, 79, 179, 0.14);
}

.manifest-table thead .mud-table-cell {
    text-align: center;
}

.manifest-table .manifest-th .mud-table-sort-label,
.manifest-table .manifest-th .mud-table-cell-content,
.manifest-table .manifest-th > * {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: inherit;
    font-weight: 900 !important;
    color: inherit;
}

.manifest-table .mud-table-row {
    min-height: 74px;
}

.manifest-table .mud-table-cell {
    height: 74px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.manifest-col-patient { width: 12%; }
.manifest-col-facility { width: 11%; }
.manifest-col-order-date { width: 8%; }
.manifest-col-tests { width: 14%; }
.manifest-col-payment { width: 10%; }
.manifest-col-billing { width: 12%; }
.manifest-col-abn { width: 8%; }
.manifest-col-results { width: 8%; }
.manifest-col-label { width: 17%; }

.manifest-table .manifest-tests-cell {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

.manifest-date-cell {
    line-height: 1.2;
}

.manifest-date-main {
    font-weight: 600;
    color: #15243a;
    line-height: 1.15;
}

.manifest-date-time {
    color: #5f6f86;
    line-height: 1.15;
}

.manifest-payment-button,
.manifest-action-button,
.manifest-label-button {
    width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
}

.manifest-payment-button {
    min-height: 44px;
    padding: 6px 8px;
}

.manifest-action-button {
    min-height: 36px;
    padding-left: 8px;
    padding-right: 8px;
}

.manifest-label-button {
    min-height: 36px;
    padding-left: 10px;
    padding-right: 10px;
}

.manifest-payment-button-status,
.manifest-payment-button-total {
    color: inherit;
    line-height: 1.1;
}

.manifest-payment-button .mud-button-label,
.manifest-action-button .mud-button-label,
.manifest-label-button .mud-button-label {
    width: 100%;
    justify-content: center;
    white-space: nowrap;
}

.manifest-billing-select {
    width: 100%;
    max-width: 136px;
    margin: 0 auto;
}

.manifest-billing-select.mud-input-control {
    margin-top: 0;
    margin-bottom: 0;
}

.manifest-billing-select .mud-input-control-input-container,
.manifest-billing-select .mud-input {
    min-height: 36px;
    height: 36px;
}

.manifest-billing-select .mud-input {
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
}

.manifest-billing-select .mud-input > div.mud-input-slot {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 34px 0 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1;
}

.manifest-billing-select .mud-input-adornment-end {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    margin-inline-start: 0;
    width: 24px;
    min-width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.manifest-billing-select .mud-input-adornment-end .mud-icon-root {
    width: 18px;
    height: 18px;
}

.manifest-muted-status,
.manifest-tracking-pending {
    color: #7b8797;
    display: inline-flex;
    min-height: 32px;
    align-items: center;
}

.manifest-tracking-pending {
    justify-content: center;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.manifest-abn-status,
.manifest-stripe-status {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
}

.manifest-tracking-link {
    width: 100%;
    min-width: 0;
    padding-left: 4px;
    padding-right: 4px;
    line-height: 1.15;
}

.manifest-tracking-link .mud-button-label {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    line-height: 1.15;
}

@media (max-width: 1280px) {
    .manifest-table col {
        width: auto !important;
    }

    .manifest-table table {
        min-width: 1160px;
    }

    .manifest-table .mud-button-root {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 960px) {
    .manifest-surface-card {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .manifest-table .mud-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .manifest-table table {
        min-width: 1320px;
        width: 1320px;
        table-layout: fixed;
    }

    .manifest-table col.manifest-col-patient { width: 145px !important; }
    .manifest-table col.manifest-col-facility { width: 145px !important; }
    .manifest-table col.manifest-col-order-date { width: 120px !important; }
    .manifest-table col.manifest-col-tests { width: 170px !important; }
    .manifest-table col.manifest-col-payment { width: 130px !important; }
    .manifest-table col.manifest-col-billing { width: 145px !important; }
    .manifest-table col.manifest-col-abn { width: 140px !important; }
    .manifest-table col.manifest-col-results { width: 120px !important; }
    .manifest-table col.manifest-col-label { width: 205px !important; }

    .manifest-table .manifest-th,
    .manifest-table .mud-table-cell {
        display: table-cell;
        height: auto;
        min-height: 64px;
        padding: 10px 12px;
        white-space: normal;
    }

    .manifest-table .mud-table-cell::before {
        content: none !important;
        display: none !important;
    }

    .manifest-table .mud-table-cell > * {
        min-width: 0;
    }

    .manifest-table .mud-link,
    .manifest-table .mud-typography {
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .manifest-table .mud-table-pagination {
        justify-content: center;
    }

    .manifest-table .mud-button-root {
        width: 100%;
        min-width: 0;
    }

    .manifest-billing-select {
        max-width: 128px;
    }
}

.signature-canvas {
  border: 1px dashed #9ca3af;
  border-radius: 6px;
  width: 100%;
  max-width: 520px;
  background: #fff;
}

.monitor-hero {
    background: linear-gradient(118deg, rgba(10, 20, 41, 0.95) 0%, rgba(11, 79, 179, 0.93) 58%, rgba(8, 166, 78, 0.9) 100%);
    color: #fff;
}

.monitor-hero .mud-typography,
.monitor-hero .mud-text-secondary {
    color: #fff !important;
}

.monitor-hero-logo {
    width: 84px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.28));
}

/* New Orders Manifest + shell layout optimizations */
.main-content.nav-closed .content-shell {
    max-width: min(1680px, 100vw - clamp(24px, 3vw, 56px)) !important;
}

.main-content.nav-open .content-shell {
    max-width: min(1680px, 100vw - var(--mud-drawer-width-left, 260px) - clamp(24px, 3vw, 56px)) !important;
}

.manifest-surface-card {
    width: 100%;
}

@media (min-width: 1281px) {
    .manifest-table table {
        width: 100%;
        table-layout: fixed;
    }

    .manifest-table .manifest-th,
    .manifest-table .mud-table-cell {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .manifest-table .mud-table-cell:nth-child(2),
    .manifest-table .mud-table-cell:nth-child(3),
    .manifest-table .mud-table-cell:nth-child(4),
    .manifest-table .mud-table-cell:nth-child(7),
    .manifest-table .mud-table-cell:nth-child(8),
    .manifest-table .mud-table-cell:nth-child(9),
    .manifest-date-cell,
    .manifest-table .manifest-tests-cell {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .manifest-table .manifest-label-stack .mud-button-root {
        min-width: 0;
    }

    .manifest-table .manifest-label-stack {
        align-items: stretch;
    }

    .manifest-table .mud-select-input,
    .manifest-table .mud-select .mud-input-input {
        font-size: 0.92rem;
    }
    .manifest-table .mud-button-root,
    .manifest-table .mud-select {
        max-width: 100%;
    }
}

@media (max-width: 1279px) {
    .main-content.nav-open .content-shell,
    .main-content.nav-closed .content-shell {
        max-width: 100% !important;
    }
}

.manifest-payment-button-status {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.manifest-label-stack .mud-button-root {
    width: 100%;
}
