/* Portal-specific responsive rules, loaded after the shared and component styles. */
.cherry-acquisition-mobile-tools,
.cherry-acquisition-mobile-filter-context,
.cherry-acquisition-mobile-filter-done,
.cherry-acquisition-mobile-refresh { display: none; }
.cherry-acquisition-workspace .cherry-acquisition-home { grid-template-areas: "main pipeline" "main reviews"; grid-template-rows: auto 1fr; }
.cherry-acquisition-home > .cherry-acquisition-pipeline-panel { grid-area: pipeline; }
.cherry-acquisition-home > .cherry-acquisition-home-main { grid-area: main; }
.cherry-acquisition-home > .cherry-acquisition-home-side { grid-area: reviews; }

@media (max-width: 1100px) {
    .cherry-acquisition-workspace .cherry-acquisition-home { grid-template-columns: minmax(0, 1fr); grid-template-areas: "pipeline" "main" "reviews"; grid-template-rows: repeat(3, auto); }
}

@media (max-width: 960px) {
    .cherry-acquisition-workspace .cherry-acquisition-metrics.cherry-acquisition-pipeline-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; border: 0; background: transparent; box-shadow: none; }
    .cherry-acquisition-workspace .cherry-acquisition-pipeline-steps .cherry-acquisition-metric { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 84px; padding: 12px; border: 1px solid #e9cdd6; border-top: 3px solid #ae1235; border-radius: 8px; background: linear-gradient(160deg, #fff, #fcf3f6); box-shadow: 0 4px 12px rgba(90, 16, 38, .08); }
    .cherry-acquisition-workspace .cherry-acquisition-metric > span,
    .cherry-acquisition-workspace .cherry-acquisition-metric small { display: none; }
    .cherry-acquisition-workspace .cherry-acquisition-metric > div { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "value" "label"; gap: 6px; width: 100%; justify-self: stretch; justify-items: center; align-items: center; text-align: center; }
    .cherry-acquisition-workspace .cherry-acquisition-metric strong { font-size: 1.7rem; font-variant-numeric: tabular-nums; }
    .cherry-acquisition-workspace .cherry-acquisition-metric em { margin: 0; font-size: .78rem; line-height: 1.4; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-acquisition-home { gap: 12px; }
    .cherry-acquisition-workspace .cherry-acquisition-panel-heading { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
    .cherry-acquisition-workspace .cherry-acquisition-panel-heading h3 { font-size: 1rem; }
    .cherry-acquisition-workspace .cherry-acquisition-refresh-desktop { display: none; }
    .cherry-acquisition-workspace .cherry-acquisition-mobile-refresh { display: inline-flex; width: 44px; height: 44px; }
    .cherry-acquisition-workspace .cherry-acquisition-pipeline-panel { padding: 14px; }
    .cherry-acquisition-workspace .cherry-acquisition-pipeline-panel .cherry-acquisition-panel-heading { margin-bottom: 6px; }
    .cherry-acquisition-workspace .cherry-manager-funnel button.cherry-acquisition-funnel-row { grid-template-columns: 24px minmax(0, 1fr) 28px; gap: 5px 8px; min-height: 44px; padding: 8px 0; }
    .cherry-acquisition-workspace .cherry-acquisition-funnel-row > span { grid-column: 1; grid-row: 1; }
    .cherry-acquisition-workspace .cherry-acquisition-funnel-row > strong { grid-column: 2; grid-row: 1; min-width: 0; font-size: .8rem; }
    .cherry-acquisition-workspace .cherry-acquisition-funnel-row > em { grid-column: 3; grid-row: 1; justify-self: end; font-size: .8rem; }
    .cherry-acquisition-workspace .cherry-acquisition-funnel-row > div { grid-column: 1 / -1; grid-row: 2; width: var(--funnel-width, 100%); max-width: 100%; min-width: 0; height: 4px; margin: 0; }
    .cherry-acquisition-workspace .cherry-manager-funnel button.cherry-acquisition-funnel-row.is-selected { padding-inline: 8px; border-radius: 6px; background: #f9e8ee; }
    .cherry-acquisition-workspace .cherry-acquisition-funnel-total { margin-top: 8px; padding-top: 8px; }
    .cherry-acquisition-workspace .cherry-acquisition-mobile-tools { display: grid; grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; padding: 0 14px 12px; }
    .cherry-acquisition-mobile-tools select { width: 100%; min-width: 0; min-height: 44px; padding: 8px 10px; border: 1px solid #d7dee8; border-radius: 7px; background: #fff; color: #182b43; font: inherit; font-size: 16px; }
    .cherry-acquisition-mobile-tools button { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid #e5d6dc; border-radius: 7px; background: #fff; color: #93102a; }
    .cherry-acquisition-mobile-tools button.is-active { background: #93102a; color: #fff; }
    .cherry-acquisition-workspace .cherry-acquisition-mobile-filter-context { display: block; margin: 0; padding: 0 14px 12px; color: #637083; font-size: .8rem; }
    .cherry-acquisition-workspace .cherry-acquisition-table-panel > .cherry-acquisition-dashboard-filterbar { display: none; }
    .cherry-acquisition-workspace .cherry-acquisition-table-panel > .cherry-acquisition-dashboard-filterbar.is-mobile-open { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0 14px 12px; padding: 12px; border: 1px solid #e3e8ef; border-radius: 8px; background: #f8fafc; }
    .cherry-acquisition-workspace .cherry-acquisition-dashboard-filterbar > select:first-child { display: none; }
    .cherry-acquisition-workspace .cherry-acquisition-dashboard-filterbar select { width: 100%; min-width: 0; min-height: 44px; font-size: 16px; }
    .cherry-acquisition-workspace .cherry-acquisition-mobile-filter-done { display: block; min-height: 44px; border: 0; border-radius: 6px; background: #93102a; color: #fff; font: inherit; font-weight: 700; }
    .cherry-acquisition-workspace .cherry-acquisition-home .cherry-acquisition-table-wrap { min-width: 0; overflow: visible; }
    .cherry-acquisition-workspace .cherry-acquisition-home .cherry-acquisition-table { display: block; min-width: 0; width: 100%; padding: 0 14px; table-layout: auto; }
    .cherry-acquisition-workspace .cherry-acquisition-home .cherry-acquisition-table thead { display: none; }
    .cherry-acquisition-workspace .cherry-acquisition-home .cherry-acquisition-table tbody { display: grid; gap: 12px; width: 100%; }
    .cherry-acquisition-workspace .cherry-acquisition-home .cherry-acquisition-table tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; padding: 14px; border: 1px solid #e3e8ef; border-radius: 8px; background: #fff; }
    .cherry-acquisition-workspace .cherry-acquisition-home .cherry-acquisition-table td { display: block; width: 100%; min-width: 0; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-acquisition-home td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; color: #637083; font-size: .7rem; font-weight: 650; }
    .cherry-acquisition-workspace .cherry-acquisition-home .cherry-acquisition-next-cell { padding-top: 10px; border-top: 1px solid #edf0f3; }
    .cherry-acquisition-workspace .cherry-acquisition-site-cell { grid-template-columns: 48px minmax(0, 1fr); align-items: start; gap: 10px; min-height: 48px; }
    .cherry-acquisition-workspace .cherry-acquisition-site-thumb { width: 48px; height: 48px; }
    .cherry-acquisition-workspace .cherry-acquisition-site-copy strong,
    .cherry-acquisition-workspace .cherry-acquisition-site-copy small,
    .cherry-acquisition-workspace .cherry-acquisition-site-copy em { max-width: 100%; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; line-height: 1.4; }
    .cherry-acquisition-workspace .cherry-acquisition-site-copy strong { font-size: .95rem; font-weight: 750; }
    .cherry-acquisition-workspace .cherry-acquisition-site-copy small { font-size: .8rem; font-weight: 500; }
    .cherry-acquisition-workspace .cherry-acquisition-next-cell > strong { font-size: .85rem; line-height: 1.5; }
    .cherry-acquisition-workspace .cherry-acquisition-home .cherry-acquisition-table td small { font-weight: 500; line-height: 1.5; }
    .cherry-acquisition-workspace .cherry-acquisition-owner-copy { min-width: 0; }
    .cherry-acquisition-workspace .cherry-acquisition-owner-copy strong,
    .cherry-acquisition-workspace .cherry-acquisition-owner-copy small { white-space: normal; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-acquisition-continue-button { width: 100%; min-height: 44px; justify-content: space-between; padding: 10px 12px; }
    .cherry-acquisition-workspace .cherry-acquisition-table-footer { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px; }
    .cherry-acquisition-workspace .cherry-acquisition-table-footer button { min-height: 44px; white-space: normal; }
}

.cherry-inbox-mobile-heading,
.cherry-inbox-mobile-filters,
.cherry-inbox-mobile-back-row,
.cherry-landlord-mobile-options { display: none; }
.cherry-property-filter-option { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.cherry-property-filter-option strong { color: #93102a; font-size: .8rem; }
.cherry-inbox-desktop-scope,
.cherry-inbox-scope-controls { display: contents; }
.cherry-inbox-shell .cherry-inbox-toolbar { display: flex; flex-wrap: wrap; }
.cherry-inbox-toolbar-search { flex: 1 1 240px; min-width: 0; }
.cherry-portal-header-menu-trigger,
.cherry-portal-navigation-backdrop,
.cherry-portal-drawer-header { display: none; }
.cherry-portal-appbar .mud-toolbar { height: 70px; min-height: 70px; padding-inline: 0; }
.cherry-portal-appbar .cherry-appbar-container { justify-content: space-between; gap: 12px; }
.cherry-portal-appbar .cherry-brand-link { flex: 0 0 160px; width: 160px; }
.cherry-portal-appbar .cherry-brand-image { display: block; width: 160px; max-width: 100%; height: auto; object-fit: contain; }
.cherry-portal-appbar .cherry-topnav-actions { flex-shrink: 0; }
.cherry-portal-appbar .cherry-account-trigger { display: inline-flex; flex-shrink: 0; min-width: 44px; min-height: 44px; justify-content: center; }
.cherry-main-content.cherry-portal-page { padding-top: 70px; }

@media (max-width: 960px) {
    .cherry-site-appbar .mud-toolbar { height: 70px; min-height: 70px; padding-inline: 0; }
    .cherry-site-appbar .cherry-appbar-container { justify-content: space-between; gap: 12px; }
    .cherry-site-appbar .cherry-brand-link { flex: 0 0 auto; width: auto; }
    .cherry-site-appbar .cherry-brand-image { width: auto; max-width: 100%; height: 36px; object-fit: contain; }
    .cherry-site-appbar .cherry-topnav-actions { flex-shrink: 0; margin-left: auto; }
    .cherry-topnav-actions .cherry-header-account-menu { display: none; }
    .cherry-portal-shell {
        display: block;
        height: auto;
        min-height: calc(100dvh - 70px);
        overflow: visible;
        border-radius: 0;
    }

    .cherry-portal-menu-toggle {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 44px;
        padding: 8px 12px;
        border: 1px solid #dfbdc7;
        border-radius: 8px;
        background: #fcf3f6;
        color: #93102a;
        font: inherit;
        font-size: .85rem;
        font-weight: 800;
        cursor: pointer;
    }

    .cherry-portal-menu-toggle:focus-visible,
    .cherry-portal-shell .cherry-portal-menu-link:focus-visible {
        outline: 2px solid #93102a;
        outline-offset: 2px;
    }

    .cherry-portal-header-menu-trigger { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
    .cherry-portal-header-menu-trigger:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
    .cherry-portal-navigation-backdrop { display: block; position: fixed; inset: 0; z-index: 1600; width: 100%; height: 100dvh; margin: 0; padding: 0; border: 0; border-radius: 0; background: rgba(17,24,32,.46); backdrop-filter: blur(3px); cursor: pointer; }
    .cherry-portal-shell .cherry-portal-sidebar { display: none; position: fixed; inset: 0 0 0 auto; z-index: 1601; width: min(360px, 90vw); height: 100dvh; max-height: 100dvh; margin: 0; overflow: hidden; overscroll-behavior-y: contain; border: 0; border-radius: 0; background: #fff; box-shadow: -14px 0 40px rgba(17,24,32,.25); }
    .cherry-portal-shell .cherry-portal-sidebar.is-open { display: flex; animation: cherry-portal-drawer-in 160ms ease-out; }
    .cherry-portal-drawer-header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; padding: max(12px, env(safe-area-inset-top)) 16px 12px; background: #93102a; }
    .cherry-portal-drawer-header img { display: block; width: 136px; height: auto; }
    .cherry-portal-drawer-header button { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.45); border-radius: 12px; background: transparent; color: #fff; cursor: pointer; }
    .cherry-portal-drawer-header button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
    .cherry-portal-shell .cherry-portal-menu-scroll {
        display: block;
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding: 12px;
    }
    .cherry-portal-shell .cherry-portal-menu-group { min-width: 0; }
    .cherry-portal-shell .cherry-portal-menu-group + .cherry-portal-menu-group { margin-top: 16px; }
    .cherry-portal-shell .cherry-portal-menu-link { min-height: 46px; padding: 8px 12px; }
    .cherry-portal-shell .cherry-portal-sidebar-footer { display: grid; flex-shrink: 0; padding-bottom: max(16px, env(safe-area-inset-bottom)); }

    .cherry-portal-shell .cherry-portal-main {
        height: auto;
        min-height: calc(100dvh - 70px);
        overflow: visible;
        padding: 16px;
    }

    .cherry-portal-shell .cherry-admin-site-filter-row-location { grid-template-columns: minmax(0, 1fr); }
    .cherry-portal-shell .cherry-admin-site-filter-row-advanced { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cherry-portal-shell .cherry-admin-site-filter-row .mud-input-control { min-width: 0; }

    /* Platform users become readable cards instead of a 1300px-wide grid. */
    .cherry-portal-shell .cherry-user-admin-table { overflow: visible; }
    .cherry-portal-shell .cherry-user-admin-table-head {
        position: absolute;
        width: 1px;
        height: 1px;
        min-width: 0;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
    .cherry-portal-shell .cherry-user-admin-table article {
        min-width: 0;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 16px;
        padding: 18px;
    }
    .cherry-portal-shell .cherry-user-table-user,
    .cherry-portal-shell .cherry-user-table-contact,
    .cherry-portal-shell .cherry-user-row-actions { grid-column: 1 / -1; }
    .cherry-portal-shell .cherry-user-admin-table article > * { min-width: 0; overflow-wrap: anywhere; }
    .cherry-portal-shell .cherry-user-row-actions { justify-content: flex-start; flex-wrap: wrap; }
    .cherry-portal-shell .cherry-user-status-cell { align-items: flex-start; text-align: left; }
    .cherry-portal-shell [data-mobile-label] { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
    .cherry-portal-shell [data-mobile-label]::before {
        content: attr(data-mobile-label);
        color: #687384;
        font-size: .7rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    /* Remove the fixed-height inbox split that squeezes both panes on phones. */
    .cherry-portal-shell .cherry-inbox-shell { height: auto; min-height: 0; }
    .cherry-portal-shell .cherry-inbox-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; }
    .cherry-portal-shell .cherry-inbox-sidebar { min-height: 0; max-height: 280px; }
    .cherry-portal-shell .cherry-inbox-panel { min-width: 0; min-height: 420px; }
    .cherry-portal-shell .cherry-inbox-messages { max-height: 60dvh; min-height: 180px; }
    .cherry-portal-shell .cherry-inbox-toolbar { grid-template-columns: minmax(0, 1fr); }
    .cherry-portal-shell .cherry-inbox-toolbar-select { min-width: 0; width: 100%; }
    .cherry-portal-shell .cherry-inbox-conversation-header { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
    .cherry-portal-shell .cherry-inbox-detail-actions { grid-column: 1 / -1; justify-content: flex-start; }
}

@keyframes cherry-portal-drawer-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .cherry-portal-shell .cherry-portal-sidebar.is-open { animation: none; } }

@media (max-width: 600px) {
    .cherry-site-appbar .cherry-appbar-container { padding-inline: 12px; }
    .cherry-site-appbar .cherry-topnav-actions { gap: 8px; }
    .cherry-site-appbar .cherry-mobile-nav-trigger,
    .cherry-site-appbar .cherry-header-inbox-link { min-width: 44px; min-height: 44px; }
    .cherry-portal-appbar .cherry-appbar-container { padding-inline: 12px; }
    .cherry-portal-appbar .cherry-mobile-nav-trigger,
    .cherry-portal-appbar .cherry-notification-trigger,
    .cherry-portal-appbar .cherry-header-inbox-link { min-width: 44px; min-height: 44px; }
    .cherry-portal-shell .cherry-portal-main { padding: 12px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }

    .cherry-portal-shell .cherry-landlord-metric-grid { grid-template-columns: minmax(0, 1fr); }
    .cherry-portal-shell .cherry-portal-panel { padding: 16px; }
    .cherry-portal-shell .cherry-portal-panel-heading,
    .cherry-portal-shell .cherry-landlord-toolbar-main,
    .cherry-portal-shell .cherry-user-pagination { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
    .cherry-portal-shell .cherry-admin-site-filter-row-advanced,
    .cherry-portal-shell .cherry-user-admin-search { grid-template-columns: minmax(0, 1fr); }
    .cherry-portal-shell .cherry-admin-site-filter-actions,
    .cherry-portal-shell .cherry-user-admin-search-actions { flex-wrap: wrap; }
    .cherry-portal-shell .cherry-user-pagination-controls { flex-wrap: wrap; justify-content: flex-start; }

    .cherry-portal-shell .mud-button-root { min-height: 44px; white-space: normal; }
    .cherry-portal-shell .mud-icon-button { min-width: 44px; min-height: 44px; }
    .cherry-portal-shell input:not([type=checkbox]):not([type=radio]),
    .cherry-portal-shell select,
    .cherry-portal-shell textarea { font-size: 16px; }
    .cherry-portal-shell .mud-tabs-tabbar-content { max-width: 100%; }
    .cherry-portal-shell .mud-tab { min-height: 48px; }
    .cherry-portal-shell .cherry-inbox-toolbar .cherry-inbox-mode-tabs,
    .cherry-portal-shell .cherry-inbox-toolbar .cherry-inbox-filter-tabs { flex-wrap: wrap; gap: 4px; }
    .cherry-portal-shell .cherry-inbox-toolbar button { min-height: 44px; }
    .cherry-portal-shell .cherry-inbox-detail-actions { flex-wrap: wrap; }
    .cherry-portal-shell .cherry-inbox-composer-actions { flex-wrap: wrap; }
    .cherry-portal-shell .cherry-inbox-messages { padding: 16px; }
    .cherry-portal-shell .cherry-inbox-composer { margin: 0 12px 16px; }
}

@media (max-width: 960px) {
    /* One message surface at a time for every mobile inbox role. */
    .cherry-portal-shell .cherry-inbox-shell,
    .cherry-main-content .cherry-inbox-shell {
        display: flex;
        flex-direction: column;
        height: var(--inbox-available-height, calc(100dvh - 94px));
        min-height: 0;
        gap: 0;
        overflow: hidden;
        background: #fff;
    }
    .cherry-inbox-shell > .cherry-landlord-toolbar { display: none; }
    .cherry-inbox-mobile-heading {
        display: flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px;
    }
    .cherry-inbox-mobile-heading h2 { margin: 0; font-size: 1.2rem; color: #182b43; }
    .cherry-inbox-mobile-heading .mud-button-root { min-height: 44px; font-size: .78rem; }
    .cherry-inbox-shell .cherry-inbox-toolbar {
        display: grid;
        flex-shrink: 0;
        grid-template-columns: minmax(0, 1fr);
        padding: 0 12px 10px;
        gap: 8px;
        overflow: visible;
    }
    .cherry-inbox-shell .cherry-inbox-toolbar > .cherry-inbox-filter-tabs,
    .cherry-inbox-shell .cherry-inbox-desktop-scope,
    .cherry-inbox-shell .cherry-inbox-toolbar > .mud-button-root,
    .cherry-inbox-shell .cherry-inbox-sidebar-top { display: none; }
    .cherry-inbox-mobile-filters { display: flex; align-items: center; gap: 6px; }
    .cherry-inbox-mobile-filters > button,
    .cherry-inbox-mobile-options > summary,
    .cherry-landlord-mobile-options > summary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 44px;
        padding: 8px 12px;
        border: 1px solid #e5d6dc;
        border-radius: 7px;
        background: #fff;
        color: #536176;
        font: inherit;
        font-size: .8rem;
        font-weight: 700;
        cursor: pointer;
        list-style: none;
    }
    .cherry-inbox-mobile-filters > button.is-active,
    .cherry-landlord-mobile-options > summary.is-active { background: #93102a; border-color: #93102a; color: #fff; }
    .cherry-inbox-mobile-options { position: relative; margin-left: auto; }
    .cherry-inbox-mobile-options summary::-webkit-details-marker,
    .cherry-landlord-mobile-options summary::-webkit-details-marker { display: none; }
    .cherry-inbox-filter-popover {
        position: absolute;
        right: 0;
        top: calc(100% + 6px);
        z-index: 30;
        display: grid;
        gap: 10px;
        width: min(260px, calc(100vw - 56px));
        padding: 14px;
        border: 1px solid #e5d6dc;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 8px 24px #182b4326;
    }
    .cherry-inbox-filter-popover label { font-size: .8rem; font-weight: 700; }
    .cherry-inbox-filter-popover .cherry-inbox-scope-controls { display: grid; gap: 10px; }
    .cherry-inbox-filter-popover select,
    .cherry-inbox-filter-popover button { width: 100%; min-height: 44px; border: 1px solid #e5d6dc; border-radius: 6px; padding: 8px; background: #fff; color: #182b43; }
    .cherry-inbox-shell .cherry-inbox-layout { display: flex; flex: 1; min-height: 0; }
    .cherry-inbox-shell .cherry-inbox-sidebar { display: flex; flex-direction: column; width: 100%; min-height: 0; max-height: none; border: 0; }
    .cherry-inbox-shell .cherry-inbox-thread-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; padding: 0; }
    .cherry-inbox-shell .cherry-inbox-thread { min-height: 96px; padding: 14px 12px; }
    .cherry-inbox-shell .cherry-inbox-thread-tags { display: none; }
    .cherry-inbox-shell .cherry-inbox-thread-preview { display: block; margin-top: 4px; color: #687384; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; }
    .cherry-inbox-shell .cherry-inbox-thread-meta { font-size: .76rem; }
    .cherry-inbox-shell .cherry-inbox-thread-time { font-size: .68rem; }
    .cherry-inbox-shell .cherry-inbox-panel { display: none; }
    .cherry-inbox-shell.is-conversation-open > .cherry-inbox-mobile-heading,
    .cherry-inbox-shell.is-conversation-open > .cherry-inbox-toolbar,
    .cherry-inbox-shell.is-conversation-open .cherry-inbox-sidebar { display: none; }
    .cherry-inbox-shell.is-conversation-open .cherry-inbox-panel { display: flex; flex-direction: column; width: 100%; min-height: 0; }
    .cherry-inbox-mobile-back-row { display: flex; flex-shrink: 0; padding: 4px 8px; }
    .cherry-inbox-mobile-back-row button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 0; background: transparent; color: #93102a; font: inherit; font-weight: 700; }
    .cherry-inbox-shell .cherry-inbox-conversation-header { flex-shrink: 0; grid-template-columns: minmax(0, 1fr) auto; padding: 0 12px 10px; gap: 8px; border-bottom: 1px solid #edf0f3; }
    .cherry-inbox-shell .cherry-inbox-detail-icon,
    .cherry-inbox-shell .cherry-inbox-resolve-button { display: none; }
    .cherry-inbox-shell .cherry-inbox-detail-actions { grid-column: 2; grid-row: 1; }
    .cherry-inbox-shell .cherry-inbox-detail-title h2 { font-size: 1.05rem; overflow-wrap: anywhere; }
    .cherry-inbox-shell .cherry-inbox-detail-title p { margin-top: 4px; font-size: .73rem; }
    .cherry-inbox-shell .cherry-inbox-detail-title p > .mud-icon-root { display: none; }
    .cherry-inbox-shell .cherry-inbox-detail-address { min-width: 0; max-width: 100%; }
    .cherry-inbox-shell .cherry-inbox-detail-address > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .cherry-inbox-shell .cherry-inbox-messages { flex: 1; min-height: 0; max-height: none; padding: 12px; overscroll-behavior-y: contain; }
    .cherry-inbox-shell .cherry-inbox-composer {
        flex-shrink: 0;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        align-items: end;
        margin: 0;
        padding: 8px 6px max(8px, env(safe-area-inset-bottom));
        border-width: 1px 0 0;
        border-radius: 0;
    }
    .cherry-inbox-shell .cherry-inbox-composer > .mud-alert { grid-column: 1 / -1; grid-row: 1; }
    .cherry-inbox-shell .cherry-inbox-file-list { grid-column: 1 / -1; grid-row: 2; max-height: 90px; overflow-y: auto; }
    .cherry-inbox-shell .cherry-inbox-composer > .mud-input-control { grid-column: 2; grid-row: 3; min-width: 0; }
    .cherry-inbox-shell .cherry-inbox-composer-actions { display: contents; }
    .cherry-inbox-shell .cherry-inbox-file-picker { grid-column: 1; grid-row: 3; min-height: 44px; min-width: 44px; padding: 10px; justify-content: center; }
    .cherry-inbox-shell .cherry-inbox-attach-label { display: none; }
    .cherry-inbox-shell .cherry-inbox-composer-actions > .mud-button-root { grid-column: 3; grid-row: 3; min-width: 60px; min-height: 44px; padding-inline: 10px; }

    /* Mobile property controls use one search row with a filter menu. */
    .cherry-portal-shell .cherry-landlord-controls-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 8px;
        padding: 10px;
        border: 1px solid #e5d6dc;
        border-radius: 8px;
        background: #fff;
    }
    .cherry-portal-shell .cherry-landlord-search-panel { grid-column: 1; grid-row: 1; grid-template-columns: minmax(0, 1fr); min-width: 0; padding: 0; border: 0; }
    .cherry-portal-shell .cherry-landlord-search-label { display: none; }
    .cherry-portal-shell .cherry-landlord-search-field { min-height: 44px; padding-left: 12px; }
    .cherry-portal-shell .cherry-landlord-search-clear { min-width: 44px; min-height: 44px; }
    .cherry-portal-shell .cherry-landlord-filter-strip { display: none; }
    .cherry-portal-shell .cherry-landlord-filter-label,
    .cherry-portal-shell .cherry-landlord-archived-filter { display: none; }
    .cherry-landlord-mobile-options { display: block; position: relative; grid-column: 2; grid-row: 1; align-self: center; }
    .cherry-landlord-mobile-options button { width: 44px; height: 44px; border: 1px solid #e5d6dc; border-radius: 7px; }
    .cherry-landlord-mobile-options.is-active button { background: #93102a; color: #fff; border-color: #93102a; }
    .cherry-mobile-filter-dot { position: absolute; top: 4px; right: 4px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
}
.cherry-acquisition-mobile-navigation { display: none; }

@media (max-width: 760px) {
    /* Acquisition details: keep the property, current stage and response within reach. */
    .cherry-acquisition-workspace .cherry-acquisition-workbench.is-detail-mode { display: block; min-width: 0; }
    .cherry-acquisition-workspace .cherry-acquisition-detail { min-width: 0; padding: 12px; }
    .cherry-acquisition-workspace .cherry-acquisition-detail-toolbar { margin-bottom: 10px; }
    .cherry-acquisition-workspace .cherry-acquisition-detail-toolbar button { min-height: 44px; font-size: .8rem; }
    .cherry-acquisition-workspace .cherry-acquisition-case-header { gap: 12px; padding: 12px; margin-bottom: 12px; box-shadow: none; }
    .cherry-acquisition-workspace .cherry-acquisition-case-identity { grid-template-columns: 52px minmax(0, 1fr); gap: 10px; }
    .cherry-acquisition-workspace .cherry-acquisition-case-thumb { width: 52px; height: 52px; }
    .cherry-acquisition-workspace .cherry-acquisition-case-identity h3 { font-size: 1.1rem; line-height: 1.3; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-acquisition-case-identity p { font-size: .73rem; }
    .cherry-acquisition-workspace .cherry-acquisition-case-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; border-top: 1px solid #edf0f3; padding-top: 10px; }
    .cherry-acquisition-workspace .cherry-acquisition-case-stat { display: block; min-height: 0; padding: 0; border: 0; }
    .cherry-acquisition-workspace .cherry-acquisition-case-stat > span:first-child { display: none; }
    .cherry-acquisition-workspace .cherry-acquisition-case-stat:last-child { grid-column: 1 / -1; }
    .cherry-acquisition-workspace .cherry-acquisition-case-stat:last-child > div { display: flex; align-items: baseline; gap: 8px; }
    .cherry-acquisition-workspace .cherry-acquisition-case-stat strong { font-size: .8rem; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-acquisition-stage-tracker { display: none; }
    .cherry-acquisition-workspace .cherry-acquisition-mobile-navigation { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; margin-bottom: 12px; }
    .cherry-acquisition-mobile-navigation > label { font-size: .8rem; font-weight: 700; }
    .cherry-acquisition-mobile-navigation > select { min-width: 0; width: 100%; min-height: 44px; border: 1px solid #e5d6dc; border-radius: 7px; background: #fff; padding: 8px 12px; color: #182b43; font: inherit; font-size: .88rem; }
    .cherry-acquisition-mobile-progress { grid-column: 1 / -1; border: 1px solid #e5d6dc; border-radius: 7px; background: #fff; }
    .cherry-acquisition-mobile-progress summary { padding: 12px; min-height: 44px; cursor: pointer; color: #637083; font-size: .8rem; }
    .cherry-acquisition-mobile-progress summary strong { margin-left: 8px; color: #93102a; }
    .cherry-acquisition-mobile-progress ol { margin: 0; padding: 0 10px 8px; list-style: none; }
    .cherry-acquisition-mobile-progress button { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; min-height: 60px; padding: 10px 4px; border: 0; border-top: 1px solid #edf0f3; background: transparent; text-align: left; color: #182b43; }
    .cherry-acquisition-mobile-progress button[aria-current] { color: #93102a; }
    .cherry-acquisition-mobile-progress button:disabled { color: #748094; }
    .cherry-acquisition-mobile-progress strong, .cherry-acquisition-mobile-progress small { display: block; }
    .cherry-acquisition-mobile-progress summary strong { display: inline; }
    .cherry-acquisition-mobile-progress small { margin-top: 3px; font-size: .72rem; font-weight: 400; }
    .cherry-acquisition-progress-state { font-size: .68rem; font-weight: 700; }
    .cherry-acquisition-workspace .cherry-acquisition-detail .cherry-acquisition-panel { padding: 14px; min-width: 0; }
    .cherry-acquisition-workspace .cherry-acquisition-detail .cherry-acquisition-empty { grid-template-columns: minmax(0, 1fr); }
    .cherry-acquisition-workspace .cherry-acquisition-detail .cherry-acquisition-panel-heading { flex-wrap: wrap; gap: 10px; }
    .cherry-acquisition-workspace .cherry-acquisition-detail .cherry-acquisition-panel-heading h3 { font-size: 1.05rem; }
    .cherry-acquisition-workspace .cherry-acquisition-detail .cherry-acquisition-panel-intro { font-weight: 400; line-height: 1.5; }
    .cherry-acquisition-workspace .cherry-proposal-workqueue .cherry-investigation-table-wrap { overflow: visible; }
    .cherry-acquisition-workspace .cherry-proposal-table,
    .cherry-acquisition-workspace .cherry-proposal-table tbody { display: block; width: 100%; min-width: 0; }
    .cherry-acquisition-workspace .cherry-proposal-table thead { display: none; }
    .cherry-acquisition-workspace .cherry-proposal-table tr { display: grid; grid-template-columns: minmax(0, 1fr); padding: 12px; margin-bottom: 12px; border: 1px solid #e5e9ef; border-radius: 8px; gap: 10px; }
    .cherry-acquisition-workspace .cherry-proposal-table td { display: block; min-width: 0; width: auto; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-proposal-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; color: #637083; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
    .cherry-acquisition-workspace .cherry-proposal-table .cherry-investigation-actions { display: flex; flex-wrap: wrap; gap: 8px; }
    .cherry-acquisition-workspace .cherry-proposal-table .cherry-investigation-actions button { flex: 1 1 110px; min-height: 44px; white-space: normal; }
    .cherry-acquisition-workspace .cherry-proposal-table .cherry-investigation-detail-row { padding: 12px; background: #fafbfc; }
    .cherry-acquisition-workspace .cherry-proposal-terms,
    .cherry-acquisition-workspace .cherry-negotiation-terms { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .cherry-acquisition-workspace .cherry-proposal-terms > span,
    .cherry-acquisition-workspace .cherry-negotiation-terms > span { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid #edf0f3; }
    .cherry-acquisition-workspace .cherry-proposal-terms strong,
    .cherry-acquisition-workspace .cherry-negotiation-terms strong { text-align: right; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-proposal-documents { display: grid; gap: 12px; }
    .cherry-acquisition-workspace .cherry-proposal-document-list { min-width: 0; flex-wrap: wrap; }
    .cherry-acquisition-workspace .cherry-proposal-document-list button { min-height: 44px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace.cherry-acquisition-mode-landlord .cherry-negotiation-side { order: -1; }
    .cherry-acquisition-workspace .cherry-acquisition-decision-summary { grid-template-columns: minmax(0, 1fr); }
    .cherry-acquisition-workspace .cherry-acquisition-modal-backdrop { padding: 10px; }
    .cherry-acquisition-workspace .cherry-acquisition-modal { width: 100%; max-width: 100%; max-height: calc(100dvh - 20px); display: flex; flex-direction: column; }
    .cherry-acquisition-workspace .cherry-acquisition-modal-head,
    .cherry-acquisition-workspace .cherry-acquisition-modal-actions { flex-shrink: 0; padding: 12px; }
    .cherry-acquisition-workspace .cherry-acquisition-modal-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px; }
    .cherry-acquisition-workspace .cherry-acquisition-modal-actions { flex-wrap: wrap; }
    .cherry-acquisition-workspace .cherry-acquisition-modal-actions button { min-height: 44px; }
}
:is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-landlord-metric-card:focus-visible {
    outline: 2px solid #93102a;
    outline-offset: 2px;
}

@media (max-width: 760px) {
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-landlord-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .cherry-publisher-home-grid .cherry-publisher-metric-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-landlord-metric-card {
        display: block;
        min-width: 0;
        min-height: 80px;
        padding: 12px;
    }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-landlord-metric-icon,
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-landlord-metric-copy small {
        display: none;
    }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-landlord-metric-copy {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        width: 100%;
        max-width: none;
        justify-self: stretch;
        justify-items: center;
        text-align: center;
    }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-landlord-metric-copy strong {
        font-size: 1.4rem;
        line-height: 1;
    }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-landlord-metric-copy em {
        font-size: .78rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }
}
.cherry-dashboard-attention-item .cherry-dashboard-action-chevron { display: none; }

@media (max-width: 760px) {
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-attention-item {
        grid-template-columns: 40px minmax(0, 1fr) 44px;
        gap: 10px;
        align-items: start;
        padding: 12px 0;
    }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-attention-media {
        width: 40px;
        height: 40px;
    }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-attention-copy strong {
        font-size: .85rem;
        line-height: 1.35;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-attention-copy > span {
        font-size: .78rem;
        line-height: 1.4;
        white-space: normal;
        overflow-wrap: anywhere;
    }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-attention-copy small {
        font-size: .7rem;
        line-height: 1.4;
    }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-attention-item > .mud-button-root {
        grid-column: 3;
        grid-row: 1;
        align-self: center;
        width: 44px;
        min-width: 44px;
        min-height: 44px;
        padding: 8px;
        border: 0;
        border-radius: 50%;
        background: #fbf2f5;
    }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-action-label { display: none; }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-attention-item .cherry-dashboard-action-chevron { display: block; }
}
@media (max-width: 760px) {
    /* Recent status uses the same compact identity and forward action as the action queue. */
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-row {
        grid-template-columns: minmax(0, 1fr) auto 44px;
        gap: 6px 8px;
        padding: 12px;
        align-items: center;
    }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-row > span::before { content: none; }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-row > span { min-width: 0; }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-row .cherry-dashboard-status-property {
        display: block;
        grid-column: 1 / 3;
        grid-row: 1;
    }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-row .cherry-publisher-status-site {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
    }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-row .cherry-publisher-status-thumb { width: 40px; height: 40px; }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-row .cherry-publisher-status-site-copy strong { font-size: .85rem; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-row .cherry-publisher-status-site-copy small { font-size: .7rem; }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-row .cherry-dashboard-status-stage { grid-column: 1; grid-row: 2; justify-content: flex-start; font-size: .75rem; font-weight: 700; color: #526071; }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-row.cherry-publisher-status-row .cherry-dashboard-status-stage { grid-column: 1 / 3; }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-row .cherry-dashboard-status-marketplace { grid-column: 2; grid-row: 2; }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-row .cherry-dashboard-status-next { display: block; grid-column: 1 / 3; grid-row: 3; font-size: .78rem; line-height: 1.4; color: #66717c; white-space: normal; overflow-wrap: anywhere; text-align: left; }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-row .cherry-dashboard-status-action { display: block; grid-column: 3; grid-row: 1 / 4; align-self: center; justify-self: end; }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-row .cherry-dashboard-status-action > a { display: grid; place-items: center; width: 44px; min-height: 44px; border-radius: 50%; background: #fbf2f5; }
    :is(.cherry-landlord-home-grid, .cherry-publisher-home-grid) .cherry-dashboard-status-action-label { display: none; }
}
@media (max-width: 760px) {
    .cherry-landlord-home-grid .cherry-dashboard-status-row.cherry-landlord-interest-row .cherry-dashboard-interest-publisher {
        grid-column: 1;
        grid-row: 2;
        justify-content: flex-start;
        font-size: .75rem;
        font-weight: 700;
        overflow-wrap: anywhere;
    }
    .cherry-landlord-home-grid .cherry-dashboard-status-row.cherry-landlord-interest-row .cherry-dashboard-status-stage {
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-end;
    }
}
.cherry-property-pagination-controls,
.cherry-property-pagination-navigation { display: flex; align-items: center; gap: 10px; }
.cherry-property-pagination-controls { flex-wrap: wrap; justify-content: flex-end; }
.cherry-property-pagination .cherry-property-pagination-size { width: 110px; min-width: 0; margin: 0; }
.cherry-property-pagination .cherry-property-pagination-button { min-height: 44px; }
.cherry-property-pagination .cherry-property-pagination-button span { margin: 0; color: inherit; }
.cherry-property-pagination .cherry-property-pagination-button .mud-button-label { display: inline-flex; align-items: center; gap: 4px; }
.cherry-property-pagination .cherry-property-pagination-current { margin: 0; min-width: 48px; text-align: center; white-space: nowrap; font-size: .8rem; color: #526071; }

@media (max-width: 760px) {
    .cherry-portal-shell .cherry-property-pagination {
        gap: 12px;
        margin-top: 16px;
        padding: 12px;
        border-radius: 8px;
    }
    .cherry-property-pagination .cherry-property-pagination-summary { width: 100%; text-align: center; font-size: .8rem; line-height: 1.4; }
    .cherry-property-pagination-controls { width: 100%; gap: 8px; justify-content: space-between; }
    .cherry-property-pagination .cherry-property-pagination-size { flex: 0 0 84px; width: 84px; }
    .cherry-property-pagination .cherry-property-pagination-size .mud-input { min-height: 44px; }
    .cherry-property-pagination-navigation { margin-left: auto; gap: 4px; }
    .cherry-property-pagination .cherry-property-pagination-button { width: 44px; min-width: 44px; min-height: 44px; padding: 8px; border-radius: 6px; }
    .cherry-property-pagination .cherry-property-pagination-button-label { display: none; }
}
.cherry-publisher-site-search .cherry-publisher-search-clear-icon { display: none; }

@media (max-width: 760px) {
    .cherry-portal-shell .cherry-publisher-site-search {
        border: 1px solid #e5d6dc;
        border-radius: 8px;
        box-shadow: none;
    }
    .cherry-portal-shell .cherry-publisher-site-search .cherry-publisher-site-filter-row {
        grid-template-columns: minmax(0, 1fr) 44px;
        gap: 8px;
        padding: 10px;
    }
    .cherry-publisher-site-search .cherry-admin-site-filter-label { display: none; }
    .cherry-publisher-site-search .cherry-publisher-site-search-input { min-width: 0; margin: 0; }
    .cherry-publisher-site-search .cherry-publisher-site-search-input .mud-input { min-height: 44px; border-radius: 6px; background: #fbf8f9; }
    .cherry-publisher-site-search .cherry-publisher-site-search-input input { padding-block: 10px; }
    .cherry-publisher-site-search .cherry-publisher-site-search-input fieldset { border-color: #e9c6d1; }
    .cherry-publisher-site-search .cherry-admin-site-filter-actions { grid-column: 2; grid-row: 1; display: block; }
    .cherry-portal-shell .cherry-publisher-site-search .cherry-admin-site-filter-clear { width: 44px; min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid #e5d6dc; border-radius: 6px; }
    .cherry-publisher-site-search .cherry-publisher-search-clear-label { display: none; }
    .cherry-publisher-site-search .cherry-publisher-search-clear-icon { display: block; }
}
@media (max-width: 760px) {
    .cherry-portal-shell .cherry-landlord-controls-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .cherry-portal-shell .cherry-landlord-controls-row .cherry-landlord-search-panel { grid-column: 1; width: 100%; }
    .cherry-portal-shell .cherry-landlord-search-field { gap: 4px; padding-right: 0; }
    .cherry-portal-shell .cherry-landlord-search-field input { font-weight: 400; min-height: 44px; }
    .cherry-portal-shell .cherry-landlord-search-field input::placeholder { color: rgba(0, 0, 0, .42); font-weight: 400; opacity: 1; }
    .cherry-portal-shell .cherry-landlord-search-clear { height: 44px; border: 0; background: transparent; }
    .cherry-portal-shell .cherry-landlord-search-clear:disabled { color: rgba(0, 0, 0, .26); cursor: default; background: transparent; }
    .cherry-portal-shell .cherry-landlord-mobile-options { grid-column: 1; grid-row: 2; justify-self: end; }
    .cherry-portal-shell .cherry-landlord-mobile-options button { width: auto; min-width: 44px; min-height: 44px; height: auto; padding: 8px 12px; }
}
@media (max-width: 760px) {
    .cherry-portal-shell .cherry-publisher-site-search .cherry-publisher-site-filter-row {
        position: relative;
        grid-template-columns: minmax(0, 1fr);
    }
    .cherry-publisher-site-search .cherry-publisher-site-search-input input { padding-right: 44px; }
    .cherry-publisher-site-search .cherry-admin-site-filter-actions {
        position: absolute;
        grid-column: auto;
        grid-row: auto;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .cherry-portal-shell .cherry-publisher-site-search .cherry-admin-site-filter-clear {
        border: 0;
        background: transparent;
    }
}
.cherry-favorite-feedback-toggle { display: none; }
.cherry-favorite-feedback-fields { display: grid; gap: 10px; }
.cherry-favorite-feedback-fields > strong { color: #111820; font-size: .86rem; }

@media (max-width: 760px) {
    .cherry-favorite-feedback-note { padding: 12px; gap: 10px; }
    .cherry-favorite-feedback-note p { display: none; }
    .cherry-publisher-favorite-card .cherry-landlord-site-body { display: grid; align-content: start; grid-template-columns: minmax(0, 1fr); padding: 14px; gap: 8px; }
    .cherry-publisher-favorite-card .cherry-landlord-site-media { min-height: 0; height: 160px; }
    .cherry-publisher-favorite-card .cherry-landlord-site-media img { width: 100%; height: 100%; object-fit: cover; }
    .cherry-publisher-favorite-card .cherry-publisher-site-title-row h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; overflow-wrap: anywhere; }
    .cherry-publisher-favorite-card .cherry-publisher-site-title-row + p { margin: 0; font-size: .78rem; line-height: 1.45; font-weight: 400; }
    .cherry-publisher-favorite-card .cherry-landlord-site-summary { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; }
    .cherry-publisher-favorite-card .cherry-landlord-site-summary span { font-size: .72rem; }
    .cherry-publisher-favorite-card .cherry-landlord-site-comment { margin: 0; font-size: .8rem; line-height: 1.45; }
    .cherry-publisher-favorite-card .cherry-favorite-card-feedback { margin-top: 4px; padding-top: 10px; }
    .cherry-publisher-favorite-card .cherry-favorite-feedback-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 10px 12px; border: 1px solid #e3e8ef; border-radius: 7px; background: #f8fafc; color: #182b43; text-align: left; font: inherit; font-size: .85rem; font-weight: 700; }
    .cherry-favorite-feedback-toggle > span { flex: 1; }
    .cherry-favorite-feedback-toggle small { display: block; margin-top: 3px; font-size: .72rem; font-weight: 400; color: #637083; }
    .cherry-favorite-feedback-toggle .mud-icon-root { color: #93102a; }
    .cherry-favorite-card-feedback.is-open .cherry-favorite-feedback-chevron { transform: rotate(180deg); }
    .cherry-publisher-favorite-card .cherry-favorite-card-feedback:not(.is-open) .cherry-favorite-feedback-fields { display: none; }
    .cherry-publisher-favorite-card .cherry-favorite-feedback-fields { padding-top: 4px; }
    .cherry-publisher-favorite-card .cherry-preference-chip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cherry-publisher-favorite-card .cherry-preference-chip { min-width: 0; min-height: 44px; padding: 8px 10px; border-radius: 7px; text-align: left; }
    .cherry-publisher-favorite-card .cherry-preference-chip span { min-width: 0; overflow-wrap: anywhere; }
    .cherry-publisher-favorite-card textarea { font-size: 16px; }
    .cherry-publisher-favorite-card .cherry-landlord-site-actions { padding: 0 14px 14px; gap: 8px; }
    .cherry-publisher-favorite-card .cherry-favorite-feedback-toggle:focus-visible { outline: 2px solid #93102a; outline-offset: 2px; }
}
.cherry-landlord-site-body .cherry-unsuitable-site-summary { margin-top: 10px; }
@media (max-width: 760px) {
    .cherry-landlord-site-card .cherry-landlord-site-summary {
        display: grid;
        grid-template-columns: max-content minmax(0, 1fr);
        align-items: start;
        gap: 6px 14px;
    }
    .cherry-landlord-site-card .cherry-landlord-site-summary > span { font-size: .72rem; }
    .cherry-landlord-site-card .cherry-landlord-site-summary > span:first-child { white-space: nowrap; }
    .cherry-landlord-site-card .cherry-landlord-site-summary > span:nth-child(n + 3) { grid-column: 1 / -1; }
    .cherry-landlord-site-card .cherry-landlord-site-summary .mud-icon-root { flex-shrink: 0; }
}
@media (max-width: 960px) {
    .cherry-acquisition-workspace:is(.cherry-acquisition-mode-publisher, .cherry-acquisition-mode-landlord) .cherry-acquisition-home {
        grid-template-areas: "reviews" "main";
        grid-template-rows: auto auto;
    }
    :is(.cherry-acquisition-mode-publisher, .cherry-acquisition-mode-landlord) .cherry-acquisition-home > .cherry-acquisition-pipeline-panel { display: none; }
}
.cherry-investigation-mobile-filter-toggle,
.cherry-investigation-mobile-filter-actions { display: none; }
.cherry-investigation-search-clear { display: grid; place-items: center; flex-shrink: 0; width: 36px; min-height: 36px; padding: 4px; border: 0; background: transparent; color: #637083; }

@media (max-width: 960px) {
    .cherry-acquisition-investigations,
    .cherry-acquisition-investigations .cherry-investigation-workqueue { min-width: 0; width: 100%; }
    .cherry-acquisition-investigations .cherry-acquisition-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; gap: 8px; }
    .cherry-acquisition-investigations .cherry-acquisition-actions .mud-button-root { width: 100%; min-height: 44px; }
    .cherry-acquisition-investigations .cherry-investigation-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
    .cherry-acquisition-investigations .cherry-investigation-tabs button { justify-content: space-between; gap: 6px; min-width: 0; min-height: 44px; padding: 10px; white-space: normal; text-align: left; }
    .cherry-acquisition-investigations .cherry-investigation-tabs button:nth-child(even) { border-right: 0; }
    .cherry-acquisition-investigations .cherry-investigation-tabs button:nth-child(n + 3) { border-top: 1px solid #edf0f3; }
    .cherry-acquisition-investigations .cherry-investigation-filterbar { grid-template-columns: minmax(0, 1fr) 44px; gap: 8px; padding: 0; border: 0; }
    .cherry-acquisition-investigations .cherry-investigation-search { min-width: 0; padding: 0 8px 0 10px; gap: 6px; }
    .cherry-acquisition-investigations .cherry-investigation-search input { min-width: 0; width: 100%; font-size: 16px; }
    .cherry-acquisition-investigations .cherry-investigation-search-clear { width: 44px; min-height: 44px; }
    .cherry-acquisition-investigations .cherry-investigation-mobile-filter-toggle { display: grid; place-items: center; width: 44px; min-height: 44px; padding: 8px; border: 1px solid #d7dee8; border-radius: 7px; background: #fff; color: #637083; }
    .cherry-acquisition-investigations .cherry-investigation-mobile-filter-toggle.is-active { border-color: #93102a; background: #93102a; color: #fff; }
    .cherry-acquisition-investigations .cherry-investigation-filterbar > label { display: none; }
    .cherry-acquisition-investigations .cherry-investigation-filterbar.is-mobile-open > label { display: grid; grid-column: 1 / -1; min-width: 0; }
    .cherry-acquisition-investigations .cherry-investigation-filterbar:not(.is-mobile-open) > label.cherry-investigation-toggle { display: none !important; }
    .cherry-acquisition-investigations .cherry-investigation-toggle input:focus-visible + i { outline: 2px solid #93102a; outline-offset: 2px; }
    .cherry-acquisition-investigations .cherry-investigation-filterbar select { min-width: 0; width: 100%; min-height: 36px; font-size: 16px; }
    .cherry-acquisition-investigations .cherry-investigation-filterbar.is-mobile-open .cherry-investigation-mobile-filter-actions { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: 8px; }
    .cherry-investigation-mobile-filter-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; flex: 1; min-height: 44px; padding: 8px; border: 1px solid #d7dee8; border-radius: 6px; background: #fff; color: #93102a; font: inherit; font-size: .75rem; }
    .cherry-acquisition-investigations .cherry-acquisition-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; min-height: 0; width: 100%; padding: 20px 12px; text-align: center; }
    .cherry-acquisition-investigations .cherry-acquisition-empty strong,
    .cherry-acquisition-investigations .cherry-acquisition-empty span { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
    .cherry-acquisition-investigations .cherry-investigation-table-wrap { min-width: 0; overflow: visible; border: 0; }
    .cherry-acquisition-investigations .cherry-investigation-records,
    .cherry-acquisition-investigations .cherry-investigation-records tbody { display: block; width: 100%; min-width: 0; }
    .cherry-acquisition-investigations .cherry-investigation-records thead { display: none; }
    .cherry-acquisition-investigations .cherry-investigation-records tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; padding: 12px; border: 1px solid #e3e8ef; border-radius: 8px; background: #fff; }
    .cherry-acquisition-investigations .cherry-investigation-records td { display: block; min-width: 0; width: auto; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
    .cherry-acquisition-investigations .cherry-investigation-records td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 5px; color: #637083; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
    .cherry-acquisition-investigations .cherry-investigation-record-identity,
    .cherry-acquisition-investigations .cherry-investigation-record-actions { grid-column: 1 / -1; }
    .cherry-acquisition-investigations .cherry-investigation-name { min-width: 0; }
    .cherry-acquisition-investigations .cherry-investigation-name > span:last-child { min-width: 0; }
    .cherry-acquisition-investigations .cherry-investigation-name strong,
    .cherry-acquisition-investigations .cherry-investigation-name small { white-space: normal; overflow-wrap: anywhere; }
    .cherry-acquisition-investigations .cherry-investigation-records select { width: 100%; min-width: 0; min-height: 44px; font-size: 16px; }
    .cherry-acquisition-investigations .cherry-investigation-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
    .cherry-acquisition-investigations .cherry-investigation-actions > button,
    .cherry-acquisition-investigations .cherry-investigation-actions > label { flex: 1 1 110px; min-height: 44px; padding: 8px; white-space: normal; justify-content: center; }
    .cherry-acquisition-investigations .cherry-investigation-actions input[type=file] { width: 100%; height: 100%; }
    .cherry-acquisition-investigations .cherry-investigation-actions .mud-icon-button { min-width: 44px; min-height: 44px; }
    .cherry-acquisition-investigations .cherry-investigation-records .cherry-investigation-detail-row { grid-template-columns: minmax(0, 1fr); padding: 10px; background: #f8fafc; }
    .cherry-acquisition-investigations .cherry-investigation-detail,
    .cherry-acquisition-investigations .cherry-investigation-result-editor { min-width: 0; grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .cherry-acquisition-investigations .cherry-investigation-detail { padding: 12px; }
    .cherry-acquisition-investigations .cherry-acquisition-evidence-list button { min-height: 44px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
    .cherry-acquisition-investigations .cherry-investigation-result-editor .mud-button-root { min-height: 44px; width: 100%; }
    .cherry-acquisition-investigations .cherry-investigation-footer { font-size: .75rem; padding: 10px 0; }
}
@media (max-width: 960px) {
    /* Proposal reading and editing share a single mobile column. */
    .cherry-acquisition-workspace .cherry-proposal-workqueue .cherry-investigation-table-wrap { overflow: visible; }
    .cherry-acquisition-workspace .cherry-proposal-table,
    .cherry-acquisition-workspace .cherry-proposal-table tbody { display: block; width: 100%; min-width: 0; }
    .cherry-acquisition-workspace .cherry-proposal-table thead { display: none; }
    .cherry-acquisition-workspace .cherry-proposal-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 12px; margin-bottom: 12px; border: 1px solid #e3e8ef; border-radius: 8px; }
    .cherry-acquisition-workspace .cherry-proposal-table td { display: block; min-width: 0; width: auto; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-proposal-table td:first-child,
    .cherry-acquisition-workspace .cherry-proposal-table td:last-child { grid-column: 1 / -1; }
    .cherry-acquisition-workspace .cherry-proposal-table td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 5px; color: #637083; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
    .cherry-acquisition-workspace .cherry-proposal-table .cherry-investigation-name { max-width: 100%; }
    .cherry-acquisition-workspace .cherry-proposal-table .cherry-investigation-name > span:last-child { min-width: 0; }
    .cherry-acquisition-workspace .cherry-proposal-table .cherry-investigation-name strong,
    .cherry-acquisition-workspace .cherry-proposal-table .cherry-investigation-name small { white-space: normal; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-proposal-table .cherry-investigation-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
    .cherry-acquisition-workspace .cherry-proposal-table .cherry-investigation-actions button { min-width: 0; min-height: 44px; white-space: normal; }
    .cherry-acquisition-workspace .cherry-proposal-table .cherry-investigation-detail-row { grid-template-columns: minmax(0, 1fr); background: #f8fafc; text-align: left; }
    .cherry-acquisition-workspace .cherry-proposal-table .cherry-investigation-detail-row td { text-align: left; }
    .cherry-acquisition-workspace .cherry-proposal-documents { grid-template-columns: minmax(0, 1fr); min-width: 0; padding: 12px; text-align: left; }
    .cherry-acquisition-workspace .cherry-proposal-document-list { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px; width: 100%; min-width: 0; }
    .cherry-acquisition-workspace .cherry-proposal-document-list > button,
    .cherry-acquisition-workspace .cherry-proposal-document-list > label { display: flex; align-items: center; justify-content: center; width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; white-space: normal; text-align: center; }
    .cherry-acquisition-workspace .cherry-proposal-document-list > label > span { min-width: 0; overflow-wrap: normal; word-break: normal; }
    .cherry-acquisition-workspace .cherry-proposal-document-list > button > span { min-width: 0; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-proposal-document-list > label input[type=file] { width: 100%; height: 100%; }
    .cherry-acquisition-workspace .cherry-proposal-document-list > label:focus-within { outline: 2px solid #93102a; outline-offset: 2px; }
    .cherry-acquisition-workspace .cherry-proposal-document-list > label.is-disabled { opacity: .55; pointer-events: none; }
    .cherry-acquisition-workspace .cherry-proposal-detail { min-width: 0; text-align: left; }
    .cherry-acquisition-workspace .cherry-proposal-terms { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .cherry-acquisition-workspace .cherry-proposal-terms > span { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: baseline; gap: 12px; padding: 10px 0; border: 0; border-bottom: 1px solid #e8edf2; border-radius: 0; background: transparent; }
    .cherry-acquisition-workspace .cherry-proposal-terms small { text-transform: none; letter-spacing: 0; font-size: .76rem; font-weight: 600; line-height: 1.45; }
    .cherry-acquisition-workspace .cherry-proposal-terms strong { margin: 0; text-align: right; font-size: .82rem; line-height: 1.45; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-proposal-notes { text-align: left; font-weight: 400; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-proposal-version-list { flex-direction: column; align-items: stretch; min-width: 0; }
    .cherry-acquisition-workspace .cherry-proposal-version-change > summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; min-height: 44px; white-space: normal; text-align: left; }
    .cherry-acquisition-workspace .cherry-proposal-change-row { grid-template-columns: minmax(0, 1fr); min-width: 0; }
    .cherry-acquisition-workspace .cherry-proposal-change-row > span { overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-proposal-readonly-notes { grid-template-columns: minmax(0, 1fr); }
    .cherry-acquisition-workspace .cherry-proposal-readonly-notes p { white-space: pre-wrap; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-proposal-table .cherry-investigation-actions .is-primary { background: #a60d32; border-color: #a60d32; color: #fff; }
    .cherry-acquisition-workspace .cherry-acquisition-modal:is(.cherry-proposal-modal, .cherry-landlord-response-modal) {
        position: fixed;
        inset: 0;
        width: 100%;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        margin: 0;
        display: flex;
        flex-direction: column;
        border: 0;
        border-radius: 0;
        overflow: hidden;
    }
    .cherry-acquisition-workspace :is(.cherry-proposal-modal, .cherry-landlord-response-modal) .cherry-acquisition-modal-head { flex: 0 0 auto; gap: 12px; padding: max(12px, env(safe-area-inset-top)) 12px 12px 16px; background: #fff; }
    .cherry-acquisition-workspace :is(.cherry-proposal-modal, .cherry-landlord-response-modal) .cherry-acquisition-modal-head > div { min-width: 0; }
    .cherry-acquisition-workspace :is(.cherry-proposal-modal, .cherry-landlord-response-modal) .cherry-acquisition-modal-head h3 { font-size: 1.05rem; line-height: 1.35; }
    .cherry-acquisition-workspace :is(.cherry-proposal-modal, .cherry-landlord-response-modal) .cherry-acquisition-modal-head .mud-icon-button { min-width: 44px; min-height: 44px; }
    .cherry-acquisition-workspace :is(.cherry-proposal-modal, .cherry-landlord-response-modal) .cherry-acquisition-modal-body { display: block; flex: 1 1 auto; min-width: 0; min-height: 0; max-height: none; overflow-y: auto; overscroll-behavior-y: contain; padding: 16px; }
    .cherry-acquisition-workspace :is(.cherry-proposal-modal, .cherry-landlord-response-modal) .cherry-acquisition-modal-body > * + * { margin-top: 14px; }
    .cherry-acquisition-workspace :is(.cherry-proposal-modal, .cherry-landlord-response-modal) .cherry-acquisition-modal-actions { display: flex; flex: 0 0 auto; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); background: #fff; }
    .cherry-acquisition-workspace :is(.cherry-proposal-modal, .cherry-landlord-response-modal) .cherry-acquisition-modal-actions .mud-button-root { min-height: 44px; }
    .cherry-acquisition-workspace :is(.cherry-proposal-modal, .cherry-landlord-response-modal) .cherry-acquisition-modal-actions .cherry-admin-action-button { flex: 1; min-width: 0; }
    .cherry-acquisition-workspace .cherry-proposal-form { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; align-items: start; min-width: 0; gap: 14px; }
    .cherry-acquisition-workspace .cherry-proposal-form-card { grid-template-columns: minmax(0, 1fr); align-content: start; align-items: start; min-width: 0; padding: 14px; gap: 16px; }
    .cherry-acquisition-workspace .cherry-proposal-form-heading { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; justify-content: start; gap: 4px; }
    .cherry-acquisition-workspace .cherry-proposal-form-grid,
    .cherry-acquisition-workspace .cherry-proposal-checkbox-grid { grid-template-columns: minmax(0, 1fr); align-items: start; min-width: 0; gap: 16px; }
    .cherry-acquisition-workspace .cherry-proposal-form-wide { grid-column: 1; }
    .cherry-acquisition-workspace .cherry-proposal-form .mud-input-control { min-width: 0; width: 100%; max-width: 100%; margin: 0; }
    .cherry-acquisition-workspace :is(.cherry-proposal-modal, .cherry-landlord-response-modal) input,
    .cherry-acquisition-workspace :is(.cherry-proposal-modal, .cherry-landlord-response-modal) textarea,
    .cherry-acquisition-workspace :is(.cherry-proposal-modal, .cherry-landlord-response-modal) select { font-size: 16px; }
    .cherry-acquisition-workspace .cherry-proposal-checkbox-grid .mud-checkbox { min-height: 44px; margin: 0; }
}
@media (max-width: 960px) {
    .cherry-acquisition-workspace .cherry-proposal-modal .cherry-acquisition-modal-actions { flex-direction: column; align-items: stretch; }
    .cherry-acquisition-workspace .cherry-proposal-modal .cherry-acquisition-modal-actions .cherry-admin-action-button { flex: 0 0 auto; width: 100%; }
}
.cherry-acquisition-workspace .cherry-negotiation-guidance.is-landlord-action {
    padding: 16px;
    border: 1px solid #ecd7de;
    border-top: 3px solid #a60d32;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(65, 25, 38, .04);
}
.cherry-acquisition-workspace .cherry-negotiation-guidance.is-landlord-action > span { color: #a60d32; }
.cherry-acquisition-workspace .cherry-negotiation-guidance.is-landlord-action > strong { margin-top: 6px; font-size: 1rem; line-height: 1.4; }
.cherry-acquisition-workspace .cherry-negotiation-guidance.is-landlord-action > p { font-weight: 400; font-size: .85rem; line-height: 1.5; }
.cherry-acquisition-workspace .cherry-negotiation-response-actions { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 16px; }
.cherry-acquisition-workspace .cherry-negotiation-response-actions .mud-button-root {
    min-height: 48px;
    padding: 10px 8px;
    border-radius: 7px;
    border-color: #e6c7d0;
    color: #8f1030;
    font-size: .8rem;
    font-weight: 700;
    text-transform: none;
    box-shadow: none;
}
/* Guidance text styles must not turn nested button labels and icons into headings. */
.cherry-acquisition-workspace .cherry-negotiation-response-actions .mud-button-root span {
    color: inherit;
    font: inherit;
    letter-spacing: normal;
    text-transform: none;
}
.cherry-acquisition-workspace .cherry-negotiation-response-actions .mud-button-label { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.cherry-acquisition-workspace .cherry-negotiation-response-actions .mud-button-icon-start { display: inline-flex; margin: 0; }
.cherry-acquisition-workspace .cherry-negotiation-response-actions .cherry-proposal-response-accept { grid-column: 1 / -1; color: #fff; background: #a60d32; border-color: #a60d32; }
.cherry-acquisition-workspace .cherry-negotiation-response-actions .cherry-proposal-response-accept:hover { background: #8f1030; }
.cherry-acquisition-workspace .cherry-negotiation-response-actions .cherry-proposal-response-decline { grid-column: 1 / -1; margin-top: 4px; border-color: #e5e7eb; color: #637083; }
.cherry-acquisition-workspace .cherry-negotiation-response-actions .mud-button-root.mud-disabled { color: #9ca3af; background: #f3f4f6; border-color: #e5e7eb; }
@media (max-width: 960px) {
    .cherry-acquisition-workspace .cherry-negotiation-response-actions { grid-template-columns: minmax(0, 1fr); }
    .cherry-acquisition-workspace .cherry-negotiation-response-actions .mud-button-label { flex-wrap: nowrap; }
    .cherry-acquisition-workspace .cherry-negotiation-response-actions .mud-button-icon-start { flex-shrink: 0; }
}

@media (max-width: 960px) {
    .cherry-acquisition-workspace .cherry-negotiation-current { min-width: 0; padding: 16px; gap: 16px; border-color: #e5e9ef; border-radius: 10px; }
    .cherry-acquisition-workspace .cherry-negotiation-current .cherry-proposal-card-main { min-width: 0; align-items: center; gap: 10px; }
    .cherry-acquisition-workspace .cherry-negotiation-current .cherry-proposal-card-main > span:last-child { min-width: 0; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-negotiation-current .cherry-negotiation-terms { gap: 0; padding: 0; border-top: 1px solid #e8edf2; }
    .cherry-acquisition-workspace .cherry-negotiation-current .cherry-negotiation-terms > span {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: baseline;
        gap: 12px;
        padding: 12px 0;
        border: 0;
        border-bottom: 1px solid #e8edf2;
        border-radius: 0;
        background: transparent;
    }
    .cherry-acquisition-workspace .cherry-negotiation-current .cherry-negotiation-terms small { color: #637083; font-size: .78rem; font-weight: 500; line-height: 1.45; letter-spacing: normal; text-transform: none; }
    .cherry-acquisition-workspace .cherry-negotiation-current .cherry-negotiation-terms strong { margin: 0; color: #182b43; font-size: .82rem; font-weight: 700; line-height: 1.45; text-align: right; overflow-wrap: anywhere; }
    .cherry-acquisition-workspace .cherry-negotiation-current .cherry-proposal-notes { padding: 10px 12px; border: 0; border-radius: 6px; background: #faf7f8; color: #526071; }
    .cherry-acquisition-workspace .cherry-negotiation-current .cherry-proposal-notes p { margin: 0; line-height: 1.5; }
    .cherry-acquisition-workspace .cherry-negotiation-current .cherry-proposal-notes p + p { margin-top: 8px; }
    .cherry-acquisition-workspace .cherry-negotiation-current .cherry-negotiation-full-proposal { min-height: 44px; border-radius: 7px; font-weight: 700; }
}

.cherry-proposal-confirm-heading { display: grid; grid-template-columns: 40px minmax(0, 1fr) 44px; align-items: center; gap: 10px; }
.cherry-proposal-confirm-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #f9eaf0; }
.cherry-proposal-confirm-heading h2 { margin: 0; color: #182b43; font: inherit; font-size: 1.1rem; font-weight: 800; line-height: 1.3; }
.cherry-proposal-confirm-heading .mud-icon-button { width: 44px; height: 44px; }
.cherry-proposal-confirm-intro { margin: 0; color: #526071; font-size: .9rem; line-height: 1.5; }
.cherry-proposal-confirm-summary { display: grid; gap: 6px; margin-top: 16px; padding: 14px; border: 1px solid #eadce1; border-left: 3px solid #a60d32; border-radius: 7px; background: #fbf8f9; overflow-wrap: anywhere; }
.cherry-proposal-confirm-summary strong { color: #182b43; font-size: .9rem; }
.cherry-proposal-confirm-summary span { color: #637083; font-size: .8rem; }
.cherry-proposal-confirm-dialog .mud-dialog-actions .mud-button-root { min-height: 44px; }
.cherry-proposal-confirm-dialog .mud-dialog-actions { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.cherry-proposal-confirm-dialog .cherry-proposal-confirm-submit { min-height: 48px; width: 100%; font-weight: 700; box-shadow: none; }
.cherry-proposal-confirm-submit .mud-button-label { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.cherry-proposal-confirm-submit .mud-button-icon-start { margin: 0; }
.cherry-proposal-confirm-dialog .cherry-proposal-confirm-cancel { width: 100%; color: #637083; }

@media (max-width: 960px) {
    .cherry-proposal-confirm-dialog.mud-dialog { width: calc(100vw - 32px); max-width: 420px; max-height: calc(100dvh - 32px); margin: 16px; border-radius: 10px; }
    .cherry-proposal-confirm-dialog .mud-dialog-title { padding: 16px 12px 12px 20px; }
    .cherry-proposal-confirm-dialog .mud-dialog-content { padding: 4px 20px 20px; overflow-y: auto; }
    .cherry-proposal-confirm-dialog .mud-dialog-actions { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 0 20px 12px; border-top: 0; }
    .cherry-proposal-confirm-dialog .mud-dialog-actions .mud-button-root { width: 100%; min-width: 0; padding-inline: 8px; font-size: .8rem; white-space: normal; }
}
.cherry-inbox-compose-dialog .cherry-inbox-selected-property { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #eadce1; border-radius: 8px; background: #fcf9fa; min-width: 0; }
.cherry-inbox-selected-property > div { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cherry-inbox-selected-property strong, .cherry-inbox-selected-property small { display: block; }
.cherry-inbox-selected-property small { color: #637083; margin-top: 4px; line-height: 1.5; }
.cherry-inbox-selected-property .mud-button-root { flex-shrink: 0; min-height: 44px; }
.cherry-inbox-property-picker { display: grid; gap: 16px; min-width: 0; }
.cherry-inbox-property-picker p { margin: 0; color: #637083; font-size: .9rem; line-height: 1.5; }
.cherry-inbox-property-search { display: flex; align-items: center; gap: 10px; border: 1px solid #dfc9d0; border-radius: 7px; padding: 0 12px; background: #fff; }
.cherry-inbox-property-search:focus-within { outline: 2px solid #93102a; outline-offset: 1px; }
.cherry-inbox-property-search .mud-icon-root { flex-shrink: 0; color: #93102a; }
.cherry-inbox-property-search input { width: 100%; min-width: 0; min-height: 48px; border: 0; background: transparent; outline: none; font: inherit; font-size: 16px; color: #182b43; }
.cherry-inbox-property-search input::placeholder { color: #8a929e; }
.cherry-inbox-property-results { display: grid; gap: 10px; }
.cherry-inbox-property-results .cherry-inbox-property-result-hint { font-size: .78rem; }
.cherry-inbox-property-option { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 14px; border: 1px solid #e4e8ed; border-radius: 8px; background: #fff; text-align: left; font: inherit; cursor: pointer; color: #182b43; }
.cherry-inbox-property-option:hover, .cherry-inbox-property-option.is-selected { border-color: #b71843; background: #fcf5f7; }
.cherry-inbox-property-option:focus-visible { outline: 2px solid #93102a; outline-offset: 2px; }
.cherry-inbox-property-option > .mud-icon-root { flex-shrink: 0; color: #93102a; margin-top: 2px; }
.cherry-inbox-property-option > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cherry-inbox-property-option strong { display: block; font-size: .95rem; line-height: 1.4; }
.cherry-inbox-property-option small { display: block; color: #637083; line-height: 1.5; margin-top: 4px; }
.cherry-inbox-property-option em { display: inline-block; margin-top: 8px; padding: 3px 8px; background: #f0eef1; border-radius: 12px; font-size: .68rem; font-weight: 700; font-style: normal; line-height: 1.4; }
.cherry-inbox-compose-dialog .cherry-message-dialog-icon .mud-icon-button { color: #fff; width: 44px; height: 44px; }
.cherry-inbox-compose-dialog .cherry-message-dialog-header { grid-template-columns: 44px minmax(0, 1fr) 44px; }

@media (max-width: 760px) {
    .cherry-message-dialog.cherry-inbox-compose-dialog.mud-dialog { position: fixed; inset: 0; margin: 0; width: 100%; max-width: none; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; display: flex; flex-direction: column; }
    .cherry-message-dialog.cherry-inbox-compose-dialog .mud-dialog-title { flex: 0 0 auto; padding: max(8px, env(safe-area-inset-top)) 12px 8px; border-radius: 0; }
    .cherry-message-dialog.cherry-inbox-compose-dialog .cherry-message-dialog-header { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 4px; min-height: 44px; }
    .cherry-message-dialog.cherry-inbox-compose-dialog .cherry-message-dialog-icon { display: grid; place-items: center; }
    .cherry-message-dialog.cherry-inbox-compose-dialog .cherry-message-dialog-header h2 { font-size: 1.1rem; font-weight: 700; }
    .cherry-message-dialog.cherry-inbox-compose-dialog .cherry-message-dialog-close { width: 44px; height: 44px; }
    .cherry-message-dialog.cherry-inbox-compose-dialog .mud-dialog-content { flex: 1 1 auto; min-height: 0; padding: 20px 16px; overflow-y: auto; overscroll-behavior: contain; }
    .cherry-message-dialog.cherry-inbox-compose-dialog .cherry-inbox-new-conversation { display: grid; gap: 20px; }
    .cherry-message-dialog.cherry-inbox-compose-dialog .cherry-inbox-compose-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; }
    .cherry-message-dialog.cherry-inbox-compose-dialog .cherry-inbox-compose-row > label { font-size: .85rem; }
    .cherry-message-dialog.cherry-inbox-compose-dialog .mud-input-slot { font-size: 16px; }
    .cherry-message-dialog.cherry-inbox-compose-dialog textarea.mud-input-slot { min-height: 170px; height: clamp(170px, 28dvh, 280px); }
    .cherry-message-dialog.cherry-inbox-compose-dialog .cherry-inbox-file-picker { min-height: 44px; justify-content: center; }
    .cherry-message-dialog.cherry-inbox-compose-dialog .mud-dialog-actions { flex: 0 0 auto; display: flex; gap: 8px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid #e8edf2; background: #fff; }
    .cherry-message-dialog.cherry-inbox-compose-dialog .mud-dialog-actions .mud-button-root { min-height: 48px; }
    .cherry-message-dialog.cherry-inbox-compose-dialog .mud-dialog-actions .cherry-admin-action-button { flex: 1; min-width: 0; }
    .cherry-message-dialog.cherry-inbox-compose-dialog .mud-dialog-actions .mud-button-label { white-space: nowrap; }
}
