/* Shared site readability and mobile landlord/publisher section navigation. */
.cherry-new-site .cherry-new-site-mobile-only { display: none; }

@media (max-width: 960px) {
    .cherry-main-content .cherry-new-site { padding: 12px 12px 24px; }
    .cherry-portal-shell .cherry-new-site { min-height: 0; padding: 0; background: transparent; }
    .cherry-new-site .cherry-new-site-back { margin-bottom: 12px; }
    .cherry-new-site .cherry-new-site-layout { display: flex; flex-direction: column; gap: 12px; width: 100%; min-width: 0; }
    .cherry-new-site .cherry-new-site-main { display: contents; }
    .cherry-new-site .cherry-new-site-hero { order: 0; display: block; width: 100%; min-height: 0; padding: 16px; border-radius: 8px; box-shadow: none; background: #fff; }
    .cherry-new-site .cherry-new-site-hero-icon { display: none; }
    .cherry-new-site .cherry-new-site-hero h1 { margin: 4px 0 8px; font-size: 1.4rem; line-height: 1.25; font-weight: 750; }
    .cherry-new-site .cherry-new-site-kicker { margin: 0; font-size: .65rem; letter-spacing: .1em; }
    .cherry-new-site .cherry-new-site-hero > div:not(.cherry-new-site-hero-icon) > p:not(.cherry-new-site-kicker) { margin: 0; font-size: .85rem; line-height: 1.5; }
    .cherry-new-site .cherry-new-site-mobile-only { display: block; }
    .cherry-new-site .cherry-new-site-desktop-only { display: none; }
    .cherry-new-site .cherry-new-site-progress { order: 1; width: 100%; padding: 12px 16px; gap: 12px; border-radius: 8px; box-shadow: none; background: #fff; }
    .cherry-new-site .cherry-new-site-progress > span { display: none; }
    .cherry-new-site .cherry-new-site-mobile-step { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; font-size: .75rem; color: #637083; }
    .cherry-new-site .cherry-new-site-mobile-step > strong { color: #93102a; }
    .cherry-new-site .cherry-new-site-progress ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; }
    .cherry-new-site .cherry-new-site-progress li { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 5px; min-height: 0; padding: 0; text-align: center; }
    .cherry-new-site .cherry-new-site-progress li::after { display: none; }
    .cherry-new-site .cherry-new-site-progress li > strong { width: 28px; height: 28px; font-size: .75rem; }
    .cherry-new-site .cherry-new-site-progress li small { display: none; }
    .cherry-new-site .cherry-new-site-progress li b { font-size: .75rem; line-height: 1.3; font-weight: 650; }
    .cherry-new-site .cherry-new-site-summary { display: none; }
    .cherry-new-site .cherry-new-site-card { order: 2; width: 100%; min-width: 0; margin: 0; padding: 16px; border-radius: 8px; box-shadow: none; }
    .cherry-new-site .cherry-new-site-search-shell { display: grid; grid-template-columns: 20px minmax(0, 1fr) 44px; gap: 6px; min-height: 52px; padding: 4px 4px 4px 10px; }
    .cherry-new-site .cherry-new-site-search-shell button { grid-column: auto; width: 44px; min-height: 44px; padding: 0; }
    .cherry-new-site .cherry-new-site-search-shell button > span { display: none; }
    .cherry-new-site .cherry-new-site-search-shell input { font-size: 16px; }
    .cherry-new-site .cherry-new-site-address-summary { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 12px; }
    .cherry-new-site .cherry-new-site-address-summary strong { font-size: .95rem; overflow-wrap: anywhere; }
    .cherry-new-site .cherry-new-site-address-summary button { grid-column: 1 / -1; justify-self: start; min-height: 44px; }
    .cherry-new-site .cherry-new-site-intake-heading { display: block; padding: 16px 14px 12px; }
    .cherry-new-site .cherry-new-site-intake-heading::after { display: none; content: none; }
    .cherry-new-site .cherry-new-site-intake-heading h2 { margin: 0; color: #182b43; font-size: 1.05rem; line-height: 1.4; letter-spacing: 0; text-transform: none; }
    .cherry-new-site .cherry-new-site-intake-heading p { margin: 6px 0 0; color: #637083; font-size: .8rem; line-height: 1.5; }
    .cherry-new-site .cherry-new-site-intake-list { gap: 12px; padding: 0 12px 12px; background: transparent; }
    .cherry-new-site .cherry-new-site-intake-question { grid-template-columns: 28px minmax(0, 1fr); align-items: start; gap: 10px; min-width: 0; padding: 12px; }
    .cherry-new-site .cherry-new-site-intake-number { grid-column: 1; grid-row: 1; }
    .cherry-new-site .cherry-new-site-intake-question-copy { grid-column: 2; grid-row: 1; display: block; min-width: 0; }
    .cherry-new-site .cherry-new-site-intake-question-copy label { font-size: .9rem; line-height: 1.5; }
    .cherry-new-site .cherry-new-site-intake-question-copy > span { display: inline-block; margin-top: 5px; }
    .cherry-new-site .cherry-new-site-intake-options,
    .cherry-new-site .cherry-new-site-intake-options.is-multi,
    .cherry-new-site .cherry-new-site-intake-select,
    .cherry-new-site .cherry-new-site-intake-text,
    .cherry-new-site .cherry-new-site-field-error { grid-column: 1 / -1; width: 100%; min-width: 0; }
    .cherry-new-site .cherry-new-site-intake-options,
    .cherry-new-site .cherry-new-site-intake-options.is-multi { grid-template-columns: minmax(0, 1fr); }
    .cherry-new-site .cherry-new-site-intake-choice { min-height: 44px; gap: 10px; padding: 12px; align-items: flex-start; }
    .cherry-new-site .cherry-new-site-intake-choice > span { min-width: 0; overflow-wrap: anywhere; }
    .cherry-new-site .cherry-new-site-intake-choice strong { font-size: .85rem; line-height: 1.5; }
    .cherry-new-site input:not([type=radio]):not([type=checkbox]),
    .cherry-new-site select,
    .cherry-new-site textarea { min-width: 0; font-size: 16px; }
    .cherry-new-site .cherry-new-site-mobile-review { margin-top: 16px; padding: 14px; border: 1px solid #e3e8ef; border-radius: 8px; background: #f5f7fa; }
    .cherry-new-site .cherry-new-site-mobile-review p { margin: 6px 0; color: #182b43; font-weight: 650; overflow-wrap: anywhere; }
    .cherry-new-site .cherry-new-site-mobile-review small { color: #637083; font-size: .8rem; line-height: 1.5; }
    .cherry-new-site .cherry-new-site-actions { display: flex; margin-top: 16px; padding-top: 16px; }
    .cherry-new-site .cherry-new-site-actions .cherry-new-site-button { width: 100%; min-height: 48px; }
    .cherry-new-site .cherry-new-site-modal { width: calc(100vw - 24px); max-width: 520px; max-height: calc(100dvh - 24px); overflow-y: auto; padding: 16px; }
    .cherry-new-site .cherry-new-site-address-editor-grid { grid-template-columns: minmax(0, 1fr); }
    .cherry-new-site .cherry-new-site-modal-heading { align-items: start; gap: 10px; }
    .cherry-new-site .cherry-new-site-modal-heading h2 { font-size: 1.15rem; }
    .cherry-new-site .cherry-new-site-modal-heading button { min-width: 44px; min-height: 44px; }
    .cherry-new-site .cherry-new-site-modal-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

.cherry-risk-mobile-tools,
.cherry-risk-mobile-evidence-label,
.cherry-risk-reader-submit { display: none; }
.cherry-risk-reader { display: grid; gap: 16px; min-width: 0; }
.cherry-risk-reader > section { min-width: 0; padding: 14px; border: 1px solid #e3e8ef; border-radius: 8px; background: #fff; }
.cherry-risk-reader h3 { margin: 0 0 10px; color: #182b43; font-size: .9rem; font-weight: 800; }
.cherry-risk-reader .cherry-risk-detail-notes,
.cherry-risk-reader .cherry-risk-detail-evidence { padding: 0; }
.cherry-risk-reader .cherry-risk-evidence-help,
.cherry-risk-reader-notice { margin: 0 0 12px; color: #637083; font-size: .85rem; line-height: 1.5; }
.cherry-risk-reader .cherry-risk-guidance { margin: 0; }
.cherry-risk-reader .cherry-risk-guidance > span { display: none; }

@media (max-width: 960px) {
    /* Read-only and admin characteristics share compact, readable mobile cards. */
    .cherry-site-detail-page .cherry-attribute-categories { gap: 10px; }
    .cherry-site-detail-page .cherry-attribute-category { min-width: 0; gap: 0; border: 1px solid #e3e8ef; border-radius: 8px; background: #fff; }
    .cherry-site-detail-page .cherry-attribute-category-header { min-height: 48px; padding: 12px; gap: 10px; border: 0; border-radius: 8px; background: #fbf8f9; }
    .cherry-site-detail-page .cherry-attribute-category-header > span:first-child { min-width: 0; font-family: inherit; font-size: .9rem; letter-spacing: 0; text-transform: none; overflow-wrap: anywhere; }
    .cherry-site-detail-page .cherry-attribute-category-header:focus-visible { outline: 2px solid #93102a; outline-offset: -3px; }
    .cherry-site-detail-page .cherry-attribute-category-meta { gap: 6px; }
    .cherry-site-detail-page .cherry-attribute-category-meta small { font-size: .75rem; font-weight: 500; }
    .cherry-site-detail-page .cherry-attribute-table-wrap { min-width: 0; overflow: visible; border: 0; border-radius: 0 0 8px 8px; }
    .cherry-site-detail-page .cherry-attribute-table { display: block; min-width: 0; width: 100%; }
    .cherry-site-detail-page .cherry-attribute-table thead { display: none; }
    .cherry-site-detail-page .cherry-attribute-table tbody { display: block; width: 100%; }
    .cherry-site-detail-page .cherry-attribute-table tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; min-width: 0; width: 100%; padding: 14px 12px; border-top: 1px solid #edf0f3; border-bottom: 0; }
    .cherry-site-detail-page .cherry-attribute-table tbody th,
    .cherry-site-detail-page .cherry-attribute-table tbody td { display: block; min-width: 0; width: 100%; margin: 0; padding: 0; border: 0; line-height: 1.5; overflow-wrap: anywhere; }
    .cherry-site-detail-page .cherry-attribute-table tbody th > span { color: #182b43; font-size: .9rem; font-weight: 700; }
    .cherry-site-detail-page .cherry-attribute-table tbody th > small { margin-top: 4px; color: #637083; font-size: .8rem; line-height: 1.5; }
    .cherry-site-detail-page .cherry-attribute-table td::before { content: attr(data-label); display: block; min-width: 0; width: auto; color: #637083; font-size: .75rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
    .cherry-site-detail-page .cherry-attribute-table td[data-label="Value"] { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: baseline; gap: 10px; padding: 8px 10px; border-radius: 6px; background: #f5f7fa; color: #182b43; font-size: .9rem; font-weight: 700; }
    .cherry-site-detail-page .cherry-attribute-table td[data-label="Source"] { color: #536176; font-size: .8rem; }
    .cherry-site-detail-page .cherry-attribute-table td[data-label="Source"]::before { margin-bottom: 2px; }
    .cherry-site-detail-page .cherry-attribute-table td[data-label="Last updated"] { display: flex; flex-wrap: wrap; gap: 4px 8px; color: #637083; font-size: .75rem; }
    .cherry-site-detail-page .cherry-attribute-table td[data-label="Actions"] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
    .cherry-site-detail-page .cherry-attribute-row-actions button { min-width: 44px; min-height: 44px; }

    .cherry-risk-panel .cherry-risk-register { gap: 12px; }
    .cherry-risk-panel .cherry-risk-register-tools { display: none; }
    .cherry-risk-mobile-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
    .cherry-risk-mobile-tools > div:first-child { display: grid; gap: 3px; }
    .cherry-risk-mobile-tools strong { color: #182b43; font-size: .9rem; }
    .cherry-risk-mobile-tools span { color: #637083; font-size: .8rem; }
    .cherry-risk-mobile-tools button { min-width: 44px; min-height: 44px; border-color: #e5d6dc; }
    .cherry-risk-panel .cherry-risk-table { display: grid; gap: 12px; min-width: 0; overflow: visible; border: 0; border-radius: 0; }
    .cherry-risk-panel .cherry-risk-table-head { display: none; }
    .cherry-risk-panel .cherry-risk-row,
    .cherry-risk-panel .cherry-risk-row:last-child { min-width: 0; border: 1px solid #e3e8ef; border-radius: 8px; overflow: hidden; }
    .cherry-risk-panel .cherry-risk-table .cherry-risk-row-summary { min-width: 0; grid-template-columns: auto minmax(0, 1fr) 44px; grid-template-areas: "severity status expand" "title title title" "due due due" "evidence evidence evidence" "action action action"; align-items: center; gap: 8px; padding: 12px; }
    .cherry-risk-panel .cherry-risk-row-summary > span { padding: 0; min-width: 0; }
    .cherry-risk-panel .cherry-risk-row-summary > .cherry-risk-severity { grid-area: severity; padding: 6px 8px; }
    .cherry-risk-panel .cherry-risk-status-cell { grid-area: status; justify-self: end; }
    .cherry-risk-panel .cherry-risk-status { font-size: .65rem; padding: 6px 8px; min-height: 0; }
    .cherry-risk-panel .cherry-risk-expand { grid-area: expand; }
    .cherry-risk-panel .cherry-risk-expand button { width: 44px; height: 44px; }
    .cherry-risk-panel .cherry-risk-title-cell { grid-area: title; display: block; min-width: 0; min-height: 44px; padding: 0; }
    .cherry-risk-panel .cherry-risk-title-cell small { max-width: none; color: #182b43; font-size: .9rem; line-height: 1.5; }
    .cherry-risk-panel .cherry-risk-due { grid-area: due; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-items: center !important; font-size: .8rem; }
    .cherry-risk-panel .cherry-risk-due small { font-size: .75rem; }
    .cherry-risk-panel .cherry-risk-evidence-count { grid-area: evidence; font-size: .8rem; }
    .cherry-risk-panel .cherry-risk-mobile-evidence-label { display: inline; }
    .cherry-risk-panel .cherry-risk-action-cell { grid-area: action; justify-self: end; }
    .cherry-risk-panel .has-landlord-actions .cherry-risk-action-cell { display: none; }
    .cherry-risk-panel .cherry-risk-row-detail { min-width: 0; padding: 0 12px 12px; }
    .cherry-risk-reader { gap: 12px; }
    .cherry-risk-reader > section { padding: 12px; }
    .cherry-risk-reader .cherry-risk-evidence-card { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px; }
    .cherry-risk-reader .cherry-risk-evidence-card button { min-height: 44px; text-align: left; }
    .cherry-risk-reader .cherry-risk-evidence-status { align-items: flex-start; text-align: left; }
    .cherry-risk-reader .cherry-inbox-file-picker { justify-content: center; min-height: 44px; }
    .cherry-risk-reader .cherry-inbox-file-picker input { width: 100%; max-width: 100%; height: 100%; }
    .cherry-risk-reader-submit { display: flex; }
    .cherry-risk-reader-submit .mud-button-root { width: 100%; min-height: 44px; }
    .cherry-risk-panel .cherry-risk-register-footer { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .cherry-risk-panel .cherry-risk-pager { flex-wrap: wrap; justify-content: flex-start; }
    .cherry-risk-panel .cherry-risk-pager button { min-width: 44px; min-height: 44px; }
    .cherry-risk-panel .cherry-risk-register-footer.is-single-page .cherry-risk-pager,
    .cherry-risk-panel .cherry-risk-register-footer.is-single-page > .mud-input-control { display: none; }
}

/* Assessment dialogs use one scroll region, keeping the title and close controls visible. */
.cherry-evaluation-report-dialog.mud-dialog { display: flex; flex-direction: column; max-height: calc(100dvh - 32px); }
.cherry-evaluation-report-dialog .mud-dialog-title { position: relative; flex-shrink: 0; padding-right: 64px; }
.cherry-evaluation-report-dialog .mud-dialog-content { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; }
.cherry-evaluation-report-dialog .mud-dialog-actions { flex-shrink: 0; border-top: 1px solid #edf0f3; }
.cherry-evaluation-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; }
.cherry-evaluation-reader-dialog .cherry-evaluation-compact-header { display: block; }
.cherry-evaluation-reader-dialog .cherry-evaluation-dialog-title { border: 0; padding: 0; }
.cherry-evaluation-reader { display: grid; gap: 16px; padding-bottom: 8px; min-width: 0; }
.cherry-evaluation-reader .cherry-evaluation-findings-summary { margin-top: 0; }
.cherry-evaluation-reader-findings h3 { margin: 0; color: #182b43; font-size: 1rem; font-weight: 800; }
.cherry-evaluation-reader-findings > p { margin: 6px 0 14px; color: #637083; font-size: .85rem; line-height: 1.5; }
.cherry-evaluation-reader-section { min-width: 0; border: 1px solid #e3e8ef; border-radius: 8px; background: #fff; overflow: hidden; }
.cherry-evaluation-reader-findings .cherry-evaluation-reader-section + .cherry-evaluation-reader-section { margin-top: 10px; }
.cherry-evaluation-reader-section > summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px; list-style: none; cursor: pointer; color: #182b43; font-weight: 750; }
.cherry-evaluation-reader-section > summary::-webkit-details-marker { display: none; }
.cherry-evaluation-reader-section > summary > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cherry-evaluation-reader-section > summary > .mud-icon-root { flex-shrink: 0; color: #93102a; }
.cherry-evaluation-reader-section > summary:focus-visible { outline: 2px solid #93102a; outline-offset: -3px; }
.cherry-evaluation-reader-section[open] > summary { border-bottom: 1px solid #edf0f3; }
.cherry-evaluation-reader-section[open] .cherry-evaluation-reader-chevron { transform: rotate(180deg); }
.cherry-evaluation-reader-section > .cherry-evaluation-points,
.cherry-evaluation-reader-section > div { padding: 14px; }
.cherry-evaluation-reader-section .cherry-evaluation-header-card { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.cherry-evaluation-reader-section .cherry-evaluation-header-card > header { display: none; }
.cherry-evaluation-reader .cherry-evaluation-header-grid.is-three { grid-template-columns: minmax(0, 1fr); }
.cherry-evaluation-reader .cherry-evaluation-header-grid > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 0; border: 0; border-bottom: 1px solid #edf0f3; text-align: left; }
.cherry-evaluation-reader .cherry-evaluation-header-grid > div:last-child { border-bottom: 0; }
.cherry-evaluation-reader .cherry-evaluation-header-grid strong { overflow-wrap: anywhere; }
.cherry-evaluation-reader .cherry-evaluation-authorities { grid-template-columns: minmax(0, 1fr); margin: 0; }
.cherry-evaluation-reader .cherry-evaluation-points p { min-width: 0; line-height: 1.6; }
.cherry-evaluation-reader .cherry-evaluation-points p:not(.is-positive):not(.is-negative) { display: block; }
.cherry-evaluation-reader .cherry-evaluation-points p > span { overflow-wrap: anywhere; }

@media (max-width: 600px) {
    .cherry-evaluation-reader-dialog.mud-dialog { width: 100%; max-width: 100% !important; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
    .cherry-evaluation-reader-dialog .mud-dialog-title { padding: max(16px, env(safe-area-inset-top)) 64px 16px 16px; border-bottom: 1px solid #edf0f3; }
    .cherry-evaluation-reader-dialog .mud-dialog-content { flex: 1; padding: 16px; }
    .cherry-evaluation-reader-dialog .mud-dialog-actions { padding: 12px 16px max(12px, env(safe-area-inset-bottom)); }
    .cherry-evaluation-reader-dialog .mud-dialog-actions .mud-button-root { width: 100%; min-height: 44px; }
    .cherry-evaluation-reader-dialog .cherry-evaluation-dialog-title { gap: 10px; }
    .cherry-evaluation-reader-dialog .cherry-evaluation-findings-summary { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 16px; }
    .cherry-evaluation-reader-dialog .cherry-evaluation-findings-icon { display: none; }
    .cherry-evaluation-reader-dialog .cherry-evaluation-header-grid > div:first-child { padding-top: 0; }
}

.cherry-site-mobile-heading,
.cherry-site-mobile-tabs,
.cherry-site-mobile-overview,
.cherry-site-mobile-contact,
.cherry-site-mobile-gallery,
.cherry-site-mobile-document-filter { display: none; }
.cherry-site-mobile-detail-group { display: contents; }
.cherry-site-document-tools { display: flex; align-items: center; gap: 8px; margin: 14px 0; }
.cherry-site-document-search { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; padding: 0 12px; min-height: 44px; border: 1px solid #e5d6dc; border-radius: 7px; background: #fff; }
.cherry-site-document-search .mud-icon-root { flex-shrink: 0; color: #93102a; }
.cherry-site-document-search input { width: 100%; min-width: 0; padding: 10px 0; border: 0; background: transparent; color: #182b43; font: inherit; }
.cherry-site-document-search:focus-within { outline: 2px solid #93102a; outline-offset: 2px; }
.cherry-site-document-search input:focus { outline: 0; }
.cherry-uploaded-document-guidance { margin-top: 4px; }
.cherry-uploaded-document-guidance summary { min-height: 44px; padding: 12px 0; color: #637083; font-size: .8rem; cursor: pointer; }
.cherry-uploaded-document-guidance > p { margin: 0 0 10px; }
.cherry-uploaded-document-guidance a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; color: #93102a; }

/* The modal lives outside the site page, so its layout must be scoped directly. */
.cherry-intake-dialog.mud-dialog { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.cherry-intake-dialog .mud-dialog-title { flex-shrink: 0; padding: 18px 20px; border-bottom: 1px solid #edf0f3; }
.cherry-intake-dialog-header { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: start; gap: 12px; }
.cherry-intake-dialog-header > div > span { color: #93102a; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.cherry-intake-dialog-header h2 { margin: 5px 0; color: #182b43; font-size: 1.2rem; }
.cherry-intake-dialog-header p { margin: 0; color: #637083; font-size: .85rem; line-height: 1.5; }
.cherry-intake-dialog-header .cherry-terms-dialog-close { width: 44px; height: 44px; margin: 0; }
.cherry-intake-dialog .mud-dialog-content { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; padding: 0; }
.cherry-intake-dialog .cherry-intake-dialog-panel { display: block; padding: 16px 20px; }
.cherry-intake-dialog .cherry-site-intake-summary { margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.cherry-intake-dialog .cherry-site-intake-summary-header { justify-content: flex-start; margin-bottom: 12px; }

@media (max-width: 960px) {
    .cherry-intake-dialog.mud-dialog { width: calc(100vw - 24px); max-width: calc(100vw - 24px); margin: 12px; }
    .cherry-intake-dialog .mud-dialog-title { padding: 14px; }
    .cherry-intake-dialog .cherry-intake-dialog-panel { padding: 14px; }
    .cherry-intake-dialog .cherry-site-intake-summary dl { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .cherry-intake-dialog .cherry-site-intake-summary dl > div { display: block; min-width: 0; padding: 12px; }
    .cherry-intake-dialog .cherry-site-intake-summary dt { margin-bottom: 8px; line-height: 1.5; }
    .cherry-intake-dialog .cherry-site-intake-summary dd { margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
    .cherry-intake-dialog .cherry-site-intake-answer-list { display: grid; gap: 8px; }
    .cherry-intake-dialog .cherry-site-intake-answer-list > span { padding: 0; border: 0; border-radius: 0; background: transparent; font-weight: 400; }
    .cherry-intake-dialog .cherry-site-intake-edit-question { grid-template-columns: minmax(0, 1fr); min-width: 0; }
    .cherry-intake-dialog .cherry-site-intake-edit input,
    .cherry-intake-dialog .cherry-site-intake-edit select,
    .cherry-intake-dialog .cherry-site-intake-edit textarea { font-size: 16px; max-width: 100%; }
    .cherry-intake-dialog .mud-button-root { min-height: 44px; white-space: normal; }
    .cherry-landlord-site-workspace.cherry-site-detail-page { min-width: 0; width: 100%; padding: 0; }
    .cherry-site-mobile-heading { display: block; padding: 16px; border: 1px solid #eadce1; border-radius: 8px; background: #fff; }
    .cherry-site-mobile-heading > span { color: #93102a; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
    .cherry-site-mobile-heading h1 { margin: 6px 0; color: #182b43; font-size: 1.45rem; line-height: 1.25; overflow-wrap: anywhere; }
    .cherry-site-mobile-heading p { margin: 0 0 10px; color: #637083; font-size: .9rem; }
    .cherry-site-mobile-heading > strong { display: inline-block; padding: 5px 9px; border-radius: 6px; background: #f9eaf0; color: #93102a; font-size: .75rem; }
    .cherry-site-mobile-tabs { position: sticky; top: 70px; z-index: 15; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; padding: 6px 0; background: #fbf8f9; }
    .cherry-site-mobile-tabs button { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 46px; padding: 8px 4px; border: 1px solid #e5d6dc; background: #fff; color: #536176; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
    .cherry-site-mobile-tabs button:first-child { border-radius: 7px 0 0 7px; }
    .cherry-site-mobile-tabs button:last-child { border-radius: 0 7px 7px 0; }
    .cherry-site-mobile-tabs button[aria-current] { border-color: #93102a; background: #93102a; color: #fff; }
    .cherry-site-mobile-tabs button span { font-size: .7rem; opacity: .85; }
    .cherry-site-mobile-tabs button:focus-visible,
    .cherry-site-mobile-text-action:focus-visible { outline: 2px solid #93102a; outline-offset: 2px; }

    .cherry-landlord-site-workspace > .cherry-landlord-onboarding-overview { display: none; }
    .cherry-landlord-site-workspace .cherry-landlord-content-shell { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
    .cherry-landlord-site-workspace .cherry-landlord-content-main { display: contents; }
    .cherry-site-mobile-overview { display: block; order: 0; padding: 16px; border: 1px solid #eadce1; border-radius: 8px; background: #fff; }
    .cherry-site-mobile-overview.is-empty { display: none; }
    .cherry-site-mobile-overview h2 { margin: 5px 0 8px; font-size: 1.1rem; line-height: 1.4; color: #182b43; }
    .cherry-site-mobile-overview p { margin: 8px 0; font-size: .9rem; line-height: 1.6; color: #536176; overflow-wrap: anywhere; }
    .cherry-site-mobile-text-action { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border: 0; background: transparent; color: #93102a; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
    .cherry-landlord-site-workspace .cherry-landlord-task-sidebar { position: static; order: 1; min-width: 0; width: 100%; max-width: none; align-self: stretch; }
    .cherry-site-mobile-contact { display: flex; order: 3; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid #eadce1; border-radius: 8px; background: #fff; }
    .cherry-site-mobile-contact > div { display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
    .cherry-site-mobile-contact span { font-size: .7rem; color: #637083; }
    .cherry-site-mobile-contact strong { font-size: .85rem; color: #182b43; }
    .cherry-site-mobile-contact > .mud-button-root { flex-shrink: 0; min-height: 44px; }
    .cherry-site-mobile-information { order: 4; }
    .cherry-landlord-site-workspace[data-mobile-section="details"] .cherry-site-mobile-information { order: 0; }
    .is-listed-opportunity .cherry-site-mobile-information { order: 0; }
    .is-listed-opportunity .cherry-site-mobile-overview { order: 1; }
    .is-listed-opportunity .cherry-site-mobile-overview > p { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

    .cherry-site-mobile-progress { margin-top: 14px; padding-top: 10px; border-top: 1px solid #edf0f3; }
    .cherry-site-mobile-progress summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; color: #93102a; font-size: .82rem; cursor: pointer; }
    .cherry-site-mobile-progress summary strong { font-size: .75rem; }
    .cherry-site-mobile-progress ol { display: grid; gap: 16px; padding: 12px 0; margin: 0; list-style: none; }
    .cherry-site-mobile-progress li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
    .cherry-site-mobile-progress li > span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #d9dfe7; border-radius: 50%; color: #637083; font-weight: 700; }
    .cherry-site-mobile-progress li.is-current > span,
    .cherry-site-mobile-progress li.is-complete > span { background: #93102a; color: #fff; border-color: #93102a; }
    .cherry-site-mobile-progress li strong { font-size: .85rem; color: #182b43; }
    .cherry-site-mobile-progress li p { margin-top: 4px; font-size: .8rem; }

    /* CSS pane switching preserves existing forms, uploads and permission gates. */
    .cherry-landlord-site-workspace:not([data-mobile-section="overview"]) .cherry-site-mobile-overview,
    .cherry-landlord-site-workspace:not([data-mobile-section="overview"]) .cherry-site-mobile-contact,
    .cherry-landlord-site-workspace:not([data-mobile-section="overview"]) .cherry-landlord-task-sidebar,
    .cherry-landlord-site-workspace:not([data-mobile-section="overview"]) .cherry-site-mobile-hero,
    .cherry-landlord-site-workspace:not([data-mobile-section="overview"]) .cherry-not-progressing-banner,
    .cherry-landlord-site-workspace:not([data-mobile-section="documents"]) #site-documents,
    .cherry-landlord-site-workspace:not([data-mobile-section="details"]) .cherry-site-mobile-details-only { display: none; }
    .cherry-landlord-site-workspace:not([data-mobile-section="details"]) .cherry-site-mobile-information { display: none; }
    .cherry-landlord-site-workspace[data-mobile-section="details"] .cherry-site-mobile-photos { display: none; }
    .cherry-site-mobile-gallery { display: block; order: 0; }
    .cherry-site-mobile-gallery .cherry-site-featured-media { max-height: 240px; }
    .cherry-site-mobile-gallery .cherry-site-featured-image { max-height: 240px; width: 100%; object-fit: cover; }
    .cherry-site-mobile-hero .cherry-site-hero-content { display: none; }
    .cherry-site-mobile-hero:not(.has-acquisition-action) { display: none; }
    .cherry-landlord-site-workspace .cherry-site-mobile-hero { min-height: 0; padding: 14px; grid-template-columns: minmax(0, 1fr); }
    .cherry-site-mobile-hero .cherry-site-hero-sidecar { width: 100%; max-width: none; }
    .cherry-site-mobile-information .mud-grid { margin: 0; width: 100%; }
    .cherry-site-mobile-information .mud-grid-item { padding: 0; min-width: 0; }
    .cherry-site-mobile-information .cherry-site-featured-media { max-height: 240px; }
    .cherry-site-mobile-information .cherry-site-featured-image { max-height: 240px; width: 100%; object-fit: cover; }
    .cherry-site-mobile-information .cherry-site-mobile-manager { margin-top: 16px; }
    .cherry-site-detail-page .cherry-site-meta-strip { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .cherry-site-detail-page .cherry-site-meta-strip > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: baseline; gap: 12px; min-width: 0; padding: 8px 0; border-bottom: 1px solid #edf0f3; }
    .cherry-site-detail-page .cherry-site-meta-strip > div:last-child { border-bottom: 0; }
    .cherry-site-detail-page .cherry-site-meta-strip span { margin: 0; font-size: .85rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
    .cherry-site-detail-page .cherry-site-meta-strip strong { min-width: 0; font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; }
    .cherry-landlord-site-workspace .cherry-site-repeated-address { display: none; }
    .cherry-landlord-site-workspace .cherry-site-address-card:not(.has-publisher-actions) { display: none; }
    .cherry-landlord-site-workspace .cherry-site-address-card.has-publisher-actions { margin: 0; padding: 0 0 12px; }

    .cherry-site-mobile-document-filter { display: block; }
    .cherry-site-mobile-document-filter button { min-height: 44px; min-width: 44px; border: 1px solid #e5d6dc; border-radius: 7px; }
    .cherry-site-mobile-document-filter.is-active button { background: #93102a; color: #fff; }
    .cherry-landlord-site-workspace #site-documents .cherry-documents-toolbar { display: none; }

    /* Readability fixes also cover shared admin panels. */
    .cherry-site-detail-page .cherry-site-panel { min-width: 0; padding: 16px; }
    .cherry-site-detail-page .cherry-documents-header,
    .cherry-site-detail-page .cherry-site-intake-summary-header { flex-wrap: wrap; gap: 12px; }
    .cherry-site-detail-page .cherry-site-intake-summary dl { grid-template-columns: minmax(0, 1fr); }
    .cherry-site-detail-page .cherry-site-intake-summary dl > div { display: block; min-width: 0; }
    .cherry-site-detail-page .cherry-site-intake-summary dt { margin: 0 0 8px; }
    .cherry-site-detail-page .cherry-site-intake-summary dd { margin: 0; line-height: 1.6; overflow-wrap: anywhere; }
    .cherry-site-detail-page .cherry-site-intake-answer-list { display: grid; gap: 6px; }
    .cherry-site-detail-page .cherry-site-intake-answer-list > span { border: 0; border-radius: 0; padding: 0; background: transparent; font-weight: 400; }
    .cherry-site-detail-page .cherry-document-card,
    .cherry-site-detail-page .cherry-site-panel.cherry-compact-documents-panel .cherry-document-card {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        grid-template-areas: "icon body" "actions actions";
        grid-template-rows: auto auto;
        align-items: start;
        gap: 12px;
        padding: 14px;
        min-width: 0;
    }
    .cherry-site-detail-page .cherry-document-card-icon,
    .cherry-site-detail-page .cherry-site-panel.cherry-compact-documents-panel .cherry-document-card-icon { grid-area: icon; width: 36px; height: 36px; padding: 8px; }
    .cherry-site-detail-page .cherry-document-card-body { grid-area: body; min-width: 0; }
    .cherry-site-detail-page .cherry-document-card h4 { overflow-wrap: anywhere; }
    .cherry-site-detail-page .cherry-document-card-title-row { flex-wrap: wrap; }
    .cherry-site-detail-page .cherry-document-card-actions,
    .cherry-site-detail-page .cherry-site-panel.cherry-compact-documents-panel .cherry-document-card-actions {
        grid-area: actions;
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        align-self: stretch;
        gap: 8px;
        padding: 0;
        min-width: 0;
        width: 100%;
    }
    .cherry-site-detail-page .cherry-document-card-action-buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    .cherry-site-detail-page .cherry-document-card-action-buttons .mud-button-root,
    .cherry-site-detail-page .cherry-site-panel.cherry-compact-documents-panel .cherry-document-card-actions .mud-button-root {
        flex: 1 1 140px;
        min-width: 0;
        min-height: 44px;
        height: auto;
        width: auto;
        max-width: 100%;
        padding: 10px 12px;
        white-space: normal;
    }
    .cherry-site-detail-page .cherry-document-card.is-uploaded .cherry-document-card-title-row { display: flex; align-items: center; gap: 6px; }
    .cherry-site-detail-page .cherry-document-card.is-uploaded .cherry-document-card-title-row h4 { flex-basis: 100%; margin: 0 0 2px; }
    .cherry-site-detail-page .cherry-document-card.is-uploaded .cherry-document-card-actions { padding-top: 10px; border-top: 1px solid #edf0f3; }
    .cherry-site-detail-page .cherry-document-card.is-uploaded .cherry-document-card-action-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
    .cherry-site-detail-page .cherry-document-card.is-uploaded .cherry-document-card-action-buttons .mud-button-root { width: 100%; min-width: 0; min-height: 44px; padding-inline: 8px; }
    .cherry-site-detail-page .cherry-account-manager-card { padding: 14px; }
    .cherry-site-detail-page .cherry-account-manager-profile { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 12px; text-align: center; }
    .cherry-site-detail-page .cherry-account-manager-profile img,
    .cherry-site-detail-page .cherry-account-manager-initials { width: 48px; height: 48px; flex-shrink: 0; }
    .cherry-site-detail-page .cherry-account-manager-profile > div { min-width: 0; overflow-wrap: anywhere; }
    .cherry-site-detail-page .cherry-publisher-manager-actions { display: flex; flex-wrap: wrap; gap: 8px; }
    .cherry-site-detail-page .cherry-site-map-frame { height: 240px; }

    .cherry-site-detail-page .cherry-landlord-onboarding-overview .cherry-landlord-workflow-shell .cherry-landlord-lifecycle-track { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .cherry-site-detail-page .cherry-landlord-onboarding-overview .cherry-landlord-workflow-shell .cherry-landlord-lifecycle-track::before { display: none; }
    .cherry-site-detail-page .cherry-landlord-onboarding-overview .cherry-landlord-workflow-shell .cherry-landlord-lifecycle-track-step { grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto; justify-items: start; align-items: start; gap: 12px; text-align: left; }
    .cherry-site-detail-page .cherry-landlord-onboarding-overview .cherry-landlord-workflow-shell .cherry-landlord-lifecycle-track-marker { grid-column: 1; grid-row: 1; width: 36px; height: 36px; }
    .cherry-site-detail-page .cherry-landlord-onboarding-overview .cherry-landlord-workflow-shell .cherry-landlord-lifecycle-track-copy { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; justify-items: start; gap: 6px; }
    .cherry-site-detail-page .cherry-landlord-onboarding-overview .cherry-landlord-workflow-shell .cherry-landlord-lifecycle-track-step strong { display: block; min-height: 0; max-width: none; white-space: normal; }
    .cherry-site-detail-page .cherry-landlord-onboarding-overview .cherry-landlord-workflow-shell .cherry-landlord-lifecycle-track-step p { width: auto; max-width: none; margin: 0; }
}
.cherry-site-mobile-acquisition-card { display: none; }

@media (max-width: 960px) {
    .is-listed-opportunity[data-mobile-section="overview"] .cherry-site-mobile-acquisition-card { display: block; order: 2; padding: 16px; border: 1px solid #eadce1; border-radius: 8px; background: #fff; }
    .cherry-site-mobile-acquisition-card h2 { margin: 6px 0 8px; color: #182b43; font-family: inherit; font-size: 1.1rem; font-weight: 800; line-height: 1.35; }
    .cherry-site-mobile-acquisition-card > p { margin: 0; color: #637083; font-size: .85rem; line-height: 1.5; }
    .cherry-site-mobile-acquisition-card ol { display: grid; gap: 12px; margin: 16px 0; padding: 0; list-style: none; }
    .cherry-site-mobile-acquisition-card li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
    .cherry-site-mobile-acquisition-card li > span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #f9eaf0; color: #93102a; font-size: .75rem; font-weight: 800; }
    .cherry-site-mobile-acquisition-card li strong, .cherry-site-mobile-acquisition-card li small { display: block; }
    .cherry-site-mobile-acquisition-card li strong { color: #182b43; font-size: .82rem; }
    .cherry-site-mobile-acquisition-card li small { margin-top: 2px; color: #637083; font-size: .75rem; line-height: 1.4; }
    .is-listed-opportunity .cherry-site-mobile-acquisition-action { width: 100%; min-height: 44px; }
    .is-listed-opportunity .cherry-site-mobile-hero { display: none; }
}
.cherry-publisher-suitability-action { display: contents; }
@media (max-width: 960px) {
    .cherry-landlord-site-workspace .cherry-publisher-site-title-row { width: 100%; justify-content: space-between; }
    .cherry-landlord-site-workspace .cherry-publisher-site-title-row > .cherry-publisher-suitability-action { display: block; margin-left: auto; }
}
@media (max-width: 760px) {
    /* Compose a message as a full-screen mobile sheet across portal roles. */
    .cherry-message-dialog.cherry-compose-message-dialog.mud-dialog {
        position: fixed;
        inset: 0;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0;
    }
    .cherry-message-dialog.cherry-compose-message-dialog .mud-dialog-title {
        flex: 0 0 auto;
        border-radius: 0;
        padding: max(8px, env(safe-area-inset-top)) 12px 8px 16px;
    }
    .cherry-compose-message-dialog .cherry-message-dialog-header {
        grid-template-columns: 20px minmax(0, 1fr) 44px;
        gap: 10px;
        min-height: 44px;
    }
    .cherry-compose-message-dialog .cherry-message-dialog-header h2 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
    .cherry-compose-message-dialog .cherry-message-dialog-close.mud-icon-button { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
    .cherry-message-dialog.cherry-compose-message-dialog .mud-dialog-content {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        padding: 16px;
    }
    .cherry-compose-message-dialog .cherry-message-dialog-form { gap: 12px; }
    .cherry-compose-message-dialog .cherry-message-dialog-section { gap: 4px; margin: 0; }
    .cherry-compose-message-dialog .cherry-message-dialog-section h3 { font-size: .9rem; }
    .cherry-compose-message-dialog .cherry-message-dialog-section p { font-size: .78rem; line-height: 1.4; }
    .cherry-compose-message-dialog .mud-input-control { margin: 0; }
    .cherry-compose-message-dialog input,
    .cherry-compose-message-dialog textarea { font-size: 16px; }
    .cherry-compose-message-dialog .cherry-message-dialog-editor textarea.mud-input-slot { min-height: clamp(180px, 32dvh, 340px); }
    .cherry-compose-message-dialog .cherry-inbox-file-picker { min-height: 44px; justify-content: center; }
    .cherry-compose-message-dialog .cherry-inbox-file-picker input[type=file] { width: 100%; height: 100%; }
    .cherry-compose-message-dialog .cherry-inbox-file-list { max-height: none; }
    .cherry-compose-message-dialog .cherry-inbox-file-list > span { max-width: 100%; overflow-wrap: anywhere; }
    .cherry-compose-message-dialog .cherry-inbox-file-list button { min-width: 44px; min-height: 44px; }
    .cherry-message-dialog.cherry-compose-message-dialog .mud-dialog-actions {
        flex: 0 0 auto;
        gap: 10px;
        padding: 12px 16px max(12px, env(safe-area-inset-bottom));
        background: #fff;
    }
    .cherry-compose-message-dialog .mud-dialog-actions > .mud-button-root { min-height: 44px; }
    .cherry-compose-message-dialog .mud-dialog-actions .cherry-admin-action-button { flex: 1; min-width: 0; }
}
.cherry-site-feedback-header { display: flex; align-items: center; gap: 10px; }
.cherry-site-feedback-header h2 { margin: 0; font: inherit; font-weight: 700; }
.cherry-site-feedback-header .cherry-site-feedback-close { margin-left: auto; }
.cherry-site-feedback-help { margin: 0; color: #637083; font-size: .8rem; line-height: 1.5; }

@media (max-width: 760px) {
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog).mud-dialog {
        position: fixed;
        inset: 0;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        margin: 0;
        border-radius: 0;
        overflow: hidden;
    }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .mud-dialog-title {
        flex: 0 0 auto;
        padding: max(8px, env(safe-area-inset-top)) 12px 8px 16px;
        border-radius: 0;
        background: #93102a;
        color: #fff;
    }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .cherry-site-feedback-header { min-height: 44px; }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .cherry-site-feedback-header h2 { font-size: 1.05rem; }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .cherry-site-feedback-close { color: inherit; width: 44px; height: 44px; }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .mud-dialog-content { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px; }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .cherry-favorite-reasons { gap: 12px; }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .cherry-favorite-reasons > strong { font-size: 1rem; line-height: 1.4; }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .cherry-preference-chip-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .cherry-preference-chip { min-height: 44px; justify-content: flex-start; padding: 10px 12px; border-radius: 7px; text-align: left; }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .cherry-preference-chip span { min-width: 0; overflow-wrap: anywhere; }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .cherry-preference-chip:focus-visible { outline: 2px solid #93102a; outline-offset: 2px; }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .cherry-favorite-reasons > label { margin-top: 4px; font-size: .85rem; font-weight: 700; }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) textarea { min-height: 110px; font-size: 16px; }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .mud-dialog-actions { flex: 0 0 auto; flex-wrap: wrap; gap: 8px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid #edf0f3; background: #fff; }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .mud-dialog-actions .mud-button-root { min-height: 44px; }
    :is(.cherry-not-suitable-dialog, .cherry-favorite-feedback-dialog) .mud-dialog-actions .cherry-admin-action-button { flex: 1; min-width: 0; }
}
@media (min-width: 360px) and (max-width: 760px) {
    .cherry-favorite-feedback-dialog .cherry-preference-chip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
    .cherry-site-map-panel .cherry-site-map-header { flex-direction: column; align-items: stretch; }
    .cherry-site-map-panel .cherry-site-map-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
    .cherry-site-map-panel .cherry-site-map-action { width: 100%; min-height: 44px; justify-content: center; text-align: center; }
}
.cherry-evaluation-empty-note {
    margin: 10px 0 0;
    padding: 12px;
    border: 1px solid #e3e8ef;
    border-radius: 7px;
    background: #f8fafc;
    color: #637083;
    font-size: .85rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.cherry-site-mobile-unsuitable-notice { display: none; }
.cherry-site-desktop-unsuitable-notice { display: contents; }
.cherry-hidden-site-notice-copy { display: flex; align-items: flex-start; gap: 8px; }
.cherry-hidden-site-notice-copy > .mud-icon-root { flex-shrink: 0; }
.cherry-hidden-site-notice-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }

@media (max-width: 960px) {
    .cherry-site-mobile-heading .cherry-site-mobile-unsuitable-notice { display: block; margin-top: 12px; }
    .cherry-landlord-site-workspace .cherry-site-desktop-unsuitable-notice { display: none; }
    .cherry-site-mobile-unsuitable-notice .cherry-hidden-site-banner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin: 0; padding: 12px; text-align: left; }
    .cherry-site-mobile-unsuitable-notice .cherry-hidden-site-notice-copy { font-size: .8rem; line-height: 1.45; }
    .cherry-site-mobile-unsuitable-notice .cherry-hidden-site-notice-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
    .cherry-site-mobile-unsuitable-notice .cherry-hidden-site-notice-actions button { width: 100%; min-height: 44px; padding: 10px 8px; border: 1px solid #d6b783; border-radius: 6px; background: #fff; color: #754706; font: inherit; font-size: .78rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
    .cherry-site-mobile-unsuitable-notice .cherry-hidden-site-notice-actions button:disabled { opacity: .55; }
    .cherry-site-mobile-unsuitable-notice .cherry-hidden-site-notice-actions button:focus-visible { outline: 2px solid #93102a; outline-offset: 2px; }
}
.cherry-media-preview-dialog.mud-dialog {
    display: flex;
    flex-direction: column;
    height: min(900px, 92vh);
    height: min(900px, 92dvh);
    max-height: 92dvh;
    background: #111820;
    color: #fff;
    overflow: hidden;
}
.cherry-media-preview-dialog .mud-dialog-title { flex: 0 0 auto; padding: 12px 16px; }
.cherry-media-preview-heading { display: flex; align-items: center; gap: 12px; }
.cherry-media-preview-heading h2 { flex: 1; min-width: 0; margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.cherry-media-preview-heading .mud-icon-button { flex-shrink: 0; width: 44px; height: 44px; color: #fff; }
.cherry-media-preview-dialog .mud-dialog-content { display: flex; flex: 1 1 auto; min-height: 0; padding: 0 16px; overflow: hidden; }
.cherry-media-preview-dialog .cherry-media-preview-frame { flex: 1; width: 100%; height: 100%; min-height: 0; border-radius: 0; }
.cherry-media-preview-dialog .cherry-media-preview-frame img { width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.cherry-media-preview-dialog .mud-dialog-actions { flex: 0 0 auto; padding: 8px 16px; }
.cherry-media-preview-dialog .mud-dialog-actions .mud-button-root { min-height: 44px; color: #fff; }
@media (max-width: 760px) {
    .cherry-media-preview-dialog.mud-dialog { position: fixed; inset: 0; width: 100%; max-width: none; margin: 0; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; }
    .cherry-media-preview-dialog .mud-dialog-title { padding: max(8px, env(safe-area-inset-top)) 12px 8px; }
    .cherry-media-preview-dialog .mud-dialog-content { padding: 0; }
    .cherry-media-preview-dialog .mud-dialog-actions { padding: 8px 12px max(8px, env(safe-area-inset-bottom)); }
    .cherry-media-preview-dialog .mud-dialog-actions .mud-button-root { width: 100%; }
}
.cherry-media-preview-dialog .mud-dialog-actions { flex-direction: column; gap: 4px; }
.cherry-media-preview-navigation { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 16px; width: min(100%, 320px); margin-inline: auto; }
.cherry-media-preview-navigation .mud-icon-button { width: 48px; height: 48px; color: #fff; background: rgba(255, 255, 255, .1); }
.cherry-media-preview-navigation .mud-icon-button:hover { background: rgba(255, 255, 255, .2); }
.cherry-media-preview-navigation .mud-icon-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cherry-media-preview-navigation span { color: #fff; font-size: .85rem; text-align: center; }
@media (max-width: 760px) {
    .cherry-site-detail-page .cherry-document-card,
    .cherry-site-detail-page .cherry-site-panel.cherry-compact-documents-panel .cherry-document-card {
        position: relative;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "body" "actions";
    }
    .cherry-site-detail-page .cherry-document-card .cherry-document-card-icon,
    .cherry-site-detail-page .cherry-site-panel.cherry-compact-documents-panel .cherry-document-card-icon {
        position: absolute;
        top: 14px;
        left: 14px;
    }
    .cherry-site-detail-page .cherry-document-card .cherry-document-card-title-row {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px;
    }
    .cherry-site-detail-page .cherry-document-card .cherry-document-card-body h4 {
        display: flex;
        align-items: center;
        flex-basis: 100%;
        min-height: 36px;
        margin: 0;
        padding-left: 48px;
    }
    .cherry-site-detail-page .cherry-document-card .cherry-document-card-action-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }
    .cherry-site-detail-page .cherry-document-card .cherry-document-card-action-buttons > .cherry-admin-status-button,
    .cherry-site-detail-page .cherry-document-card .cherry-document-card-action-buttons > .mud-button-root:only-child { grid-column: 1 / -1; }
    .cherry-site-detail-page .cherry-document-card .cherry-document-card-action-buttons .mud-button-root { width: 100%; padding-inline: 8px; font-size: .75rem; }
    .cherry-site-detail-page .cherry-document-card .cherry-document-card-action-buttons .mud-button-label { gap: 6px; white-space: nowrap; }
    .cherry-site-detail-page .cherry-document-card .cherry-document-card-action-buttons .mud-button-icon-start { margin: 0; }
}
