.mobile-page { width: min(100%, var(--mobile-page-max-width)); box-sizing: border-box; margin-inline: auto; padding: 16px var(--mobile-page-gutter) var(--mobile-page-bottom-space); }
body.app-page .mobile-global-preloader { position: fixed; inset: 0; z-index: calc(var(--z-preloader, 2000) + 1); display: flex; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; padding: 24px; color: #111; background: rgba(255, 255, 255, .97); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility .3s ease; }
body.app-page .mobile-global-preloader:not(.is-active) { display: none; }
body.app-page .mobile-global-preloader.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
body.app-page .mobile-global-preloader__logo { width: min(140px, 42vw); height: min(140px, 42vw); margin: 0 auto 16px; overflow: hidden; border-radius: 28px; background: #000; box-shadow: 0 14px 34px rgb(98 132 101 / 36%); animation: mobile-submit-preloader-pulse 1.8s infinite ease-in-out; }
body.app-page .mobile-global-preloader__logo img { width: 100%; height: 100%; display: block; filter: invert(1); }
body.app-page .mobile-global-preloader__text { text-align: center; animation: mobile-submit-preloader-text .45s ease both; }
body.app-page .mobile-global-preloader__brand { color: #111; font-size: 20px; font-weight: 800; letter-spacing: 1px; line-height: 1.2; }
body.app-page .mobile-global-preloader__agency { display: inline-block; margin-top: 8px; color: #000; font-size: 13px; font-weight: 600; letter-spacing: 1px; line-height: 1.35; text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) {
    body.app-page .mobile-global-preloader__logo,
    body.app-page .mobile-global-preloader__text { animation: none; }
}
body.app-page .toast { top: auto; bottom: calc(78px + env(safe-area-inset-bottom)); height: auto; max-height: calc(100vh - 117px); overflow: auto; }
body.app-page .toast:not(.toast-fade-out) { opacity: 1; transform: translateY(0); }
.mobile-page--flush { padding: 0 0 var(--mobile-page-bottom-space); }
.mobile-page__hero { margin: -16px calc(-1 * var(--mobile-page-gutter)) 16px; padding: 21px 17px 19px; color: #fff; background: linear-gradient(145deg, var(--brand-800), var(--brand-700)); border-radius: 0 0 24px 24px; }
.mobile-page__hero--compact { padding-bottom: 17px; }
.mobile-page__back { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px; color: #cfe4d6; font-size: calc(14px + 1px); font-weight: 800; }
.mobile-page__eyebrow { display: inline-flex; align-items: center; gap: 6px; color: #bfe0cb; font-size: calc(12px + 1px);  font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.mobile-page__title { margin: 8px 0 5px; color: #18251e; font-size: calc(22px + 1px); line-height: 1.12; letter-spacing: -.04em; }
.mobile-page__hero .mobile-page__title { color: #fff; }
.mobile-page__subtitle { margin: 0; color: #738177; font-size: calc(14px + 1px); line-height: 1.5; }
.mobile-page__hero .mobile-page__subtitle { color: #d6e8dc; }
.mobile-page__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 10px 13px; }
.mobile-page__toolbar strong { color: #27372e; font-size: calc(13px + 1px); }
.mobile-page__toolbar span { color: #8a978f; font-size: calc(14px + 1px); }
.mobile-page__section { margin-top: 16px; }
.mobile-surface { padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.mobile-surface + .mobile-surface { margin-top: 10px; }
.mobile-surface__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mobile-surface__head h2, .mobile-surface__head h3 { margin: 0; color: #213128; font-size: calc(15px + 1px); letter-spacing: -.02em; }
.mobile-surface__head p { margin: 4px 0 0; color: #829087; font-size: calc(14px + 1px); line-height: 1.4; }
.mobile-icon-box { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: var(--brand-700); background: var(--brand-50); }
.mobile-icon-box--warm { color: #a86d13; background: #fff1d8; }
.mobile-icon-box--pink { color: #b35a6f; background: #fdebf0; }
.mobile-icon-box--blue { color: #5279ad; background: #e9f1ff; }
.mobile-outline-button, .mobile-small-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--control-height-sm); padding: 7px 10px; border: 1px solid var(--brand-200); border-radius: var(--radius-md); color: var(--brand-700); background: var(--surface); cursor: pointer; font-weight: 800; }
.mobile-small-button { min-height: var(--control-height-xs); border-color: var(--line); color: #66766c; }
.mobile-primary-button { width: 100%; min-height: var(--control-height); display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: var(--radius-md); color: #fff; background: var(--brand-700); cursor: pointer; font-weight: 850; }
.mobile-primary-button--inline { width: auto; padding: 0 14px; }
.mobile-primary-button:hover, .mobile-outline-button:hover, .mobile-small-button:hover { filter: brightness(.97); }
.mobile-filter-row { display: flex; gap: 6px; overflow-x: auto; margin: 0 -1px 12px; padding-bottom: 2px; scrollbar-width: none; }
.mobile-filter-row::-webkit-scrollbar { display: none; }
.mobile-filter-chip { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; color: #68786e; background: #fff; font-size: calc(12px + 1px);  font-weight: 800; }
.mobile-filter-chip.is-active { border-color: var(--brand-600); color: #fff; background: var(--brand-600); }
.mobile-search-field { height: 43px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border: 1px solid #e0e9e2; border-radius: 12px; color: var(--brand-600); background: var(--brand-50); }
.mobile-search-field input { min-width: 0; flex: 1; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: calc(14px + 1px); }
.mobile-search-field input::placeholder { color: #8b9990; }
.mobile-list { display: grid; gap: 15px; }
.mobile-empty { padding: 28px 17px; text-align: center; color: #829087; font-size: calc(14px + 1px); line-height: 1.5; }
.mobile-empty i { display: block; margin-bottom: 10px; color: #b6c5ba; font-size: calc(26px + 1px); }
.mobile-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.mobile-stat { padding: 11px 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.mobile-stat strong { display: block; color: var(--brand-800); font-size: calc(17px + 1px); letter-spacing: -.04em; }
.mobile-stat span { display: block; margin-top: 3px; color: #859289; font-size: calc(12px + 1px);  line-height: 1.2; }
.mobile-status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; color: #5a7d65; background: #eaf5ec; font-size: calc(12px + 1px);  font-weight: 850; }
.mobile-status--warm { color: #99701e; background: #fff4d9; }
.mobile-status--muted { color: #758078; background: #eef2ef; }
.mobile-row { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #edf1ee; }
.mobile-row:last-child { border-bottom: 0; padding-bottom: 0; }
.mobile-row:first-child { padding-top: 0; }
.mobile-row__body { min-width: 0; flex: 1; }
.mobile-row__body strong { display: block; overflow: hidden; color: #27372e; font-size: calc(14px + 1px); text-overflow: ellipsis; white-space: nowrap; }
.mobile-row__body span { display: block; margin-top: 4px; overflow: hidden; color: #849188; font-size: calc(12px + 1px);  text-overflow: ellipsis; white-space: nowrap; }
.mobile-row__arrow { color: #a0aca4; font-size: calc(14px + 1px); }
.mobile-form { display: grid; gap: 12px; }
.mobile-field { display: grid; gap: 6px; }
.mobile-field label { color: #526158; font-size: calc(14px + 1px); font-weight: 800; }
.mobile-field input, .mobile-field select, .mobile-field textarea { width: 100%; min-height: var(--control-height-sm); box-sizing: border-box; padding: 9px 10px; border: 1px solid var(--control-border); border-radius: var(--radius-md); outline: none; color: var(--control-text); background: var(--control-background); font: inherit; font-size: calc(14px + 1px); }
.mobile-field textarea { min-height: 88px; resize: vertical; }
.mobile-field input:focus, .mobile-field select:focus, .mobile-field textarea:focus { border-color: var(--control-focus-border); box-shadow: var(--control-focus-shadow); }
.mobile-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.mobile-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid #edf1ee; color: #425248; font-size: calc(14px + 1px); font-weight: 750; }
.mobile-toggle-row:last-child { border-bottom: 0; }
.mobile-toggle { width: 38px; height: 22px; padding: 2px; border: 0; border-radius: 999px; background: #cbd6ce; cursor: pointer; }
.mobile-toggle::after { content: ''; width: 17px; height: 17px; display: block; border-radius: 50%; background: #fff; transition: transform .18s ease; }
.mobile-toggle.is-active { background: var(--brand-600); }
.mobile-toggle.is-active::after { transform: translateX(16px); }
.mobile-auth { min-height: calc(100vh - 58px); display: flex; align-items: center; padding: 16px var(--mobile-page-gutter) var(--mobile-page-bottom-space); background: linear-gradient(180deg, #eff7f1 0%, #f7faf8 45%); }
.mobile-auth__card { width: min(100%, var(--mobile-page-max-width)); box-sizing: border-box; margin-inline: auto; padding: 20px 16px 17px; border: 1px solid var(--card-border); border-radius: var(--radius-xl); background: var(--card-background); box-shadow: var(--card-shadow); }
.mobile-auth__brand { display: grid; place-items: center; margin-bottom: 17px; text-align: center; }
.mobile-auth__brand-mark { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 15px; color: #fff; background: var(--brand-800); font-size: calc(25px + 1px); font-weight: 900; }
.mobile-auth__brand strong { color: var(--brand-800); font-size: calc(15px + 1px); letter-spacing: .09em; }
.mobile-auth__brand span { margin-top: 4px; color: #91a098; font-size: calc(12px + 1px);  }
.mobile-auth__links { display: flex; justify-content: space-between; gap: 8px; margin-top: 13px; font-size: calc(14px + 1px); font-weight: 750; }
.mobile-auth__links a { color: var(--brand-700); }
.mobile-auth__links--bottom { align-items: center; padding-top: 13px; border-top: 1px solid #edf1ed; color: #829087; }
.mobile-auth__card--dynamic #authShell { min-width: 0; }
.mobile-auth__card .auth-form-heading { margin: 0 0 17px; }
.mobile-auth__card .auth-kicker { display: block; margin-bottom: 6px; color: #b07f28; font-size: calc(11px + 1px); font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.mobile-auth__card .auth-form-heading h2 { margin: 0; color: #26352a; font-size: calc(23px + 1px); line-height: 1.15; letter-spacing: -.03em; }
.mobile-auth__card .auth-form-heading p { margin: 7px 0 0; color: #7c887d; font-size: calc(14px + 1px); line-height: 1.45; }
.mobile-auth__card .auth-dynamic-form { display: grid; gap: 12px; }
.mobile-auth__card .auth-dynamic-form .form-group { display: grid; gap: 6px; margin: 0; }
.mobile-auth__card .auth-dynamic-form label { display: block; color: #526158; font-size: calc(14px + 1px); font-weight: 800; }
.mobile-auth__card .auth-dynamic-form input { width: 100%; min-height: var(--control-height); box-sizing: border-box; padding: 9px 10px; border: 1px solid var(--control-border); border-radius: var(--radius-md); outline: none; color: var(--control-text); background: var(--control-background); font: inherit; font-size: calc(14px + 1px); }
.mobile-auth__card .auth-dynamic-form input:focus { border-color: var(--control-focus-border); box-shadow: var(--control-focus-shadow); }
.mobile-auth__card .auth-form-row, .mobile-auth__card .mobile-form-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.mobile-auth__card .password-wrapper { position: relative; }
.mobile-auth__card .password-wrapper input { padding-right: 42px; }
.mobile-auth__card .password-toggle { position: absolute; top: 50%; right: 4px; width: 34px; height: 34px; display: grid; place-items: center; transform: translateY(-50%); border: 0; border-radius: 8px; color: #829087; background: transparent; cursor: pointer; }
.mobile-auth__card .auth-submit { width: 100%; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin: 2px 0 0; border: 0; border-radius: 11px; color: #fff; background: var(--brand-700); cursor: pointer; font: inherit; font-size: calc(14px + 1px); font-weight: 850; }
.mobile-auth__card .auth-inline-link { margin-top: 0; text-align: right; }
.mobile-auth__card .auth-inline-link button, .mobile-auth__card .auth-recovery-switch { padding: 0; border: 0; color: var(--brand-700); background: transparent; cursor: pointer; font: inherit; font-size: calc(13px + 1px); font-weight: 800; }
.mobile-auth__card .auth-legal-consent { display: grid !important; gap: 12px !important; margin-right: 0 !important; margin-left: 0 !important; min-width: 0; color: #7d8b82; font-size: calc(var(--type-caption) + 1px); line-height: 1.4; }
.mobile-auth__card .auth-legal-consent label { display: flex; align-items: flex-start; gap: 8px; min-width: 0; font-size: inherit; font-weight: 500; white-space: normal; }
.mobile-auth__card .auth-legal-consent input { width: 16px; min-width: 16px; min-height: 16px; height: 16px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--brand-600); }
.mobile-auth__card .auth-legal-consent a { color: var(--brand-700); white-space: normal; }
.mobile-auth__card .auth-code-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 0; }
.mobile-auth__card .auth-code-input { min-height: 45px !important; padding: 5px !important; text-align: center; font-size: calc(20px + 1px) !important; font-weight: 800; }
.mobile-auth__card .auth-instruction-card, .mobile-auth__card .auth-success-card { padding: 16px; border: 1px solid #dfe9df; border-radius: 14px; color: #536256; background: #f7fbf8; }
.mobile-auth__card .auth-instruction-card h2, .mobile-auth__card .auth-success-card h2 { margin: 7px 0; color: #26352a; font-size: calc(17px + 1px); }
.mobile-auth__card .auth-instruction-card p, .mobile-auth__card .auth-success-card p { margin: 0; font-size: calc(14px + 1px); line-height: 1.45; }
.mobile-auth__card .auth-resend-row { display: grid; gap: 6px; margin-top: 10px; color: #829087; font-size: calc(var(--type-caption) + 1px); }
.mobile-auth__card .auth-resend-message { margin-bottom: 12px !important; }
.mobile-auth__card .auth-resend-btn { width: 100%; min-height: var(--control-height); display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; padding: 8px 12px; border: 1px solid #d7e4d9; border-radius: var(--radius-md); color: var(--brand-700); background: #fff; cursor: pointer; font: inherit; font-size: calc(var(--type-caption) + 1px); font-weight: 800; line-height: 1.25; text-align: center; white-space: normal; }
.mobile-auth__card .auth-resend-btn:disabled { opacity: .55; cursor: not-allowed; }
.mobile-auth__card .auth-loading { min-height: 180px; }
.mobile-detail__gallery { height: 246px; margin: -16px -13px 0; position: relative; overflow: hidden; background: #dfe9e1; }
.mobile-detail__gallery img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mobile-detail__gallery::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), transparent 35%, rgba(0,0,0,.3)); pointer-events: none; }
.mobile-detail__back { position: absolute; top: 13px; left: 13px; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 11px; color: #fff; background: rgba(13, 31, 21, .54); cursor: pointer; font: inherit; }
.mobile-detail__gallery-label { position: absolute; right: 13px; bottom: 13px; z-index: 2; padding: 6px 8px; border-radius: 8px; color: #fff; background: rgba(13, 31, 21, .58); font-size: calc(12px + 1px);  font-weight: 800; }
.mobile-detail__body { padding: 16px 0 94px; }
.mobile-detail__body h1 { margin: 0 0 8px; color: #1d2c23; font-size: calc(22px + 1px); line-height: 1.12; letter-spacing: -.04em; }
.mobile-detail__location { display: flex; align-items: center; gap: 6px; color: #7c8a81; font-size: calc(14px + 1px); }
.mobile-detail__price { margin: 13px 0; color: var(--brand-800); font-size: calc(24px + 1px); font-weight: 900; letter-spacing: -.05em; }
.mobile-detail__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 15px; }
.mobile-detail__spec { padding: 10px 7px; border: 1px solid var(--line); border-radius: 11px; text-align: center; color: #66766c; background: #fff; font-size: calc(12px + 1px);  font-weight: 750; }
.mobile-detail__spec i { display: block; margin-bottom: 5px; color: var(--brand-600); font-size: calc(14px + 1px); }
.mobile-detail__description { margin: 0; color: #66766c; font-size: calc(14px + 1px); line-height: 1.55; }
.mobile-agent { display: flex; align-items: center; gap: 10px; }
.mobile-agent__avatar { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border-radius: 14px; color: var(--brand-800); background: var(--warm); font-weight: 900; }
.mobile-agent__avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mobile-agent__body { min-width: 0; flex: 1; }
.mobile-agent__body strong { display: block; color: #27372e; font-size: calc(15px + 1px); }
.mobile-agent__body span { display: block; margin-top: 1px; color: #849188; font-size: calc(14px + 1px);  }
.mobile-search-card .listing-card__price { left: 10px; bottom: 10px; padding: 6px 9px; border-radius: 9px; color: #fff; background: rgba(20, 24, 22, .82); font-size: calc(16px + 1px); line-height: 1.1; text-shadow: none; }
.mobile-listing-card__agent { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; row-gap: 8px; min-width: 0; padding: 11px 12px 13px; border-top: 1px solid var(--line); background: #fff; }
.mobile-listing-card__agent .mobile-agent { grid-column: 1; min-width: 0; }
body.app-page .mobile-listing-card__agent .mobile-small-button { grid-column: 1; width: 100%; min-width: 0; max-width: none; flex: 0 1 auto; justify-self: stretch; align-items: center; justify-content: center; gap: 5px; padding: 9px 10px; overflow: hidden; border-color: #2f3230; color: var(--brand-50); background: #3d403e; font-size: calc(15px + 1px); white-space: nowrap; }
.mobile-listing-card__agent .mobile-small-button i { flex: 0 0 auto; }
.mobile-listing-card__agent .mobile-small-button span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-listing-card__agent .search-card-phone--revealed { color: #fff; border-color: var(--brand-700); background: var(--brand-700); box-shadow: 0 6px 14px rgba(80, 113, 84, .24); cursor: pointer; }

body.app-page .cookie-consent-banner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; position: fixed; right: 12px; bottom: calc(78px + env(safe-area-inset-bottom)); left: 12px; z-index: 1200; width: min(520px, calc(100% - 24px)); box-sizing: border-box; margin: 0 auto; padding: 13px; border: 1px solid #ead0d6; border-radius: 16px; color: #3b2930; background: rgba(255, 255, 255, .98); box-shadow: 0 12px 32px rgba(57, 11, 22, .18); }
body.app-page .cookie-consent-banner { pointer-events: none; }
body.app-page .cookie-consent-banner a, body.app-page .cookie-consent-banner .cookie-consent-actions { pointer-events: auto; }
body.app-page .cookie-consent-banner[hidden] { display: none !important; }
body.app-page .cookie-consent-banner p { min-width: 0; margin: 0; font-size: calc(var(--type-body-sm) + 1px); line-height: 1.45; }
body.app-page .cookie-consent-banner a { color: var(--brand-700); font-weight: 800; text-decoration: underline; }
body.app-page .cookie-consent-actions { display: grid; grid-template-columns: 1fr; gap: 6px; min-width: 104px; }
body.app-page .cookie-consent-actions button { min-height: var(--control-height); padding: 7px 10px; border: 1px solid var(--brand-700); border-radius: var(--radius-md); cursor: pointer; font: inherit; font-size: calc(var(--type-caption) + 1px); font-weight: 800; }
body.app-page .cookie-consent-reject { color: var(--brand-700); background: #fff; }
body.app-page .cookie-consent-accept { color: #fff; background: var(--brand-700); }

@media (max-width: 420px) {
    body.app-page .cookie-consent-banner { grid-template-columns: 1fr; gap: 9px; bottom: calc(76px + env(safe-area-inset-bottom)); }
    body.app-page .cookie-consent-actions { grid-template-columns: 1fr 1fr; }
}
.mobile-detail__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 13px max(10px, env(safe-area-inset-bottom)); position: fixed; right: max(0px, calc((100vw - 480px) / 2)); bottom: 0; left: max(0px, calc((100vw - 480px) / 2)); z-index: 16; border-top: 1px solid #e2ebe4; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.mobile-detail__actions .mobile-primary-button, .mobile-detail__actions .mobile-outline-button { min-height: 40px; }
.mobile-steps { display: flex; gap: 5px; margin-bottom: 15px; }
.mobile-step { height: 5px; flex: 1; border-radius: 99px; background: #dfe8e1; }
.mobile-step.is-active { background: var(--brand-600); }
.mobile-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-choice { min-height: 75px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 10px; border: 1px solid var(--line); border-radius: 13px; color: #34463a; background: #fff; cursor: pointer; text-align: left; font-size: calc(14px + 1px); font-weight: 800; }
.mobile-choice i { color: var(--brand-600); font-size: calc(16px + 1px); }
.mobile-choice.is-selected { border-color: var(--brand-600); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-600); }
.mobile-profile-head { display: flex; align-items: center; gap: 12px; padding: 5px 0 16px; }
.mobile-profile-avatar { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 17px; color: var(--brand-800); background: var(--warm); font-size: calc(22px + 1px); font-weight: 900; }
.mobile-profile-head h1 { margin: 0; color: #1e2d24; font-size: calc(20px + 1px); letter-spacing: -.04em; }
.mobile-profile-head p { margin: 5px 0 0; color: #829087; font-size: calc(14px + 1px); }
.mobile-progress { height: 8px; overflow: hidden; border-radius: 99px; background: #e7eee8; }
.mobile-progress span { width: 72%; height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--brand-600), #89b695); }
.mobile-progress-copy { display: flex; justify-content: space-between; margin-top: 7px; color: #829087; font-size: calc(12px + 1px);  }
.mobile-table-card { display: grid; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.mobile-table-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.mobile-table-card__top strong { color: #293a30; font-size: calc(14px + 1px); }
.mobile-table-card__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; color: #7d8b82; font-size: calc(12px + 1px);  }
.mobile-table-card__meta b { display: block; margin-top: 3px; color: #35483b; font-size: calc(14px + 1px); }
.mobile-card-actions { display: flex; gap: 7px; }
.mobile-card-actions > * { flex: 1; }
.app-page--auth .bottom-nav { display: none; }
.app-page--auth .app-content { height: calc(100vh - 58px); padding-bottom: 0; }
.app-page--auth .mobile-drawer-overlay, .app-page--auth .mobile-drawer { display: none; }
.mobile-chart { height: 120px; display: flex; align-items: end; gap: 7px; padding: 10px 4px 0; border-bottom: 1px solid #e5ede7; background: repeating-linear-gradient(to top, transparent 0, transparent 29px, #edf2ee 30px); }
.mobile-chart span { min-height: 8px; flex: 1; border-radius: 7px 7px 0 0; background: linear-gradient(180deg, #74a984, var(--brand-700)); }
.mobile-chart-labels { display: flex; justify-content: space-between; padding: 7px 3px 0; color: #9aa69f; font-size: calc(11px + 1px); }
.mobile-map-placeholder { height: 420px; position: relative; overflow: hidden; background: #dce9df; }
.mobile-map-placeholder__grid { position: absolute; inset: 0; opacity: .75; background: linear-gradient(115deg, transparent 0 15%, rgba(255,255,255,.9) 15.5% 17%, transparent 17.5% 40%, rgba(255,255,255,.86) 40.5% 42%, transparent 42.5%), linear-gradient(25deg, transparent 0 29%, rgba(255,255,255,.8) 29.5% 31%, transparent 31.5% 63%, rgba(255,255,255,.8) 63.5% 65%, transparent 65.5%), repeating-linear-gradient(90deg, rgba(96,138,107,.13) 0 1px, transparent 1px 56px), repeating-linear-gradient(0deg, rgba(96,138,107,.13) 0 1px, transparent 1px 56px); }
.mobile-map-pin { width: 34px; height: 34px; display: grid; place-items: center; position: absolute; z-index: 2; border: 4px solid rgba(255,255,255,.8); border-radius: 50% 50% 50% 0; color: #fff; background: var(--brand-700); box-shadow: 0 5px 12px rgba(27,67,50,.25); transform: rotate(-45deg); }
.mobile-map-pin i { transform: rotate(45deg); font-size: calc(14px + 1px); }
.mobile-map-pin--one { top: 23%; left: 24%; }.mobile-map-pin--two { top: 45%; left: 64%; background: #bd7b1f; }.mobile-map-pin--three { top: 67%; left: 39%; background: #b35a6f; }
.mobile-map-card { display: grid; gap: 5px; position: absolute; right: 13px; bottom: 14px; left: 13px; z-index: 3; padding: 12px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; background: rgba(255,255,255,.94); box-shadow: 0 8px 20px rgba(18,43,29,.14); }
.mobile-map-card strong { color: #27372e; font-size: calc(13px + 1px); }.mobile-map-card span { color: #829087; font-size: calc(12px + 1px);  }.mobile-map-card .mobile-small-button { justify-self: start; }
.mobile-wallet-balance { display: grid; gap: 8px; color: #d6e8dc; background: linear-gradient(145deg, var(--brand-800), var(--brand-700)); }
.mobile-wallet-balance span { font-size: calc(14px + 1px); }.mobile-wallet-balance strong { color: #fff; font-size: calc(30px + 1px); letter-spacing: -.06em; }.mobile-wallet-balance .mobile-primary-button { color: var(--brand-800); background: var(--warm); }
.mobile-money { color: #4d8b61; font-size: calc(14px + 1px); white-space: nowrap; }.mobile-money--minus { color: #bd5364; }
.mobile-legal h2 { margin: 0 0 7px; color: #25362b; font-size: calc(15px + 1px); }.mobile-legal h2:not(:first-child) { margin-top: 17px; }.mobile-legal p { margin: 0; color: #6e7e73; font-size: calc(14px + 1px); line-height: 1.6; }

/* Главная повторяет реальные блоки мобильной версии: hero, категории, горячие предложения и отзывы. */
.mobile-home-page { padding-bottom: var(--mobile-page-bottom-space); }
.mobile-home-hero { padding: 22px 17px 16px; color: #fff; background: linear-gradient(145deg, var(--brand-800), var(--brand-700)); border-radius: 0 0 24px 24px; }
.mobile-home-hero__eyebrow { display: flex; align-items: center; gap: 6px; color: #bfe0cb; font-size: calc(12px + 1px);  font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.mobile-home-hero h1 { max-width: 340px; margin: 9px 0 7px; color: #fff; font-size: calc(25px + 1px); line-height: 1.08; letter-spacing: -.05em; }
.mobile-home-hero p { margin: 0; color: #d6e8dc; font-size: calc(14px + 1px); line-height: 1.48; }
.mobile-home-hero__search { min-height: 44px; display: flex; align-items: center; gap: 9px; margin-top: 15px; padding: 0 11px; border-radius: 12px; color: #26392c; background: #fff; box-shadow: 0 8px 17px rgba(12, 41, 23, .16); font-size: calc(14px + 1px); font-weight: 850; }
.mobile-home-hero__search > span:nth-child(2) { flex: 1; }
.mobile-home-hero__search > i { color: var(--brand-700); }
.mobile-home-hero__search-icon { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--brand-700); }
.mobile-home-quick { display: grid; gap: 12px; padding: 16px var(--mobile-page-gutter) 10px; }
.mobile-home-deal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mobile-home-deal { min-height: 42px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--brand-600); border-radius: 11px; color: var(--brand-700); background: #fff; font-size: calc(14px + 1px); font-weight: 850; }
.mobile-home-deal > i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; color: var(--brand-700); background: var(--brand-50); font-size: calc(15px + 1px); }
.mobile-home-deal--active { color: #fff; background: var(--brand-700); }
.mobile-home-deal--active > i { color: var(--brand-700); background: rgba(255, 255, 255, .92); }
.mobile-home-deal--sell { color: #fff; border-color: var(--commerce-strong); background: var(--commerce-strong); box-shadow: 0 5px 14px rgb(112 53 47 / 22%); }
.mobile-home-deal--sell > i { color: var(--commerce-strong); background: #fff; }
.mobile-home-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-bottom: 2px; }
.mobile-home-category { min-height: 116px; position: relative; isolation: isolate; display: flex; align-items: stretch; justify-content: space-between; overflow: hidden; padding: 12px; border: 1px solid var(--line); border-radius: 17px; color: #26372c; background: #fff; box-shadow: 0 7px 20px rgba(28, 58, 38, .06); text-align: left; font-size: calc(14px + 1px); font-weight: 850; }
.mobile-home-category::after { position: absolute; z-index: -1; right: -31px; bottom: -26px; width: 125px; height: 120px; border-radius: 50%; background: rgba(133, 181, 143, .12); content: ''; }
.mobile-home-category__label { align-self: flex-start; max-width: calc(100% - 12px); line-height: 1.25; }
.mobile-home-category__icon { position: absolute; z-index: 2; left: 12px; bottom: 13px; width: 45px; height: 45px; display: grid; place-items: center; border-radius: 14px; color: var(--brand-600); background: var(--brand-50); box-shadow: 0 8px 17px rgba(80, 113, 84, .14); font-size: calc(22px + 1px); pointer-events: none; }
.mobile-home-category img { position: absolute; right: -2px; bottom: -13px; width: 92px; height: 92px; object-fit: contain; opacity: .63; pointer-events: none; }
.mobile-home-category .calc { position: absolute; right: -29px; bottom: -24px; width: 136px; height: 136px; object-fit: contain; opacity: .63; pointer-events: none; }
.mobile-home-category--calculator { border-color: var(--commerce-soft); background: linear-gradient(145deg, #fff 0%, var(--commerce-pale) 100%); }
.mobile-home-category--calculator::after { background: var(--commerce-soft); }
.mobile-home-category--calculator .mobile-home-category__icon { color: var(--commerce-strong); background: var(--commerce-soft); }
.mobile-mortgage-calculator-page .calc-mini { display: grid; gap: 24px; position: relative; overflow: hidden; margin: 0 0 20px; padding: 24px; border: 1px solid #cce8df; border-radius: 24px; background: linear-gradient(135deg, #fff 0%, #f6fbfa 100%); box-shadow: 0 16px 50px rgb(34 107 79 / 10%); }
.mobile-mortgage-calculator-page .calc-mini::before,
.mobile-mortgage-calculator-page .calc-mini::after { position: absolute; border-radius: 50%; pointer-events: none; content: ''; }
.mobile-mortgage-calculator-page .calc-mini::before { top: -60px; right: -60px; width: 220px; height: 220px; background: radial-gradient(circle, rgb(80 154 124 / 10%) 0%, transparent 70%); }
.mobile-mortgage-calculator-page .calc-mini::after { bottom: -80px; left: -80px; width: 280px; height: 280px; background: radial-gradient(circle, rgb(242 201 93 / 10%) 0%, transparent 70%); }
.mobile-mortgage-calculator-page .calc-left { min-width: 0; position: relative; z-index: 1; }
.mobile-mortgage-calculator-page .calc-head { margin-bottom: 24px; }
.mobile-mortgage-calculator-page .calc-head h1 { display: flex; align-items: center; gap: 12px; margin: 0 0 6px; color: #0c3a2e; font-size: calc(26px + 1px); font-weight: 800; line-height: 1.2; }
.mobile-mortgage-calculator-page .calc-head-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--primary) 0%, #2f5f4b 100%); box-shadow: 0 6px 14px rgb(61 139 107 / 30%); }
.mobile-mortgage-calculator-page .calc-subtitle { margin: 0; padding-left: 54px; color: #5e7a72; font-size: calc(15px + 1px); line-height: 1.55; }
.mobile-mortgage-calculator-page .calc-fields-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.mobile-mortgage-calculator-page .calc-field { min-width: 0; padding: 16px 17px; border: 1px solid #d4ebe4; border-radius: 16px; background: #fff; }
.mobile-mortgage-calculator-page .calc-field label { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: #1f4a3d; font-size: calc(15px + 1px); font-weight: 700; }
.mobile-mortgage-calculator-page .calc-field label i { color: var(--primary); font-size: calc(15px + 1px); }
.mobile-mortgage-calculator-page .calc-hint { min-height: 0; margin: 0 0 10px; color: #759384; font-size: calc(13px + 1px); line-height: 1.45; }
.mobile-mortgage-calculator-page .calc-input-wrap { display: flex; align-items: center; overflow: hidden; border: 1px solid #c5ded4; border-radius: 12px; background: #f9fcfb; }
.mobile-mortgage-calculator-page .calc-input-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgb(61 139 107 / 12%); }
.mobile-mortgage-calculator-page .calc-input-wrap input { min-width: 0; flex: 1; padding: 11px 12px; border: 0; color: #0c3a2e; background: transparent; outline: none; font: inherit; font-size: calc(15px + 1px); font-weight: 700; }
.mobile-mortgage-calculator-page .calc-input-unit { align-self: stretch; display: inline-flex; align-items: center; padding: 0 12px; border-left: 1px solid #d4ebe4; color: var(--primary); background: #eaf5f1; font-size: calc(14px + 1px); font-weight: 700; }
.mobile-mortgage-calculator-page .calc-value { display: block; margin-top: 8px; color: var(--primary); font-size: calc(13px + 1px); font-weight: 600; }
.mobile-mortgage-calculator-page .calc-right { min-width: 0; position: relative; z-index: 1; padding: 22px 17px; border: 1px solid #cbe7de; border-radius: 20px; color: inherit; background: linear-gradient(160deg, #fff 0%, #f1f8f5 100%); box-shadow: inset 0 0 30px rgb(61 139 107 / 4%); text-align: center; }
.mobile-mortgage-calculator-page .calc-result-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 5px 12px; border: 1px solid #cbe7de; border-radius: 20px; color: var(--primary); background: #fff; font-size: calc(13px + 1px); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.mobile-mortgage-calculator-page .calc-result-label { margin-bottom: 6px; color: #5e7a72; font-size: calc(15px + 1px); font-weight: 600; }
.mobile-mortgage-calculator-page .calc-amount { margin: 12px 0 17px; color: #1f4a3d; font-size: calc(36px + 1px); font-weight: 900; line-height: 1; letter-spacing: -.04em; text-shadow: 0 2px 0 rgb(255 255 255 / 80%); }
.mobile-mortgage-calculator-page .calc-result-rows { margin: 0 0 16px; padding: 8px 14px; border: 1px dashed #c5ded4; border-radius: 14px; background: #fff; }
.mobile-mortgage-calculator-page .calc-result-rows .sum { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid #eef5f3; color: #5e7a72; font-size: calc(14px + 1px); }
.mobile-mortgage-calculator-page .calc-result-rows .sum:last-child { border-bottom: 0; }
.mobile-mortgage-calculator-page .calc-result-rows .sum span { color: #1f4a3d; font-weight: 800; text-align: right; }
.mobile-mortgage-calculator-page .calc-right .sum-text { margin: 0 0 16px; color: #8ba89e; font-size: calc(12px + 1px); line-height: 1.4; }
.mobile-mortgage-calculator-page .calc-right .btn-primary { width: 100%; min-height: 46px; border: 1px solid var(--brand-700); border-radius: 12px; padding: 13px 20px; color: #fff; background: var(--brand-700); font: inherit; font-weight: 700; box-shadow: 0 8px 17px rgb(61 139 107 / 28%); }
.mobile-mortgage-calculator-page .modal-overlay { display: none; align-items: flex-end; justify-content: center; position: fixed; inset: 0; z-index: 120; padding: 10px; background: rgb(11 27 18 / 54%); }
.mobile-mortgage-calculator-page .modal-overlay.active { display: flex; }
.mobile-mortgage-calculator-page .calc-modal { width: min(100%, 480px); max-height: calc(100dvh - 20px); box-sizing: border-box; overflow: auto; position: relative; padding: 24px 20px; border: 1px solid #cce8df; border-radius: 24px; background: linear-gradient(135deg, #fff 0%, #f6fbfa 100%); box-shadow: 0 16px 50px rgb(34 107 79 / 18%); }
.mobile-mortgage-calculator-page .modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; color: #5e7a72; background: #eaf5f1; font: inherit; font-size: calc(24px + 1px); line-height: 1; cursor: pointer; }
.mobile-mortgage-calculator-page .calc-modal-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; padding-right: 39px; }
.mobile-mortgage-calculator-page .calc-modal-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--primary) 0%, #2f5f4b 100%); box-shadow: 0 6px 16px rgb(61 139 107 / 30%); font-size: calc(22px + 1px); }
.mobile-mortgage-calculator-page .calc-modal-head h2 { margin: 0 0 6px; color: #0c3a2e; font-size: calc(22px + 1px); font-weight: 800; line-height: 1.25; }
.mobile-mortgage-calculator-page .calc-modal-subtitle { margin: 0; color: #5e7a72; font-size: calc(15px + 1px); line-height: 1.5; }
.mobile-mortgage-calculator-page .calc-form { display: grid; gap: 17px; }
.mobile-mortgage-calculator-page .calc-form-row { display: grid; grid-template-columns: 1fr; gap: 17px; }
.mobile-mortgage-calculator-page .calc-form-field { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.mobile-mortgage-calculator-page .calc-form-field label { display: flex; align-items: center; gap: 8px; margin: 0; color: #1f4a3d; font-size: calc(14px + 1px); font-weight: 700; }
.mobile-mortgage-calculator-page .calc-form-field label i { width: auto; margin: 0; color: var(--primary); font-size: calc(14px + 1px); text-align: initial; }
.mobile-mortgage-calculator-page .calc-form-control { width: 100%; min-height: 44px; box-sizing: border-box; padding: 11px 12px; border: 1px solid #c5ded4; border-radius: 12px; color: #0c3a2e; background: #f9fcfb; font: inherit; font-size: calc(15px + 1px); }
.mobile-mortgage-calculator-page .calc-form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgb(61 139 107 / 12%); background: #fff; outline: none; }
.mobile-mortgage-calculator-page textarea.calc-form-control { min-height: 86px; resize: vertical; }
.mobile-mortgage-calculator-page .calc-form .btn { min-height: 46px; border: 1px solid var(--primary); border-radius: 12px; color: #fff; background: var(--primary); font-size: calc(15px + 1px); font-weight: 700; box-shadow: 0 8px 17px rgb(61 139 107 / 28%); }
.mobile-mortgage-calculator-page .calc-form-success { display: grid; gap: 6px; padding: 13px; border-radius: 12px; color: var(--brand-800); background: var(--brand-50); text-align: center; }
.mobile-mortgage-calculator-page .calc-success-icon { color: var(--brand-700); font-size: calc(28px + 1px); }
.mobile-mortgage-calculator-page .calc-success-title { font-weight: 850; }
.mobile-mortgage-calculator-page .calc-success-text,
.mobile-mortgage-calculator-page .calc-form-message { color: #718077; font-size: calc(13px + 1px); line-height: 1.4; }
.mobile-home-hot-section { padding: 17px var(--mobile-page-gutter) 0; }
.mobile-home-hot-section + .mobile-home-hot-section { padding-top: 24px; }
.mobile-home-hot-heading { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 9px; }
.mobile-home-hot-heading h2 { margin: 0; color: #213128; font-size: calc(17px + 1px); letter-spacing: -.045em; }
.mobile-home-hot-heading h2 > i { margin-right: 4px; color: var(--commerce-accent); font-size: calc(15px + 1px); }
.mobile-home-hot-heading a { flex: 0 0 auto; color: var(--brand-700); font-size: calc(12px + 1px);  font-weight: 850; }
.mobile-home-category-nav { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 10px; padding-bottom: 3px; scrollbar-width: none; }
.mobile-home-category-nav::-webkit-scrollbar { display: none; }
.mobile-home-category-nav a { flex: 0 0 auto; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #7d8b82; background: #fff; font-size: calc(11px + 1px); font-weight: 800; white-space: nowrap; }
.mobile-home-category-nav a.is-active { border-color: var(--brand-600); color: #fff; background: var(--brand-600); }
.mobile-home-hot-list { display: flex; gap: 10px; overflow-x: auto; padding: 0 1px 8px; scroll-snap-type: x mandatory; scroll-padding-inline: 1px; scrollbar-width: none; overscroll-behavior-x: contain; }
.mobile-home-hot-list::-webkit-scrollbar { display: none; }
.mobile-home-hot-list > .listing-card { min-width: calc(100% - 28px); flex: 0 0 calc(100% - 28px); scroll-snap-align: start; }
.mobile-card-gallery { height: 174px; position: relative; overflow: hidden; background: #dfe9e1; }
.mobile-card-gallery__track, .mobile-detail__gallery-track { height: 100%; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.mobile-card-gallery__track::-webkit-scrollbar, .mobile-detail__gallery-track::-webkit-scrollbar { display: none; }
.mobile-card-gallery__slide, .mobile-detail__gallery-slide { height: 100%; flex: 0 0 100%; scroll-snap-align: start; }
.mobile-card-gallery__slide img, .mobile-detail__gallery-slide img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mobile-card-gallery__counter { position: absolute; right: 10px; bottom: 10px; z-index: 2; padding: 5px 7px; border-radius: 7px; color: #fff; background: rgba(13, 31, 21, .6); font-size: calc(12px + 1px);  font-weight: 800; pointer-events: none; }
.mobile-card-gallery__dots { display: flex; gap: 4px; position: absolute; right: 50%; bottom: 8px; z-index: 2; transform: translateX(50%); pointer-events: none; }
.mobile-card-gallery__dots span { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.62); }
.mobile-card-gallery__dots span.is-active { width: 12px; border-radius: 99px; background: #fff; }
.listing-card__body { display: block; }
.mobile-detail__gallery-track { position: relative; }
.mobile-detail__gallery-slide { display: block; }
.mobile-detail__gallery .mobile-card-gallery__dots { bottom: 13px; }
.mobile-detail__gallery .mobile-card-gallery__counter { bottom: 13px; }
.mobile-reviews-section { padding: 20px var(--mobile-page-gutter) 10px; }
.mobile-review-track { display: flex; gap: 10px; overflow-x: auto; padding: 0 1px 8px; scroll-snap-type: x mandatory; scroll-padding-inline: 1px; scrollbar-width: none; overscroll-behavior-x: contain; }
.mobile-review-track::-webkit-scrollbar { display: none; }
.mobile-review-card { min-width: calc(100% - 28px); flex: 0 0 calc(100% - 28px); padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 6px 16px rgba(18, 43, 29, .05); scroll-snap-align: start; }
.mobile-review-card__head { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 10px; }
.mobile-review-card__avatar { width: 60px; height: 60px; display: grid; place-items: center; flex: 0 0 60px; border-radius: 14px; color: var(--brand-700); background: var(--brand-50); font-size: calc(17px + 1px); }
.mobile-review-card__avatar img { width: 100%; height: 100%; display: block; object-fit: cover; border-radius: inherit; }
.mobile-review-card__identity { min-width: 0; display: grid; gap: 3px; }
.mobile-review-card__identity strong { color: #27372e; font-size: calc(13px + 1px); }
.mobile-review-card__identity > span { color: #8a978f; font-size: calc(12px + 1px);  }
.mobile-review-card__identity .mobile-review-stars { display: flex; gap: 3px; margin: 2px 0 0; color: #f1ad0d; font-size: calc(14px + 1px); }
.mobile-review-card p { display: -webkit-box; max-height: 40px; overflow: hidden; margin: 0; color: #65756b; font-size: calc(14px + 1px); line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mobile-review-card.is-expanded p { display: block; max-height: none; -webkit-line-clamp: unset; }
.mobile-review-card__more { margin-top: 8px; padding: 0; border: 0; color: var(--brand-700); background: transparent; cursor: pointer; font-size: calc(12px + 1px);  font-weight: 850; }
.mobile-review-list { display: grid; gap: 10px; }
.mobile-review-list .mobile-review-card { min-width: 0; }
.mobile-review-card__status { margin-left: auto; color: #718077; font-size: calc(11px + 1px); white-space: nowrap; }
.mobile-review-card__listing { display: block; margin-bottom: 7px; color: var(--brand-700); font-size: calc(13px + 1px); font-weight: 800; line-height: 1.35; }
.mobile-home-about { margin: 4px var(--mobile-page-gutter) 0; padding: 15px; border: 1px solid #dce9df; border-radius: 16px; background: linear-gradient(145deg, #fff 0%, #f1f7f2 100%); box-shadow: 0 6px 17px rgba(18, 43, 29, .05); }
.mobile-home-about__title { display: flex; align-items: center; gap: 8px; color: var(--brand-700); }
.mobile-home-about__title > i { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #fff; background: var(--brand-700); font-size: calc(14px + 1px); }
.mobile-home-about__title h2 { margin: 0; color: #27372e; font-size: calc(15px + 1px); line-height: 1.25; }
.mobile-home-about p { margin: 9px 0 0; color: #68786e; font-size: calc(13px + 1px); line-height: 1.55; }
.mobile-footer { display: grid; justify-items: center; gap: 9px; margin: 12px var(--mobile-page-gutter) 0; padding: 12px var(--mobile-page-gutter) calc(17px + env(safe-area-inset-bottom)); border: 0; color: rgba(255, 255, 255, .72); background: linear-gradient(145deg, #1f2f23 0%, #2f4a35 100%); font-size: calc(11px + 1px); line-height: 1.4; text-align: center; }
.mobile-footer__brand { display: inline-flex; align-items: center; justify-content: center; gap: 7px; width: max-content; color: #fff; font-size: calc(13px + 1px); text-decoration: none; }
.mobile-footer__brand i { color: #d7e9d9; font-size: calc(14px + 1px); }
.mobile-footer__meta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }
.mobile-footer__links { display: inline-flex; justify-content: center; gap: 9px; }
.mobile-footer__links a { color: #cfe4d2; text-decoration: none; }
.mobile-footer__links a:hover,
.mobile-footer__links a:focus-visible { color: #fff; }
body.app-page--home .app-content { padding-bottom: 0; }
body.app-page--home .mobile-home-page { padding-bottom: 0; }
.mobile-agent-page { display: grid; gap: 11px; padding-bottom: var(--mobile-page-bottom-space); }
.mobile-agent-header { display: flex; align-items: center; gap: 12px; padding: 5px 0 3px; }
.mobile-agent-avatar { width: 70px; height: 70px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border-radius: 22px; color: var(--brand-800); background: var(--warm); font-size: calc(26px + 1px); }.mobile-agent-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mobile-agent-header__body { min-width: 0; }.mobile-agent-header h1 { margin: 0; color: #1f2e25; font-size: calc(18px + 1px); line-height: 1.15; }.mobile-agent-header p { margin: 4px 0; color: #829087; font-size: calc(13px + 1px); line-height: 1.35; }
.mobile-agent-rating { display: flex; align-items: center; gap: 6px; color: var(--commerce-accent); font-size: calc(13px + 1px); }.mobile-agent-rating strong { color: #47584d; }.mobile-agent-rating small { color: #829087; font-size: calc(11px + 1px); }
.mobile-agent-messengers { width: 100%; box-sizing: border-box; }
.mobile-agent-messengers__list { display: grid; gap: 8px; }.mobile-agent-messengers__list > * { width: 100%; min-height: 48px; box-sizing: border-box; }
.mobile-agent-messengers__list .mobile-outline-button, .mobile-agent-messengers__list .mobile-form-note { width: 100%; min-height: 48px; justify-content: center; box-sizing: border-box; }
.mobile-agent-facts { display: grid; gap: 8px; }.mobile-agent-facts__item { display: flex; align-items: center; gap: 9px; color: #526158; font-size: calc(13px + 1px); }.mobile-agent-facts__item > i { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: var(--brand-700); background: var(--brand-50); }.mobile-agent-facts__item span { display: grid; gap: 2px; }.mobile-agent-facts__item strong { color: #829087; font-size: calc(11px + 1px); text-transform: uppercase; }
.mobile-agent-section { display: grid; gap: 8px;margin: 15px 15px; }.mobile-agent-section .mobile-surface__head { margin: 0; }.mobile-agent-section .mobile-surface__head h2, .mobile-agent-review-form h2, .mobile-agent-about h2 { margin: 0; color: #293a30; font-size: calc(15px + 1px); }.mobile-agent-review-form, .mobile-agent-about { display: grid; gap: 10px; }.mobile-agent-about p { margin: 0; color: #65756b; font-size: calc(14px + 1px); line-height: 1.55; }
.mobile-agent-section-heading { align-items: center; margin-bottom: 2px !important; padding: 0 2px 10px; border-bottom: 1px solid var(--line); }
.mobile-agent-section-heading h2 { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: #27372e !important; font-size: calc(17px + 1px) !important; font-weight: 900; letter-spacing: -.025em; }
.mobile-agent-section-heading h2 i { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #fff; background: var(--brand-600); font-size: calc(14px + 1px); }
.mobile-agent-section-count { min-width: 32px; padding: 4px 9px; border: 1px solid var(--brand-200); border-radius: 999px; color: var(--brand-700); background: var(--brand-50); font-size: calc(14px + 1px); font-weight: 900; line-height: 1.2; text-align: center; }
.mobile-agent-listings { gap: 11px;margin: 0px 15px; }
.mobile-agent-listing-groups { display: grid; gap: 18px; }
.mobile-agent-listing-category { min-width: 0; padding: 13px 12px 2px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-agent-listing-category + .mobile-agent-listing-category { padding-top: 13px; }
.mobile-agent-category-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.mobile-agent-category-head h3 { display: inline-flex; align-items: center; gap: 7px; min-width: 0; margin: 0; color: #405148; font-size: calc(15px + 1px); font-weight: 900; }
.mobile-agent-category-head h3 i { color: var(--brand-600); font-size: calc(14px + 1px); }
.mobile-agent-category-head > span { min-width: 24px; padding: 3px 7px; border-radius: 999px; color: var(--brand-700); background: var(--brand-50); font-size: calc(12px + 1px); font-weight: 850; text-align: center; }
.mobile-agent-listing-carousel { display: flex; gap: 10px; overflow-x: auto; margin: 0; padding: 1px 0 9px; scroll-snap-type: x mandatory; scroll-padding-inline: 0; overscroll-behavior-x: contain; scrollbar-width: none; }
.mobile-agent-listing-carousel::-webkit-scrollbar { display: none; }
.mobile-agent-listing-card { min-width: 0; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.mobile-agent-listing-card .mobile-card-gallery { height: 174px; }
.mobile-agent-listing-card .listing-card__body { min-height: 92px; }
.mobile-agent-listing-card .listing-card__specs { flex-wrap: wrap; gap: 6px; }
.mobile-agent-rating-select { display: flex; gap: 5px; }.mobile-agent-rating-select label { color: var(--commerce-accent); cursor: pointer; font-size: calc(20px + 1px); }.mobile-agent-rating-select input { position: absolute; opacity: 0; pointer-events: none; }.mobile-agent-rating-select label:has(input:checked) ~ label { color: #d6dfd8; }
.mobile-agent-similar { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }.mobile-agent-similar::-webkit-scrollbar { display: none; }.mobile-agent-mini { width: 88px; flex: 0 0 88px; display: grid; gap: 5px; color: #526158; text-align: center; font-size: calc(12px + 1px); }.mobile-agent-mini > span { width: 54px; height: 54px; display: grid; place-items: center; justify-self: center; overflow: hidden; border-radius: 17px; color: #fff; background: var(--brand-600); }.mobile-agent-mini img { width: 100%; height: 100%; object-fit: cover; }.mobile-agent-mini strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Поиск повторяет реальные элементы каталога мобильной версии. */
.mobile-search-filter { display: grid; gap: 11px; margin-bottom: 13px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-search-filter__head, .mobile-search-results__controls { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.mobile-search-filter__head strong { color: #293a30; font-size: calc(13px + 1px); }
.mobile-search-filter__clear { color: #849188; font-size: calc(12px + 1px);  font-weight: 800; }
.mobile-search-filter__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mobile-search-filter__tabs a { min-height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: #7b897f; background: #fff; font-size: calc(14px + 1px); font-weight: 850; }
.mobile-search-filter__tabs a.is-active { border-color: var(--brand-600); color: #fff; background: var(--brand-600); box-shadow: 0 5px 12px rgba(82, 143, 105, .18); }
.mobile-search-filter__checks { display: flex; gap: 6px; overflow-x: auto; margin: 0 -1px; padding-bottom: 2px; scrollbar-width: none; }
.mobile-search-filter__checks::-webkit-scrollbar { display: none; }
.mobile-search-filter__checks label { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; flex: 0 0 auto; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: #526158; background: #fff; font-size: calc(11px + 1px); font-weight: 750; white-space: nowrap; }
.mobile-search-filter__checks input { width: 16px; height: 16px; margin: 0; accent-color: var(--brand-600); }
.mobile-search-filter__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-search-filter__fields .mobile-field { gap: 5px; }
.mobile-search-filter__fields .mobile-field > span, .mobile-search-filter__rooms > span { color: #526158; font-size: calc(12px + 1px);  font-weight: 800; }
.mobile-search-filter__fields select { min-height: 40px; padding: 8px 9px; font-size: calc(14px + 1px); }
.mobile-search-filter__rooms { display: grid; gap: 7px; }
.mobile-search-filter__rooms > div { display: flex; gap: 6px; }
.mobile-room-choice { width: 45px; height: 43px; border: 1px solid var(--line); border-radius: 9px; color: #64746a; background: #fff; cursor: pointer; font-size: calc(14px + 1px); font-weight: 850; }
.mobile-room-choice.is-active { border-color: var(--brand-600); color: #fff; background: var(--brand-600); }
.mobile-search-filter__advanced { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; color: var(--brand-700); background: var(--brand-50); cursor: pointer; font-size: calc(12px + 1px);  font-weight: 850; }
.mobile-search-results__controls { margin-bottom: 11px; }
.mobile-search-results__count { color: #7b897f; font-size: calc(11px + 1px); font-weight: 750; }
.mobile-search-results__count strong { margin: 0 3px; color: var(--brand-800); font-size: calc(11px + 1px); font-weight: 900; }
.mobile-search-sort { position: relative; }
.mobile-search-sort summary { min-height: 32px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 9px; color: #68786e; background: #fff; cursor: pointer; list-style: none; font-size: calc(12px + 1px);  font-weight: 800; }
.mobile-search-sort summary::-webkit-details-marker { display: none; }
.mobile-search-sort > div { min-width: 150px; display: grid; gap: 4px; position: absolute; top: 38px; right: 0; z-index: 5; padding: 7px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: 0 9px 20px rgba(18, 43, 29, .13); }
.mobile-search-sort > div a { padding: 7px 8px; border-radius: 7px; color: #68786e; font-size: calc(12px + 1px);  }
.mobile-search-sort > div a.is-active, .mobile-search-sort > div a:hover { color: var(--brand-700); background: var(--brand-50); }
.mobile-search-results__actions { display: flex; justify-content: flex-end; gap: 6px; }
.mobile-search-results__actions > span { align-self: center; color: var(--brand-700); font-size: calc(12px + 1px); font-weight: 800; }
.mobile-search-toolbar { align-items: center; }
.mobile-search-toolbar .mobile-search-results__actions { min-width: 0; align-items: center; }
.mobile-search-toolbar .mobile-search-filter-open { width: auto; min-width: 0; min-height: 38px; margin: 0; padding: 7px 9px; border-radius: 10px; box-shadow: 0 4px 12px rgba(18, 43, 29, .06); }
.mobile-search-toolbar .mobile-search-filter-open > span { gap: 5px; font-size: calc(11px + 1px); }
.mobile-search-toolbar .mobile-search-filter-open > i { font-size: calc(11px + 1px); }
.mobile-search-results[data-mobile-search-feed] .mobile-list {
    height: calc(100vh - 207px);
    height: max(330px, min(650px, calc(100dvh - 207px)));
    min-height: 330px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    padding: 1px 1px 0;
    overscroll-behavior-y: contain;
    scroll-snap-type: y mandatory;
    scroll-behavior: auto;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.mobile-search-results[data-mobile-search-feed] .mobile-list::-webkit-scrollbar { display: none; }
.mobile-search-results[data-mobile-search-feed] .mobile-search-card {
    width: 100%;
    min-height: 100%;
    flex: 0 0 100%;
    box-sizing: border-box;
    overflow-y: auto;
    touch-action: pan-y;
    overscroll-behavior-y: contain;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.mobile-search-results[data-mobile-search-feed] .mobile-search-card .mobile-card-gallery { height: var(--mobile-feed-gallery-height, 174px); }
.mobile-modal-overlay { display: none; align-items: flex-end; justify-content: center; position: fixed; inset: 0; z-index: 80; padding: 13px; background: rgba(11, 27, 18, .46); }
.mobile-modal-overlay.modal-overlay--open { display: flex; }
.mobile-modal-card { width: min(100%, 430px); position: relative; padding: 17px 15px 15px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 16px 38px rgba(18, 43, 29, .2); }
.mobile-modal-card h2 { margin: 11px 0 6px; color: #213128; font-size: calc(17px + 1px); }
.mobile-modal-card p { margin: 0 0 13px; color: #78867d; font-size: calc(14px + 1px); line-height: 1.45; }
.mobile-modal-card .mobile-icon-box { margin-bottom: 2px; }
.mobile-modal-close { width: 34px; height: 34px; display: grid; place-items: center; position: absolute; top: 10px; right: 10px; border: 0; border-radius: 10px; color: #738177; background: #f2f6f3; cursor: pointer; font-size: calc(15px + 1px); }
.mobile-modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.mobile-modal-actions .mobile-primary-button { width: auto; min-width: 120px; }
.mobile-modal-card--error p { min-height: 20px; color: #a45664; }
.mobile-detail__lightbox.ld-lightbox { display: none; }
.mobile-detail__lightbox.ld-lightbox.ld-lightbox--open { display: flex; }
.mobile-video-modal { display: none; align-items: center; justify-content: center; position: fixed; inset: 0; z-index: 70; padding: 13px; background: rgba(8, 19, 13, .94); }
.mobile-video-modal.ld-video-modal--open { display: flex; }
.mobile-video-modal__inner { width: min(100%, 520px); position: relative; }
.mobile-video-modal__player { width: 100%; max-height: 78vh; display: block; border-radius: 12px; background: #07110b; }
.mobile-complaint-reasons { display: grid; gap: 7px; }
.mobile-complaint-reasons label { display: flex; align-items: flex-start; gap: 8px; padding: 9px 10px; border: 1px solid #dfe9e1; border-radius: 10px; color: #526158; background: #fbfdfb; font-size: calc(14px + 1px); line-height: 1.3; }
.mobile-complaint-reasons input { width: 17px; height: 17px; flex: 0 0 auto; margin: 0; accent-color: var(--brand-600); }
.mobile-form-note--success { color: #39724a; background: #eaf5ec; }
.mobile-account-page { min-height: calc(100vh - 130px); }
.mobile-listing-feed { display: grid; gap: 12px; }
.mobile-account-page #guestFavGrid .listing-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-account-page #guestFavGrid .listing-card-img { height: 174px; position: relative; overflow: hidden; background: #dfe9e1; }
.mobile-account-page #guestFavGrid .listing-card-img img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mobile-account-page #guestFavGrid .listing-card-body { padding: 11px 12px 13px; }
.mobile-account-page #guestFavGrid .listing-price { color: var(--brand-800); font-size: calc(17px + 1px); font-weight: 900; }
.mobile-account-page #guestFavGrid .listing-title { margin-top: 5px; font-size: calc(15px + 1px); font-weight: 800; }
.mobile-account-page #guestFavGrid .listing-title a { color: #27372e; }
.mobile-account-page #guestFavGrid .listing-meta { margin-top: 6px; color: #829087; font-size: calc(13px + 1px); }
.mobile-account-page #guestFavGrid .listing-meta span { display: block; }
.mobile-account-page #guestFavGrid .deal-badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.mobile-account-header { margin: -2px 0 14px; padding: 16px 14px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, #fff, #f3f8f4); box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-account-header--actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mobile-account-header h1 { margin: 0; color: #213128; font-size: calc(var(--type-page-title) + 1px); line-height: var(--type-line-heading); letter-spacing: -.045em; }
.mobile-account-header h1 i { margin-right: 4px; color: var(--brand-600); font-size: calc(17px + 1px); }
.mobile-account-header p { margin: 6px 0 0; color: #829087; font-size: calc(14px + 1px); line-height: 1.45; }
.mobile-account-header--actions .mobile-account-header__count { flex: 0 0 auto; margin: 0; color: #53645a; font-size: calc(var(--type-body-sm) + 1px); white-space: nowrap; }
.mobile-account-page .mobile-favorites-search-button i { font-size: calc(.86em + 1px); }
.mobile-profile-page .dashboard-layout { display: block; min-height: 0; }
.mobile-profile-page .account-sidebar { display: none; }
.mobile-profile-page .dashboard-content { width: auto; max-width: none; margin: 0; padding: 0; }
.mobile-profile-page .profile-page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.mobile-profile-page .profile-page-eyebrow { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-700); font-size: calc(11px + 1px); font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.mobile-profile-page .profile-page-id { flex: 0 0 auto; padding: 7px 8px; border-radius: 9px; color: #718077; background: #f1f6f2; font-size: calc(14px + 1px); }
.mobile-profile-page .profile-card-grid { display: grid; gap: 10px; }
.mobile-profile-page .profile-card { min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-profile-page .profile-card__head { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 12px; }
.mobile-profile-page .profile-card__icon { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: var(--brand-700); background: var(--brand-50); }
.mobile-profile-page .profile-card__head h2 { margin: 0; color: #293a30; font-size: calc(15px + 1px); }
.mobile-profile-page .profile-card__head p { margin: 4px 0 0; color: #829087; font-size: calc(13px + 1px); line-height: 1.35; }
.mobile-profile-page .profile-card__form { display: grid; gap: 11px; }
.mobile-profile-page .profile-form-grid, .mobile-profile-page .profile-contact-columns { display: grid; gap: 11px; }
.mobile-profile-page .profile-form-grid__full { grid-column: auto; }
.mobile-profile-page .form-group { display: grid; gap: 6px; margin: 0; }
.mobile-profile-page .form-group label { color: #526158; font-weight: 800; }
.mobile-profile-page .form-group input, .mobile-profile-page .form-group textarea, .mobile-profile-page .profile-card__form input[type="email"], .mobile-profile-page .profile-card__form input[type="text"], .mobile-profile-page .profile-card__form select { width: 100%; min-height: 41px; box-sizing: border-box; padding: 9px 10px; border: 1px solid #dfe8e1; border-radius: 10px; outline: none; color: #27372e; background: #fff; font: inherit; }
.mobile-profile-page .form-group textarea { min-height: 90px; resize: vertical; }
.mobile-profile-page .profile-card__form input:focus, .mobile-profile-page .profile-card__form textarea:focus, .mobile-profile-page .profile-card__form select:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(82, 143, 105, .12); }
.mobile-profile-page .profile-card__actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 1px; }
.mobile-profile-page .profile-card__actions .btn { min-height: 44px; flex: 1 1 150px; }
.mobile-profile-page .btn { min-width: 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; box-sizing: border-box; padding: 10px 14px; border: 1px solid transparent; border-radius: 11px; color: #27372e; background: #fff; font: inherit; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.mobile-profile-page .btn:active { transform: translateY(1px); }
.mobile-profile-page .btn:focus-visible, .mobile-profile-page .password-toggle:focus-visible { outline: 3px solid rgba(80, 113, 84, .22); outline-offset: 2px; }
.mobile-profile-page .btn-primary { border-color: var(--brand-700); color: #fff; background: var(--brand-700); box-shadow: 0 6px 14px rgba(80, 113, 84, .18); }
.mobile-profile-page .btn-primary:hover { border-color: var(--brand-800); background: var(--brand-800); box-shadow: 0 8px 17px rgba(80, 113, 84, .24); }
.mobile-profile-page .btn-secondary { border-color: var(--brand-200); color: var(--brand-700); background: var(--brand-50); }
.mobile-profile-page .btn-secondary:hover { border-color: var(--brand-500); background: #e9f3eb; }
.mobile-profile-page .btn-outline { border-color: #c9d9cc; color: var(--brand-700); background: #fff; }
.mobile-profile-page .btn-outline:hover { border-color: var(--brand-600); background: var(--brand-50); }
.mobile-profile-page .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.mobile-profile-page .password-wrapper { position: relative; min-width: 0; }
.mobile-profile-page .password-wrapper input { width: 100%; min-height: 44px; box-sizing: border-box; padding: 10px 48px 10px 10px; border: 1px solid #dfe8e1; border-radius: 10px; outline: none; color: #27372e; background: #fff; font: inherit; }
.mobile-profile-page .password-wrapper input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(82, 143, 105, .12); }
.mobile-profile-page .password-toggle { position: absolute; top: 50%; right: 5px; width: 36px; height: 36px; min-width: 36px; min-height: 36px; display: grid; place-items: center; padding: 0; transform: translateY(-50%); border: 0; border-radius: 9px; color: #718077; background: transparent; cursor: pointer; }
.mobile-profile-page .password-toggle:hover { color: var(--brand-700); background: var(--brand-50); }
.mobile-profile-page .password-toggle:active { transform: translateY(-50%); background: var(--brand-100); }
.mobile-profile-page .password-toggle .eye-icon { display: grid; place-items: center; line-height: 1; }
.mobile-profile-page .profile-completion-card { display: grid; gap: 13px; margin-bottom: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, #fff, #f3f8f4); }
.mobile-profile-page .profile-completion-card__copy h2 { margin: 5px 0; color: #293a30; font-size: calc(16px + 1px); }
.mobile-profile-page .profile-completion-card__copy p { margin: 0; color: #829087; font-size: calc(13px + 1px); line-height: 1.4; }
.mobile-profile-page .profile-completion-card__body { display: flex; align-items: center; gap: 14px; }
.mobile-profile-page .profile-completion-ring { width: 95px; height: 95px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--brand-600) var(--profile-completion-angle), #e6eee7 0); }
.mobile-profile-page .profile-completion-ring__inner { width: 75px; height: 75px; display: grid; place-items: center; align-content: center; border-radius: 50%; background: #fff; }
.mobile-profile-page .profile-completion-ring strong { color: var(--brand-800); font-size: calc(16px + 1px); }.mobile-profile-page .profile-completion-ring span { color: #829087; font-size: calc(10px + 1px); }
.mobile-profile-page .profile-completion-list { display: grid; gap: 5px; }.mobile-profile-page .profile-completion-item { display: flex; align-items: center; gap: 6px; color: #829087; font-size: calc(12px + 1px); }.mobile-profile-page .profile-completion-item.is-complete { color: var(--brand-700); }.mobile-profile-page .profile-completion-item i { width: 15px; text-align: center; }
.mobile-profile-page .profile-avatar-editor { display: flex; align-items: center; gap: 12px; }.mobile-profile-page .profile-avatar--large { width: 70px; height: 70px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 21px; color: var(--brand-800); background: var(--warm); font-size: calc(24px + 1px); font-weight: 900; }.mobile-profile-page .profile-avatar--large img { width: 100%; height: 100%; object-fit: cover; }.mobile-profile-page .profile-avatar-editor__copy { display: grid; gap: 6px; }
.mobile-profile-page .profile-field-hint, .mobile-profile-page .profile-email-status, .mobile-profile-page .profile-phone-status { color: #829087; font-size: calc(12px + 1px); line-height: 1.35; }.mobile-profile-page .profile-phone-status.is-verified, .mobile-profile-page .profile-email-status.is-verified { color: #3e8955; }
.mobile-profile-page .profile-verification-box { display: grid; gap: 8px; padding: 11px; border-radius: 12px; color: #ffffff; background: var(--brand-700); font-size: calc(13px + 1px); }.mobile-profile-page .profile-verification-box p { margin: 0; line-height: 1.4; }.mobile-profile-page .profile-verification-form { display: flex; gap: 7px; }.mobile-profile-page .profile-verification-form input { min-width: 0; flex: 1; }.mobile-profile-page .profile-verification-form .btn { flex: 0 0 auto; }
.mobile-profile-page .profile-messenger-list { display: grid; gap: 7px; }.mobile-profile-page .profile-messenger-row { display: grid; grid-template-columns: 1fr 1fr 34px; gap: 6px; align-items: center; }.mobile-profile-page .profile-messenger-row select, .mobile-profile-page .profile-messenger-row input { min-width: 0; min-height: 38px; box-sizing: border-box; padding: 7px; border: 1px solid #dfe8e1; border-radius: 9px; font: inherit; font-size: calc(13px + 1px); }.mobile-profile-page .profile-messenger-remove { width: 34px; height: 34px; border: 0; border-radius: 9px; color: #bd5364; background: #fff0f2; }.mobile-profile-page .profile-messenger-drag { display: none; }.mobile-profile-page .profile-messenger-controls { display: grid; gap: 6px; }
.mobile-profile-page .profile-notification-list { display: grid; gap: 7px; }.mobile-profile-page .profile-switch-row { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 9px; border: 1px solid #e1eae3; border-radius: 10px; color: #526158; background: #f9fcf9; font-size: calc(13px + 1px); }.mobile-profile-page .profile-switch-row > span { display: inline-flex; align-items: center; gap: 7px; }.mobile-profile-page .profile-switch-row input { position: absolute; opacity: 0; pointer-events: none; }.mobile-profile-page .profile-switch { width: 35px; height: 20px; flex: 0 0 auto; position: relative; border-radius: 99px; background: #d7e1d9; }.mobile-profile-page .profile-switch::after { content: ''; width: 16px; height: 16px; position: absolute; top: 2px; left: 2px; border-radius: 50%; background: #fff; transition: transform .18s ease; }.mobile-profile-page .profile-switch-row input:checked + .profile-switch { background: var(--brand-600); }.mobile-profile-page .profile-switch-row input:checked + .profile-switch::after { transform: translateX(15px); }.mobile-profile-page .profile-notification-fields { padding: 8px 0 0 8px; }.mobile-profile-page .profile-telegram-control { display: grid; gap: 7px; }.mobile-profile-page .profile-telegram-connect { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 7px 9px; border: 1px solid #d7e4d9; border-radius: 9px; color: #ffffff; background: #308bc1; font-size: calc(13px + 1px); font-weight: 800; }
.mobile-profile-page .alert { display: block; width: 100%; box-sizing: border-box; margin: 0 0 12px; padding: 11px 12px; border-radius: 11px; font-size: calc(14px + 1px); font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.mobile-profile-page .profile-verification-box { margin-top: 12px; border: 1px solid var(--brand-700); box-shadow: 0 8px 17px rgba(154, 119, 35, .1); }
.mobile-profile-page .profile-verification-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: stretch; }
.mobile-profile-page .profile-verification-form input { width: 100%; min-height: 44px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #d8bd67; border-radius: 10px; background: #fff; color: #27372e; font: inherit; font-size: calc(16px + 1px); letter-spacing: .14em; text-align: center; }
.mobile-profile-page .profile-verification-form input:focus { border-color: #b78a20; outline: 0; box-shadow: 0 0 0 3px rgba(183, 138, 32, .16); }
.mobile-profile-page .profile-verification-form .btn { width: 100%; min-height: 44px; }
.mobile-profile-page .profile-switch-row { position: relative; cursor: pointer; }
.mobile-profile-page .profile-switch-row input { inset: 0; z-index: 2; width: 100%; height: 100%; margin: 0; pointer-events: auto; cursor: pointer; }
.mobile-profile-page .profile-switch { pointer-events: none; }
.mobile-account-tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; padding: 1px 0 3px; scrollbar-width: none; }
.mobile-account-tabs::-webkit-scrollbar { display: none; }
.mobile-account-tabs a { min-height: 37px; display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; color: #7d8b82; background: #fff; font-size: calc(11px + 1px); font-weight: 800; white-space: nowrap; }
.mobile-account-tabs a.is-active { border-color: var(--brand-600); color: #fff; background: var(--brand-600); }
.mobile-account-tabs a span { min-width: 17px; height: 17px; display: inline-grid; place-items: center; border-radius: 999px; color: var(--brand-700); background: var(--brand-50); font-size: calc(11px + 1px); }
.mobile-account-tabs a.is-active span { color: #fff; background: rgba(255,255,255,.2); }
.mobile-time-bump { margin-bottom: 12px; }
.mobile-time-bump .mobile-surface__head { align-items: center; margin-bottom: 9px; }
.mobile-time-bump h2 { margin: 0; color: #293a30; font-size: calc(15px + 1px); }
.mobile-time-bump__bar { height: 9px; margin-bottom: 8px; overflow: hidden; border-radius: 99px; background: #e7ece8; }
.mobile-time-bump__bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #507154, #76a985); transition: width .2s ease; }
.mobile-managed-listing { overflow: hidden; padding: 0; }
.mobile-managed-listing__media { height: 174px; position: relative; display: block; overflow: hidden; background: #dfe9e1; }
.mobile-managed-listing__media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mobile-managed-listing__photos { position: absolute; right: 9px; bottom: 9px; padding: 5px 7px; border-radius: 7px; color: #fff; background: rgba(13, 31, 21, .62); font-size: calc(12px + 1px); font-weight: 800; }
.mobile-managed-listing__media .time-bump-listing-indicator { position: absolute; top: 9px; left: 9px; padding: 5px 8px; border-radius: 8px; color: #fff; background: var(--brand-700); font-size: calc(13px + 1px); }
.mobile-managed-listing__body { display: grid; gap: 8px; padding: 12px; }
.mobile-managed-listing__top { display: flex; align-items: center; gap: 6px; color: #829087; font-size: calc(12px + 1px); font-weight: 800; }
.mobile-managed-listing__top strong { margin-left: auto; color: var(--brand-800); font-size: calc(17px + 1px); }
.mobile-status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #a8b2ab; }
.mobile-status-dot.dot-status-active { background: #4f9a67; }.mobile-status-dot.dot-status-exclusive { background: #c28e2d; }.mobile-status-dot.dot-status-on-deposit { background: #b176cf; }.mobile-status-dot.dot-status-sold, .mobile-status-dot.dot-status-archived { background: #7d8b82; }.mobile-status-dot.dot-status-pending { background: #d59a3a; }.mobile-status-dot.dot-status-rejected { background: #d25c67; }.mobile-status-dot.dot-status-suspended { background: #7587b5; }
.mobile-managed-listing__title { color: #27372e; font-size: calc(15px + 1px); font-weight: 850; line-height: 1.25; }
.mobile-managed-listing__location { margin: 0; color: #829087; font-size: calc(13px + 1px); line-height: 1.35; }
.mobile-managed-listing__location i { margin-right: 4px; color: var(--brand-600); }
.mobile-managed-listing__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.mobile-managed-listing__tags span { padding: 5px 7px; border-radius: 7px; color: #66766c; background: #f1f6f2; font-size: calc(12px + 1px); font-weight: 750; }
.mobile-managed-listing__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 2px; }
.mobile-managed-listing__actions > * { min-width: 0; width: 100%; box-sizing: border-box; text-align: center; }
.mobile-managed-listing--rejected { border-color: #e4b8bd; }
.app-page .crm-confirm-modal { width: min(92vw, 390px); box-sizing: border-box; padding: 17px; border-radius: 17px; }
.app-page .crm-confirm-modal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-account-empty { min-height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-account-empty[hidden] { display: none !important; }
.mobile-empty__icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 3px; border-radius: 15px; color: var(--brand-600); background: var(--brand-50); font-size: calc(22px + 1px); }
.mobile-account-empty strong { color: #2c3d32; font-size: calc(15px + 1px); }
.mobile-account-empty > span:not(.mobile-empty__icon) { max-width: 255px; color: #829087; font-size: calc(14px + 1px); line-height: 1.5; }
.mobile-account-empty .mobile-primary-button { margin-top: 6px; }
.mobile-favorites-status {
    position: fixed;
    right: 12px;
    bottom: calc(50px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 80;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid var(--brand-600);
    border-radius: 12px;
    color: #fff;
    background: #213128;
    box-shadow: 0 8px 24px rgba(18, 43, 29, .2);
    font-size: calc(14px + 1px);
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}
.mobile-favorites-status[hidden] { display: none !important; }
.mobile-auth__consents { display: grid; gap: 8px; color: #7d8b82; font-size: calc(12px + 1px);  line-height: 1.4; }
.mobile-auth__consents label { display: flex; align-items: flex-start; gap: 7px; }
.mobile-auth__consents input { width: 16px; height: 16px; flex: 0 0 auto; margin: 0; accent-color: var(--brand-600); }
.mobile-auth__consents a, .mobile-auth__switch { color: var(--brand-700); }
.mobile-auth__switch { align-self: start; padding: 0; border: 0; background: transparent; cursor: pointer; font-size: calc(12px + 1px);  font-weight: 800; }
.mobile-contact-page { padding-bottom: 28px; }
.mobile-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.mobile-contact-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; color: #53635a; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-contact-card strong { color: #293a30; font-size: calc(14px + 1px); }
.mobile-contact-card > span:not(.mobile-icon-box):not(.mobile-contact-socials) { color: #718077; font-size: calc(12px + 1px);  line-height: 1.4; }
.mobile-contact-card small { color: #8a978f; font-size: calc(11px + 1px); line-height: 1.35; }
.mobile-contact-card .mobile-icon-box { margin-bottom: 2px; }
.mobile-contact-socials { display: flex; gap: 7px; }
.mobile-contact-socials a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: #fff; background: var(--brand-600); font-size: calc(15px + 1px); }
.mobile-contact-map { margin-top: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-contact-map .mobile-surface__head { margin-bottom: 9px; }
.mobile-contact-map h2, .mobile-contact-transport h2 { margin: 0; color: #293a30; font-size: calc(15px + 1px); }
.mobile-contact-map h2 i, .mobile-contact-transport h2 i { margin-right: 4px; color: var(--brand-600); }
.mobile-contact-map iframe { width: 100%; height: 260px; display: block; border: 0; border-radius: 11px; background: #e4eee6; }
.mobile-contact-transport { margin-top: 12px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-contact-transport > div { display: grid; gap: 9px; margin-top: 12px; }
.mobile-contact-transport p { display: flex; align-items: flex-start; gap: 9px; margin: 0; color: #718077; font-size: calc(12px + 1px);  line-height: 1.45; }
.mobile-contact-transport p > i { width: 17px; flex: 0 0 auto; color: var(--brand-600); text-align: center; }
.mobile-contact-transport strong { color: #425248; }
.mobile-map-page { padding-bottom: 28px; }
.mobile-map-placeholder--real { height: 260px; display: grid; place-items: center; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #dce9df; }
.mobile-map-state { display: grid; justify-items: center; gap: 7px; position: relative; z-index: 2; max-width: 230px; padding: 15px; border: 1px solid rgba(255,255,255,.8); border-radius: 14px; text-align: center; background: rgba(255,255,255,.92); box-shadow: 0 8px 20px rgba(18,43,29,.12); }
.mobile-map-state i { color: var(--brand-700); font-size: calc(25px + 1px); }
.mobile-map-state strong { color: #293a30; font-size: calc(13px + 1px); }
.mobile-map-state span { color: #829087; font-size: calc(12px + 1px);  line-height: 1.45; }
.mobile-map-results { margin-top: 12px; }
.mobile-map-list { display: grid; gap: 8px; }
.mobile-map-result { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 13px; color: inherit; background: #fff; box-shadow: 0 4px 12px rgba(18,43,29,.04); }
.mobile-map-result > div { min-width: 0; flex: 1; }
.mobile-map-result strong, .mobile-map-result span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-map-result strong { color: #293a30; font-size: calc(14px + 1px); }
.mobile-map-result span { margin-top: 5px; color: #829087; font-size: calc(11px + 1px); }
.mobile-map-result span i { color: var(--brand-600); }
.mobile-map-result b { flex: 0 0 auto; color: var(--brand-800); font-size: calc(14px + 1px); }

/* Читаемость мобильного интерфейса: базовые подписи не должны выглядеть как служебный текст. */
body.app-page .mobile-page__eyebrow,
body.app-page .mobile-home-hero__eyebrow { font-size: calc(14px + 1px); }
body.app-page .mobile-page__subtitle,
body.app-page .mobile-home-hero p { font-size: calc(14px + 1px); }
body.app-page .mobile-surface__head p,
body.app-page .mobile-legal p { font-size: calc(var(--type-body-sm) + 1px); }
body.app-page .mobile-primary-button,
body.app-page .mobile-outline-button,
body.app-page .mobile-small-button,
body.app-page .mobile-home-hero__search,
body.app-page .mobile-home-deal { font-size: calc(14px + 1px);padding: 10px 15px; }
body.app-page .mobile-home-category { font-size: calc(15px + 1px); }
body.app-page .mobile-home-hot-heading a { font-size: calc(14px + 1px); }
body.app-page .mobile-home-category-nav a,
body.app-page .mobile-search-category-nav a { font-size: calc(14px + 1px); }
body.app-page .listing-card__type { font-size: calc(9px + 1px);  }
body.app-page .listing-card__body p { font-size: calc(13px + 1px); }
body.app-page .listing-card__specs { font-size: calc(14px + 1px); }
body.app-page .mobile-card-gallery__counter { font-size: calc(14px + 1px); }
body.app-page .mobile-review-card__identity > span,
body.app-page .mobile-review-card p,
body.app-page .mobile-review-card__more { font-size: calc(14px + 1px); }
body.app-page .mobile-filter-chip,
body.app-page .mobile-search-filter__clear,
body.app-page .mobile-search-filter__checks label,
body.app-page .mobile-search-sort summary,
body.app-page .mobile-search-sort > div a { font-size: calc(14px + 1px); }
body.app-page .mobile-search-filter__fields .mobile-field > span,
body.app-page .mobile-search-filter__rooms > span,
body.app-page .mobile-field label { font-size: calc(14px + 1px); }
body.app-page .mobile-field input,
body.app-page .mobile-field select,
body.app-page .mobile-field textarea,
body.app-page .mobile-search-filter__fields select,
body.app-page .mobile-search-field input { font-size: calc(14px + 1px); }
body.app-page .mobile-row__body span,
body.app-page .mobile-table-card__meta,
body.app-page .mobile-contact-card > span:not(.mobile-icon-box):not(.mobile-contact-socials),
body.app-page .mobile-contact-transport p { font-size: calc(14px + 1px); }
body.app-page .mobile-table-card__meta b,
body.app-page .mobile-map-result span { font-size: calc(14px + 1px); }
body.app-page .mobile-auth__consents,
body.app-page .mobile-auth__links,
body.app-page .mobile-auth__switch { font-size: calc(14px + 1px); }
body.app-page .bottom-nav__item { font-size: calc(14px + 1px); }
body.app-page .mobile-drawer__link { font-size: calc(14px + 1px); }
body.app-page .mobile-drawer__caption { font-size: calc(14px + 1px); }
body.app-page .mobile-drawer__language > span,
body.app-page .mobile-drawer__language button { font-size: calc(14px + 1px); }

@media (min-width: 541px) {
    .mobile-detail__actions { right: calc((100vw - min(480px, 100vw - 40px)) / 2); left: calc((100vw - min(480px, 100vw - 40px)) / 2); }
}

/* Пошаговое размещение объекта: мобильная форма работает как последовательный сценарий, а не как длинная desktop-форма. */
.mobile-listing-create { padding-bottom: 34px; }
.mobile-listing-create__hero { margin-bottom: 13px; }
.mobile-listing-wizard { display: grid; gap: 11px; }
.mobile-wizard-progress { padding: 12px 13px; border: 1px solid #dfe9e1; border-radius: 15px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-wizard-progress__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #829087; font-size: calc(14px + 1px); }
.mobile-wizard-progress__top strong { color: #293a30; font-size: calc(13px + 1px); }
.mobile-wizard-progress__top b { color: var(--brand-700); }
.mobile-wizard-progress .mobile-steps { margin: 10px 0 0; }
.mobile-wizard-progress p { margin: 7px 0 0; color: #829087; font-size: calc(14px + 1px); line-height: 1.35; }
.mobile-wizard-step[hidden] { display: none; }
.mobile-wizard-step .mobile-surface { padding: 14px; }
.mobile-listing-choice-section + .mobile-listing-choice-section { margin-top: 17px; }
.mobile-listing-choice-label { display: block; margin-bottom: 8px; color: #526158; font-size: calc(14px + 1px); font-weight: 800; }
.mobile-choice-grid--listing { gap: 8px; }
.mobile-choice--compact { min-height: 91px; padding: 10px; position: relative; gap: 5px; }
.mobile-choice--compact input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mobile-choice--compact i { font-size: calc(16px + 1px); }
.mobile-choice--compact span { font-size: calc(14px + 1px); line-height: 1.2; }
.mobile-choice--compact small { color: #829087; font-size: calc(12px + 1px);  font-weight: 600; line-height: 1.25; }
.mobile-choice--wide { grid-column: 1 / -1; min-height: 66px; }
.mobile-choice--wide small { margin-top: 10px; }
.mobile-required { color: #d65d5d; }
.mobile-form-note { display: flex; align-items: flex-start; gap: 8px; padding: 10px; border-radius: 11px; color: #718077; background: #f3f8f4; font-size: calc(14px + 1px); line-height: 1.45; }
.mobile-form-note i { flex: 0 0 auto; margin-top: 1px; color: var(--brand-600); }
.mobile-field-hint { color: #8b9990; font-size: calc(12px + 1px);  line-height: 1.35; }
.mobile-photo-upload { min-height: 145px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 14px; border: 1px dashed #a9c9b0; border-radius: 14px; color: var(--brand-700); background: #f5faf6; cursor: pointer; text-align: center; }
.mobile-photo-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mobile-photo-upload__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #a86d13; background: #fff1d8; font-size: calc(19px + 1px); }
.mobile-photo-upload strong { color: #34463a; font-size: calc(15px + 1px); }
.mobile-photo-upload small { color: #829087; font-size: calc(14px + 1px); }
.mobile-photo-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; color: #718077; font-size: calc(14px + 1px); }
.mobile-photo-status b { color: #293a30; }
.mobile-photo-status .is-error { color: #cc6262; }
.mobile-photo-status .is-ready { color: var(--brand-700); }
.mobile-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 10px; }
.mobile-photo-grid:empty { display: none; }
.mobile-photo-thumb { aspect-ratio: 1; position: relative; overflow: hidden; border-radius: 10px; background: #e8f0e9; }
.mobile-photo-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mobile-photo-thumb:first-child::after { content: 'Главное'; position: absolute; right: 4px; bottom: 4px; left: 4px; padding: 3px 4px; border-radius: 5px; color: #fff; background: rgba(27, 67, 50, .8); font-size: calc(11px + 1px); font-weight: 800; text-align: center; }
.mobile-property-panel[hidden] { display: none; }
.mobile-property-panel { display: grid; gap: 12px; padding-top: 2px; }
.mobile-chip-group { display: grid; gap: 7px; }
.mobile-chip-group > span { color: #526158; font-size: calc(14px + 1px); font-weight: 800; }
.mobile-chip-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.mobile-chip-grid label { position: relative; cursor: pointer; }
.mobile-chip-grid input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mobile-chip-grid label span { min-height: 34px; display: inline-flex; align-items: center; padding: 7px 9px; border: 1px solid #dfe8e1; border-radius: 9px; color: #65756b; background: #fff; font-size: calc(14px + 1px); font-weight: 700; }
.mobile-chip-grid input:checked + span { border-color: var(--brand-600); color: var(--brand-700); background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-600); }
.mobile-agreement { display: flex; align-items: flex-start; gap: 8px; color: #718077; font-size: calc(14px + 1px); line-height: 1.45; }
.mobile-agreement input { width: 17px; height: 17px; flex: 0 0 auto; margin: 0; accent-color: var(--brand-600); }
.mobile-agreement a { color: var(--brand-700); font-weight: 700; }
.mobile-submit-note { display: flex; align-items: flex-start; gap: 9px; padding: 11px; border: 1px solid #e5d9b7; border-radius: 11px; color: #7a6b45; background: #fffaf0; }
.mobile-submit-note > i { margin-top: 2px; color: #c78c25; }
.mobile-submit-note div { display: grid; gap: 3px; }
.mobile-submit-note strong { color: #695934; font-size: calc(14px + 1px); }
.mobile-submit-note span { font-size: calc(12px + 1px);  line-height: 1.35; }
.mobile-wizard-actions { display: grid; grid-template-columns: auto 1fr; gap: 8px; position: sticky; bottom: 8px; z-index: 5; padding: 9px; border: 1px solid #dfe9e1; border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: 0 8px 22px rgba(18, 43, 29, .13); backdrop-filter: blur(12px); }
.mobile-wizard-actions .mobile-primary-button { min-height: 44px; }
.mobile-wizard-actions .mobile-outline-button { min-height: 44px; padding-right: 12px; padding-left: 12px; }
.mobile-wizard-actions [hidden] { display: none; }

@media (min-width: 541px) {
    .mobile-listing-create { max-width: 520px; margin: 0 auto; }
}

.mobile-form-note--warning { color: #8a641d; background: #fff8e8; }
.mobile-form-note--warning i { color: #c78c25; }
.mobile-listing-deal-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 11px; padding: 7px 10px; border-radius: 999px; color: var(--brand-700); background: var(--brand-50); font-size: calc(14px + 1px); font-weight: 850; }
.mobile-form-section { overflow: hidden; border: 1px solid #e1eae3; border-radius: 13px; background: #fff; }
.mobile-form-section + .mobile-form-section { margin-top: 9px; }
.mobile-form-section summary { min-height: 45px; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 10px 12px; color: #2c3d32; background: #f7fbf8; cursor: pointer; list-style: none; font-size: calc(13px + 1px); font-weight: 850; }
.mobile-form-section summary::-webkit-details-marker { display: none; }
.mobile-form-section summary i { color: #839289; transition: transform .18s ease; }
.mobile-form-section[open] summary i { transform: rotate(180deg); }
.mobile-form-section__body { display: grid; gap: 12px; padding: 12px; }
.mobile-schema-field { display: grid; gap: 6px; }
.mobile-schema-field[hidden] { display: none; }
.mobile-schema-field__label { color: #526158; font-size: calc(14px + 1px); font-weight: 800; line-height: 1.3; }
.mobile-schema-field > input,
.mobile-schema-field > select { width: 100%; min-height: 42px; box-sizing: border-box; padding: 9px 10px; border: 1px solid #dfe8e1; border-radius: 10px; outline: none; color: #27372e; background: #fff; font: inherit; font-size: calc(14px + 1px); }
.mobile-schema-field > input:focus,
.mobile-schema-field > select:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(82, 143, 105, .12); }
.mobile-schema-field--choices { gap: 7px; }
.mobile-schema-field--choices .mobile-chip-grid { gap: 6px; }
.mobile-schema-field--choices .mobile-chip-grid label span { font-size: calc(14px + 1px); }
.mobile-upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 11px; }
.mobile-secondary-upload { min-height: 84px; display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid #dfe8e1; border-radius: 11px; color: var(--brand-700); background: #fbfdfb; cursor: pointer; }
.mobile-secondary-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mobile-secondary-upload > i { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #5279ad; background: #e9f1ff; }
.mobile-secondary-upload span { display: grid; gap: 3px; min-width: 0; }
.mobile-secondary-upload strong { color: #34463a; font-size: calc(14px + 1px); }
.mobile-secondary-upload small { color: #829087; font-size: calc(11px + 1px); line-height: 1.3; }

@media (max-width: 360px) {
    .mobile-upload-grid { grid-template-columns: 1fr; }
}

/* Детальная карточка объекта: мобильная структура по референсу listing.php. */
.mobile-listing-detail { overflow: hidden; background: #f5f9f6; }
.mobile-detail__breadcrumbs { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 10px 13px 8px; color: #849188; background: #fff; font-size: calc(var(--type-caption) + 1px); line-height: 1.3; white-space: nowrap; overflow: hidden; }
.mobile-detail__breadcrumbs a { color: var(--tablehead); font-weight: 800; text-decoration: none; }
.mobile-detail__breadcrumbs span:last-child { overflow: hidden; text-overflow: ellipsis; }
.mobile-detail__gallery { margin: 0; height: 270px; }
.mobile-detail__gallery-slide { width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; font: inherit; }
.mobile-detail__gallery-slide:focus-visible, .mobile-detail__gallery-favorite:focus-visible, .mobile-detail__back:focus-visible { outline: 3px solid #f3c96b; outline-offset: -3px; }
.mobile-detail__gallery-favorite { position: absolute; top: 10px; right: 10px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; color: #fff; background: rgba(13, 31, 21, .58); cursor: pointer; font-size: calc(17px + 1px); }
.mobile-detail__gallery-favorite.active, .mobile-detail__gallery-favorite.active .fa-solid { color: #f75e5e; }
.mobile-detail__gallery-empty { height: 100%; display: grid; place-items: center; align-content: center; gap: 8px; color: #789084; background: #e7f0e9; font-size: calc(14px + 1px); text-align: center; }
.mobile-detail__gallery-empty i { font-size: calc(28px + 1px); }
.mobile-detail__body { padding: 15px 13px 15px; }
.mobile-detail__eyebrow { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: var(--brand-700); font-size: calc(var(--type-caption) + 1px); font-weight: 850; }
.mobile-detail__eyebrow span, .mobile-detail__eyebrow b { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 5px 9px; border-radius: 999px; background: var(--brand-50); }
.mobile-detail__eyebrow b { color: #8b681f; background: #fff5dd; font-size: calc(var(--type-caption) + 1px); }
.mobile-detail__eyebrow--overlay { position: absolute; top: 13px; left: 13px; z-index: 3; justify-content: flex-start; margin: 0; color: #fff; }
.mobile-detail__eyebrow--overlay span, .mobile-detail__eyebrow--overlay b { color: #fff; background: rgba(13, 31, 21, .78); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.mobile-detail__eyebrow--bottom { top: auto; bottom: 13px; }
.mobile-detail__body h1 { margin: 4px 0 9px; font-size: calc(var(--type-page-title) + 1px); line-height: var(--type-line-heading); }
.mobile-detail__location { font-size: calc(var(--type-body-sm) + 1px); line-height: 1.4; }
.mobile-detail__price-card { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 13px 14px; border: 1px solid #dbe8de; border-radius: 15px; background: #fff; box-shadow: 0 6px 17px rgba(18, 43, 29, .06); }
.mobile-detail__price-card > div { min-width: 0; }
.mobile-detail__price-caption { display: block; margin-bottom: 2px; color: #829087; font-size: calc(var(--type-caption) + 1px); font-weight: 800; }
.mobile-detail__price-card .mobile-detail__price { margin: 0; font-size: calc(var(--type-page-title) + 1px); line-height: 1.1; }
.mobile-detail__price-per { display: block; margin-top: 5px; color: #718077; font-size: calc(var(--type-caption) + 1px); font-weight: 800; line-height: 1.3; }
.mobile-detail__quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.mobile-detail__quick-action { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 10px; border: 1px solid #dbe8de; border-radius: 11px; color: #526158; background: #fff; cursor: pointer; font: inherit; font-size: calc(var(--type-body-sm) + 1px); font-weight: 800; }
.mobile-detail__quick-action:first-child { color: var(--brand-700); }
.mobile-detail__quick-action.active, .mobile-detail__quick-action.active .fa-solid { color: #f75e5e; }
.mobile-detail__quick-action:focus-visible, .mobile-detail__description-toggle:focus-visible, .mobile-detail__review-button:focus-visible { outline: 3px solid rgba(82, 143, 105, .25); outline-offset: 2px; }
.mobile-detail__section, .mobile-detail__similar { margin-top: 10px; padding: 14px; border: 1px solid #dfe9e1; border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-detail__section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mobile-detail__section-heading h2 { margin: 0; color: #213128; font-size: calc(var(--type-section-title) + 1px); line-height: var(--type-line-heading); letter-spacing: -.025em; }
.mobile-detail__section-heading p { margin: 4px 0 0; color: #829087; font-size: calc(var(--type-body-sm) + 1px); line-height: 1.35; }
.mobile-detail__section-heading > i { flex: 0 0 auto; width: 31px; height: 31px; display: grid; place-items: center; border-radius: 10px; color: var(--brand-700); background: var(--brand-50); font-size: calc(15px + 1px); }
.mobile-detail__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mobile-detail__fact { min-width: 0; display: grid; grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; row-gap: 2px; align-items: center; padding: 10px 8px 10px 13px; border: 1px solid #e2ebe4; border-radius: 11px; background: #fbfdfb; text-align: left; }
.mobile-detail__fact i { grid-row: 1 / span 2; display: grid; place-items: center; margin: 0; color: var(--brand-600); font-size: calc(20px + 1px); }
.mobile-detail__fact span, .mobile-detail__fact strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-detail__fact span { color: #829087; font-size: calc(var(--type-body-sm) + 1px); line-height: 1.25; }
.mobile-detail__fact strong { margin-top: 0; color: #2c3d32; font-size: calc(var(--type-body) + 1px); line-height: 1.25; }
.mobile-detail__description { margin: 0; color: #53635a; font-size: calc(var(--type-body-sm) + 1px); line-height: 1.58; white-space: pre-line; }
.mobile-detail__description.is-collapsed { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 6; }
.mobile-detail__description-toggle { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; padding: 0; border: 0; color: var(--brand-700); background: transparent; cursor: pointer; font: inherit; font-size: calc(14px + 1px); font-weight: 850; }
.mobile-detail__description-toggle i { transition: transform .18s ease; }
.mobile-detail__description-toggle.is-expanded i { transform: rotate(180deg); }
.mobile-detail__empty-copy { margin: 0; color: #829087; font-size: calc(var(--type-body-sm) + 1px); line-height: 1.5; }
.mobile-detail__views { width: 100%; display: flex; align-items: center; justify-content: flex-end; gap: 5px; margin-top: 11px; color: #829087; font-size: calc(var(--type-caption) + 1px); line-height: 1; }
.mobile-detail__views i { color: var(--brand-600); font-size: calc(15px + 1px); }
.mobile-detail__views strong { color: #526158; font-weight: 850; }
.mobile-detail__details { display: grid; gap: 0; }
.mobile-detail__detail-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 10px; padding: 10px 0; border-top: 1px solid #edf2ee; font-size: calc(var(--type-body-sm) + 1px); line-height: 1.35; }
.mobile-detail__detail-row:first-child { padding-top: 0; border-top: 0; }
.mobile-detail__detail-row:last-child { padding-bottom: 0; }
.mobile-detail__detail-row span { color: #829087; }
.mobile-detail__detail-row strong { color: #34463a; font-weight: 800; text-align: right; overflow-wrap: anywhere; }
.mobile-detail__empty-state, .mobile-detail__map-placeholder { display: grid; place-items: center; align-content: center; gap: 6px; min-height: 105px; padding: 14px; border-radius: 13px; color: #829087; background: #f5f9f6; text-align: center; }
.mobile-detail__empty-state i, .mobile-detail__map-placeholder i { color: #9bb2a1; font-size: calc(25px + 1px); }
.mobile-detail__empty-state strong { color: #526158; font-size: calc(14px + 1px); }
.mobile-detail__empty-state span, .mobile-detail__map-placeholder span { max-width: 275px; font-size: calc(13px + 1px); line-height: 1.4; }
.mobile-detail__empty-state--compact { min-height: 92px; }
.mobile-detail__map-placeholder { min-height: 120px; background: linear-gradient(135deg, #edf6ef, #f9fbf9); }
.mobile-detail__review-button { width: 100%; margin-top: 10px; }
.mobile-detail__agent-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 14px; }
.mobile-detail__agent-actions .mobile-outline-button, .mobile-detail__agent-actions .mobile-primary-button { width: 100%; min-height: 42px; box-sizing: border-box; }
.mobile-detail__similar { padding-bottom: 10px; }
.mobile-detail__similar-list { display: flex; gap: 9px; overflow-x: auto; padding: 1px 1px 5px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mobile-detail__similar-list::-webkit-scrollbar { display: none; }
.mobile-detail__similar-card { min-width: 232px; display: flex; gap: 9px; scroll-snap-align: start; padding: 8px; border: 1px solid #e1eae3; border-radius: 13px; color: inherit; background: #fbfdfb; text-decoration: none; }
.mobile-detail__similar-image { width: 73px; height: 73px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border-radius: 9px; color: #9bb2a1; background: #e8f1e9; }
.mobile-detail__similar-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mobile-detail__similar-body { min-width: 0; display: grid; align-content: start; gap: 4px; }
.mobile-detail__similar-body strong { color: var(--brand-800); font-size: calc(15px + 1px); }
.mobile-detail__similar-body span, .mobile-detail__similar-body small, .mobile-detail__similar-body em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-detail__similar-body span { color: #34463a; font-size: calc(13px + 1px); font-weight: 800; }
.mobile-detail__similar-body small, .mobile-detail__similar-body em { color: #829087; font-size: calc(11px + 1px); font-style: normal; }
.mobile-detail__similar-body em { color: var(--brand-700); font-weight: 800; }
.mobile-detail__actions { padding-right: 13px; padding-left: 13px; }
.mobile-detail__lightbox[hidden] { display: none; }
.mobile-detail__lightbox { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; background: rgba(8, 19, 13, .94); }
.mobile-detail__lightbox-image { max-width: calc(100% - 32px); max-height: calc(100% - 130px); display: block; border-radius: 10px; object-fit: contain; touch-action: none; user-select: none; -webkit-user-drag: none; transform-origin: center center; will-change: transform; cursor: grab; }
.mobile-detail__lightbox-close { position: absolute; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 12px; color: #fff; background: rgba(255, 255, 255, .15); cursor: pointer; font: inherit; font-size: calc(17px + 1px); }
.mobile-detail__lightbox-close { top: max(16px, env(safe-area-inset-top)); right: 16px; }
.mobile-detail__lightbox-counter { position: absolute; bottom: max(22px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .15); font-size: calc(13px + 1px); font-weight: 800; }

@media (min-width: 541px) {
    .mobile-listing-detail { max-width: 520px; margin: 0 auto; }
    .mobile-detail__gallery { border-radius: 0 0 0px 0px; }
}

@media (max-width: 360px) {
    .mobile-detail__body h1 { font-size: calc(22px + 1px); }
    .mobile-detail__facts { gap: 5px; }
    .mobile-detail__fact { padding-right: 4px; padding-left: 4px; }
    .mobile-detail__fact span { font-size: calc(var(--type-body-sm) + 1px); }
}

/* Нижняя панель фильтров каталога. */
body.mobile-filter-open { overflow: hidden; }
.mobile-search-filter-open { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding: 9px 12px; border: 1px solid #dbe8de; border-radius: 14px; color: #304535; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); cursor: pointer; font: inherit; text-align: left; }
.mobile-search-filter-open > span { display: inline-flex; align-items: center; gap: 8px; font-size: calc(15px + 1px); font-weight: 850; }
.mobile-search-filter-open > b { min-width: 0; overflow: hidden; color: #757575; font-size: calc(12px + 1px); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.mobile-search-filter-open > i { flex: 0 0 auto; color: #829087; font-size: calc(13px + 1px); }
.mobile-search-filter-backdrop[hidden], .mobile-search-filter-sheet[hidden] { display: none; }
.mobile-search-filter-backdrop { position: fixed; inset: 0; z-index: 40; opacity: 0; background: rgba(11, 27, 18, .45); transition: opacity .24s ease; }
.mobile-search-filter-backdrop.is-open { opacity: 1; }
.mobile-search-filter-sheet { --mobile-filter-drag-y: 0px; position: fixed; right: max(0px, calc((100vw - min(480px, 100vw)) / 2)); bottom: 0; left: max(0px, calc((100vw - min(480px, 100vw)) / 2)); z-index: 41; height: min(90vh); overflow: hidden; border-radius: 22px 22px 0 0; background: #f5f9f6; box-shadow: 0 -12px 38px rgba(18, 43, 29, .22); opacity: 0; transform: translate3d(0, 100%, 0); visibility: hidden; transition: transform .28s cubic-bezier(.22, .75, .25, 1), opacity .2s ease, visibility 0s linear .28s; will-change: transform, opacity; }
.mobile-search-filter-sheet.is-open { opacity: 1; transform: translate3d(0, var(--mobile-filter-drag-y), 0); visibility: visible; transition: transform .28s cubic-bezier(.22, .75, .25, 1), opacity .2s ease, visibility 0s linear 0s; }
.mobile-search-filter-sheet .mobile-search-filter { max-height: min(88vh, 760px); display: grid; gap: 12px; overflow-y: auto; margin: 0; padding: 12px 13px max(13px, env(safe-area-inset-bottom)); border: 0; border-radius: 22px 22px 0 0; background: #f5f9f6; box-shadow: none; overscroll-behavior: contain; }
.mobile-search-filter-sheet .mobile-search-filter__head { position: sticky; top: -12px; z-index: 2; min-height: 54px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; margin: -12px -13px 0; padding: 8px 13px 9px; border-bottom: 1px solid #e3ece5; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); }
.mobile-search-filter-sheet .mobile-search-filter__head strong { justify-self: center; color: #213128; font-size: calc(17px + 1px); font-weight: 900; letter-spacing: -.01em; }
.mobile-search-filter__clear, .mobile-search-filter__close { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 0; border: 0; color: var(--brand-700); background: transparent; cursor: pointer; font: inherit; font-size: calc(15px + 1px); font-weight: 850; touch-action: manipulation; }
.mobile-search-filter__clear { justify-self: start; }
.mobile-search-filter__clear i { font-size: calc(15px + 1px); }
.mobile-search-filter__close { position: relative; z-index: 3; min-width: 44px; justify-self: end; justify-content: center; color: #718077; }
.mobile-search-filter__close i { font-size: calc(22px + 1px); }
.mobile-search-filter__close span { display: none; }
.mobile-search-filter-sheet .mobile-search-filter__tabs { gap: 7px; }
.mobile-search-filter-sheet .mobile-search-filter__tabs button { min-height: 48px; border: 1px solid #dbe7dd; border-radius: 14px; color: #607066; background: #fff; cursor: pointer; font: inherit; font-size: calc(15px + 1px); font-weight: 850; transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.mobile-search-filter-sheet .mobile-search-filter__tabs button:active { transform: translateY(1px); }
.mobile-search-filter-sheet .mobile-search-filter__tabs button.is-active { border-color: var(--brand-600); color: #fff; background: var(--brand-600); box-shadow: 0 7px 16px rgba(80, 113, 84, .22); }
.mobile-search-filter-sheet .mobile-search-filter__checks { margin: 0; padding-bottom: 0; }
.mobile-search-filter-sheet .mobile-search-filter__checks label { min-height: 42px; padding: 8px 11px; border-color: #dbe7dd; border-radius: 12px; color: #4e6255; background: #fff; font-size: calc(13px + 1px); font-weight: 800; }
.mobile-search-filter-sheet .mobile-search-filter__checks label.is-checked { border-color: var(--brand-600); color: var(--brand-700); background: #eef6ef; }
.mobile-search-filter-sheet .mobile-search-filter__checks input { width: 19px; height: 19px; accent-color: var(--brand-600); }
.mobile-filter-fields { display: grid; gap: 12px; }
.mobile-filter-field { min-width: 0; }
.mobile-filter-field[hidden], .mobile-filter-check-row[hidden], .mobile-filter-fields > [hidden] { display: none !important; }
.mobile-filter-label, .mobile-filter-field > span { color: #405448; font-size: calc(14px + 1px); font-weight: 850; line-height: 1.3; }
.mobile-filter-field.mobile-field { gap: 7px; }
.mobile-filter-field.mobile-field input, .mobile-filter-field.mobile-field select { min-height: 48px; font-size: calc(15px + 1px); }
.mobile-filter-select { position: relative; min-width: 0; }
.mobile-filter-select__native { position: absolute; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; border: 0 !important; opacity: 0 !important; pointer-events: none !important; }
.mobile-filter-select__trigger { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 13px; border: 1px solid #d7e4d9; border-radius: 14px; color: #273a2d; background: #fff; cursor: pointer; font: inherit; font-size: calc(15px + 1px); font-weight: 650; text-align: left; transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease; }
.mobile-filter-select__trigger span { min-width: 0; overflow: hidden; color: inherit; font-size: inherit; font-weight: inherit; text-overflow: ellipsis; white-space: nowrap; }
.mobile-filter-select__trigger i { flex: 0 0 auto; color: #718277; font-size: calc(13px + 1px); transition: transform .18s ease; }
.mobile-filter-select.is-open .mobile-filter-select__trigger { border-color: var(--brand-600); background: #f8fcf8; box-shadow: 0 0 0 3px rgba(80, 113, 84, .12); }
.mobile-filter-select.is-open .mobile-filter-select__trigger i { transform: rotate(180deg); color: var(--brand-700); }
.mobile-filter-select__trigger:disabled { cursor: not-allowed; opacity: .52; }
.mobile-filter-select__menu[hidden] { display: none; }
.mobile-filter-select__menu { position: fixed; z-index: 130; display: grid; gap: 2px; overflow-y: auto; padding: 7px; border: 1px solid #dbe7dd; border-radius: 17px; background: #fff; box-shadow: 0 16px 42px rgba(21, 47, 29, .24); overscroll-behavior: contain; animation: mobile-filter-select-menu-in .16s ease-out both; }
.mobile-filter-select__option { width: 100%; min-height: 50px; display: flex; align-items: center; gap: 11px; padding: 9px 10px; border: 0; border-radius: 12px; color: #293c30; background: transparent; cursor: pointer; font: inherit; font-size: calc(15px + 1px); font-weight: 650; text-align: left; transition: background-color .16s ease, color .16s ease; }
.mobile-filter-select__option:active, .mobile-filter-select__option.is-selected { color: var(--brand-800); background: #edf6ee; }
.mobile-filter-select__radio { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border: 1.5px solid #9caaa0; border-radius: 50%; color: #fff; font-size: calc(12px + 1px); }
.mobile-filter-select__option.is-selected .mobile-filter-select__radio { border-color: var(--brand-600); background: var(--brand-600); }
.mobile-filter-select__radio i { opacity: 0; }
.mobile-filter-select__option.is-selected .mobile-filter-select__radio i { opacity: 1; }
.mobile-filter-select__option-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@keyframes mobile-filter-select-menu-in { from { opacity: 0; transform: translateY(-5px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.mobile-filter-room-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin-top: 8px; }
.mobile-room-choice { position: relative; min-width: 0; }
.mobile-room-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mobile-room-choice span { min-height: 46px; display: grid; place-items: center; border: 1px solid #dbe7dd; border-radius: 12px; color: #64746a; background: #fff; cursor: pointer; font-size: calc(15px + 1px); font-weight: 850; transition: border-color .18s ease, color .18s ease, background-color .18s ease; }
.mobile-room-choice.is-active span { border-color: var(--brand-600); color: #fff; background: var(--brand-600); box-shadow: 0 5px 12px rgba(80, 113, 84, .16); }
.mobile-filter-range-field { display: grid; gap: 6px; }
.mobile-filter-range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; }
.mobile-filter-range input { width: 100%; min-height: 48px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #d7e4d9; border-radius: 14px; color: #27372e; background: #fff; font: inherit; font-size: calc(15px + 1px); }
.mobile-filter-range > span { color: #9aa79f; font-size: calc(15px + 1px); }
.mobile-filter-multiselect { border: 1px solid #d7e4d9; border-radius: 14px; background: #fff; box-shadow: 0 3px 10px rgba(26, 55, 34, .03); }
.mobile-filter-multiselect summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 13px; color: #405448; cursor: pointer; list-style: none; font-size: calc(15px + 1px); font-weight: 800; }
.mobile-filter-multiselect summary::-webkit-details-marker { display: none; }
.mobile-filter-multiselect summary i { color: #829087; transition: transform .18s ease; }
.mobile-filter-multiselect[open] summary i { transform: rotate(180deg); }
.mobile-filter-multiselect__menu { display: grid; gap: 1px; padding: 0 11px 9px; }
.mobile-filter-multiselect__menu label { display: flex; align-items: center; gap: 9px; min-height: 42px; color: #526158; font-size: calc(15px + 1px); }
.mobile-filter-multiselect__menu label,
.mobile-filter-check-row label,
.mobile-search-filter__checks label,
.mobile-room-choice { cursor: pointer; touch-action: manipulation; }
.mobile-filter-multiselect__menu input, .mobile-filter-check-row input { width: 19px; height: 19px; margin: 0; accent-color: var(--brand-600); }
.mobile-filter-check-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mobile-filter-check-row--single { grid-template-columns: 1fr; }
.mobile-filter-hidden-inputs { display: none; }
.mobile-filter-check-row label { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 11px; border: 1px solid #dbe7dd; border-radius: 12px; color: #526158; background: #fff; font-size: calc(14px + 1px); font-weight: 750; }
.mobile-filter-check-row label.is-checked { border-color: var(--brand-600); color: var(--brand-700); background: #eef6ef; }
.mobile-search-filter__footer { display: grid; grid-template-columns: 1fr; gap: 8px; position: sticky; bottom: -13px; margin: 0 -13px -13px; padding: 10px 13px max(10px, env(safe-area-inset-bottom)); border-top: 1px solid #dfe9e1; background: rgba(245, 249, 246, .97); backdrop-filter: blur(12px); }
.mobile-search-filter__footer .mobile-primary-button, .mobile-search-filter__footer .mobile-outline-button, .mobile-search-filter__footer .mobile-search-filter__save { width: 100%; min-height: 52px; box-sizing: border-box; margin: 0; border-radius: 15px; }
.mobile-search-filter__footer .mobile-primary-button { gap: 7px; }
.mobile-filter-submit-count { min-width: 24px; padding: 2px 6px; border-radius: 999px; color: var(--brand-700); background: #fff; font-size: calc(13px + 1px); line-height: 1.2; }
.mobile-search-filter__footer .mobile-search-filter__save { padding: 10px 12px; border-color: var(--brand-200); color: var(--brand-700); background: #fff; text-decoration: none; }
.mobile-search-filter__save-message { color: var(--brand-700); font-size: calc(13px + 1px); font-weight: 800; text-align: center; }
.mobile-search-filter__footer .mobile-outline-button { padding: 10px 12px; text-decoration: none; }

@media (min-width: 541px) {
    .mobile-search-filter-sheet { right: max(0px, calc((100vw - 520px) / 2)); left: max(0px, calc((100vw - 520px) / 2)); }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-search-filter-backdrop, .mobile-search-filter-sheet { transition: none; }
}

/* Команда: мобильный слой использует ту же PHP-разметку и JS, но таблица
   превращается в удобные карточки без горизонтальной прокрутки. */
.mobile-team-page { display: block; min-width: 0; background: transparent; }
.mobile-team-page > .dashboard-sidebar { display: none; }
.mobile-team-page > .dashboard-content { width: 100%; min-width: 0; padding: 0; }
.mobile-team-page .btn,
.mobile-team-page ~ .team-invite-overlay .btn,
.mobile-team-page ~ .team-edit-modal-overlay .btn,
.mobile-team-page ~ .team-confirm-overlay .btn { min-width: 0; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; box-sizing: border-box; padding: 9px 5px; border: 1px solid transparent; border-radius: 12px; color: #27372e; background: #fff; font: inherit; font-size: calc(12px + 1px); font-weight: 850; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.mobile-team-page .btn:active,
.mobile-team-page ~ .team-invite-overlay .btn:active,
.mobile-team-page ~ .team-edit-modal-overlay .btn:active,
.mobile-team-page ~ .team-confirm-overlay .btn:active { transform: translateY(1px); }
.mobile-team-page .btn:focus-visible,
.mobile-team-page button:focus-visible,
.mobile-team-page select:focus-visible,
.mobile-team-page input:focus-visible,
.mobile-team-page textarea:focus-visible,
.mobile-team-page ~ .team-invite-overlay button:focus-visible,
.mobile-team-page ~ .team-invite-overlay select:focus-visible,
.mobile-team-page ~ .team-invite-overlay input:focus-visible,
.mobile-team-page ~ .team-invite-overlay textarea:focus-visible,
.mobile-team-page ~ .team-edit-modal-overlay button:focus-visible,
.mobile-team-page ~ .team-edit-modal-overlay select:focus-visible,
.mobile-team-page ~ .team-edit-modal-overlay input:focus-visible,
.mobile-team-page ~ .team-edit-modal-overlay textarea:focus-visible,
.mobile-team-page ~ .team-confirm-overlay button:focus-visible { outline: 3px solid rgba(80, 113, 84, .22); outline-offset: 2px; }
.mobile-team-page .btn-primary,
.mobile-team-page ~ .team-invite-overlay .btn-primary,
.mobile-team-page ~ .team-edit-modal-overlay .btn-primary,
.mobile-team-page ~ .team-confirm-overlay .btn-primary { border-color: var(--brand-700); color: #fff; background: linear-gradient(135deg, var(--brand-700), var(--brand-600)); box-shadow: 0 6px 14px rgba(80, 113, 84, .18); }
.mobile-team-page .btn-outline,
.mobile-team-page ~ .team-invite-overlay .btn-outline,
.mobile-team-page ~ .team-edit-modal-overlay .btn-outline,
.mobile-team-page ~ .team-confirm-overlay .btn-outline { border-color: var(--brand-200); color: var(--brand-700); background: #fff; }
.mobile-team-page .btn-outline:hover,
.mobile-team-page ~ .team-invite-overlay .btn-outline:hover,
.mobile-team-page ~ .team-edit-modal-overlay .btn-outline:hover,
.mobile-team-page ~ .team-confirm-overlay .btn-outline:hover { border-color: var(--brand-600); background: var(--brand-50); }
.mobile-team-page .btn-danger,
.mobile-team-page ~ .team-invite-overlay .btn-danger,
.mobile-team-page ~ .team-edit-modal-overlay .btn-danger,
.mobile-team-page ~ .team-confirm-overlay .btn-danger { border-color: #c85b66; color: #fff; background: #c85b66; box-shadow: 0 5px 12px rgba(200, 91, 102, .18); }
.mobile-team-page .btn:disabled,
.mobile-team-page ~ .team-invite-overlay .btn:disabled,
.mobile-team-page ~ .team-edit-modal-overlay .btn:disabled,
.mobile-team-page ~ .team-confirm-overlay .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.mobile-team-page .team-filter-preloader { display: none; flex-direction: column; align-items: center; justify-content: center; position: fixed; inset: 0; z-index: 1200; padding: 24px; background: rgba(244, 248, 245, .88); backdrop-filter: blur(4px); }
.mobile-team-page .team-filter-preloader.is-visible { display: flex; }
.mobile-team-page .team-filter-preloader .logo-container { width: 58px; height: 58px; margin: 0 auto 10px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 9px 24px rgba(49, 74, 53, .16); }
.mobile-team-page .team-filter-preloader .logo-container svg { width: 100%; height: 100%; }
.mobile-team-page .team-filter-preloader .preloader-text-block { color: var(--brand-800); text-align: center; }
.mobile-team-page .team-filter-preloader .main-brand { font-size: calc(15px + 1px); font-weight: 900; letter-spacing: .04em; }
.mobile-team-page .team-filter-preloader .sub-brand { margin-top: 4px; color: #718077; font-size: calc(11px + 1px); }
.mobile-team-page .team-tabs { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px !important; margin: 0 0 13px !important; padding: 4px; border: 1px solid #dfe9e1; border-radius: 15px; background: #edf5ef; }
.mobile-team-page .team-tabs .btn { min-height: 40px; padding: 8px 7px; border: 0; border-radius: 11px; box-shadow: none; font-size: calc(12px + 1px); }
.mobile-team-page .team-tabs .btn-primary { color: #fff; background: var(--brand-700); box-shadow: 0 4px 10px rgba(80, 113, 84, .18); }
.mobile-team-page .team-tabs .btn-outline { color: #607168; background: transparent; }
.mobile-team-page .team-tabs .btn-outline:hover { color: var(--brand-700); background: rgba(255, 255, 255, .75); }
.mobile-team-page .team-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; padding: 14px; border: 1px solid #dce9df; border-radius: 18px; background: linear-gradient(145deg, #fff, #f3f8f4); box-shadow: 0 6px 18px rgba(18, 43, 29, .06); }
.mobile-team-page .team-toolbar h3 { min-width: 0; margin: 0; overflow: hidden; color: #304535; font-size: calc(16px + 1px); line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.mobile-team-page .team-toolbar h3 i { margin-right: 6px; color: var(--brand-600); }
.mobile-team-page .team-stats { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; color: #607168; background: #eaf3ec; font-size: calc(11px + 1px); font-weight: 800; white-space: nowrap; }
.mobile-team-page .team-search-wrap { margin: 0 0 13px; }
.mobile-team-page .team-search-form { display: grid; gap: 8px; background: transparent; border: 0; overflow: visible; }
.mobile-team-page .team-search-form .team-role-select { width: 100%; min-height: 44px; box-sizing: border-box; padding: 0 11px; border: 1px solid #dfe9e1; border-radius: 12px; outline: 0; color: #27372e; background: #fff; font: inherit; font-size: calc(14px + 1px); box-shadow: 0 4px 12px rgba(18, 43, 29, .035); }
.mobile-team-page .team-search-inner { position: relative; display: block; min-width: 0; }
.mobile-team-page .team-search-inner > i { position: absolute; z-index: 1; top: 50%; left: 13px; color: var(--brand-600); font-size: 15px; pointer-events: none; transform: translateY(-50%); }
.mobile-team-page .team-search-form .team-search-inner input { width: 100%; min-height: 44px; box-sizing: border-box; padding: 0 12px 0 38px; border: 1px solid #dfe9e1; border-radius: 12px; outline: 0; color: #27372e; background: #fff; font: inherit; font-size: calc(14px + 1px); box-shadow: 0 4px 12px rgba(18, 43, 29, .035); }
.mobile-team-page .team-search-form .team-role-select:focus,
.mobile-team-page .team-search-form .team-search-inner input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(80, 113, 84, .12); }
.mobile-team-page .team-search-inner button { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: #edf5ef; color: #356145; }
.mobile-team-page .team-table-wrap { overflow: visible; margin: 0; border: 0; background: transparent; box-shadow: none; }
.mobile-team-page .team-table { display: block; width: 100%; border: 0; border-collapse: separate; }
.mobile-team-page .team-table thead { display: none; }
.mobile-team-page .team-table tbody { display: grid; gap: 10px; }
.mobile-team-page .team-table tr.team-row,
.mobile-team-page .team-archive-table tbody tr { display: grid; grid-template-columns: 27px minmax(0, 1fr) 42px; gap: 7px 9px; align-items: start; padding: 13px 12px; border: 1px solid #e0ebe2; border-radius: 17px; background: #fff; box-shadow: 0 7px 22px rgba(41, 67, 50, .06); }
.mobile-team-page .team-table tr.team-row td,
.mobile-team-page .team-archive-table tbody tr td { display: block; min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere; }
.mobile-team-page .team-table tr.team-row td:nth-child(1) { grid-column: 1; grid-row: 1 / span 5; padding-top: 2px; }
.mobile-team-page .team-table tr.team-row td:nth-child(2) { grid-column: 2; grid-row: 1; }
.mobile-team-page .team-table tr.team-row td:nth-child(3) { grid-column: 2; grid-row: 2; margin-top: 4px; padding: 8px 9px 4px; border: 1px solid #dfe9e1; border-bottom: 0; border-radius: 9px 9px 0 0; color: #526158; background: #f5f9f6; box-shadow: inset 3px 0 0 rgba(80, 113, 84, .18); font-size: calc(13px + 1px); }
.mobile-team-page .team-table tr.team-row td:nth-child(4) { grid-column: 2; grid-row: 3; margin-top: -7px; padding: 4px 9px 8px; border: 1px solid #dfe9e1; border-top: 0; border-radius: 0 0 9px 9px; overflow: hidden; color: #65756b; background: #f5f9f6; box-shadow: inset 3px 0 0 rgba(80, 113, 84, .18); font-size: calc(13px + 1px); text-overflow: ellipsis; white-space: nowrap; }
.mobile-team-page .team-table tr.team-row td:nth-child(5),
.mobile-team-page .team-table tr.team-row td:nth-child(6) { grid-column: 2 / 4; grid-row: 4; max-width: 48%; min-height: 20px; padding-top: 8px; color: #718077; font-size: calc(10px + 1px); white-space: nowrap; }
.mobile-team-page .team-table tr.team-row td:nth-child(5) { justify-self: start; }
.mobile-team-page .team-table tr.team-row td:nth-child(6) { justify-self: end; text-align: right; }
.mobile-team-page .team-table tr.team-row td:nth-child(7) { grid-column: 3; grid-row: 1; justify-self: end; }
.mobile-team-page .team-table tr.team-row td:nth-child(8) { grid-column: 3; grid-row: 2; justify-self: end; }
.mobile-team-page .team-table tr.team-row td:nth-child(7) > *,
.mobile-team-page .team-table tr.team-row td:nth-child(8) > * { max-width: 100%; }
.mobile-team-page .team-row--blocked { border-color: #efc8c4 !important; background: #fffafa !important; }
.mobile-team-page .team-row--blocked td:nth-child(n+2) { opacity: .72; }
.mobile-team-page .team-row--blocked td:first-child,
.mobile-team-page .team-row--blocked td:nth-child(2),
.mobile-team-page .team-row--blocked td:nth-child(7),
.mobile-team-page .team-row--blocked td:nth-child(8) { opacity: 1; }
.mobile-team-page .checkbox-item { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: #526158; font-weight: 400; cursor: pointer; }
.mobile-team-page .checkbox-item input[type="checkbox"] { -webkit-appearance: none; appearance: none; position: relative; width: 18px; height: 18px; flex: 0 0 18px; margin: 0; border: 2px solid #cbdacf; border-radius: 5px; background: #fff; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease; }
.mobile-team-page .checkbox-item input[type="checkbox"]:hover { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(80, 113, 84, .12); }
.mobile-team-page .checkbox-item input[type="checkbox"]:focus-visible { outline: 0; border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(80, 113, 84, .16); }
.mobile-team-page .checkbox-item input[type="checkbox"]:checked { border-color: var(--brand-700); background: var(--brand-700); }
.mobile-team-page .checkbox-item input[type="checkbox"]:checked::after { content: ''; position: absolute; top: 1px; left: 4px; width: 6px; height: 10px; border: 2px solid #fff; border-top: 0; border-left: 0; transform: rotate(45deg); }
.mobile-team-page .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mobile-team-page .team-member-checkbox { width: 18px; height: 18px; margin: 0; accent-color: var(--brand-600); }
.mobile-team-page .team-name-btn { display: block; max-width: 100%; padding: 0; overflow: hidden; border: 0; background: transparent; color: #20382a; font: inherit; font-size: calc(15px + 1px); font-weight: 850; line-height: 1.25; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.mobile-team-page .team-name-btn:hover { color: var(--brand-700); }
.mobile-team-page .team-role-badge { display: inline-flex; max-width: 100%; margin-top: 5px; padding: 4px 8px; overflow: hidden; border-radius: 999px; color: #4e6958; background: #edf5ef; font-size: calc(10px + 1px); font-weight: 800; line-height: 1.1; text-overflow: ellipsis; white-space: nowrap; }
.mobile-team-page .team-role-badge.admin { color: #b91c1c; background: #fee2e2; }
.mobile-team-page .team-role-badge.moderator { color: #92400e; background: #fef3c7; }
.mobile-team-page .team-role-badge.rop { color: #1d4ed8; background: #dbeafe; }
.mobile-team-page .team-role-badge.rg { color: #4338ca; background: #e0e7ff; }
.mobile-team-page .team-role-badge.agent { color: #166534; background: #dcfce7; }
.mobile-team-page .team-objects-btn,
.mobile-team-page .team-block-btn { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 7px; border-radius: 11px; cursor: pointer; }
.mobile-team-page .team-objects-btn { border: 1px solid #d6e5d9; background: #f2f8f3; }
.mobile-team-page .team-objects-icon { position: relative; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; }
.mobile-team-page .team-objects-icon i { color: var(--brand-700); font-size: 16px; }
.mobile-team-page .team-objects-count { position: absolute; right: -7px; bottom: -5px; min-width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 0 3px; border-radius: 999px; color: #fff; background: var(--brand-700); font-size: 10px; font-weight: 800; line-height: 1; pointer-events: none; }
.mobile-team-page .team-block-btn { border: 1px solid transparent; }
.mobile-team-page .team-block-btn.is-blocked { color: #166534; background: #dcfce7; }
.mobile-team-page .team-block-btn.not-blocked { color: #b91c1c; background: #fee2e2; }
.mobile-team-page .team-table tr.team-row td:nth-child(8) .team-block-btn { display: none !important; }
.mobile-team-page .team-toolbar { position: relative; overflow: hidden; border-color: rgba(199, 216, 201, .9); background: linear-gradient(135deg, #fdfefd 0%, #edf6ef 58%, #e3f0e5 100%); box-shadow: 0 10px 24px rgba(45, 77, 53, .1); }
.mobile-team-page .team-toolbar::after { content: ''; position: absolute; top: -46px; right: -30px; width: 136px; height: 136px; border: 18px solid rgba(100, 134, 103, .09); border-radius: 50%; pointer-events: none; }
.mobile-team-page .team-toolbar h3,
.mobile-team-page .team-toolbar .team-stats { position: relative; z-index: 1; }
.mobile-team-page .team-toolbar h3 { display: flex; align-items: center; gap: 7px; }
.mobile-team-page .team-toolbar h3 i { width: 30px; height: 30px; display: inline-grid; place-items: center; flex: 0 0 30px; margin-right: 0; border-radius: 10px; color: #fff; background: linear-gradient(145deg, var(--brand-600), var(--brand-800)); box-shadow: 0 5px 10px rgba(80, 113, 84, .2); font-size: 14px; }
.mobile-team-page .team-stats { border: 1px solid rgba(100, 134, 103, .16); color: var(--brand-800); background: rgba(255, 255, 255, .7); box-shadow: 0 4px 9px rgba(45, 77, 53, .06); }
.mobile-team-page .team-table tbody { gap: 12px; }
.mobile-team-page .team-table tr.team-row,
.mobile-team-page .team-archive-table tbody tr { position: relative; isolation: isolate; overflow: hidden; padding: 12px 10px 10px; border-color: #d8e6da; border-radius: 12px; background: #fff; box-shadow: 0 1px 4px rgba(41, 67, 50, .07); transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.mobile-team-page .team-table tr.team-row::before,
.mobile-team-page .team-archive-table tbody tr::before { content: ''; position: absolute; top: 10px; bottom: 10px; left: 0; z-index: 2; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand-700); pointer-events: none; }
.mobile-team-page .team-table tr.team-row::after,
.mobile-team-page .team-archive-table tbody tr::after { display: none; }
.mobile-team-page .team-table tr.team-row:hover,
.mobile-team-page .team-archive-table tbody tr:hover { border-color: #b9d1bd; box-shadow: 0 2px 7px rgba(41, 67, 50, .08); }
.mobile-team-page .team-table tr.team-row td,
.mobile-team-page .team-archive-table tbody tr td { position: relative; z-index: 1; }
.mobile-team-page .team-table tr.team-row td:nth-child(1) { z-index: 2; padding-top: 3px; }
.mobile-team-page .team-table tr.team-row td:nth-child(2) { position: relative; min-height: 42px; padding-left: 40px; }
.mobile-team-page .team-table tr.team-row td:nth-child(2)::before { content: '\f007'; position: absolute; top: 0; left: 0; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #d7e4d9; border-radius: 8px; color: var(--brand-700); background: #f2f6f3; box-shadow: none; font-family: 'Font Awesome 6 Free'; font-size: 13px; font-weight: 900; }
.mobile-team-page .team-name-line { display: flex; align-items: center; gap: 6px; min-width: 0; }
.mobile-team-page .team-name-line .team-name-btn { min-width: 0; flex: 1 1 auto; }
.mobile-team-page .team-mobile-blocked-lock { width: 24px; height: 24px; display: inline-flex !important; flex: 0 0 24px; align-items: center; justify-content: center; border: 1px solid #e1a6a2; border-radius: 7px; color: #b54848; background: #fff0ef; font-size: 13px; }
.mobile-team-page .team-name-btn { position: relative; z-index: 1; margin: 0; color: #20382a; font-size: calc(14px + 2px); font-weight: 900; letter-spacing: -.02em; }
.mobile-team-page .team-name-btn:hover { color: var(--brand-800); }
.mobile-team-page .team-role-badge { display: flex; width: fit-content; margin-top: 3px; padding: 3px 7px; border: 1px solid rgba(80, 113, 84, .14); box-shadow: none; letter-spacing: .01em; }
.mobile-team-page .team-role-badge.user { color: #5d6870; background: #eef1f3; }
.mobile-team-page .team-table tr.team-row td:nth-child(3),
.mobile-team-page .team-table tr.team-row td:nth-child(4),
.mobile-team-page .team-table tr.team-row td:nth-child(5),
.mobile-team-page .team-table tr.team-row td:nth-child(6) { display: flex; align-items: center; gap: 6px; min-height: 18px; }
.mobile-team-page .team-table tr.team-row td:nth-child(3)::before,
.mobile-team-page .team-table tr.team-row td:nth-child(4)::before,
.mobile-team-page .team-table tr.team-row td:nth-child(5)::before,
.mobile-team-page .team-table tr.team-row td:nth-child(6)::before { flex: 0 0 auto; color: #91aa96; font-family: 'Font Awesome 6 Free'; font-size: 11px; font-weight: 900; }
.mobile-team-page .team-table tr.team-row td:nth-child(3)::before { content: '\f095'; }
.mobile-team-page .team-table tr.team-row td:nth-child(4)::before { content: '\f0e0'; }
.mobile-team-page .team-table tr.team-row td:nth-child(5)::before { content: '\f133'; }
.mobile-team-page .team-table tr.team-row td:nth-child(6)::before { content: '\f017'; }
.mobile-team-page .team-objects-btn,
.mobile-team-page .team-block-btn { position: relative; z-index: 2; border: 1px solid #d1e3d4; box-shadow: none; transition: background-color .18s ease, border-color .18s ease; }
.mobile-team-page .team-objects-btn:hover,
.mobile-team-page .team-block-btn:hover { border-color: #a9c5ae; box-shadow: none; }
.mobile-team-page .team-objects-btn { background: linear-gradient(145deg, #f8fcf8, #e7f2e9); }
.mobile-team-page .team-block-btn.is-blocked { background: linear-gradient(145deg, #f1fbf2, #dcf5df); }
.mobile-team-page .team-block-btn.not-blocked { background: linear-gradient(145deg, #fff4f3, #fee2e2); }
.mobile-team-page .team-row--blocked { border-color: #e3b5b1 !important; background: #fff6f5 !important; }
.mobile-team-page .team-row--blocked::before { background: #c85b5b; }
.mobile-team-page .team-archive-table tbody tr { padding: 15px 14px 14px; }
.mobile-team-page .team-archive-table tbody tr td:first-child { padding-left: 30px; }
.mobile-team-page .team-archive-table tbody tr td:first-child::before { content: '\f2bd'; position: absolute; top: 0; left: 0; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 8px; color: var(--brand-700); background: var(--brand-50); font-family: 'Font Awesome 6 Free'; font-size: 12px; font-weight: 900; }
.mobile-team-page .team-blocked-badge { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 11px; color: #b91c1c; background: #fee2e2; font-size: 0; }
.mobile-team-page .team-blocked-badge i { font-size: 15px; }
.mobile-team-page .team-empty { padding: 34px 14px; border: 1px dashed #ccdacf; border-radius: 17px; background: #fff; text-align: center; box-shadow: 0 6px 18px rgba(18, 43, 29, .04); }
.mobile-team-page .team-empty i { color: #91a99a; font-size: calc(28px + 1px); }
.mobile-team-page .team-empty p { margin: 9px 0 0; color: #63746a; font-size: calc(14px + 1px); line-height: 1.45; }
.mobile-team-page .team-archive-table tbody tr { grid-template-columns: minmax(0, 1fr); gap: 7px; }
.mobile-team-page .team-archive-table tbody tr td { grid-column: 1 !important; grid-row: auto !important; }
.mobile-team-page .team-archive-table tbody tr td:first-child { color: #20382a; font-size: calc(15px + 1px); font-weight: 850; }
.mobile-team-page .team-archive-table tbody tr td:nth-child(n+3) { color: #718077; font-size: calc(11px + 1px); }
.mobile-team-page .team-archive-table tbody tr td:nth-child(2) { margin-bottom: 2px; }
.mobile-team-page ~ .team-invite-overlay,
.mobile-team-page ~ .team-edit-modal-overlay,
.mobile-team-page ~ .team-confirm-overlay,
.mobile-team-page ~ .team-objects-overlay { display: none; align-items: flex-end; justify-content: center; position: fixed; inset: 0; z-index: 1100; box-sizing: border-box; padding: 12px; background: rgba(11, 27, 18, .54); backdrop-filter: blur(3px); overflow: auto; }
.mobile-team-page ~ .team-invite-overlay:not(.hidden),
.mobile-team-page ~ .team-edit-modal-overlay:not(.hidden),
.mobile-team-page ~ .team-confirm-overlay:not(.hidden),
.mobile-team-page ~ .team-objects-overlay:not(.hidden) { display: flex; }
.mobile-team-page ~ .team-invite-overlay.hidden,
.mobile-team-page ~ .team-edit-modal-overlay.hidden,
.mobile-team-page ~ .team-confirm-overlay.hidden,
.mobile-team-page ~ .team-objects-overlay.hidden { display: none; }
.mobile-team-page ~ .team-invite-overlay .team-invite-modal,
.mobile-team-page ~ .team-edit-modal-overlay .team-edit-modal,
.mobile-team-page ~ .team-confirm-overlay .team-confirm-modal { width: min(100%, 520px); max-height: calc(100dvh - 24px); box-sizing: border-box; overflow: auto; border: 1px solid #dce9df; border-radius: 22px 22px 16px 16px; background: #fff; box-shadow: 0 18px 50px rgba(11, 27, 18, .2); }
.mobile-team-page ~ .team-invite-overlay .team-invite-modal { padding: 18px 15px calc(18px + env(safe-area-inset-bottom)); }
.mobile-team-page ~ .team-edit-modal-overlay .team-edit-modal { padding: 17px 15px calc(28px + env(safe-area-inset-bottom)); }
.mobile-team-page ~ .team-confirm-overlay .team-confirm-modal { padding: 18px 15px; }
.mobile-team-page ~ .team-edit-modal-overlay .team-edit-modal__close { position: sticky; top: 0; z-index: 2; float: right; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; margin: -4px 0 0 8px; border: 1px solid #dce9df; border-radius: 12px; color: #607168; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.mobile-team-page ~ .team-edit-modal-overlay .team-edit-modal h2 { clear: both; margin: 3px 0 20px; color: #304535; font-size: calc(19px + 1px); line-height: 1.2; }
.mobile-team-page ~ .team-invite-overlay .team-invite-modal h3,
.mobile-team-page ~ .team-confirm-overlay .team-confirm-modal h3 { margin: 0 0 10px; color: #304535; font-size: calc(17px + 1px); line-height: 1.25; }
.mobile-team-page ~ .team-confirm-overlay .team-confirm-modal p { margin: 0 0 18px; color: #718077; font-size: calc(13px + 1px); line-height: 1.45; }
.mobile-team-page ~ .team-invite-overlay .form-group,
.mobile-team-page ~ .team-edit-modal-overlay .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.mobile-team-page ~ .team-invite-overlay label,
.mobile-team-page ~ .team-edit-modal-overlay label { color: #526158; font-size: calc(12px + 1px); font-weight: 800; line-height: 1.3; }
.mobile-team-page ~ .team-edit-modal-overlay .form-section-title { margin: 20px 0 11px; padding-bottom: 7px; border-bottom: 1px solid #e5eee6; color: var(--brand-700); font-size: calc(11px + 1px); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.mobile-team-page ~ .team-edit-modal-overlay .form-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.mobile-team-page ~ .team-edit-modal-overlay .form-group input,
.mobile-team-page ~ .team-edit-modal-overlay .form-group select,
.mobile-team-page ~ .team-edit-modal-overlay .form-group textarea,
.mobile-team-page ~ .team-invite-overlay input,
.mobile-team-page ~ .team-invite-overlay select { width: 100%; min-height: 44px; box-sizing: border-box; padding: 9px 11px; border: 1px solid #dce9df; border-radius: 11px; outline: 0; color: #27372e; background: #f9fcfa; font: inherit; font-size: calc(14px + 1px); }
.mobile-team-page ~ .team-edit-modal-overlay .form-group textarea { min-height: 96px; resize: vertical; }
.mobile-team-page ~ .team-edit-modal-overlay .form-group input:focus,
.mobile-team-page ~ .team-edit-modal-overlay .form-group select:focus,
.mobile-team-page ~ .team-edit-modal-overlay .form-group textarea:focus,
.mobile-team-page ~ .team-invite-overlay input:focus,
.mobile-team-page ~ .team-invite-overlay select:focus { border-color: var(--brand-500); background: #fff; box-shadow: 0 0 0 3px rgba(80, 113, 84, .12); }
.mobile-team-page ~ .team-edit-modal-overlay .form-group label[style*="display:flex"] { flex-direction: row; align-items: flex-start; }
.mobile-team-page ~ .team-edit-modal-overlay .messenger-list { display: grid; gap: 8px; }
.mobile-team-page ~ .team-edit-modal-overlay .messenger-row { display: grid; grid-template-columns: 22px minmax(0, .9fr) minmax(0, 1.1fr) 34px; gap: 6px; align-items: center; padding: 8px; border: 1px solid #dfe9e1; border-radius: 12px; background: #f7faf8; }
.mobile-team-page ~ .team-edit-modal-overlay .messenger-drag-handle { padding: 0; color: #8a978f; font-size: 15px; }
.mobile-team-page ~ .team-edit-modal-overlay .messenger-row select,
.mobile-team-page ~ .team-edit-modal-overlay .messenger-row input { width: 100%; min-width: 0; min-height: 38px; box-sizing: border-box; padding: 7px; border: 1px solid #dce9df; border-radius: 9px; color: #27372e; background: #fff; font: inherit; font-size: calc(11px + 1px); }
.mobile-team-page ~ .team-edit-modal-overlay .messenger-del-btn { width: 34px; height: 34px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 9px; color: #b91c1c; background: #fee2e2; cursor: pointer; }
.mobile-team-page ~ .team-edit-modal-overlay .messenger-add-btn { width: 100%; margin-top: 5px; }
.mobile-team-page ~ .team-edit-modal-overlay form > div[style*="margin-top:28px"],
.mobile-team-page ~ .team-invite-overlay .btn-row,
.mobile-team-page ~ .team-confirm-overlay .btn-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px !important; margin-top: 18px !important; }
.mobile-team-page ~ .team-edit-modal-overlay form > div[style*="margin-top:28px"] .btn,
.mobile-team-page ~ .team-invite-overlay .btn-row .btn,
.mobile-team-page ~ .team-confirm-overlay .btn-row .btn { width: 100%; }
.mobile-team-page ~ .team-invite-overlay .team-invite-result { margin-top: 12px; padding: 12px 0 0; border-top: 1px solid #e5eee6; }
.mobile-team-page ~ .team-invite-overlay .team-invite-result.hidden { display: none !important; }
.mobile-team-page ~ .team-invite-overlay .team-invite-url-group { margin-bottom: 0; }
.mobile-team-page ~ .team-invite-overlay .team-invite-url-field { position: relative; display: flex; align-items: center; }
.mobile-team-page ~ .team-invite-overlay .team-invite-url-field input { padding-right: 48px !important; text-overflow: ellipsis; }
.mobile-team-page ~ .team-invite-overlay .team-invite-copy-btn { position: absolute; right: 5px; width: 36px; height: 34px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 9px; color: #fff; background: var(--brand-700); cursor: pointer; }
.mobile-team-page ~ .team-invite-overlay .team-invite-copy-btn span { display: none; }
.mobile-team-page ~ .team-invite-overlay .team-invite-copy-status { display: block; min-height: 18px; margin-top: 5px; color: #3c8a64; font-size: calc(11px + 1px); font-weight: 800; }
.mobile-team-page ~ .team-objects-overlay { align-items: stretch; padding: 0; }
.mobile-team-page ~ .team-objects-overlay .team-objects-modal { width: 100%; height: 100%; display: flex; flex-direction: column; position: relative; overflow: hidden; border-radius: 0; background: #f5f9f6; }
.mobile-team-page ~ .team-objects-overlay .team-objects-modal__close { position: fixed; top: calc(10px + env(safe-area-inset-top)); right: 12px; z-index: 2; width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dce9df; border-radius: 12px; color: #304535; background: rgba(255, 255, 255, .94); box-shadow: 0 4px 14px rgba(18, 43, 29, .12); font-size: 22px; cursor: pointer; }
.mobile-team-page ~ .team-objects-overlay .team-objects-iframe { width: 100%; height: 100%; flex: 1 1 auto; border: 0; background: #f5f9f6; }
.mobile-team-page ~ .crm-bottom-panel { position: fixed; right: 12px; bottom: calc(70px + env(safe-area-inset-bottom)); left: 12px; z-index: 800; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; box-sizing: border-box; padding: 8px; border: 1px solid #dce9df; border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: 0 7px 20px rgba(18, 43, 29, .13); transform: none; white-space: normal; }
.mobile-team-page ~ .crm-bottom-panel .crm-bottom-panel__count,
.mobile-team-page ~ .crm-bottom-panel #teamPanelSave { display: none !important; }
.mobile-team-page ~ .crm-bottom-panel .btn { width: 100%; min-height: 40px; padding: 8px 6px; border-radius: 10px; font-size: calc(11px + 1px); }
.mobile-team-page ~ .crm-bottom-panel .btn .team-panel-button-label { display: none; }
.mobile-team-page ~ .crm-bottom-panel .btn i { margin: 0; font-size: 16px; }
.mobile-team-page ~ .crm-bottom-panel #teamPanelAdd,
.mobile-team-page ~ .crm-bottom-panel #teamPanelBlock,
.mobile-team-page ~ .crm-bottom-panel #teamPanelUnblock { border-color: #cfe1d2; color: var(--brand-700); background: #f2f8f3; box-shadow: none; }
.mobile-team-page ~ .crm-bottom-panel #teamPanelAdd:hover,
.mobile-team-page ~ .crm-bottom-panel #teamPanelBlock:hover,
.mobile-team-page ~ .crm-bottom-panel #teamPanelUnblock:hover { border-color: var(--brand-500); background: #e8f3ea; }
.mobile-team-page ~ .crm-bottom-panel #teamPanelFire { border-color: #e7b9b9; color: #b54848; background: #fff3f2; box-shadow: none; }
.mobile-team-page ~ .crm-bottom-panel #teamPanelFire:hover { border-color: #d98f8f; background: #ffe8e6; }
.mobile-team-page ~ .crm-bottom-panel > span[style] { grid-column: 1 / -1; padding: 4px; color: #718077 !important; font-size: calc(11px + 1px) !important; text-align: center; }
.mobile-team-page + .team-toast,
.app-content > .team-toast { position: fixed; z-index: 1300; right: 12px; bottom: calc(138px + env(safe-area-inset-bottom)); left: 12px; width: auto; box-sizing: border-box; padding: 11px 14px; border-radius: 13px; color: #fff; background: #263a2b; font-size: calc(12px + 1px); text-align: center; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.mobile-team-page + .team-toast.show,
.app-content > .team-toast.show { opacity: 1; transform: translateY(0); }
.mobile-team-page + .team-toast.ok,
.app-content > .team-toast.ok { color: #fff; background: #3c8a64; }
.mobile-team-page + .team-toast.err,
.app-content > .team-toast.err { color: #fff; background: #b91c1c; }

@media (max-width: 360px) {
    .mobile-team-page .team-table tr.team-row { grid-template-columns: 24px minmax(0, 1fr) 38px; gap: 6px; padding-inline: 10px; }
    .mobile-team-page .team-name-btn { font-size: calc(14px + 1px); }
    .mobile-team-page .team-toolbar { padding: 12px; }
    .mobile-team-page .team-toolbar h3 { font-size: calc(15px + 1px); }
    .mobile-team-page .team-stats { font-size: 11px; }
    .mobile-team-page ~ .team-edit-modal-overlay .messenger-row { grid-template-columns: 18px minmax(0, .9fr) minmax(0, 1.1fr) 30px; gap: 4px; padding: 6px; }
    .mobile-team-page ~ .team-edit-modal-overlay .messenger-row select,
    .mobile-team-page ~ .team-edit-modal-overlay .messenger-row input { padding-inline: 5px; font-size: 11px; }
}

@media (min-width: 541px) {
    .mobile-team-page { max-width: 520px; margin: 0 auto; }
}

/* Общая статистика CRM: источником данных остаётся dashboard.php, на mobile
   меняется только размещение уже существующих карточек и графиков. */
.mobile-dashboard-page { display: block; min-width: 0; background: transparent; }
.mobile-dashboard-page > .dashboard-sidebar { display: none; }
.mobile-dashboard-page > .dashboard-content { width: 100%; min-width: 0; padding: 0; background: transparent; }
.mobile-dashboard-page .admin-dashboard-heading { display: grid; position: relative; gap: 12px; margin: -2px 0 14px; padding: 17px 15px 15px; border: 0; border-radius: 20px; color: #fff; background: linear-gradient(145deg, var(--brand-900) 0%, var(--brand-700) 100%); box-shadow: 0 10px 24px rgba(49, 74, 53, .2); overflow: hidden; }
.mobile-dashboard-page .admin-dashboard-heading::after { content: ''; width: 104px; height: 104px; position: absolute; right: -35px; bottom: -48px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; box-shadow: 0 0 0 14px rgba(255, 255, 255, .05), 0 0 0 29px rgba(255, 255, 255, .035); pointer-events: none; }
.mobile-dashboard-page .admin-dashboard-heading > div:first-child { position: relative; z-index: 1; min-width: 0; }
.mobile-dashboard-page .admin-dashboard-heading .admin-page-title { display: flex; align-items: center; gap: 8px; margin: 0; color: #fff; font-size: calc(20px + 1px); line-height: 1.2; letter-spacing: -.035em; }
.mobile-dashboard-page .admin-dashboard-heading .admin-page-title i { width: 34px; height: 34px; display: inline-grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: var(--brand-800); background: rgba(255, 255, 255, .92); font-size: 16px; }
.mobile-dashboard-page .admin-dashboard-heading p { max-width: 34rem; margin: 7px 0 0; color: #dceade; font-size: calc(13px + 1px); line-height: 1.45; }
.mobile-dashboard-page .dashboard-bunny-balance { position: relative; z-index: 1; width: 100%; box-sizing: border-box; margin: 0; padding: 10px 11px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 13px; color: #fff; background: rgba(255, 255, 255, .12); box-shadow: none; }
.mobile-dashboard-page .dashboard-bunny-balance__settings { min-width: 0; }
.mobile-dashboard-page .dashboard-bunny-balance__settings span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-dashboard-page .dashboard-bunny-balance__settings strong { color: #fff; }
.mobile-dashboard-page .dashboard-bunny-balance i,
.mobile-dashboard-page .dashboard-bunny-balance--warning i,
.mobile-dashboard-page .dashboard-bunny-balance--critical i,
.mobile-dashboard-page .dashboard-bunny-balance--unavailable i { color: var(--warm); }
.mobile-dashboard-page .dashboard-bunny-balance--warning,
.mobile-dashboard-page .dashboard-bunny-balance--critical,
.mobile-dashboard-page .dashboard-bunny-balance--unavailable { border-color: rgba(255, 255, 255, .32); color: #fff; background: rgba(255, 255, 255, .14); }
.mobile-dashboard-page .admin-dashboard-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 14px; }
.mobile-dashboard-page .admin-dashboard-stats .stat-card { min-width: 0; min-height: 94px; position: relative; padding: 13px 12px 11px; box-sizing: border-box; border: 1px solid #e1ebe3; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(18, 43, 29, .06); }
.mobile-dashboard-page .admin-dashboard-stats .stat-card::after { content: ''; width: 30px; height: 3px; position: absolute; right: 12px; top: 0; border-radius: 0 0 5px 5px; background: var(--brand-600); }
.mobile-dashboard-page .admin-dashboard-stats .stat-number { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--brand-800); font-size: calc(20px + 1px); font-weight: 900; letter-spacing: -.035em; }
.mobile-dashboard-page .admin-dashboard-stats .stat-number[style*="#e67e22"] { color: #b96a08 !important; }
.mobile-dashboard-page .admin-dashboard-stats .stat-number[style*="#c0392b"] { color: #b7352a !important; }
.mobile-dashboard-page .admin-dashboard-stats .stat-label { display: block; margin-top: 8px; color: #6b7b70; font-size: calc(12px + 1px); line-height: 1.25; }
.mobile-dashboard-page .admin-dashboard-stat-icon { width: 28px; height: 28px; display: inline-grid; place-items: center; flex: 0 0 auto; margin-right: 0; border-radius: 9px; color: var(--brand-700); background: var(--brand-50); font-size: calc(14px + 1px); }
.mobile-dashboard-page .admin-dashboard-expiry-panel { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 12px; padding: 13px; border: 1px solid #dce9df; border-radius: 17px; background: linear-gradient(145deg, #fff, #f5faf6); box-shadow: 0 6px 18px rgba(18, 43, 29, .06); }
.mobile-dashboard-page .admin-dashboard-expiry-panel__items { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mobile-dashboard-page .admin-dashboard-expiry-panel__heading { display: inline-flex; align-items: center; gap: 7px; color: #304535; font-size: calc(13px + 1px); }
.mobile-dashboard-page .admin-dashboard-expiry-panel__heading > i { color: var(--brand-600); }
.mobile-dashboard-page .admin-dashboard-expiry-item { min-width: 0; padding: 10px; border: 1px solid #e3eee5; border-radius: 12px; background: rgba(255, 255, 255, .8); }
.mobile-dashboard-page .admin-dashboard-expiry-item strong { display: block; margin-top: 3px; font-size: calc(14px + 1px); }
.mobile-dashboard-page .admin-dashboard-expiry-item__status { display: block; margin-top: 4px; font-size: calc(12px + 1px); }
.mobile-dashboard-page .admin-dashboard-expiry-panel--warning { border-color: #f1d29b; background: linear-gradient(145deg, #fffdf7, #fff8e9); }
.mobile-dashboard-page .admin-dashboard-expiry-panel--critical,
.mobile-dashboard-page .admin-dashboard-expiry-panel--expired { border-color: #efc1bc; background: linear-gradient(145deg, #fffafa, #fff3f1); }
.mobile-dashboard-page .admin-dashboard-chart-grid { display: grid; gap: 12px; margin-top: 12px; }
.mobile-dashboard-page .admin-dashboard-chart-card { min-width: 0; padding: 14px 13px 13px; border: 1px solid #e1ebe3; border-radius: 17px; background: #fff; box-shadow: 0 6px 18px rgba(18, 43, 29, .06); overflow: hidden; }
.mobile-dashboard-page .admin-dashboard-chart-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.mobile-dashboard-page .admin-dashboard-chart-heading h2 { margin: 0; font-size: calc(15px + 1px); line-height: 1.25; }
.mobile-dashboard-page .admin-dashboard-chart-heading p { margin: 4px 0 0; color: #7a887f; font-size: calc(12px + 1px); line-height: 1.35; }
.mobile-dashboard-page .admin-dashboard-chart-heading > i { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: var(--brand-700); background: var(--brand-50); }
.mobile-dashboard-page .dashboard-chart-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin: 12px 0 8px; }
.mobile-dashboard-page .dashboard-chart-summary span { min-width: 0; padding: 8px 5px 7px; border: 1px solid #e5eee6; border-radius: 10px; background: #f5f9f6; color: #708077; font-size: calc(11px + 1px); line-height: 1.15; text-align: center; }
.mobile-dashboard-page .dashboard-chart-summary strong { display: block; margin-top: 2px; color: #294535; font-size: calc(15px + 1px); }
.mobile-dashboard-page .dashboard-chart-summary span + span::before { content: none; }
.mobile-dashboard-page .dashboard-month-chart { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 3px; min-height: 150px; padding: 6px 1px 0; border-bottom: 1px solid #e6eee7; overflow: hidden; }
.mobile-dashboard-page .dashboard-month-column { display: grid; grid-template-rows: 17px minmax(70px, 1fr) 16px; min-width: 0; align-items: end; }
.mobile-dashboard-page .dashboard-chart-value { overflow: hidden; color: #6b7c71; font-size: calc(10px + 1px); text-align: center; text-overflow: ellipsis; }
.mobile-dashboard-page .dashboard-month-track { display: flex; align-items: end; height: 100%; min-height: 70px; border-radius: 6px 6px 2px 2px; background: #edf4ef; }
.mobile-dashboard-page .dashboard-chart-bar { display: block; width: 100%; min-height: 2px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #82ad88, var(--brand-700)); }
.mobile-dashboard-page .dashboard-chart-label { overflow: hidden; color: #88958d; font-size: calc(8px + 1px); text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.mobile-dashboard-page .dashboard-property-chart { display: grid; gap: 13px; margin-top: 15px; }
.mobile-dashboard-page .dashboard-property-row { display: grid; gap: 5px; }
.mobile-dashboard-page .dashboard-property-label { display: flex; justify-content: space-between; gap: 8px; color: #5f7065; font-size: calc(13px + 1px); }
.mobile-dashboard-page .dashboard-property-label strong { color: var(--brand-700); }
.mobile-dashboard-page .dashboard-property-track { height: 9px; overflow: hidden; border-radius: 999px; background: #edf4ef; }
.mobile-dashboard-page .dashboard-property-track span { display: block; height: 100%; border-radius: inherit; }
.mobile-dashboard-page .dashboard-no-data { color: #7c8a81; font-size: calc(13px + 1px); }

.mobile-dashboard-page .admin-dashboard-heading a:focus-visible,
.mobile-dashboard-page .admin-dashboard-expiry-panel__settings:focus-visible,
.mobile-dashboard-page .dashboard-month-column:focus-visible { outline: 3px solid rgba(207, 119, 10, .4); outline-offset: 2px; }

@media (min-width: 541px) {
    .mobile-dashboard-page { max-width: 520px; margin: 0 auto; }
}

/* Карта: API и обработчики остаются прежними, на mobile меняется только
   порядок блоков и размеры интерактивных элементов. */
.mobile-map-page .map-page-wrap { display: grid; gap: 12px; margin: 0 !important; }
.mobile-map-page .map-filter-bar { min-width: 0; }
.mobile-map-page .property-filter-wrapper { overflow: visible; border: 1px solid #dfe9e1; border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-map-page .filter-header { display: grid; gap: 10px; padding: 12px; border-radius: 16px 16px 0 0; }
.mobile-map-page .filter-header-left,
.mobile-map-page .filter-header-right { width: 100%; min-width: 0; }
.mobile-map-page .filter-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mobile-map-page .filter-tab { min-height: 42px; border-radius: 11px; font-size: calc(13px + 1px); }
.mobile-map-page .filter-header-right { display: grid; grid-template-columns: 1fr; gap: 6px; }
.mobile-map-page .filter-checkbox { min-height: 35px; padding: 7px 9px; border-radius: 9px; font-size: calc(12px + 1px); }
.mobile-map-page .filter-body { padding: 12px; overflow: visible; }
.mobile-map-page .filter-body .filter-fields-container { display: grid; grid-template-columns: 1fr; gap: 9px; margin: 0; }
.mobile-map-page .filter-field-wrapper { min-width: 0; width: auto; margin: 0; }
.mobile-map-page .filter-field { display: grid; gap: 5px; min-width: 0; }
.mobile-map-page .filter-field > label { color: #607168; font-size: calc(12px + 1px); font-weight: 800; }
.mobile-map-page .filter-field select,
.mobile-map-page .filter-field input { width: 100%; min-height: 42px; box-sizing: border-box; border: 1px solid #dfe9e1; border-radius: 10px; background: #fff; color: #293a30; font: inherit; font-size: calc(14px + 1px); }
.mobile-map-page .filter-field select { padding: 0 9px; }
.mobile-map-page .filter-field input { padding: 8px 9px; }
.mobile-map-page .filter-range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; align-items: center; }
.mobile-map-page .filter-multiselect-dropdown { min-width: 0; }
.mobile-map-page .multiselect-toggle { width: 100%; min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid #dfe9e1; border-radius: 10px; background: #fff; color: #53645a; font: inherit; font-size: calc(14px + 1px); }
.mobile-map-page .multiselect-dropdown { max-width: 100%; box-sizing: border-box; border-radius: 10px; }
.mobile-map-page .filter-footer { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 12px; border-radius: 0 0 16px 16px; }
.mobile-map-page .filter-footer-left,
.mobile-map-page .filter-footer-right { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mobile-map-page .filter-footer-center { order: -1; }
.mobile-map-page .filter-btn,
.mobile-map-page .filter-submit-btn,
.mobile-map-page .filter-view-btn { min-height: 44px; box-sizing: border-box; border-radius: 11px; font-size: calc(13px + 1px); }
.mobile-map-page .filter-view-btn { display: flex; align-items: center; justify-content: center; gap: 6px; }
.mobile-map-page .map-body { display: grid; grid-template-columns: 1fr; gap: 12px; }
.mobile-map-page .map-canvas-wrap { position: relative; height: 285px; min-height: 285px; overflow: hidden; border: 1px solid #dfe9e1; border-radius: 16px; background: #dce9df; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-map-page .map-canvas-wrap #map { width: 100%; height: 100%; min-height: 285px; }
.mobile-map-page .map-draw-btn,
.mobile-map-page .map-draw-clear-btn { min-height: 38px; padding: 8px 10px; border-radius: 10px; font-size: calc(12px + 1px); }
.mobile-map-page .map-draw-btn { left: 9px; bottom: 9px; }
.mobile-map-page .map-draw-clear-btn { right: 9px; bottom: 9px; }
.mobile-map-page .map-draw-hint { left: 9px; right: 9px; bottom: 54px; box-sizing: border-box; border-radius: 10px; font-size: calc(12px + 1px); }
.mobile-map-page .map-listings-sidebar { min-width: 0; height: 330px; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; border: 1px solid #dfe9e1; border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-map-page .map-listings-header { padding: 12px; border-bottom: 1px solid #edf2ee; color: #607168; font-size: calc(13px + 1px); }
.mobile-map-page .map-listings-scroll { min-height: 0; overflow: auto; padding: 9px; }
.mobile-map-page .smap-card { min-height: 84px; display: flex; gap: 9px; padding: 8px; border: 1px solid #e4ece6; border-radius: 12px; }
.mobile-map-page .smap-card + .smap-card { margin-top: 8px; }
.mobile-map-page .smap-card-img,
.mobile-map-page .smap-card-img-placeholder { width: 82px; height: 72px; flex: 0 0 82px; border-radius: 9px; object-fit: cover; }
.mobile-map-page .smap-card-body { min-width: 0; padding: 1px 0; }
.mobile-map-page .smap-card-price { font-size: calc(15px + 1px); }
.mobile-map-page .smap-card-owner { font-size: calc(10px + 1px); }
.mobile-map-page .smap-card-title { margin-top: 4px; overflow: hidden; font-size: calc(13px + 1px); text-overflow: ellipsis; white-space: nowrap; }
.mobile-map-page .smap-card-meta { margin: 4px 0 !important; overflow: hidden; font-size: calc(11px + 1px); text-overflow: ellipsis; white-space: nowrap; }
.mobile-map-page .smap-card-footer { font-size: calc(10px + 1px); }

@media (min-width: 541px) {
    .mobile-map-page .map-canvas-wrap { height: 330px; min-height: 330px; }
    .mobile-map-page .map-canvas-wrap #map { min-height: 330px; }
}

/* Юридические документы: общий текст и серверная разметка сохраняются, но
   на телефоне документ читается как последовательность карточек. */
.app-page .rules-hero { margin: 0 0 12px; padding: 17px 14px; border-radius: 17px; background: linear-gradient(145deg, #eef6ef, #fff); box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.app-page .rules-kicker { margin: 0 0 7px; color: var(--brand-700); font-size: calc(12px + 1px); font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.app-page .rules-hero h1 { margin: 0; color: #26392c; font-size: calc(22px + 1px); line-height: 1.2; }
.app-page .rules-lead { margin: 9px 0 0; color: #718077; font-size: calc(13px + 1px); line-height: 1.5; }
.app-page .rules-card { margin: 0 0 10px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .04); }
.app-page .rules-card h2 { display: flex; align-items: flex-start; gap: 7px; margin: 0 0 9px; color: #304535; font-size: calc(15px + 1px); line-height: 1.3; }
.app-page .rules-card h2 i { flex: 0 0 auto; margin-top: 2px; color: var(--brand-600); font-size: calc(14px + 1px); }
.app-page .rules-card p,
.app-page .rules-card li { color: #66766c; font-size: calc(13px + 1px); line-height: 1.6; }
.app-page .rules-card p { margin: 0 0 9px; }
.app-page .rules-card p:last-child { margin-bottom: 0; }
.app-page .rules-card ul { display: grid; gap: 6px; margin: 0; padding-left: 17px; }
.app-page .rules-card a { color: var(--brand-700); font-weight: 750; overflow-wrap: anywhere; }
.app-page .rules-card strong { color: #405548; }
.app-page .rules-note { border-color: #d9e7dc; background: #f7fbf7; }

/* Чат: разметка и обработчики остаются общими, но на mobile список диалогов
   и выбранный диалог размещаются вертикально. */
.mobile-my-listing-detail-page { display: block; min-width: 0; background: transparent; }
.mobile-my-listing-detail-page > .dashboard-sidebar { display: none; }
.mobile-my-listing-detail-page > .dashboard-content { width: 100%; min-width: 0; padding: 0; }
.mobile-my-listing-detail-page .mld-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 10px; }
.mobile-my-listing-detail-page .mld-heading { min-width: 0; }
.mobile-my-listing-detail-page .mld-back-btn { min-height: 40px; max-width: 100%; overflow: hidden; padding: 9px 11px; border-radius: 11px; font-size: calc(12px + 1px); text-overflow: ellipsis; white-space: nowrap; }
.mobile-my-listing-detail-page .mld-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mobile-my-listing-detail-page .mld-actions > * { min-width: 0; }
.mobile-my-listing-detail-page .mld-actions .btn { min-height: 40px; padding: 8px 9px; border-radius: 10px; font-size: 0; }
.mobile-my-listing-detail-page .mld-actions .btn i { font-size: calc(14px + 1px); }
.mobile-my-listing-detail-page .mld-page-title { margin: 0 0 12px; color: #26392c; font-size: calc(20px + 1px); line-height: 1.2; }
.mobile-my-listing-detail-page .mld-alert { margin-bottom: 10px; border-radius: 11px; font-size: calc(13px + 1px); }
.mobile-my-listing-detail-page .mld-layout { display: grid; grid-template-columns: 1fr; gap: 12px; }
.mobile-my-listing-detail-page .mld-stats-card,
.mobile-my-listing-detail-page .mld-listing-card { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-my-listing-detail-page .mld-stats-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.mobile-my-listing-detail-page .mld-card-title { margin: 0; color: #304535; font-size: calc(15px + 1px); }
.mobile-my-listing-detail-page .mld-stats-subtitle { margin: 4px 0 0; color: #829087; font-size: calc(11px + 1px); line-height: 1.35; }
.mobile-my-listing-detail-page .mld-stats-period { flex: 0 0 auto; padding: 5px 7px; border-radius: 8px; font-size: calc(10px + 1px); }
.mobile-my-listing-detail-page .mld-stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.mobile-my-listing-detail-page .mld-stat { padding: 9px; border-radius: 11px; }
.mobile-my-listing-detail-page .mld-stat__num { font-size: calc(20px + 1px); }
.mobile-my-listing-detail-page .mld-stat__label { font-size: calc(11px + 1px); }
.mobile-my-listing-detail-page .mld-chart-wrap { height: 155px; margin-top: 10px; }
.mobile-my-listing-detail-page .mld-chart-wrap canvas { height: 120px !important; }
.mobile-my-listing-detail-page .mld-gallery { margin: -12px -12px 10px; border-radius: 16px 16px 0 0; }
.mobile-my-listing-detail-page .mld-gallery__main { height: 230px; }
.mobile-my-listing-detail-page .mld-gallery__main img { object-fit: cover; }
.mobile-my-listing-detail-page .mld-gallery__thumbs { gap: 5px; padding: 5px; }
.mobile-my-listing-detail-page .mld-gallery__thumb { width: 56px; height: 42px; border-radius: 8px; }
.mobile-my-listing-detail-page .mld-info-card { padding: 0 1px 1px; }
.mobile-my-listing-detail-page .mld-info-card__top { gap: 7px; }
.mobile-my-listing-detail-page .mld-price { color: var(--brand-700); font-size: calc(19px + 1px); }
.mobile-my-listing-detail-page .mld-props { gap: 5px; }
.mobile-my-listing-detail-page .mld-prop { padding: 5px 7px; border-radius: 8px; font-size: calc(11px + 1px); }
.mobile-my-listing-detail-page .mld-address { color: #718077; font-size: calc(12px + 1px); line-height: 1.4; }
.mobile-my-listing-detail-page .mld-description { color: #5f7065; font-size: calc(13px + 1px); line-height: 1.5; }
.mobile-my-listing-detail-page .ld-lightbox { display: none; position: fixed; inset: 0; z-index: 100; align-items: center; justify-content: center; padding: 12px; background: rgba(7, 17, 11, .92); }
.mobile-my-listing-detail-page .ld-lightbox.ld-lightbox--open { display: flex; }
.mobile-my-listing-detail-page .ld-lightbox__img { max-width: 100%; max-height: 78dvh; border-radius: 10px; object-fit: contain; }
.mobile-my-listing-detail-page .ld-lightbox__nav { position: absolute; top: 50%; min-width: 38px; min-height: 38px; padding: 5px 10px; border: 0; border-radius: 999px; color: #fff; background: rgba(255,255,255,.18); font-size: calc(28px + 1px); transform: translateY(-50%); }
.mobile-my-listing-detail-page .ld-lightbox__nav--prev { left: 8px; }
.mobile-my-listing-detail-page .ld-lightbox__nav--next { right: 8px; }
.mobile-my-listing-detail-page .ld-lightbox__close { position: absolute; top: 12px; right: 12px; border: 0; color: #fff; background: transparent; font-size: calc(30px + 1px); }
.mobile-my-listing-detail-page .ld-lightbox__counter { position: absolute; bottom: 14px; left: 50%; padding: 5px 10px; border-radius: 999px; color: #fff; background: rgba(0,0,0,.45); font-size: calc(12px + 1px); transform: translateX(-50%); }

@media (min-width: 541px) {
    .mobile-my-listing-detail-page { max-width: 520px; margin: 0 auto; }
}

/* Добавление фотографий и экран результата используют прежние формы и
   обработчики; мобильная часть меняет только размеры и порядок блоков. */
.mobile-add-photos-page .create-listing-card { width: 100%; box-sizing: border-box; padding: 0; border: 0; background: transparent; box-shadow: none; }
.mobile-add-photos-page .create-listing-card > div:first-child { margin-bottom: 10px !important; }
.mobile-add-photos-page .create-listing-card > div:first-child .btn { min-height: var(--control-height); border-radius: var(--radius-md); font-size: calc(var(--type-control) + 1px); }
.mobile-add-photos-page .page-title1 { margin: 0 0 7px; color: #26392c; font-size: calc(21px + 1px); line-height: 1.2; }
.mobile-add-photos-page .create-listing-card > p { margin-bottom: 12px !important; color: #718077 !important; font-size: calc(var(--type-body-sm) + 1px); line-height: 1.45; }
.mobile-add-photos-page .cl-card { min-width: 0; margin: 0 0 10px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-add-photos-page .cl-card-title { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; color: #304535; font-size: calc(15px + 1px); }
.mobile-add-photos-page .cl-photo-motivation { margin-bottom: 10px; padding: 9px; border-radius: var(--radius-md); color: #63746a; background: #f4f8f4; font-size: calc(var(--type-caption) + 1px); line-height: 1.4; }
.mobile-add-photos-page .image-upload-area { width: 100%; max-width: none !important; min-height: 125px; box-sizing: border-box; display: grid; place-content: center; gap: 7px; padding: 15px; border: 1px dashed #aac5af; border-radius: 13px; background: #f8fbf8; text-align: center; }
.mobile-add-photos-page .image-upload-icon { font-size: calc(25px + 1px); }
.mobile-add-photos-page .image-upload-text { color: #63746a; font-size: calc(var(--type-body-sm) + 1px); line-height: 1.4; }
.mobile-add-photos-page .image-preview-container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 10px; }
.mobile-add-photos-page .image-preview-container > * { min-width: 0; }
.mobile-add-photos-page .image-preview-container img { width: 100%; height: 92px; object-fit: cover; border-radius: 9px; }
.mobile-add-photos-page .cl-field-hint { color: #718077; font-size: calc(var(--type-caption) + 1px); line-height: 1.45; }
.mobile-add-photos-page #floor-plan-preview img { max-width: 100% !important; max-height: 180px !important; object-fit: contain; }
.mobile-add-photos-page #floor-plan-preview button { min-height: var(--control-height-sm); margin-top: 8px !important; border-radius: var(--radius-md) !important; font-size: calc(var(--type-caption) + 1px); }
.mobile-add-photos-page .cl-submit-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-add-photos-page .cl-submit-btn { width: 100%; min-height: var(--control-height); box-sizing: border-box; border-radius: var(--radius-md); font-size: calc(var(--type-control) + 1px); }
.mobile-add-photos-page .alert { margin: 0 0 10px; border-radius: var(--radius-md); font-size: calc(var(--type-body-sm) + 1px); }

.mobile-listing-success-page .ls-success-banner,
.mobile-listing-success-page .ls-preview-card { border-radius: 16px; }
.mobile-listing-success-page .ls-success-banner {
    position: relative;
    margin-bottom: 14px;
    padding: 21px 14px 18px;
    border: 2px solid #d8e8db;
    background: linear-gradient(145deg, #ffffff 0%, #f3faf4 100%);
    box-shadow: 0 8px 24px rgba(43, 83, 54, .11);
    overflow: hidden;
}
.mobile-listing-success-page .ls-success-banner::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, #507154, #7fa987, #d6a84f);
}
.mobile-listing-success-page .ls-success-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 9px; border-radius: 16px; font-size: calc(23px + 1px); }
.mobile-listing-success-page .ls-success-title { margin: 0; font-size: calc(20px + 1px); line-height: 1.2; text-align: center; }
.mobile-listing-success-page .ls-success-desc { margin: 8px 0 0; font-size: calc(var(--type-body-sm) + 1px); line-height: 1.5; text-align: center; }
.mobile-listing-success-page .ls-success-banner--pending .ls-success-icon { color: #8a641d; background: #fff4d7; box-shadow: inset 0 0 0 7px #fffaf0; }
.mobile-listing-success-page .ls-success-banner--pending .ls-success-title { color: #394b3e; }
.mobile-listing-success-page .ls-success-banner--pending .ls-success-desc { max-width: 330px; color: #65746a; }
.mobile-listing-success-page .ls-success-banner--pending .ls-success-desc strong { display: inline-flex; margin: 4px 2px; padding: 3px 8px; border: 1px solid #e6c875; border-radius: 999px; color: #765617; background: #fff4d7; font-weight: 900; }
.mobile-listing-success-page .ls-success-banner--pending .ls-success-desc br { display: block; content: ''; margin-top: 5px; }
.mobile-listing-success-page .ls-promo-applied { margin-top: 8px; font-size: calc(var(--type-caption) + 1px); }
.mobile-listing-success-page .ls-preview-card { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px; margin-top: 10px; padding: 9px; }
.mobile-listing-success-page .ls-preview-card__img,
.mobile-listing-success-page .ls-preview-card__noimg { width: 88px; height: 88px; border-radius: 11px; object-fit: cover; }
.mobile-listing-success-page .ls-preview-card__body { min-width: 0; padding: 2px 0; }
.mobile-listing-success-page .ls-preview-card__badges { display: flex; flex-wrap: wrap; gap: 4px; }
.mobile-listing-success-page .ls-badge { padding: 3px 5px; border-radius: var(--radius-sm); font-size: calc(var(--type-caption) + 1px); }
.mobile-listing-success-page .ls-preview-card__title { margin: 7px 0 5px; overflow: hidden; font-size: calc(14px + 1px); line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.mobile-listing-success-page .ls-preview-card__meta { display: grid; gap: 3px; }
.mobile-listing-success-page .ls-preview-card__price { font-size: calc(15px + 1px); }
.mobile-listing-success-page .ls-preview-card__area,
.mobile-listing-success-page .ls-preview-card__city { color: #718077; font-size: calc(var(--type-caption) + 1px); }
.mobile-listing-success-page .ls-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 10px; }
.mobile-listing-success-page .ls-btn-new { min-height: var(--control-height); border-radius: var(--radius-md); font-size: calc(var(--type-control) + 1px); }

/* Продвижение: все формы и POST-поля остаются прежними, карточки пакетов
   становятся одноколоночными и не требуют горизонтальной прокрутки. */
.mobile-promo-checkout-page,
.mobile-promo-checkout-page .promo-checkout-header { margin: 0 0 12px; }
.mobile-promo-checkout-page .promo-checkout-header__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 42px; }
.mobile-promo-checkout-page .promo-checkout-header h1 { min-width: 0; margin: 0; color: #26392c; font-size: calc(20px + 1px); line-height: 1.2; }
.mobile-promo-checkout-page .promo-checkout-sub { margin: 6px 0 0; color: #718077; font-size: calc(var(--type-body-sm) + 1px); line-height: 1.45; }
.mobile-promo-checkout-page .promo-close-btn { flex: 0 0 auto; min-height: 38px; padding: 8px 9px; border-radius: 10px; font-size: 0; }
.mobile-promo-checkout-page .promo-close-btn i { font-size: calc(15px + 1px); }
.mobile-promo-checkout-page .alert,
.mobile-promo-checkout-page .promo-limit-warning { margin-bottom: 10px; border-radius: var(--radius-md); font-size: calc(var(--type-body-sm) + 1px); line-height: 1.4; }
.mobile-promo-checkout-page .promo-mini-card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 9px; margin-bottom: 10px; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-promo-checkout-page .promo-mini-card__img,
.mobile-promo-checkout-page .promo-mini-card__noimg { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.mobile-promo-checkout-page .promo-mini-card__info { min-width: 0; align-self: center; }
.mobile-promo-checkout-page .promo-mini-card__title { overflow: hidden; color: #304535; font-size: calc(var(--type-card-title) + 1px); font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.mobile-promo-checkout-page .promo-mini-card__meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; color: #718077; font-size: calc(var(--type-caption) + 1px); }
.mobile-promo-checkout-page .promo-mini-card__price { color: var(--brand-700); font-size: calc(var(--type-card-title) + 1px); font-weight: 850; }
.mobile-promo-checkout-page .promo-packages-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.mobile-promo-checkout-page .promo-pkg-card { position: relative; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-promo-checkout-page .promo-pkg-card--featured { border-color: #d7b66e; }
.mobile-promo-checkout-page .promo-pkg-badge { position: absolute; top: 10px; right: 10px; padding: 4px 7px; border-radius: 999px; color: #fff; font-size: calc(10px + 1px); font-weight: 850; }
.mobile-promo-checkout-page .promo-pkg-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 9px; border-radius: 12px; color: #fff; }
.mobile-promo-checkout-page .promo-pkg-title { color: #304535; font-size: calc(var(--type-card-title) + 1px); font-weight: 850; }
.mobile-promo-checkout-page .promo-pkg-features,
.mobile-promo-checkout-page .promo-pkg-checklist { display: grid; gap: 5px; margin: 10px 0; padding: 0; list-style: none; color: #66766c; font-size: calc(var(--type-caption) + 1px); line-height: 1.4; }
.mobile-promo-checkout-page .promo-pkg-price-wrap { display: flex; align-items: baseline; gap: 7px; margin: 10px 0; }
.mobile-promo-checkout-page .promo-pkg-old-price { color: #9ca79f; font-size: calc(var(--type-caption) + 1px); text-decoration: line-through; }
.mobile-promo-checkout-page .promo-pkg-price { color: var(--brand-700); font-size: calc(21px + 1px); font-weight: 900; }
.mobile-promo-checkout-page .promo-pkg-active,
.mobile-promo-checkout-page .promo-pkg-balance { color: #718077; font-size: calc(var(--type-caption) + 1px); line-height: 1.4; }
.mobile-promo-checkout-page .promo-pkg-btn { width: 100%; min-height: var(--control-height); border-radius: var(--radius-md); font-size: calc(var(--type-control) + 1px); }
.mobile-promo-checkout-page .promo-basic-svc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 9px; border: 1px solid #e2ebe4; border-radius: 10px; }
.mobile-promo-checkout-page .promo-basic-svc__name { min-width: 0; color: #526158; font-size: calc(var(--type-caption) + 1px); }
.mobile-promo-checkout-page .promo-basic-svc__price { color: var(--brand-700); font-size: calc(var(--type-caption) + 1px); font-weight: 800; }
.mobile-promo-checkout-page .promo-pkg-topup-link { color: var(--brand-700); }
.mobile-promo-checkout-page .promo-nopromo-link { color: #718077; font-size: calc(var(--type-caption) + 1px); }

.mobile-promote-listing-page .create-listing-card { width: 100%; box-sizing: border-box; padding: 0; border: 0; background: transparent; box-shadow: none; }
.mobile-promote-listing-page .page-title1 { margin: 0 0 7px; color: #26392c; font-size: calc(21px + 1px); }
.mobile-promote-listing-page .create-listing-card > p { margin-bottom: 12px !important; color: #718077 !important; font-size: calc(var(--type-body-sm) + 1px); }
.mobile-promote-listing-page .promo-wallet-bar,
.mobile-promote-listing-page .promo-active-block,
.mobile-promote-listing-page .promo-type-section,
.mobile-promote-listing-page .promo-preview-section { margin: 0 0 10px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-promote-listing-page .promo-wallet-bar { display: grid; gap: 9px; }
.mobile-promote-listing-page .promo-wallet-bar > div:last-child { display: grid !important; grid-template-columns: 1fr 1fr; gap: 7px !important; }
.mobile-promote-listing-page .promo-wallet-bar .btn { min-height: var(--control-height); border-radius: var(--radius-md); font-size: calc(var(--type-control) + 1px); }
.mobile-promote-listing-page .promo-active-header { display: grid; gap: 9px; }
.mobile-promote-listing-page .promo-active-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.mobile-promote-listing-page .promo-active-actions form,
.mobile-promote-listing-page .promo-active-actions .btn { width: 100%; min-width: 0; }
.mobile-promote-listing-page .promo-active-actions .btn { min-height: var(--control-height-sm); padding: 7px 5px; border-radius: var(--radius-md); font-size: calc(var(--type-caption) + 1px); }
.mobile-promote-listing-page .promo-active-countdown { display: grid; gap: 4px; margin-top: 10px; color: #718077; font-size: calc(var(--type-caption) + 1px); }
.mobile-promote-listing-page .promo-countdown-time { color: var(--brand-700); font-size: calc(17px + 1px); font-weight: 850; }
.mobile-promote-listing-page .promo-countdown-expires { font-size: calc(var(--type-caption) + 1px); }
.mobile-promote-listing-page .promo-progress-bar { height: 7px; margin-top: 9px; overflow: hidden; border-radius: 999px; background: #edf4ef; }
.mobile-promote-listing-page .promo-progress-fill { height: 100%; border-radius: inherit; background: var(--brand-600); }
.mobile-promote-listing-page .promo-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0 0 10px; }
.mobile-promote-listing-page .promo-tab { min-height: var(--control-height); padding: 8px 6px; border: 1px solid #dfe9e1; border-radius: var(--radius-md); background: #fff; color: #607168; font: inherit; font-size: calc(var(--type-label) + 1px); }
.mobile-promote-listing-page .promo-tab.active { border-color: var(--brand-600); background: #edf5ef; color: var(--brand-700); }
.mobile-promote-listing-page .promo-type-section { padding: 12px; }
.mobile-promote-listing-page .promo-type-header { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 11px; }
.mobile-promote-listing-page .promo-type-header h2 { margin: 0; color: #304535; font-size: calc(15px + 1px); }
.mobile-promote-listing-page .promo-type-header p { margin: 4px 0 0; color: #718077; font-size: calc(var(--type-caption) + 1px); line-height: 1.4; }
.mobile-promote-listing-page .promo-packages-grid { display: grid; gap: 8px; }
.mobile-promote-listing-page .promo-package-card { min-width: 0; padding: 11px; border: 1px solid #e2ebe4; border-radius: 12px; }
.mobile-promote-listing-page .promo-package-duration { color: #526158; font-size: calc(var(--type-caption) + 1px); }
.mobile-promote-listing-page .promo-package-price { margin-top: 4px; color: var(--brand-700); font-size: calc(20px + 1px); font-weight: 900; }
.mobile-promote-listing-page .promo-package-ppd,
.mobile-promote-listing-page .promo-package-desc { color: #829087; font-size: calc(var(--type-caption) + 1px); }
.mobile-promote-listing-page .promo-package-desc { line-height: 1.4; }
.mobile-promote-listing-page .promo-autorenew-label { display: flex; align-items: center; gap: 6px; margin: 8px 0; color: #63746a; font-size: calc(var(--type-caption) + 1px); }
.mobile-promote-listing-page .promo-activate-btn { width: 100%; min-height: 40px; border-radius: 10px; font-size: calc(12px + 1px); }
.mobile-promote-listing-page .promo-preview-summary { color: #526158; font-size: calc(13px + 1px); font-weight: 800; cursor: pointer; }
.mobile-promote-listing-page .promo-preview-cards { display: grid; gap: 9px; margin-top: 10px; }

/* CRM-объекты: данные, права, пагинация, выбор карточек и существующие
   обработчики остаются в objects.php; здесь меняется только представление. */
.mobile-objects-page { display: block; min-width: 0; background: transparent; }
.mobile-objects-page > .dashboard-sidebar { display: none; }
.mobile-objects-page > .dashboard-content { width: 100%; min-width: 0; padding: 0; }
.mobile-objects-page .objects-toolbar { position: sticky; top: 5px; z-index: 60; margin: 0 0 10px; }
.mobile-objects-page .objects-stats-bar { display: grid; gap: 8px; padding: 9px; border: 1px solid #b7d0bc; border-top: 4px solid #48674c; border-radius: 17px; background: linear-gradient(180deg, #fff 0%, #f1f8f3 100%); box-shadow: 0 11px 28px rgba(18, 43, 29, .14); }
.mobile-objects-page .objects-stats-bar__left,
.mobile-objects-page .objects-stats-bar__right { display: flex; align-items: center; gap: 7px; min-width: 0; }
.mobile-objects-page .objects-stats-bar__left { width: 100%; justify-content: space-between; }
.mobile-objects-page .objects-stats-bar__right { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
.mobile-objects-page .objects-master-checkbox { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #9fc9a8; border-radius: 10px; background: #fff; box-shadow: 0 4px 10px rgba(18, 43, 29, .1); }
.mobile-objects-page .objects-master-checkbox input { width: 19px; height: 19px; accent-color: var(--brand-600); }
.mobile-objects-page .objects-found-count { min-width: 0; flex: 1 1 auto; margin: 0 2px; overflow: hidden; color: #123d24; font-size: calc(13px + 1px); font-weight: 900; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.mobile-objects-page .objects-view-toggle { display: flex; gap: 4px; }
.mobile-objects-page .objects-view-toggle { flex: 0 0 auto; padding: 3px; border: 1px solid #b7d0bc; border-radius: 11px; background: #edf7ef; box-shadow: 0 4px 10px rgba(18, 43, 29, .1); }
.mobile-objects-page .objects-view-btn { width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: #718077; }
.mobile-objects-page .objects-view-btn.is-active { color: #fff; background: var(--brand-600); }
.mobile-objects-page .objects-mobile-filter-btn { width: 100%; min-width: 0; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; justify-self: stretch; padding: 7px 9px; border: 1px solid #9fc9a8; border-radius: 11px; color: var(--brand-700); background: linear-gradient(180deg, #fff 0%, #eaf6ed 100%); box-shadow: 0 4px 10px rgba(18, 43, 29, .12); cursor: pointer; font: inherit; font-size: calc(12px + 1px); font-weight: 900; white-space: nowrap; }
.mobile-objects-page .objects-mobile-filter-btn:active { transform: translateY(1px); }
.mobile-objects-page .objects-mobile-filter-btn:focus-visible,
.mobile-objects-page .objects-mobile-filter-close:focus-visible { outline: 3px solid rgba(80, 113, 84, .22); outline-offset: 2px; }
.mobile-objects-page .objects-sort-form { width: 100%; min-width: 0; justify-self: stretch; }
.mobile-objects-page .objects-sort-field { width: 100%; display: flex; align-items: center; gap: 5px; }
.mobile-objects-page .objects-sort-field__label { display: none; }
.mobile-objects-page .objects-sort-field select { width: 100%; max-width: none; min-height: 40px; padding: 0 7px; border: 1px solid #9fc9a8; border-radius: 11px; background: linear-gradient(180deg, #fff 0%, #eaf6ed 100%); color: #315d3e; box-shadow: 0 4px 10px rgba(18, 43, 29, .12); font: inherit; font-size: calc(11px + 1px); font-weight: 850; }
.mobile-objects-page .objects-layout { display: grid; grid-template-columns: 1fr; gap: 12px; height: auto; min-height: 0; }
.mobile-objects-page .objects-list { min-width: 0; overflow: visible; }
.mobile-objects-page .objects-filter { order: 2; position: fixed; right: max(0px, calc((100vw - min(480px, 100vw)) / 2)); bottom: 0; left: max(0px, calc((100vw - min(480px, 100vw)) / 2)); z-index: 111; height: min(88vh, 760px); max-height: min(88vh, 760px); height: min(88dvh, 760px); max-height: min(88dvh, 760px); min-width: 0; overflow: hidden; padding: 0; border: 0; border-radius: 22px 22px 0 0; background: #f5f9f6; box-shadow: 0 -12px 38px rgba(18, 43, 29, .22); opacity: 0; transform: translate3d(0, 100%, 0); visibility: hidden; transition: transform .28s cubic-bezier(.22, .75, .25, 1), opacity .2s ease, visibility 0s linear .28s; }
.mobile-objects-page .objects-filter.is-open { opacity: 1; transform: translate3d(0, 0, 0); visibility: visible; transition: transform .28s cubic-bezier(.22, .75, .25, 1), opacity .2s ease, visibility 0s linear 0s; }
.mobile-objects-page .objects-filter > form { height: calc(min(88vh, 760px) - 54px); height: calc(min(88dvh, 760px) - 54px); max-height: none; overflow-y: auto; padding: 12px 13px max(13px, env(safe-area-inset-bottom)); overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b9cdbd transparent; }
.mobile-objects-page .objects-mobile-filter-head { min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 13px; border-bottom: 1px solid #e3ece5; background: rgba(255, 255, 255, .96); }
.mobile-objects-page .objects-mobile-filter-head strong { display: inline-flex; align-items: center; gap: 7px; color: #213128; font-size: calc(17px + 1px); font-weight: 900; }
.mobile-objects-page .objects-mobile-filter-close { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; border-radius: 10px; color: #718077; background: transparent; cursor: pointer; font: inherit; font-size: calc(21px + 1px); }
.objects-mobile-filter-backdrop[hidden] { display: none !important; }
.objects-mobile-filter-backdrop { position: fixed; inset: 0; z-index: 110; opacity: 0; background: rgba(11, 27, 18, .45); transition: opacity .24s ease; }
.objects-mobile-filter-backdrop.is-open { opacity: 1; }
body.objects-mobile-filter-open { overflow: hidden; }
.mobile-objects-page .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 12px 0 26px; }
.mobile-objects-page .pagination a,
.mobile-objects-page .pagination span { min-width: 34px; min-height: 34px; display: grid; place-items: center; box-sizing: border-box; border-radius: 9px; font-size: calc(12px + 1px); }
.mobile-objects-page .objects-load-more { display: grid; gap: 12px; min-height: 38px; margin: 4px 0 18px; color: #5c7563; font-size: calc(13px + 1px); font-weight: 800; text-align: center; }
.mobile-objects-page .objects-load-more[hidden] { display: none; }
.mobile-objects-page .objects-load-more__skeleton { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 168px auto; min-width: 0; overflow: hidden; border: 1px solid #b7d0bc; border-top: 5px solid #48674c; border-radius: 17px; background: linear-gradient(180deg, #fff 0%, #f1f8f3 100%); box-shadow: 0 11px 28px rgba(18, 43, 29, .12); text-align: left; }
.mobile-objects-page .objects-load-more__skeleton-media { position: relative; min-width: 0; overflow: hidden; border-bottom: 1px solid #c5ddca; background: linear-gradient(105deg, #d9e9dc 8%, #eef7f0 18%, #d9e9dc 33%); background-size: 220% 100%; animation: mobile-objects-skeleton-shimmer 1.35s linear infinite; }
.mobile-objects-page .objects-load-more__skeleton-check { position: absolute; top: 10px; left: 10px; width: 25px; height: 25px; border-radius: 8px; background: rgba(255, 255, 255, .88); }
.mobile-objects-page .objects-load-more__skeleton-price { position: absolute; right: 12px; bottom: 10px; width: min(36%, 132px); height: 34px; border-radius: 10px; background: rgba(46, 134, 81, .34); }
.mobile-objects-page .objects-load-more__skeleton-counter { position: absolute; bottom: 10px; width: 54px; height: 28px; border-radius: 999px; background: rgba(16, 55, 30, .25); }
.mobile-objects-page .objects-load-more__skeleton-counter--left { left: 10px; }
.mobile-objects-page .objects-load-more__skeleton-counter--right { left: 69px; width: 48px; }
.mobile-objects-page .objects-load-more__skeleton-main { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 10px 12px 12px; }
.mobile-objects-page .objects-load-more__skeleton-title,
.mobile-objects-page .objects-load-more__skeleton-line,
.mobile-objects-page .objects-load-more__skeleton-mark,
.mobile-objects-page .objects-load-more__skeleton-status,
.mobile-objects-page .objects-load-more__skeleton-tags span,
.mobile-objects-page .objects-load-more__skeleton-footer span,
.mobile-objects-page .objects-load-more__skeleton-footer i { display: block; background: linear-gradient(105deg, #d9e9dc 8%, #eef7f0 18%, #d9e9dc 33%); background-size: 220% 100%; animation: mobile-objects-skeleton-shimmer 1.35s linear infinite; }
.mobile-objects-page .objects-load-more__skeleton-title { width: 92%; height: 17px; border-radius: 5px; }
.mobile-objects-page .objects-load-more__skeleton-title--short { width: 62%; }
.mobile-objects-page .objects-load-more__skeleton-tags { display: flex; gap: 5px; min-width: 0; overflow: hidden; }
.mobile-objects-page .objects-load-more__skeleton-tags span { width: 58px; height: 25px; flex: 0 0 auto; border-radius: 8px; }
.mobile-objects-page .objects-load-more__skeleton-tags span:nth-child(2) { width: 74px; }
.mobile-objects-page .objects-load-more__skeleton-tags span:nth-child(3) { width: 68px; }
.mobile-objects-page .objects-load-more__skeleton-line { height: 13px; border-radius: 4px; }
.mobile-objects-page .objects-load-more__skeleton-line--long { width: 96%; }
.mobile-objects-page .objects-load-more__skeleton-line--medium { width: 72%; }
.mobile-objects-page .objects-load-more__skeleton-mark { width: 83%; height: 28px; border-radius: 9px; }
.mobile-objects-page .objects-load-more__skeleton-status { width: 58%; height: 30px; border-radius: 10px; }
.mobile-objects-page .objects-load-more__skeleton-footer { display: flex; align-items: center; gap: 6px; padding-top: 9px; border-top: 1px solid #cfe2d2; }
.mobile-objects-page .objects-load-more__skeleton-footer span { width: 76px; height: 12px; border-radius: 4px; }
.mobile-objects-page .objects-load-more__skeleton-footer span:nth-child(2) { width: 68px; margin-right: auto; }
.mobile-objects-page .objects-load-more__skeleton-footer i { width: 32px; height: 32px; border-radius: 9px; }
@keyframes mobile-objects-skeleton-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.mobile-objects-page .objects-filter .filter-scope-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.mobile-objects-page .objects-filter .filter-scope-tab { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 7px; border: 1px solid #dfe9e1; border-radius: 10px; color: #607168; font-size: calc(11px + 4px); }
.mobile-objects-page .objects-filter .filter-scope-tab.is-active { border-color: var(--brand-600); background: #edf5ef; color: var(--brand-700); }
.mobile-objects-page .objects-filter .filter-scope-tab input { position: absolute; opacity: 0; }
.mobile-objects-page .objects-filter .filter-block[hidden] { display: none !important; }
.mobile-objects-page .objects-filter .filter-block { display: grid; gap: 6px; margin-bottom: 10px !important; }
.mobile-objects-page .objects-filter .filter-block > label,
.mobile-objects-page .objects-filter .filter-block > strong { color: #607168; font-size: calc(11px + 4px); font-weight: 800; }
.mobile-objects-page .objects-filter input[type="text"],
.mobile-objects-page .objects-filter input[type="number"],
.mobile-objects-page .objects-filter select { width: 100%; min-height: 40px; box-sizing: border-box; border: 1px solid #dfe9e1; border-radius: 9px; background: #fff; color: #304535; font: inherit; font-size: calc(12px + 4px); }
.mobile-objects-page .objects-filter select { padding: 0 8px; }
.mobile-objects-page .objects-filter input { padding: 7px 8px; }
.mobile-objects-page .objects-filter .field-row,
.mobile-objects-page .objects-filter .range-row,
.mobile-objects-page .objects-filter .filter-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.mobile-objects-page .objects-filter .checkbox-list,
.mobile-objects-page .objects-filter .checkbox-list-column,
.mobile-objects-page .objects-filter .checkbox-list-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 8px; }
.mobile-objects-page .objects-filter .checkbox-item { min-height: 34px; display: flex; align-items: center; gap: 6px; padding: 5px 7px; border: 1px solid #e1ebe3; border-radius: 8px; color: #66766c; font-size: calc(10px + 4px); }
.mobile-objects-page .objects-filter .checkbox-item input { width: 16px; height: 16px; accent-color: var(--brand-600); }
.mobile-objects-page .objects-filter .agent-native-select { display: none; }
.mobile-objects-page .objects-filter .agent-tagify { position: relative; z-index: 5; min-width: 0; }
.mobile-objects-page .objects-filter .agent-tagify-control { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-height: 44px; box-sizing: border-box; padding: 6px 8px; border: 1px solid #dfe9e1; border-radius: 10px; background: #fff; cursor: text; transition: border-color .18s ease, box-shadow .18s ease; }
.mobile-objects-page .objects-filter .agent-tagify-control:focus-within { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(80, 113, 84, .12); }
.mobile-objects-page .objects-filter .agent-tagify-tags { display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.mobile-objects-page .objects-filter .agent-tagify-tag { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; padding: 5px 8px; border: 1px solid #d5e3d7; border-radius: 999px; color: var(--brand-700); background: #edf5ef; font-size: calc(11px + 4px); line-height: 1.1; }
.mobile-objects-page .objects-filter .agent-tagify-tag > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-objects-page .objects-filter .agent-tagify-remove { width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0; border: 0; color: var(--brand-700); background: transparent; cursor: pointer; font-size: calc(15px + 1px); line-height: 1; }
.mobile-objects-page .objects-filter .agent-tagify-input { flex: 1 1 120px; min-width: 100px; width: auto; min-height: 28px; padding: 3px 2px; border: 0; outline: 0; background: transparent; font-size: calc(13px + 4px); }
.mobile-objects-page .objects-filter .agent-tagify-input:focus { border: 0; box-shadow: none; }
.mobile-objects-page .objects-filter .agent-tagify-dropdown { position: absolute; top: calc(100% + 6px); right: 0; left: 0; z-index: 130; display: none; max-height: 220px; overflow-y: auto; border: 1px solid #d7e4d9; border-radius: 10px; background: #fff; box-shadow: 0 12px 24px rgba(18, 43, 29, .16); }
.mobile-objects-page .objects-filter .agent-tagify.open .agent-tagify-dropdown { display: block; }
.mobile-objects-page .objects-filter .agent-tagify-option { padding: 10px 11px; color: #405448; background: #fff; cursor: pointer; font-size: calc(13px + 4px); }
.mobile-objects-page .objects-filter .agent-tagify-option:hover,
.mobile-objects-page .objects-filter .agent-tagify-option.active { color: var(--brand-700); background: #edf5ef; }
.mobile-objects-page .objects-filter .agent-tagify-empty { padding: 10px 11px; color: #829087; font-size: calc(12px + 4px); }
.mobile-objects-page .objects-filter #openMapPicker { width: 100%; min-height: 42px; justify-content: center; border-radius: 10px; font-size: calc(12px + 4px); }
.mobile-objects-page .objects-per-page-filter select { max-width: 100%; }
.mobile-objects-page .objects-filter-buttons-inline,
.mobile-objects-page .objects-filter-memory-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mobile-objects-page .objects-filter-memory-buttons { margin-bottom: 12px !important; }
.mobile-objects-page .objects-filter-buttons-inline .btn,
.mobile-objects-page .objects-filter-memory-buttons .btn { min-height: 42px; border-radius: 10px; font-size: calc(11px + 4px); }
.mobile-objects-page .objects-filter-buttons-inline { position: sticky; bottom: max(-13px, calc(-13px - env(safe-area-inset-bottom))); z-index: 4; margin: 0 -13px -13px; padding: 10px 13px max(13px, env(safe-area-inset-bottom)); border-top: 1px solid #dfe9e1; background: rgba(245, 249, 246, .96); box-shadow: 0 -5px 14px rgba(18, 43, 29, .08); }
.mobile-objects-page .objects-filter-buttons-inline .btn { min-height: 46px; font-size: calc(12px + 4px); font-weight: 850; }
.mobile-objects-page .objects-filter-buttons-fixed { display: none !important; }
.mobile-objects-page .section-header .page-title { overflow-wrap: anywhere; }
.mobile-objects-page > .dashboard-content { padding-bottom: 92px; }
.mobile-staff-listings-page .btn { min-width: 0; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; box-sizing: border-box; padding: 9px 12px; border: 1px solid transparent; border-radius: 11px; color: #27372e; background: #fff; font: inherit; font-size: calc(13px + 1px); font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.mobile-staff-listings-page .btn:active { transform: translateY(1px); }
.mobile-staff-listings-page .btn:focus-visible { outline: 3px solid rgba(80, 113, 84, .22); outline-offset: 2px; }
.mobile-staff-listings-page .btn-primary { border-color: var(--brand-700); color: #fff; background: var(--brand-700); box-shadow: 0 6px 14px rgba(80, 113, 84, .18); }
.mobile-staff-listings-page .btn-primary:hover { border-color: var(--brand-800); background: var(--brand-800); }
.mobile-staff-listings-page .btn-outline { border-color: #c9d9cc; color: var(--brand-700); background: #fff; }
.mobile-staff-listings-page .btn-outline:hover { border-color: var(--brand-600); background: var(--brand-50); }
.mobile-staff-listings-page .btn:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.mobile-staff-listings-page .empty-state { display: grid; justify-items: center; gap: 7px; margin-top: 12px; padding: 30px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); text-align: center; }
.mobile-staff-listings-page .empty-state .empty-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--brand-700); background: var(--brand-50); font-size: calc(20px + 1px); }
.mobile-staff-listings-page .empty-state h3 { margin: 0; color: #304535; font-size: calc(17px + 1px); }
.mobile-staff-listings-page .empty-state p { max-width: 280px; margin: 0; color: #829087; font-size: calc(14px + 1px); line-height: 1.45; }
.mobile-staff-listings-page .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0 12px; }
.mobile-staff-listings-page .pagination a,
.mobile-staff-listings-page .pagination span { min-width: 36px; min-height: 36px; display: grid; place-items: center; box-sizing: border-box; padding: 0 8px; border: 1px solid var(--line); border-radius: 10px; color: #607168; background: #fff; font-size: calc(13px + 1px); font-weight: 800; }
.mobile-staff-listings-page .pagination .active,
.mobile-staff-listings-page .pagination a:hover { border-color: var(--brand-600); color: #fff; background: var(--brand-600); }

/* Общая CRM-панель выбора. Модальные окна подключаются после основного блока страницы, поэтому стили адресуются по их стабильным ID. */
body.app-page #crmBottomPanel { position: fixed; top: auto; right: max(8px, calc((100vw - min(480px, 100vw)) / 2 + 8px)); bottom: 0; left: auto; z-index: 80; width: 56px; height: auto; box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; gap: 8px; padding: 8px 0 calc(72px + env(safe-area-inset-bottom)); border: 0; background: transparent; box-shadow: none; pointer-events: none; }
body.app-page #crmBottomPanel > .btn { width: 40px; height: 40px; min-height: 40px; display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; gap: 0; box-sizing: border-box; overflow: hidden; padding: 0; border: 1px solid #d7e4d9; border-radius: 10px; color: var(--brand-700); background: #fff; font-size: 0; line-height: 1; pointer-events: auto; }
body.app-page #crmBottomPanel > .btn i { flex: 0 0 auto; font-size: calc(15px + 1px); }
body.app-page #crmBottomPanel #crmPanelShare { width: 40px; height: 40px; min-height: 40px; display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; gap: 0; box-sizing: border-box; overflow: hidden; padding: 0; border: 1px solid var(--brand-700); border-radius: 10px; color: #fff; background: var(--brand-700); box-shadow: 0 6px 16px rgba(18, 43, 29, .18); font-size: 0; line-height: 1; pointer-events: auto; transform: none; transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease; }
body.app-page #crmBottomPanel #crmPanelShare i { flex: 0 0 auto; font-size: calc(16px + 1px); }
body.app-page #crmBottomPanel #crmPanelShare:hover,
body.app-page #crmBottomPanel #crmPanelShare:focus,
body.app-page #crmBottomPanel #crmPanelShare:active { width: 40px; flex-basis: 40px; transform: translateY(-1px); font-size: 0; box-shadow: 0 8px 20px rgba(18, 43, 29, .24); outline: none; }
body.app-page #crmBottomPanel #crmPanelShare:focus-visible { outline: 3px solid rgba(80, 113, 84, .3); outline-offset: -3px; }
body.app-page #crmBottomPanel #crmPanelShare:disabled { cursor: not-allowed; opacity: .68; }
body.app-page #crmBottomPanel .crm-bottom-panel__count { display: none; }

/* Общий мобильный стиль CRM-модальных окон: используется на objects.php и staff-listings.php. */
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmEditModal, #crmNotesModal, #crmPhotoDownloadModal) { display: none; align-items: flex-end; justify-content: center; position: fixed; inset: 0; z-index: 120; box-sizing: border-box; padding: 3px; background: rgba(11, 27, 18, .58); backdrop-filter: blur(4px); }
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmEditModal, #crmNotesModal, #crmPhotoDownloadModal).modal-overlay--open { display: flex; }
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmEditModal, #crmNotesModal, #crmPhotoDownloadModal) .claim-modal { position: relative; width: min(100%, 520px); max-height: calc(100dvh - 24px); box-sizing: border-box; overflow: auto; padding: 17px; border: 1px solid #dfe9e1; border-radius: 4px 4px 4px 4px; background: #fff; box-shadow: 0 17px 48px rgba(18, 43, 29, .24); }
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmEditModal, #crmNotesModal, #crmPhotoDownloadModal) .modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; box-sizing: border-box; padding: 0; border: 1px solid #e0ebe2; border-radius: 11px; color: #718077; background: #f7faf7; font-size: calc(24px + 1px); line-height: 1; cursor: pointer; user-select: none; }
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmEditModal, #crmNotesModal, #crmPhotoDownloadModal) .modal-close:hover,
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmEditModal, #crmNotesModal, #crmPhotoDownloadModal) .modal-close:focus-visible { border-color: var(--brand-500); color: var(--brand-700); background: var(--brand-50); outline: none; }
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmEditModal, #crmNotesModal, #crmPhotoDownloadModal) .claim-modal h2 { margin: 0 48px 9px 0; color: #26392c; font-size: calc(16px + 1px); line-height: 1.25; }
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmEditModal, #crmNotesModal, #crmPhotoDownloadModal) .claim-modal p { color: #718077; font-size: calc(13px + 1px); line-height: 1.45; }
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmEditModal, #crmNotesModal, #crmPhotoDownloadModal) .btn { min-width: 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; box-sizing: border-box; padding: 9px 12px; border: 1px solid transparent; border-radius: 11px; font: inherit; font-size: calc(13px + 1px); font-weight: 800; line-height: 1.2; cursor: pointer; }
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmEditModal, #crmNotesModal, #crmPhotoDownloadModal) .btn-primary { border-color: var(--brand-700); color: #fff; background: var(--brand-700); box-shadow: 0 5px 12px rgba(80, 113, 84, .16); }
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmEditModal, #crmNotesModal, #crmPhotoDownloadModal) .btn-outline { border-color: #c9d9cc; color: var(--brand-700); background: #fff; }
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmEditModal, #crmNotesModal, #crmPhotoDownloadModal) .btn:disabled { opacity: .55; cursor: not-allowed; }
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmNotesModal) input:not([type="checkbox"]):not([type="radio"]),
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmNotesModal) select,
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmNotesModal) textarea { width: 100%; min-height: 44px; box-sizing: border-box; padding: 9px 11px; border: 1px solid #dfe9e1; border-radius: 11px; outline: none; color: #27372e; background: #fff; font: inherit; font-size: calc(14px + 1px); }
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmNotesModal) input:focus,
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmNotesModal) select:focus,
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #shareModal, #crmConfirmModal, #crmNotesModal) textarea:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(80, 113, 84, .12); }
.mobile-objects-page .objects-map-picker-wrap,
.mobile-objects-page #objectsResultMap { min-height: 260px; }

/* Мобильные CRM-окна, которые не входят в общий набор модалок: карта и передача объекта. */
body.app-page :is(#crmTransferModal, #mapPickerModal, #objectsResultMapModal) { display: none; align-items: flex-end; justify-content: center; position: fixed; inset: 0; z-index: 120; box-sizing: border-box; padding: 3px; background: rgba(11, 27, 18, .58); backdrop-filter: blur(4px); }
body.app-page :is(#crmTransferModal, #mapPickerModal, #objectsResultMapModal).modal-overlay--open { display: flex; }
body.app-page :is(#crmTransferModal, #mapPickerModal, #objectsResultMapModal) .claim-modal { position: relative; width: min(100%, 520px); max-height: calc(100dvh - 24px); box-sizing: border-box; overflow: auto; padding: 17px; border: 1px solid #dfe9e1; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 17px 48px rgba(18, 43, 29, .24); }
body.app-page :is(#crmTransferModal, #mapPickerModal, #objectsResultMapModal) .modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; display: grid; place-items: center; box-sizing: border-box; padding: 0; border: 1px solid #e0ebe2; border-radius: 11px; color: #718077; background: #f7faf7; font-size: calc(24px + 1px); line-height: 1; cursor: pointer; user-select: none; }
body.app-page :is(#crmTransferModal, #mapPickerModal, #objectsResultMapModal) .claim-modal h2 { margin: 0 48px 9px 0; color: #26392c; font-size: calc(16px + 1px); line-height: 1.25; }
body.app-page :is(#crmTransferModal, #mapPickerModal, #objectsResultMapModal) .claim-modal p { color: #718077; font-size: calc(13px + 1px); line-height: 1.45; }
body.app-page :is(#crmTransferModal, #mapPickerModal, #objectsResultMapModal) .btn { min-width: 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; box-sizing: border-box; padding: 9px 12px; border: 1px solid transparent; border-radius: 11px; font: inherit; font-size: calc(13px + 1px); font-weight: 800; line-height: 1.2; cursor: pointer; }
body.app-page :is(#crmTransferModal, #mapPickerModal, #objectsResultMapModal) .btn-primary { border-color: var(--brand-700); color: #fff; background: var(--brand-700); box-shadow: 0 5px 12px rgba(80, 113, 84, .16); }
body.app-page :is(#crmTransferModal, #mapPickerModal, #objectsResultMapModal) .btn-outline { border-color: #c9d9cc; color: var(--brand-700); background: #fff; }
body.app-page #crmTransferModal .crm-transfer-modal { padding: 20px 16px max(17px, env(safe-area-inset-bottom)); }
body.app-page #crmTransferModal .crm-transfer-modal__hint { margin: 0 0 14px; color: #718077; font-size: calc(13px + 1px); line-height: 1.45; }
body.app-page #crmTransferModal .crm-transfer-modal__label { display: block; margin-bottom: 6px; color: #526158; font-size: calc(13px + 1px); font-weight: 800; }
body.app-page #crmTransferModal .crm-transfer-modal__select { width: 100%; min-height: 46px; box-sizing: border-box; padding: 9px 11px; border: 1px solid #dfe9e1; border-radius: 11px; color: #27372e; background: #fff; font: inherit; font-size: calc(14px + 1px); }
body.app-page #crmTransferModal .crm-transfer-modal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
body.app-page #crmTransferModal .crm-transfer-modal__actions .btn { width: 100%; }
body.app-page :is(#mapPickerModal, #objectsResultMapModal) { align-items: stretch; justify-content: stretch; padding: 0; }
body.app-page :is(#mapPickerModal, #objectsResultMapModal) .claim-modal--fullscreen { width: 100%; height: 100%; max-height: none; display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding: 14px 13px max(13px, env(safe-area-inset-bottom)); border-radius: 0; }
body.app-page #mapPickerModal .claim-modal--fullscreen h2,
body.app-page #objectsResultMapModal .claim-modal--fullscreen h2 { flex: 0 0 auto; margin-bottom: 10px; padding-right: 42px; }
body.app-page #mapPickerModal .map-picker-actions { display: flex; flex: 0 0 auto; gap: 7px; min-height: 0; margin: 0 0 8px; }
body.app-page #mapPickerModal .objects-map-picker-wrap { min-height: 0; flex: 1 1 auto; display: flex; position: relative; overflow: hidden; border-radius: 14px; }
body.app-page #mapPickerModal #objectsMap { width: 100%; height: 100%; min-height: 260px; flex: 1 1 auto; overflow: hidden; border-radius: inherit; }
body.app-page :is(#mapPickerModal, #objectsResultMapModal) .objects-map-draw-btn { position: absolute !important; top: 10px !important; right: 10px !important; z-index: 99 !important; display: flex !important; align-items: center; justify-content: center; gap: 6px; min-width: 46px; min-height: 46px; box-sizing: border-box; padding: 6px 12px; border: 2px solid #aaa; border-radius: 6px; color: #333 !important; background: #fff !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); font: inherit; font-size: calc(14px + 1px); font-weight: 600; line-height: 1.2; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
body.app-page :is(#mapPickerModal, #objectsResultMapModal) .objects-map-draw-btn.active { color: #fff !important; background: #557258 !important; border-color: #4a664d; }
body.app-page #objectsResultMapModal .objects-map-draw-btn { min-width: 42px; min-height: 42px; padding: 5px 9px; border: 1px solid var(--brand-700); color: #fff !important; background: var(--brand-700) !important; box-shadow: 0 3px 9px rgba(18, 43, 29, .28); font-size: calc(12px + 1px); }
body.app-page #objectsResultMapModal .objects-map-draw-btn.active { background: #c43d3d !important; border-color: #a82f2f; }
body.app-page #objectsResultMapModal .objects-map-draw-btn:hover:not(.active) { color: #fff !important; background: var(--brand-600) !important; border-color: var(--brand-600) !important; }
body.app-page :is(#mapPickerModal, #objectsResultMapModal) .objects-map-draw-btn:hover:not(.active) { color: #333 !important; background: #f0f0f0 !important; border-color: #888; }
body.app-page :is(#mapPickerModal, #objectsResultMapModal) .objects-map-draw-btn i { display: inline-block !important; color: currentColor !important; opacity: 1 !important; visibility: visible !important; font-family: "Font Awesome 6 Free" !important; font-size: calc(17px + 1px) !important; font-weight: 900 !important; line-height: 1; }
body.app-page #mapPickerModal .map-picked-address { flex: 0 0 auto; min-height: 22px; margin: 9px 0; color: #718077; font-size: calc(13px + 1px); line-height: 1.35; }
body.app-page #mapPickerModal .map-picker-footer { display: grid; flex: 0 0 auto; grid-template-columns: 1fr 1fr; gap: 8px; }
body.app-page #mapPickerModal .map-picker-footer .btn { width: 100%; }
body.app-page #objectsResultMapModal .objects-result-map-modal__head { display: flex; flex: 0 0 auto; align-items: flex-start; justify-content: space-between; gap: 8px; margin: 0 0 10px; padding-right: 42px; }
body.app-page #objectsResultMapModal .objects-result-map-modal__head h2 { margin: 0; padding: 0; }
body.app-page #objectsResultMapModal .objects-result-map-modal__head .objects-view-toggle { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; margin: 0 0 0 auto !important; padding: 4px; border: 1px solid #cfe0d2; border-radius: 13px; background: #f4f9f4; box-shadow: 0 3px 10px rgba(18, 43, 29, .08); }
body.app-page #objectsResultMapModal .objects-result-map-modal__head .objects-view-btn { width: 44px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 9px; color: #718077; background: transparent; font-size: calc(16px + 1px); cursor: pointer; }
body.app-page #objectsResultMapModal .objects-result-map-modal__head .objects-view-btn.is-active { color: #fff; background: var(--brand-700); box-shadow: 0 3px 8px rgba(80, 113, 84, .24); }
body.app-page #objectsResultMapModal .objects-result-map-modal__head .objects-view-btn:focus-visible,
body.app-page :is(#mapPickerModal, #objectsResultMapModal) .objects-map-draw-btn:focus-visible,
body.app-page #objectsMapDetailModal .objects-map-detail-modal__close:focus-visible { outline: 3px solid #f3c96b; outline-offset: 2px; }
body.app-page #objectsResultMapModal .objects-result-map-modal__state { flex: 0 0 auto; margin: 0 0 9px; padding: 10px 11px; border: 1px solid #e1ebe3; border-radius: 11px; color: #718077; background: #f7faf7; font-size: calc(13px + 1px); line-height: 1.35; }
body.app-page #objectsResultMapModal .objects-result-map-canvas-wrap { position: relative; min-height: 260px; flex: 1 1 auto; overflow: hidden; border-radius: 14px; }
body.app-page #objectsResultMapModal #objectsResultMap { width: 100%; height: 100%; min-height: 260px; overflow: hidden; border-radius: inherit; }
body.app-page #objectsResultMapModal .objects-map-selection-bar { display: flex; flex: 0 0 auto; margin-top: 9px; }
body.app-page #objectsResultMapModal .objects-map-selection-bar[hidden] { display: none !important; }
body.app-page #objectsResultMapModal .objects-map-selection-btn { width: 100%; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--brand-700); border-radius: 12px; color: #fff; background: var(--brand-700); box-shadow: 0 5px 12px rgba(80, 113, 84, .2); font: inherit; font-size: calc(14px + 1px); font-weight: 850; line-height: 1.2; cursor: pointer; }
body.app-page #objectsResultMapModal .objects-map-selection-btn:active { transform: translateY(1px); }
body.app-page #objectsMapDetailModal[hidden] { display: none !important; }
body.app-page #objectsMapDetailModal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: stretch; justify-content: stretch; padding: 0; box-sizing: border-box; background: rgba(11, 27, 18, .72); }
body.app-page #objectsMapDetailModal .objects-map-detail-modal__dialog { position: relative; width: 100%; height: 100%; max-height: none; overflow: hidden; box-sizing: border-box; border: 0; border-radius: 0; background: #fff; box-shadow: none; }
body.app-page #objectsMapDetailModal .objects-map-detail-modal__close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; z-index: 5; width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .86); border-radius: 12px; color: #26392c; background: rgba(255, 255, 255, .92); box-shadow: 0 3px 10px rgba(18, 43, 29, .2); font-size: calc(20px + 1px); line-height: 1; cursor: pointer; }
body.app-page #objectsMapDetailModal .objects-map-detail { width: 100%; height: 100%; display: flex; flex-direction: column; overflow: hidden; }
body.app-page #objectsMapDetailModal .objects-map-detail__gallery { position: relative; flex: 0 0 min(48dvh, 460px); min-height: 240px; overflow: hidden; background: #e9efea; }
body.app-page #objectsMapDetailModal .objects-map-detail__gallery-track { width: 100%; height: 100%; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; touch-action: pan-x; }
body.app-page #objectsMapDetailModal .objects-map-detail__gallery-track::-webkit-scrollbar { display: none; }
body.app-page #objectsMapDetailModal .objects-map-detail__slide { height: 100%; flex: 0 0 100%; scroll-snap-align: start; }
body.app-page #objectsMapDetailModal .objects-map-detail__slide img { width: 100%; height: 100%; display: block; object-fit: cover; }
body.app-page #objectsMapDetailModal .objects-map-detail__gallery--empty { display: grid; place-items: center; color: #aab8ae; font-size: calc(34px + 1px); }
body.app-page #objectsMapDetailModal .objects-map-detail__price { position: absolute; left: 14px; top: 14px; bottom: auto; z-index: 2; max-width: calc(100% - 100px); padding: 8px 11px; border-radius: 10px; color: #fff; background: rgba(19, 44, 28, .9); box-shadow: 0 3px 10px rgba(0, 0, 0, .22); font-size: calc(17px + 1px); font-weight: 900; line-height: 1.15; }
body.app-page #objectsMapDetailModal .objects-map-detail__photo-count { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 5px 8px; border-radius: 9px; color: #fff; background: rgba(0, 0, 0, .58); font-size: calc(12px + 1px); font-weight: 800; line-height: 1.1; }
body.app-page #objectsMapDetailModal .objects-map-detail__dots { position: absolute; left: 50%; bottom: 17px; z-index: 3; display: flex; gap: 4px; transform: translateX(-50%); pointer-events: none; }
body.app-page #objectsMapDetailModal .objects-map-detail__dots span { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .62); }
body.app-page #objectsMapDetailModal .objects-map-detail__dots span.is-active { width: 12px; border-radius: 99px; background: #fff; }
body.app-page #objectsMapDetailModal .objects-map-detail__body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; overflow-y: auto; padding: 16px 15px max(20px, env(safe-area-inset-bottom)); }
body.app-page #objectsMapDetailModal .objects-map-detail__body h3 { margin: 0 46px 8px 0; color: #26392c; font-size: calc(17px + 1px); line-height: 1.22; }
body.app-page #objectsMapDetailModal .objects-map-detail__address { margin: 0 0 12px; color: #718077; font-size: calc(14px + 1px); line-height: 1.4; }
body.app-page #objectsMapDetailModal .objects-map-detail__owner { display: flex; align-items: center; min-height: 32px; margin: 0 0 10px; }
body.app-page #objectsMapDetailModal .objects-map-detail__specs { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 11px 0; border-top: 1px solid #e6eee7; border-bottom: 1px solid #e6eee7; color: #304b36; font-size: calc(13px + 1px); font-weight: 800; scrollbar-width: none; white-space: nowrap; }
body.app-page #objectsMapDetailModal .objects-map-detail__specs::-webkit-scrollbar { display: none; }
body.app-page #objectsMapDetailModal .objects-map-detail__specs span { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; padding: 7px 9px; border: 1px solid #d5e4d7; border-radius: 999px; color: #304b36; background: #edf4ee; }
body.app-page #objectsMapDetailModal .objects-map-detail__specs i { margin-right: 4px; color: var(--brand-700); }
body.app-page #objectsMapDetailModal .objects-map-detail__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid #e6eee7; color: #718077; font-size: calc(13px + 1px); line-height: 1.3; }
body.app-page #objectsMapDetailModal .objects-map-detail__meta > span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
body.app-page #objectsMapDetailModal .objects-map-detail__meta > span:last-child { margin-left: auto; text-align: right; }
body.app-page #objectsMapDetailModal .objects-map-detail__tag { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border: 1px solid #d5e4d7; border-radius: 999px; color: #456052; background: #edf4ee; font-size: calc(12px + 1px); font-weight: 800; line-height: 1.2; }
body.app-page #objectsMapDetailModal .objects-map-detail__tag--agent { color: #fff; background: var(--brand-700); border-color: var(--brand-700); }

body.app-page :is(#crmStatusModal, #crmSendModerationModal, #crmConfirmModal) .crm-transfer-modal__actions,
body.app-page #crmConfirmModal .crm-confirm-modal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
body.app-page :is(#crmStatusModal, #crmSendModerationModal, #crmConfirmModal) .crm-transfer-modal__actions .btn,
body.app-page #crmConfirmModal .crm-confirm-modal__actions .btn { width: 100%; }
body.app-page #crmStatusModal .crm-transfer-modal__hint { margin: 0 0 14px; }
body.app-page #crmStatusModal .crm-transfer-modal__label { display: block; margin-bottom: 6px; color: #526158; font-size: calc(13px + 1px); font-weight: 800; }
body.app-page #crmStatusModal .crm-sold-by-options[hidden] { display: none !important; }
body.app-page #crmStatusModal .crm-sold-by-options { margin: 12px 0 0 !important; padding: 11px; border: 1px solid #dfe9e1; border-radius: 13px; background: #f7faf7; }
body.app-page #crmStatusModal .crm-sold-by-options > label { color: #526158; font-size: calc(13px + 1px); font-weight: 800; }
body.app-page #crmStatusModal .crm-sold-by-options .checkbox-list { display: grid; gap: 6px; margin-top: 8px; }
body.app-page #crmStatusModal .crm-sold-by-options .checkbox-item { min-height: 36px; display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 1px solid #e1ebe3; border-radius: 9px; color: #607168; background: #fff; font-size: calc(13px + 1px); }
body.app-page #crmStatusModal .crm-sold-by-options input { width: 17px; height: 17px; min-height: 0; accent-color: var(--brand-600); }
body.app-page #shareModal .share-social-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 14px 0 10px; }
body.app-page #shareModal .share-social-btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 5px; border-radius: 10px; color: #fff; font-size: calc(12px + 1px); font-weight: 800; text-decoration: none; }
body.app-page #shareModal .share-btn-telegram { background: #229ed9; }
body.app-page #shareModal .share-btn-whatsapp { background: #25d366; }
body.app-page #shareModal .share-btn-facebook { background: #4267b2; }
body.app-page #shareModal .share-url-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
body.app-page #shareModal .share-copy-btn { min-width: 92px; }
body.app-page #shareModal .share-expiry-note { display: flex; align-items: center; gap: 6px; margin: 11px 0 0; font-size: calc(12px + 1px); }
body.app-page #crmConfirmModal .crm-confirm-modal__message { min-height: 24px; margin: 0; overflow-wrap: anywhere; }
body.app-page :is(#crmEditModal, #crmNotesModal) { align-items: stretch; }
body.app-page :is(#crmEditModal, #crmNotesModal) .claim-modal--fullscreen { width: 100%; height: 100%; max-height: none; display: flex; flex-direction: column; min-height: 0; border-radius: 20px; }
body.app-page #crmEditModal .crm-embed-modal__head { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding-right: 42px; }
body.app-page #crmEditModal .crm-embed-modal__head h2 { margin-right: 0; }
body.app-page #crmEditModal .crm-embed-modal__head p { margin: 0; }
body.app-page #crmEditModal .crm-embed-modal__head .btn { flex: 0 0 auto; min-height: 38px; padding: 7px 9px; font-size: calc(11px + 1px); }
body.app-page #crmEditModal .crm-embed-modal__frame { width: 100%; min-height: 0; flex: 1 1 auto; margin-top: 12px; border: 0; border-radius: 13px; background: #f5f8f5; }
body.app-page #crmEditModal .crm-edit-modal__head--mobile { display: none; }
body.app-page #crmEditModal .crm-edit-modal__head--mobile.has-error { display: block; margin: 0; padding: 0 42px 10px 0; }
body.app-page #crmEditModal .crm-edit-modal__error { margin: 0; padding: 9px 11px; border: 1px solid #efb5b5; border-radius: 10px; color: #a52d2d; background: #fff5f5; font-size: calc(13px + 1px); line-height: 1.4; overflow-wrap: anywhere; }
body.app-page #crmNotesModal .crm-notes-modal__head { min-width: 0; padding-right: 42px; }
body.app-page #crmNotesModal .crm-notes-modal__title { margin-right: 0; }
body.app-page #crmNotesModal .crm-notes-modal__meta { margin: 0; overflow-wrap: anywhere; }
body.app-page #crmNotesModal .crm-notes-modal__body { min-height: 0; display: grid; grid-template-rows: minmax(110px, 1fr) auto; gap: 12px; flex: 1 1 auto; }
body.app-page #crmNotesModal .crm-notes-modal__list-wrap { min-height: 110px; overflow: auto; padding: 9px; border: 1px solid #e1ebe3; border-radius: 13px; background: #f7faf7; }
body.app-page #crmNotesModal .crm-notes-modal__list { display: grid; gap: 8px; }
body.app-page #crmNotesModal .crm-notes-modal__empty { display: grid; min-height: 90px; place-items: center; color: #829087; font-size: calc(13px + 1px); text-align: center; }
body.app-page #crmNotesModal .crm-note-item { padding: 10px; border: 1px solid #e1ebe3; border-radius: 11px; background: #fff; }
body.app-page #crmNotesModal .crm-note-item__head { display: flex; justify-content: space-between; gap: 8px; color: #829087; font-size: calc(11px + 1px); }
body.app-page #crmNotesModal .crm-note-item__author { min-width: 0; overflow: hidden; color: #526158; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
body.app-page #crmNotesModal .crm-note-item__text { margin: 6px 0 0; overflow-wrap: anywhere; color: #27372e; font-size: calc(13px + 1px); }
body.app-page #crmNotesModal .crm-notes-modal__form { display: grid; gap: 7px; }
body.app-page #crmNotesModal .crm-notes-modal__form label { color: #526158; font-size: calc(13px + 1px); }
body.app-page #crmNotesModal textarea { min-height: 92px; resize: vertical; }
body.app-page #crmNotesModal .crm-notes-modal__form-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
body.app-page #crmNotesModal .crm-notes-modal__hint { color: #829087; font-size: calc(11px + 1px); }
body.app-page #crmNotesModal .crm-notes-modal__form-actions .btn { flex: 0 0 auto; }
body.app-page #crmPhotoDownloadModal .crm-photo-download-modal { display: grid; justify-items: center; text-align: center; }
body.app-page #crmPhotoDownloadModal .crm-photo-download-modal__icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 8px; border-radius: 15px; color: var(--brand-700); background: var(--brand-50); font-size: calc(21px + 1px); }
body.app-page #crmPhotoDownloadModal .crm-photo-download-modal h2 { margin-right: 0; }
body.app-page #crmPhotoDownloadModal .crm-photo-download-modal__status { margin: 0; overflow-wrap: anywhere; }
body.app-page #crmPhotoDownloadModal .crm-photo-download-modal__progress { width: 100%; height: 8px; overflow: hidden; margin-top: 12px; border-radius: 999px; background: #e8f0e9; }
body.app-page #crmPhotoDownloadModal .crm-photo-download-modal__progress span { display: block; width: 42%; height: 100%; border-radius: inherit; background: var(--brand-600); animation: mobile-crm-progress 1.2s ease-in-out infinite alternate; }
@keyframes mobile-crm-progress { from { transform: translateX(-25%); } to { transform: translateX(185%); } }
@media (min-width: 541px) {
    .mobile-objects-page { max-width: 520px; margin: 0 auto; }
}

.mobile-staff-listings-page .section-header { display: grid; gap: 9px; margin: 10px 0 10px; }
.mobile-staff-listings-page .section-header .page-title { margin: 0; color: #26392c; font-size: calc(22px + 1px); line-height: 1.2; }
.mobile-staff-listings-page .staff-listings-header-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; align-items: stretch; }
.mobile-staff-listings-page .staff-listings-header-tools > .btn { width: 100%; min-height: 42px; height: 42px; align-self: stretch; border-radius: 11px; font-size: calc(13px + 1px); }
.mobile-staff-listings-page .staff-listings-per-page-form { display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 42px; height: 42px; box-sizing: border-box; align-self: stretch; padding: 4px 7px; border: 1px solid #dfe9e1; border-radius: 11px; background: #fff; white-space: nowrap; }
.mobile-staff-listings-page .staff-listings-per-page-form label { color: #718077; font-size: calc(11px + 1px); line-height: 1.1; }
.mobile-staff-listings-page .staff-listings-per-page-form select { width: 60px; min-height: 30px; padding: 0 2px; border: 0; color: #304535; background: transparent; font: inherit; font-size: calc(14px + 1px); font-weight: 850; text-align: center; }
.mobile-staff-listings-page .staff-listings-per-page-form__suffix { color: #718077; font-size: calc(11px + 1px); }
.mobile-staff-listings-page .listings-filter-tabs { display: flex; flex-wrap: nowrap; gap: 7px; overflow-x: auto; margin: 0 -13px 12px; padding: 2px 13px 6px; scrollbar-width: none; overscroll-behavior-x: contain; }
.mobile-staff-listings-page .listings-filter-tabs::-webkit-scrollbar { display: none; }
.mobile-staff-listings-page .listings-filter-tab { min-width: max-content; min-height: 40px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 7px 12px; border: 1px solid #dfe9e1; border-radius: 999px; color: #607168; background: #fff; font-size: calc(13px + 1px); font-weight: 800; text-align: center; white-space: nowrap; }
.mobile-staff-listings-page .listings-filter-tab.active { position: sticky; left: 13px; z-index: 4; border-color: var(--brand-600); background: #edf5ef; color: var(--brand-700); box-shadow: 5px 0 10px rgba(18, 43, 29, .08); }
.mobile-staff-listings-page .listings-filter-tab--select-all { cursor: pointer; }
.mobile-staff-listings-page .listings-filter-tab--select-all input { width: 16px; height: 16px; margin: 0; accent-color: var(--brand-600); }
.mobile-staff-listings-page .tab-count { min-width: 19px; height: 19px; display: inline-grid; place-items: center; padding: 0 5px; border-radius: 999px; color: #718077; background: #f0f5f1; font-size: calc(12px + 1px); }
.mobile-staff-listings-page .listings-filter-tab.active .tab-count { color: #fff; background: var(--brand-600); }

/* CRM-карточка в «Мои объявления»: композиция поиска плюс служебные действия CRM. */
.mobile-staff-listings-page .my-listings-moderation-reason { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 5px; min-width: 0; max-width: 100%; margin-top: 4px; color: #a33a3a; font-size: calc(13px + 1px); line-height: 1.35; cursor: pointer; outline: none; }
.mobile-staff-listings-page .my-listings-moderation-reason > i { flex: 0 0 auto; }
.mobile-staff-listings-page .my-listings-moderation-reason__preview { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-staff-listings-page .my-listings-moderation-reason__tooltip { display: none; grid-column: 1 / -1; min-width: 0; max-height: 220px; box-sizing: border-box; overflow: auto; margin-top: 3px; padding: 9px 10px; border: 1px solid rgba(163, 58, 58, .24); border-radius: 9px; color: #29342d; background: #fff; box-shadow: 0 8px 20px rgba(27, 39, 30, .14); font-size: calc(13px + 1px); font-weight: 400; line-height: 1.45; white-space: normal; overflow-wrap: anywhere; }
.mobile-staff-listings-page .my-listings-moderation-reason.is-open .my-listings-moderation-reason__tooltip,
.mobile-staff-listings-page .my-listings-moderation-reason:focus-visible .my-listings-moderation-reason__tooltip { display: block; }
.mobile-staff-listings-page .my-listings-moderation-reason:focus-visible { border-radius: 5px; box-shadow: 0 0 0 3px rgba(163, 58, 58, .16); }

/* CRM mobile cards: визуальная композиция code_artifact.html с текущими
   данными, классами кнопок, статусами и обработчиками CRM. */
body.app-page .mobile-objects-page .objects-toolbar {
    position: sticky;
    top: 0;
    z-index: 60;
    margin: 0 0 12px;
    padding: 9px 12px 10px;
    border-bottom: 1px solid #e2e6e3;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 2px 8px rgba(31, 36, 33, .08);
    backdrop-filter: blur(8px);
}
body.app-page .mobile-objects-page .objects-stats-bar {
    display: grid;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
body.app-page .mobile-objects-page .objects-stats-bar__left,
body.app-page .mobile-objects-page .objects-stats-bar__right { gap: 7px; }
body.app-page .mobile-objects-page .objects-master-checkbox {
    width: 34px;
    height: 34px;
    border: 1px solid #e2e6e3;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(31, 36, 33, .08);
}
body.app-page .mobile-objects-page .objects-found-count {
    color: #1f2421;
    font-size: 14px;
    font-weight: 700;
}
body.app-page .mobile-objects-page .objects-view-toggle {
    padding: 3px;
    border: 1px solid #e2e6e3;
    border-radius: 10px;
    background: #fafcfb;
    box-shadow: none;
}
body.app-page .mobile-objects-page .objects-view-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    color: #68706b;
}
body.app-page .mobile-objects-page .objects-view-btn.is-active {
    color: #fff;
    background: #3b5d44;
}
body.app-page .mobile-objects-page .objects-mobile-filter-btn,
body.app-page .mobile-objects-page .objects-sort-field select {
    min-height: 38px;
    border: 1px solid #e2e6e3;
    border-radius: 10px;
    color: #1f2421;
    background: #fff;
    box-shadow: none;
    font-size: 14px;
    font-weight: 600;
}
body.app-page .mobile-objects-page .objects-mobile-filter-btn:active { transform: scale(.98); }
body.app-page .mobile-objects-page .objects-mobile-filter-btn:focus-visible,
body.app-page .mobile-objects-page .objects-sort-field select:focus-visible { outline: 3px solid rgba(59, 93, 68, .16); outline-offset: 2px; }
body.app-page .mobile-objects-page .objects-sort-field select { padding: 0 9px; }

body.app-page .mobile-objects-page .objects-list .crm-card,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 0;
    min-width: 0;
    overflow: hidden;
    margin: 0 0 14px;
    padding: 0;
    border: 1px solid #e2e6e3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(31, 36, 33, .05);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body.app-page .mobile-objects-page .objects-list .crm-card:hover,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card:hover {
    border-color: #cbd8ce;
    box-shadow: 0 5px 17px rgba(31, 36, 33, .09);
}
body.app-page .mobile-objects-page .objects-list .crm-card:active,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card:active { transform: translateY(1px); }
body.app-page .mobile-objects-page .objects-list .crm-card--exclusive,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card--exclusive { border-color: #b9d7bf; background: #fff; }
body.app-page .mobile-objects-page .objects-list .crm-card--rejected,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card--rejected { border-color: #e4c5c8; background: #fff; }
body.app-page .mobile-objects-page .objects-list .crm-card-media,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-media {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    min-width: 0;
    overflow: hidden;
    border-bottom: 1px solid #e2e6e3;
    background: #e6e8e6;
}
body.app-page .mobile-objects-page .objects-list .crm-card-media > a,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-media > a { display: block; width: 100%; height: 100%; }
body.app-page .mobile-objects-page .objects-list .crm-card-media img,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-media img { width: 100%; height: 100%; display: block; border-radius: 0; object-fit: cover; }
body.app-page .mobile-objects-page .objects-list .crm-card-check,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-check {
    top: 10px;
    left: 10px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
    backdrop-filter: blur(4px);
}
body.app-page .mobile-objects-page .objects-list .crm-card-check input,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-check input { width: 20px; height: 20px; margin: 0; accent-color: #3b5d44; }
body.app-page .mobile-objects-page .objects-list .crm-card-ribbon,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-ribbon {
    top: 10px;
    right: 10px;
    padding: 5px 9px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(31, 36, 33, .84);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
    font-size: 12px;
    font-weight: 700;
}
body.app-page .mobile-objects-page .objects-list .crm-card-counters,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-counters {
    right: auto;
    bottom: 10px;
    left: 10px;
    gap: 6px;
    max-width: calc(100% - 20px);
}
body.app-page .mobile-objects-page .objects-list .crm-card-counters span,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-counters span {
    min-height: 24px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: rgba(54, 59, 56, .85);
    box-shadow: none;
    font-size: 12px;
    font-weight: 600;
}
body.app-page .mobile-objects-page .objects-list .crm-card-main,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-main {
    grid-column: 1;
    grid-row: 2;
    display: block;
    min-width: 0;
    width: auto;
    padding: 13px 14px 12px;
}
body.app-page .mobile-objects-page .objects-list .crm-card-main h3,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-main h3 {
    display: -webkit-box;
    margin: 0 0 9px;
    overflow: hidden;
    color: #1f2421;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
body.app-page .mobile-objects-page .objects-list .crm-card-district,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-district { display: none; }
body.app-page .mobile-objects-page .objects-list .crm-card-tags,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    overflow: visible;
    margin: 0 0 10px;
    padding: 0;
}
body.app-page .mobile-objects-page .objects-list .crm-card-tags span,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-tags span {
    flex: 0 0 auto;
    padding: 4px 10px;
    border: 1px solid #e2e6e3;
    border-radius: 999px;
    color: #1f2421;
    background: #fafcfb;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}
body.app-page .mobile-objects-page .objects-list .crm-card-desc,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-desc {
    display: -webkit-box;
    margin: 0 0 11px;
    overflow: hidden;
    color: #68706b;
    font-size: 14px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
body.app-page .mobile-objects-page .objects-list .crm-card-marks,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-marks {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #68706b;
    background: transparent;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}
body.app-page .mobile-objects-page .objects-list .crm-card-marks.ml-5,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-marks.ml-5 {
    min-height: 0;
    margin-top: 9px;
    padding: 9px 0 0;
    border-top: 1px solid #eff2f0;
    background: transparent;
}
body.app-page .mobile-objects-page .objects-list .crm-card-marks .txt,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-marks .txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.app-page .mobile-objects-page .objects-list .crm-card-dates,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-dates {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin-top: 11px;
    padding: 9px 0 0;
    border-top: 1px solid #eff2f0;
    color: #8c948f;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.3;
}
body.app-page .mobile-objects-page .objects-list .crm-card-dates > span,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-dates > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.app-page .mobile-objects-page .objects-list .crm-card-dates .crm-actions,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-dates .crm-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; margin-top: 1px; }
body.app-page .mobile-objects-page .objects-list .crm-actions button,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-actions button {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    padding: 0;
    border: 1px solid #e2e6e3;
    border-radius: 50%;
    color: #68706b;
    background: #fff;
    box-shadow: none;
    font-size: 15px;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
body.app-page .mobile-objects-page .objects-list .crm-actions button:hover,
body.app-page .mobile-objects-page .objects-list .crm-actions button:focus-visible,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-actions button:hover,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-actions button:focus-visible { border-color: #3b5d44; color: #3b5d44; background: #e8efe9; outline: none; }
body.app-page .mobile-objects-page .objects-list .crm-actions button:active,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-actions button:active { transform: scale(.92); }
body.app-page .mobile-objects-page .objects-list .crm-card-side,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-side {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 11;
    width: auto;
    height: min(calc((100vw - 24px) * .625), 325px);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    min-width: 0;
    padding: 0 10px 10px 0;
    pointer-events: none;
}
body.app-page .mobile-objects-page .objects-list .crm-price,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-price {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 5px 8px;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    color: #1f2421;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 2px 6px rgba(31, 36, 33, .12);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: auto;
}
body.app-page .mobile-objects-page .objects-list .crm-price-m2,
body.app-page .mobile-objects-page .objects-list .crm-card-open-link,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-price-m2,
body.app-page .mobile-staff-listings-page .staff-listings-list .crm-card-open-link { display: none !important; }
body.app-page .mobile-staff-listings-page .listings-filter-tabs {
    gap: 6px;
    margin-bottom: 12px;
    padding-bottom: 6px;
}
body.app-page .mobile-staff-listings-page .listings-filter-tab {
    min-height: 38px;
    padding: 6px 11px;
    border-color: #e2e6e3;
    border-radius: 999px;
    color: #68706b;
    background: #fff;
    font-size: 13px;
    font-weight: 600;
}
body.app-page .mobile-staff-listings-page .listings-filter-tab.active {
    border-color: #3b5d44;
    color: #2c4633;
    background: #e8efe9;
    box-shadow: none;
}
body.app-page .mobile-staff-listings-page .tab-count { color: #68706b; background: #f5f7f6; }
body.app-page .mobile-staff-listings-page .listings-filter-tab.active .tab-count { color: #fff; background: #3b5d44; }

/* Форма объявления: сохраняет динамические формы и их идентификаторы,
   меняет только представление для телефона и планшета. */
.mobile-create-listing-page { display: block; min-width: 0; background: transparent; }
.app-page--create-listing-fullscreen .app-header,
.app-page--create-listing-fullscreen .bottom-nav { display: none !important; }
.app-page--create-listing-fullscreen .mobile-footer { display: none !important; }
.app-page--create-listing-fullscreen,
.app-page--create-listing-fullscreen .app-shell,
.app-page--create-listing-fullscreen .device-frame,
.app-page--create-listing-fullscreen .app-content { min-height: 100dvh; }
.app-page--create-listing-fullscreen .app-shell,
.app-page--create-listing-fullscreen .device-frame,
.app-page--create-listing-fullscreen .app-content { height: 100dvh; }
.app-page--create-listing-fullscreen .app-content {
    --create-listing-toolbar-offset: calc(56px + max(8px, env(safe-area-inset-top)) + 8px);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 !important;
    scroll-padding-top: var(--create-listing-toolbar-offset);
}
.app-page--create-listing-fullscreen .mobile-create-listing-page,
.app-page--create-listing-fullscreen .mobile-create-listing-page > .dashboard-content { min-height: 100%; }
.app-page--create-listing-fullscreen .mobile-create-listing-page > .dashboard-content { display: flex; flex-direction: column; }
.mobile-create-listing-toolbar {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: max(8px, env(safe-area-inset-top)) 14px 8px;
    border-bottom: 1px solid #e0e9e2;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 5px 16px rgba(31, 61, 40, .07);
    backdrop-filter: blur(12px);
}
.mobile-create-listing-toolbar__back,
.mobile-create-listing-toolbar__action {
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    color: var(--brand-700);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: calc(var(--type-control) + 1px);
    font-weight: 850;
}
.mobile-create-listing-toolbar__back { width: 40px; display: grid; place-items: center; font-size: 17px; }
.mobile-create-listing-toolbar__action { padding: 7px 4px 7px 10px; }
.mobile-create-listing-toolbar__back:hover,
.mobile-create-listing-toolbar__back:focus-visible,
.mobile-create-listing-toolbar__action:hover,
.mobile-create-listing-toolbar__action:focus-visible { color: var(--brand-900); background: #edf5ef; outline: none; }
.mobile-create-listing-toolbar__action.is-save { color: var(--brand-700); }
.app-page--create-listing-fullscreen .mobile-create-listing-page .form-container {
    flex: 1 0 auto;
    min-height: calc(100dvh - 56px);
    padding-bottom: max(20px, env(safe-area-inset-bottom));
}
.mobile-create-listing-page > .dashboard-sidebar { display: none; }
.mobile-create-listing-page > .dashboard-content { width: 100%; min-width: 0; padding: 0; }
.mobile-create-listing-page .form-container { width: 100%; min-width: 0; padding: 0 0 20px; }
.mobile-create-listing-page .tab-trigger { display: none !important; }
.mobile-create-listing-page .create-listing-heading { display: grid; gap: 10px; margin: 0 0 14px; padding: 0 2px 2px; }
.mobile-create-listing-page .create-listing-heading h2 { margin: 0; color: var(--brand-900); font-size: calc(21px + 1px); line-height: 1.2; letter-spacing: -.02em; }
.mobile-create-listing-page .create-listing-heading.mobile-account-header {
    display: grid;
    gap: 10px;
    margin: -2px 0 14px;
    padding: 16px 14px;
}
.mobile-create-listing-page .create-listing-heading.mobile-account-header h2 {
    margin: 0;
    color: #213128;
    font-size: calc(var(--type-page-title) + 1px);
    line-height: var(--type-line-heading);
    letter-spacing: -.045em;
	font-size: 20px;
}
.mobile-create-listing-page .create-listing-heading.mobile-create-listing-header--edit h2 { display: none; }
.mobile-create-listing-page .create-listing-heading.mobile-create-listing-header--edit:not(:has(.alert, .crm-listing-controls)) { display: none; }
.app-page--create-listing-fullscreen .mobile-create-listing-header--new h2 { display: none; }
.app-page--create-listing-fullscreen .mobile-create-listing-header--new:not(:has(.alert, .crm-listing-controls)) { display: none; }
.app-page--create-listing-fullscreen .mobile-create-listing-header--new.is-empty { display: none; }
.app-page--create-listing-fullscreen .mobile-create-listing-header--new { scroll-margin-top: var(--create-listing-toolbar-offset, 72px); }
.mobile-create-listing-page .form-container > div:has(#client-phone-input),
.mobile-create-listing-page .form-container > .form-group:has(.deal-nav),
.mobile-create-listing-page .form-container > #category-group,
.mobile-create-listing-page .form-container > #form-container:has(.dynamic-form) {
    position: relative;
    margin-bottom: 12px;
	margin-top: 15px;
    padding: 15px 12px 13px;
    border: 1px solid #dfe8e1;
    border-radius: 17px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fbf9 100%);
    box-shadow: 0 7px 20px rgba(31, 61, 40, .07);
}
.mobile-create-listing-page .form-container > div:has(#client-phone-input) > .section-title { margin: 0 0 12px; padding: 0 0 9px; border: 0; border-bottom: 1px solid #dce8df; background: transparent; }
.mobile-create-listing-page .form-container > div:has(#client-phone-input) label { display: block; margin: 0 0 6px; color: #444; font-size: 13px; font-weight: 600; }
.mobile-create-listing-page .form-container > div:has(#client-phone-input) .row { gap: 10px; }
.mobile-create-listing-page .form-container > .form-group:has(.deal-nav) > label,
.mobile-create-listing-page .form-container > #category-group > label { display: block; margin: 0 0 10px; color: var(--brand-900); font-size: calc(var(--type-label) + 1px); font-weight: 900; }
.mobile-create-listing-page .form-container > #form-container:has(.dynamic-form) { padding-top: 16px;margin-top: 15px; }
.mobile-create-listing-page .dynamic-form h3 {
    margin: 0 0 15px;
    padding: 12px 11px;
    border: 1px solid #dce8df;
    border-left: 4px solid var(--brand-600);
    border-radius: 12px;
    color: var(--brand-900);
    background: linear-gradient(145deg, #fff, #f3f8f4);
    font-size: calc(18px + 1px);
    line-height: 1.2;
    letter-spacing: -.01em;
}
.mobile-create-listing-page .crm-listing-controls { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-create-listing-page .crm-status-control { display: grid; gap: 5px; color: #526158; font-size: calc(var(--type-label) + 1px); }
.mobile-create-listing-page .crm-status-control select,
.mobile-create-listing-page .crm-listing-controls select { width: 100%; min-height: var(--control-height); box-sizing: border-box; padding: 8px 10px; border: 1px solid #dfe8e1; border-radius: var(--radius-md); background: #fff; color: #27372e; font: inherit; font-size: calc(var(--type-control) + 1px); }
.mobile-create-listing-page .crm-sold-by-options { margin: 0 !important; padding: 9px; border: 1px solid #e1ebe3; border-radius: 10px; background: #f8fbf9; }
.mobile-create-listing-page .crm-sold-by-options > label { color: #526158; font-size: calc(var(--type-label) + 1px); font-weight: 800; }
.mobile-create-listing-page .crm-sold-by-options .checkbox-list { display: grid; gap: 5px; margin-top: 6px; }
.mobile-create-listing-page .crm-sold-by-options .checkbox-item { display: flex; align-items: center; gap: 6px; color: #607168; font-size: calc(var(--type-caption) + 1px); }
.mobile-create-listing-page .crm-verified-control { justify-content: flex-start; color: #526158; font-size: calc(var(--type-label) + 1px); }
.mobile-create-listing-page .section-title { display: flex; align-items: center; gap: 7px; min-height: 42px; margin: 18px 0 11px; padding: 9px 11px; border: 1px solid #dce8df; border-left: 4px solid var(--brand-600); border-radius: 12px; color: var(--brand-900); background: linear-gradient(90deg, #f0f7f1 0%, #fff 78%); font-size: calc(15px + 1px); font-weight: 900; line-height: 1.25; }
.mobile-create-listing-page .required { color: #c53030 !important; margin-left: 3px; font-weight: 900; }
.mobile-create-listing-page .form-group { display: grid; gap: 6px; margin-bottom: 10px; }
.mobile-create-listing-page .form-group > label,
.mobile-create-listing-page .dynamic-form .form-group > label { color: #444; font-size: 13px; font-weight: 600; }
.mobile-create-listing-page .row,
.mobile-create-listing-page .form-row,
.mobile-create-listing-page .form-row-2,
.mobile-create-listing-page .form-row-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; margin: 0; }
.mobile-create-listing-page .row > [class*="col-"],
.mobile-create-listing-page .form-row > [class*="col-"],
.mobile-create-listing-page .form-row-2 > [class*="col-"],
.mobile-create-listing-page .form-row-3 > [class*="col-"] { width: auto; min-width: 0; max-width: none; flex: none; padding: 0; }
.mobile-create-listing-page .form-group:has(.cl-split-field) {
    width: 100%;
    min-width: 0;
    max-width: none;
    grid-column: 1 / -1;
}
.mobile-create-listing-page .form-group:has(.cl-split-field) > div:has(> .cl-split-field) {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.mobile-create-listing-page .form-group:has(.cl-split-field) .cl-split-field {
    width: 0;
    min-width: 0;
    flex: 1 1 0;
}
.mobile-create-listing-page .form-group:has(.cl-split-field) .cl-split-field input {
    width: 100%;
    min-width: 0;
}
.mobile-create-listing-page .form-group:has(.cl-split-field) > div > span {
    flex: 0 0 auto;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 600;
}
.mobile-create-listing-page input[type="text"],
.mobile-create-listing-page input[type="number"],
.mobile-create-listing-page input[type="tel"],
.mobile-create-listing-page input[type="email"],
.mobile-create-listing-page select,
.mobile-create-listing-page textarea { width: 100%; min-height: var(--control-height); box-sizing: border-box; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fcfcfc; color: #222; font: inherit; font-size: 15px; }
.mobile-create-listing-page textarea { min-height: 105px; resize: none; line-height: 1.4; }
.mobile-create-listing-page input:focus,
.mobile-create-listing-page select:focus,
.mobile-create-listing-page textarea:focus { border-color: #618364; background: #fff; box-shadow: 0 0 0 3px rgba(255, 90, 0, .1); outline: none; }
.mobile-create-listing-page .geo-custom-select-source,
.mobile-objects-page .objects-filter .geo-custom-select-source {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.mobile-create-listing-page .geo-custom-select-trigger {
    width: 100%;
    min-height: var(--control-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #222;
    background: #f8fafc;
    font: inherit;
    font-size: 15px;
    text-align: left;
    cursor: pointer;
}
.mobile-objects-page .objects-filter .geo-custom-select-trigger {
    width: 100%;
    min-height: var(--control-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
    padding: 9px 10px;
    border: 1px solid #dfe8e1;
    border-radius: var(--radius-md);
    color: #27372e;
    background: #fff;
    font: inherit;
    font-size: calc(var(--type-control) + 1px);
    text-align: left;
    cursor: pointer;
}
.mobile-create-listing-page .geo-custom-select-trigger__label,
.mobile-objects-page .objects-filter .geo-custom-select-trigger__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mobile-create-listing-page .geo-custom-select-trigger.is-placeholder { color: #94a3b8; }
.mobile-objects-page .objects-filter .geo-custom-select-trigger.is-placeholder { color: #819087; }
.mobile-create-listing-page .geo-custom-select-trigger__chevron,
.mobile-objects-page .objects-filter .geo-custom-select-trigger__chevron { width: 18px; height: 18px; flex: 0 0 18px; display: grid; place-items: center; color: var(--brand-700); }
.mobile-create-listing-page .geo-custom-select-trigger__chevron svg,
.mobile-objects-page .objects-filter .geo-custom-select-trigger__chevron svg { width: 15px; height: 10px; display: block; overflow: visible; }
.mobile-create-listing-page .geo-custom-select-trigger__chevron path,
.mobile-objects-page .objects-filter .geo-custom-select-trigger__chevron path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mobile-create-listing-page .geo-custom-select-trigger:hover,
.mobile-create-listing-page .geo-custom-select-trigger:focus-visible { border-color: #618364; box-shadow: 0 0 0 3px rgb(98 131 101 / 13%); outline: none; }
.mobile-objects-page .objects-filter .geo-custom-select-trigger:hover,
.mobile-objects-page .objects-filter .geo-custom-select-trigger:focus-visible { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(61, 124, 75, .12); outline: none; }
.mobile-create-listing-page .geo-custom-select-trigger:disabled,
.mobile-objects-page .objects-filter .geo-custom-select-trigger:disabled { color: #a2aea6; background: #f3f6f4; cursor: not-allowed; box-shadow: none; }
.mobile-create-listing-page .geo-custom-select-trigger:disabled .geo-custom-select-trigger__chevron,
.mobile-objects-page .objects-filter .geo-custom-select-trigger:disabled .geo-custom-select-trigger__chevron { color: #a2aea6; }

.mobile-geo-picker {
    position: fixed;
    z-index: 500;
    inset: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    box-sizing: border-box;
    padding: 0;
    background: rgba(21, 35, 26, .42);
}
.mobile-geo-picker[hidden] { display: none !important; }
.mobile-geo-picker__backdrop { position: absolute; inset: 0; cursor: pointer; }
.mobile-geo-picker__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: max(18px, env(safe-area-inset-top)) 14px max(14px, env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}
.mobile-geo-picker__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.mobile-geo-picker__heading { min-width: 0; }
.mobile-geo-picker__eyebrow { margin-bottom: 4px; color: #789080; font-size: 13px; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; }
.mobile-geo-picker__header h2 { margin: 0; color: var(--brand-900); font-size: 21px; line-height: 1.2; letter-spacing: -.025em; }
.mobile-geo-picker__close { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 0; border-radius: 11px; color: #526158; background: #f1f6f2; font: inherit; font-size: 25px; line-height: 1; cursor: pointer; }
.mobile-geo-picker__close:hover, .mobile-geo-picker__close:focus-visible { color: var(--brand-900); background: #e4f0e6; outline: none; }
.mobile-geo-picker__search { min-height: 48px; display: flex; align-items: center; gap: 8px; box-sizing: border-box; margin-bottom: 11px; padding: 0 12px; border: 1px solid #cfded2; border-radius: 13px; color: var(--brand-700); background: #f8fbf9; }
.mobile-geo-picker__search:focus-within { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(61, 124, 75, .12); }
.mobile-geo-picker__search-icon { flex: 0 0 auto; font-size: 22px; line-height: 1; }
.mobile-geo-picker__search input { min-width: 0; width: 100%; min-height: 44px; padding: 0; border: 0; color: #27372e; background: transparent; font: inherit; font-size: calc(var(--type-control) + 1px); outline: none; }
.mobile-geo-picker__search input::-webkit-search-cancel-button { cursor: pointer; }
.mobile-geo-picker__list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1px 1px 3px; }
.mobile-geo-picker__option { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-sizing: border-box; padding: 10px 11px; border: 1px solid transparent; border-radius: 12px; color: #29382f; background: #fff; font: inherit; font-size: calc(var(--type-control) + 1px); line-height: 1.3; text-align: left; cursor: pointer; }
.mobile-geo-picker__option + .mobile-geo-picker__option { margin-top: 3px; }
.mobile-geo-picker__option:hover, .mobile-geo-picker__option:focus-visible { border-color: #cfe2d2; background: #f4faf5; outline: none; }
.mobile-geo-picker__option[aria-selected="true"] { border-color: #b9d6be; color: var(--brand-900); background: #edf7ef; font-weight: 800; }
.mobile-geo-picker__add-option { justify-content: flex-start; gap: 10px; border-color: #c8ddcc; color: var(--brand-700); background: #f1f8f2; font-weight: 800; }
.mobile-geo-picker__add-option::before { content: '+'; width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--brand-700); font-size: 19px; font-weight: 500; line-height: 1; }
.mobile-geo-picker__add-option:hover, .mobile-geo-picker__add-option:focus-visible { border-color: var(--brand-600); color: var(--brand-800); background: #e8f3ea; }
.mobile-geo-picker__option-label { min-width: 0; overflow-wrap: anywhere; }
.mobile-geo-picker__option-check { width: 22px; flex: 0 0 22px; color: var(--brand-700); font-size: 18px; line-height: 1; text-align: center; visibility: hidden; }
.mobile-geo-picker__option[aria-selected="true"] .mobile-geo-picker__option-check { visibility: visible; }
.mobile-geo-picker__empty { padding: 28px 12px; color: #718078; font-size: calc(var(--type-control) + 1px); line-height: 1.4; text-align: center; }
.mobile-create-listing-page .category-switcher { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 6px; margin: 0 0 10px; }
.mobile-create-listing-page .deal-nav { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.mobile-create-listing-page .switch-btn { min-height: var(--control-height); padding: 7px 6px; border: 1px solid #dfe9e1; border-radius: var(--radius-md);                                                                  background: -webkit-linear-gradient(360deg, var(--brand-700), var(--brand-600)); background: linear-gradient(135deg, var(--brand-700), var(--brand-600));color: #ffffff; font: inherit; font-size: calc(var(--type-label) + 1px); font-weight: 800; }
.mobile-create-listing-page .switch-btn.active { border-color: var(--brand-600); background: #edf5ef; color: var(--brand-700); }
.mobile-create-listing-page .select-category-hint { margin: 10px 0; padding: 22px 14px; border: 1px dashed #cfded2; border-radius: 14px; background: #f8fbf9; color: #607168; font-size: calc(13px + 1px); text-align: center; }
.mobile-create-listing-page .select-category-hint .icon { display: grid; place-items: center; width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 13px; background: #e8f2ea; color: var(--brand-700); font-size: calc(17px + 1px); }
.mobile-create-listing-page .select-category-hint .sub-text { margin-top: 5px; color: #829087; font-size: calc(var(--type-caption) + 1px); }
.mobile-create-listing-page #submit-overlay.submit-overlay { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 24px; background: rgba(255, 255, 255, .95); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility .3s ease; }
.mobile-create-listing-page #submit-overlay.submit-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
.mobile-create-listing-page #submit-overlay .preloader { display: block !important; width: min(100%, 360px); box-sizing: border-box; padding: 24px; color: #111; text-align: center; }
.mobile-create-listing-page #submit-overlay .logo-container { width: min(140px, 42vw); height: min(140px, 42vw); margin: 0 auto 16px; overflow: hidden; border-radius: 28px; background: #000000; box-shadow: 0 14px 34px rgb(98 132 101 / 36%); animation: mobile-submit-preloader-pulse 1.8s infinite ease-in-out; }
.mobile-create-listing-page #submit-overlay .logo-container svg { width: 100%; height: 100%; display: block; filter: invert(1); }
.mobile-create-listing-page #submit-overlay .preloader-text-block { margin-top: 0; text-align: center; opacity: 1; animation: mobile-submit-preloader-text .45s ease both; }
.mobile-create-listing-page #submit-overlay .main-brand { color: #111; font-size: 20px; font-weight: 800; letter-spacing: 1px; line-height: 1.2; }
.mobile-create-listing-page #submit-overlay .sub-brand { display: inline-block; margin-top: 8px; padding-top: 0; border-top: 0; color: #000000; font-size: 13px; font-weight: 600; letter-spacing: 1px; line-height: 1.35; text-transform: uppercase; }
.mobile-create-listing-page #submit-overlay .preloader-text-block span { display: block; margin-top: 18px; color: #666; font-size: 14px; font-weight: 500; line-height: 1.45; }
@keyframes mobile-submit-preloader-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.96); opacity: .85; } }
@keyframes mobile-submit-preloader-text { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
body.app-page .objects-filter-preloader-outer { display: none !important; }
body.app-page .mobile-objects-page .objects-filter-preloader { position: fixed; inset: 0; z-index: 2000; display: flex !important; flex-direction: column; align-items: center; justify-content: center; box-sizing: border-box; padding: 24px; background: rgba(255, 255, 255, .95); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility .3s ease; }
body.app-page .mobile-objects-page .objects-filter-preloader.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
body.app-page .mobile-objects-page .objects-filter-preloader .logo-container { width: min(140px, 42vw); height: min(140px, 42vw); margin: 0 auto 16px; overflow: hidden; border-radius: 28px; background: #000000; box-shadow: 0 14px 34px rgb(98 132 101 / 36%); animation: mobile-submit-preloader-pulse 1.8s infinite ease-in-out; }
body.app-page .mobile-objects-page .objects-filter-preloader .logo-container svg { width: 100%; height: 100%; display: block; filter: invert(1); }
body.app-page .mobile-objects-page .objects-filter-preloader .preloader-text-block { width: min(100%, 360px); box-sizing: border-box; padding: 24px; color: #111; text-align: center; opacity: 1; animation: mobile-submit-preloader-text .45s ease both; }
body.app-page .mobile-objects-page .objects-filter-preloader .main-brand { color: #111; font-size: 20px; font-weight: 800; letter-spacing: 1px; line-height: 1.2; }
body.app-page .mobile-objects-page .objects-filter-preloader .sub-brand { display: inline-block; margin-top: 8px; padding-top: 0; border-top: 0; color: #000000; font-size: 13px; font-weight: 600; letter-spacing: 1px; line-height: 1.35; text-transform: uppercase; }
body.app-page .mobile-objects-page .objects-filter-preloader .preloader-text-block span { display: block; margin-top: 18px; color: #666; font-size: 14px; font-weight: 500; line-height: 1.45; }
.mobile-create-listing-page .char-row { display: grid; gap: 7px; padding: 11px 0; border-bottom: 1px dashed #dce8df; }
.mobile-create-listing-page .char-row > span:first-child { min-width: 0; padding: 0; color: #526158; font-size: calc(var(--type-label) + 1px); }
.mobile-create-listing-page .krisha-tags,
.mobile-create-listing-page .toggles { display: flex; flex-wrap: wrap; gap: 5px; }
.mobile-create-listing-page .krisha-tags label,
.mobile-create-listing-page .toggles .toggle { min-height: var(--control-height-xs); box-sizing: border-box; display: inline-flex; align-items: center; gap: 4px; padding: 6px 9px; border: 1px solid #dfe9e1; border-radius: var(--radius-sm); background: #fff; color: #607168; font-size: calc(var(--type-caption) + 1px); }
.mobile-create-listing-page .krisha-tags label:has(input:checked),
.mobile-create-listing-page .toggles .toggle.selected { border-color: #d7b66e; background: #fff7e5; color: #665021; }
.mobile-create-listing-page .dynamic-form .section-title {
    border-color: #6284652e;
    border-left-color: #618264;
    background: linear-gradient(100deg, #6284651a 0%, #f4faf561 74%);
    box-shadow: 0 4px 11px rgba(80, 113, 84, .06);
}
.mobile-create-listing-page .dynamic-form .char-row {
    padding: 12px 10px;
    border: 1px solid #e1ebe3;
    border-left: 3px solid #b8d3bd;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff 0%, #f8fcf9 100%);
}
.mobile-create-listing-page .krisha-tags label:has(input[type="radio"]) {
    position: relative;
    flex: 1 1 auto;
    min-height: 42px;
    justify-content: left;
    padding: 8px 9px 8px 35px;
    border: 1px solid #cfded2;
    border-radius: 12px;
    color: #526158;
    background: #fff;
    box-shadow: 0 3px 9px rgba(18, 43, 29, .05);
    cursor: pointer;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.mobile-create-listing-page .krisha-tags label:has(input[type="radio"])::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    width: 17px;
    height: 17px;
    box-sizing: border-box;
    border: 2px solid #9ab4a0;
    border-radius: 50%;
    background: #fff;
    transform: translateY(-50%);
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.mobile-create-listing-page .krisha-tags label:has(input[type="radio"]) input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}
.mobile-create-listing-page .krisha-tags label:has(input[type="radio"]:checked) {
    border-color: #607168;
    color: #434240;
    background: linear-gradient(135deg, #60716808 0%, #62836599 100%);
    box-shadow: 0 5px 13px rgb(98 131 101 / 8%);
    transform: translateY(-1px);
}
.mobile-create-listing-page .krisha-tags label:has(input[type="radio"]:checked)::before {
    border-color: #607168;
    background: #607168;
    box-shadow: inset 0 0 0 4px #ffffff;
}
.mobile-create-listing-page .krisha-tags label:has(input[type="radio"]:focus-visible) {
    outline: 3px solid rgba(80, 113, 84, .22);
    outline-offset: 2px;
}
.mobile-create-listing-page .mobile-choice-field {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 6px;
}
.mobile-create-listing-page .mobile-choice-field > label { display: block; margin: 0; text-align: left; }
.mobile-create-listing-page .char-row.mobile-choice-field {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
	margin: 5px 0px;
}
.mobile-create-listing-page .char-row.mobile-choice-field > span:first-child {
    min-width: 0;
    padding: 0;
    color: #444;
    font-size: 13px;
    font-weight: 600;
}
.mobile-create-listing-page .mobile-choice-source-heading { display: none !important; }
.mobile-create-listing-page .mobile-choice-picker-source {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.mobile-create-listing-page .mobile-choice-picker-trigger {
    width: 100%;
    min-height: var(--control-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #333;
    background: #f8fafc;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}
.mobile-create-listing-page .mobile-choice-picker-trigger__value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mobile-create-listing-page .mobile-choice-picker-trigger.is-placeholder { color: #94a3b8; }
.mobile-create-listing-page .mobile-choice-picker-trigger:not(.is-placeholder) .mobile-choice-picker-trigger__value { color: #618364; font-weight: 600; }
.mobile-create-listing-page .mobile-choice-picker-trigger.is-error { border-color: #d44747; color: #b52f2f; background: #fff7f6; }
.mobile-create-listing-page .mobile-choice-picker-source.field-error-target + .mobile-choice-picker-trigger { border-color: #d44747; color: #b52f2f; background: #fff7f6; }
.mobile-create-listing-page .mobile-choice-picker-trigger__chevron { width: 18px; height: 18px; flex: 0 0 18px; display: grid; place-items: center; color: var(--brand-700); }
.mobile-create-listing-page .mobile-choice-picker-trigger__chevron svg { width: 15px; height: 10px; display: block; overflow: visible; }
.mobile-create-listing-page .mobile-choice-picker-trigger__chevron path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mobile-create-listing-page .mobile-choice-picker-trigger:hover,
.mobile-create-listing-page .mobile-choice-picker-trigger:focus-visible { border-color: #618364; background: #fff; box-shadow: 0 0 0 3px rgb(98 131 101 / 13%); outline: none; }
.mobile-create-listing-page .mobile-choice-picker-trigger:disabled { color: #a2aea6; background: #f3f6f4; cursor: not-allowed; box-shadow: none; }
.mobile-choice-picker {
    position: fixed;
    z-index: 510;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-sizing: border-box;
    background: rgba(21, 35, 26, .42);
}
.mobile-choice-picker[hidden] { display: none !important; }
.mobile-choice-picker__backdrop { position: absolute; inset: 0; cursor: pointer; }
.mobile-choice-picker__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    max-height: min(72dvh, 620px);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 16px 14px max(14px, env(safe-area-inset-bottom));
    border: 1px solid rgba(213, 228, 216, .92);
    border-bottom: 0;
    border-radius: 22px 22px 0 0;
    background: #fff;
    box-shadow: 0 -12px 36px rgba(24, 49, 31, .2);
}
.mobile-choice-picker__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.mobile-choice-picker__heading { min-width: 0; }
.mobile-choice-picker__eyebrow { margin-bottom: 4px; color: #789080; font-size: 13px; font-weight: 800; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em; }
.mobile-choice-picker__header h2 { margin: 0; color: var(--brand-900); font-size: 20px; line-height: 1.2; overflow-wrap: anywhere; }
.mobile-choice-picker__close { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 0; border-radius: 11px; color: #526158; background: #f1f6f2; font: inherit; font-size: 25px; line-height: 1; cursor: pointer; }
.mobile-choice-picker__close:hover, .mobile-choice-picker__close:focus-visible { color: var(--brand-900); background: #e4f0e6; outline: none; }
.mobile-choice-picker__list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1px 1px 3px; }
.mobile-choice-picker__option { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-sizing: border-box; padding: 10px 11px; border: 1px solid transparent; border-radius: 12px; color: #29382f; background: #fff; font: inherit; font-size: calc(var(--type-control) + 1px); line-height: 1.3; text-align: left; cursor: pointer; }
.mobile-choice-picker__option + .mobile-choice-picker__option { margin-top: 3px; }
.mobile-choice-picker__option:hover, .mobile-choice-picker__option:focus-visible { border-color: #cfe2d2; background: #f4faf5; outline: none; }
.mobile-choice-picker__option[aria-selected="true"] { border-color: #b9d6be; color: var(--brand-900); background: #edf7ef; font-weight: 800; }
.mobile-choice-picker__option-label { min-width: 0; overflow-wrap: anywhere; }
.mobile-choice-picker__option-check { width: 22px; flex: 0 0 22px; color: var(--brand-700); font-size: 18px; line-height: 1; text-align: center; visibility: hidden; }
.mobile-choice-picker__option[aria-selected="true"] .mobile-choice-picker__option-check { visibility: visible; }
.mobile-create-listing-page .checkbox-grid { grid-template-columns: minmax(0, 1fr); gap: 5px; margin-bottom: 10px; }
.mobile-create-listing-page .checkbox-label { min-height: var(--control-height-sm); box-sizing: border-box; display: inline-flex; align-items: center; width: fit-content; max-width: 100%; gap: 7px; padding: 6px 3px 5px; border: 0; border-bottom: 1px dashed #8fa798; border-radius: 0; color: #526158; background: transparent; font-size: calc(var(--type-caption) + 1px); line-height: 1.35; }
.mobile-create-listing-page .checkbox-label input { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.mobile-create-listing-page .checkbox-label:has(input:checked) { border-bottom-color: #7c5b14; color: #33270e; background: #f5c451; text-decoration-line: underline; text-decoration-color: #5b4613; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mobile-create-listing-page .checkbox-label:has(input:focus-visible) { outline: 3px solid rgba(80, 113, 84, .2); outline-offset: 3px; }
.mobile-create-listing-page .checkbox-label:not(:has(input[name="accept_agreement"])) {
    position: relative;
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    padding: 9px 10px 9px 40px;
    border: 1px solid #d6e4d9;
    border-radius: 12px;
    color: #526158;
    background: linear-gradient(145deg, #fff 0%, #f7fbf8 100%);
    box-shadow: 0 3px 9px rgba(18, 43, 29, .05);
    cursor: pointer;
    text-decoration: none;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.mobile-create-listing-page .checkbox-label:not(:has(input[name="accept_agreement"]))::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 50%;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    border: 2px solid #9ab4a0;
    border-radius: 6px;
    background: #fff;
    transform: translateY(-50%);
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.mobile-create-listing-page .checkbox-label:not(:has(input[name="accept_agreement"])):has(input:checked) {
    border-color: #607168;
    color: #434240;
    background: linear-gradient(135deg, #60716808 0%, #62836599 100%);
    box-shadow: 0 5px 13px rgb(98 131 101 / 8%);
    text-decoration: underline;
    text-decoration-color: #607168;
    text-underline-offset: 3px;
    transform: translateY(-1px);
}
.mobile-create-listing-page .checkbox-label:not(:has(input[name="accept_agreement"])):has(input:checked)::before {
    content: '✓';
    display: grid;
    place-items: center;
    border-color: #607168;
    color: #fff;
    background: #344b3f;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
}
.mobile-create-listing-page .checkbox-label:not(:has(input[name="accept_agreement"])):has(input:focus-visible) {
    outline: 3px solid rgba(80, 113, 84, .22);
    outline-offset: 2px;
}
.mobile-create-listing-page .checkbox-label:has(input[name="accept_agreement"]) {
    position: relative;
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    align-items: flex-start;
    padding: 10px 10px 10px 42px;
    border: 1px solid #d6e4d9;
    border-radius: 12px;
    color: #607168;
    background: #fff;
    box-shadow: 0 3px 9px rgba(18, 43, 29, .04);
    text-decoration: none;
    cursor: pointer;
}
.mobile-create-listing-page .checkbox-label:has(input[name="accept_agreement"])::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 11px;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    border: 2px solid #8fa798;
    border-radius: 6px;
    background: #fff;
}
.mobile-create-listing-page .checkbox-label:has(input[name="accept_agreement"])::after {
    content: '';
    position: absolute;
    left: 16px;
    top: 14px;
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    opacity: 0;
    transform: rotate(-45deg);
}
.mobile-create-listing-page .checkbox-label:has(input[name="accept_agreement"]:checked) {
    border-color: #8fb99a;
    color: #3f5948;
    background: #f4faf5;
    text-decoration: none;
}
.mobile-create-listing-page .checkbox-label:has(input[name="accept_agreement"]:checked)::before { border-color: var(--brand-700); background: var(--brand-700); }
.mobile-create-listing-page .checkbox-label:has(input[name="accept_agreement"]:checked)::after { opacity: 1; }
.mobile-create-listing-page .checkbox-label:has(input[name="accept_agreement"]:focus-visible) { outline: 3px solid rgba(80, 113, 84, .22); outline-offset: 2px; }
.mobile-create-listing-page .checkbox-label:has(input[name="accept_agreement"]) input {
    position: absolute;
    left: 11px;
    top: 11px;
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0;
    clip: auto;
    clip-path: none;
    pointer-events: auto;
    z-index: 1;
    cursor: pointer;
}
.mobile-create-listing-page .dynamic-form .row:has(.checkbox-label) > [class*="col-"] { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 5px 13px; }
.mobile-create-listing-page .dynamic-form .row:has([name="accept_agreement"]) > [class*="col-"] { display: block; }
.mobile-create-listing-page .area-input-wrapper { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.mobile-create-listing-page .area-input-wrapper .krisha-tags { min-width: 0;margin-top: 15px; }
.mobile-create-listing-page #photo-preview-grid,
.mobile-create-listing-page .photo-preview-grid,
.mobile-create-listing-page #floor-plan-preview,
.mobile-create-listing-page .floor-plan-preview-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 8px 0 12px; }
.mobile-create-listing-page .photo-upload-container {
    min-height: 142px;
    padding: 27px 16px !important;
    border: 2px dashed #a9c9b0 !important;
    border-radius: 12px !important;
    background: #f8fcf9 !important;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.mobile-create-listing-page .photo-upload-container:hover,
.mobile-create-listing-page .photo-upload-container:focus-within {
    border-color: var(--brand-600) !important;
    background: #f1f8f2 !important;
    box-shadow: 0 5px 14px rgba(61, 124, 75, .08);
}
.mobile-create-listing-page .photo-upload-container.dragover {
    border-color: var(--brand-600) !important;
    background: #eaf5ec !important;
}
.mobile-create-listing-page .photo-upload-container .btn,
.mobile-create-listing-page .submit-bar .btn-blue {
    min-height: 30px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 4px 10px;
    border-radius: 9px;
    border: 1px solid var(--brand-700);
    color: #fff;
    background: var(--brand-700);
    box-shadow: 0 5px 12px rgba(80, 113, 84, .16);
    font-weight: 800;
	font-size: 15px;
}
.mobile-create-listing-page .photo-upload-container > div:not(.btn) {
    color: #718077 !important;
    line-height: 1.35;
	margin-top: 10px;
}
.mobile-create-listing-page #photo-preview-grid:empty,
.mobile-create-listing-page .photo-preview-grid:empty,
.mobile-create-listing-page #floor-plan-preview:empty,
.mobile-create-listing-page .floor-plan-preview-grid:empty { display: none !important; }
.mobile-create-listing-page #photo-preview-grid[style*="display: none"],
.mobile-create-listing-page #photo-preview-grid[style*="display:none"],
.mobile-create-listing-page .photo-preview-grid[style*="display: none"],
.mobile-create-listing-page .photo-preview-grid[style*="display:none"],
.mobile-create-listing-page #floor-plan-preview[style*="display: none"],
.mobile-create-listing-page #floor-plan-preview[style*="display:none"],
.mobile-create-listing-page .floor-plan-preview-grid[style*="display: none"],
.mobile-create-listing-page .floor-plan-preview-grid[style*="display:none"] { display: none !important; }
.mobile-create-listing-page .photo-card {
    position: relative;
    width: 100%;
    height: auto;
    min-width: 0;
    aspect-ratio: 1.38;
    overflow: hidden;
    border: 2px solid #98b19b;
    border-radius: 10px;
    background: #f5f8f5;
    cursor: grab;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.mobile-create-listing-page .photo-card:hover,
.mobile-create-listing-page .photo-card:focus-within {
    border-color: var(--brand-600);
    box-shadow: 0 5px 13px rgba(18, 43, 29, .14);
}
.mobile-create-listing-page .photo-card:active { cursor: grabbing; }
.mobile-create-listing-page .photo-card img { width: 100%; height: 100%; object-fit: cover; }
.mobile-create-listing-page .photo-card .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 4;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(176, 55, 63, .28);
    border-radius: 50%;
    color: #a92732;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 3px 9px rgba(42, 18, 20, .2);
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    opacity: 1;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.mobile-create-listing-page .photo-card .remove-btn:hover,
.mobile-create-listing-page .photo-card .remove-btn:focus-visible {
    color: #fff;
    background: #c63d49;
    box-shadow: 0 5px 12px rgba(112, 26, 35, .28);
    outline: none;
    transform: scale(1.06);
}
.mobile-create-listing-page .photo-card .remove-btn:active { transform: scale(.96); }
.mobile-create-listing-page .photo-card .main-badge {
    position: absolute;
    left: 7px;
    bottom: 7px;
    z-index: 2;
    padding: 3px 7px;
    border-radius: 6px;
    color: #fff;
    background: rgba(61, 124, 75, .92);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
    pointer-events: none;
}
.mobile-create-listing-page .photo-card.sortable-ghost {
    opacity: .55;
    border: 2px dashed var(--brand-600);
}
.mobile-create-listing-page .photo-card.uploading::after { content: none; }
.mobile-create-listing-page .photo-upload-progress {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .62);
    pointer-events: none;
}
.mobile-create-listing-page .photo-upload-progress__ring {
    --photo-upload-progress-angle: 0deg;
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: conic-gradient(#18ad93 var(--photo-upload-progress-angle), #dbeafe 0deg);
    box-shadow: 0 2px 8px rgba(15, 23, 42, .18);
}
.mobile-create-listing-page .photo-upload-progress__ring::before {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #fff;
}
.mobile-create-listing-page .photo-upload-progress__value {
    position: relative;
    z-index: 1;
    color: #1e5fae;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}
.mobile-create-listing-page .photo-upload-progress--complete .photo-upload-progress__ring {
    background: conic-gradient(#38a169 0deg 360deg);
}
.mobile-create-listing-page .photo-upload-progress--complete .photo-upload-progress__value { color: #2f855a; }
.mobile-create-listing-page .photo-upload-progress--deleting .photo-upload-progress__ring {
    background: conic-gradient(#2c87f0 0deg 88deg, #dbeafe 88deg 360deg);
    animation: mobile-photo-upload-progress-spin .8s linear infinite;
}
.mobile-create-listing-page .photo-upload-progress--deleting .photo-upload-progress__value { display: none; }
@keyframes mobile-photo-upload-progress-spin {
    to { transform: rotate(360deg); }
}
.mobile-create-listing-page .photo-card.upload-error { border-color: #d44747; }
.mobile-create-listing-page .photo-upload-error {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 6px;
    z-index: 3;
    padding: 5px 6px;
    border-radius: 6px;
    color: #fff;
    background: rgba(153, 27, 27, .9);
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
}
.mobile-create-listing-page .photo-card .photo-upload-error-remove { opacity: 1; }
.mobile-create-listing-page .floor-plan-card img { object-fit: contain; background: #f5f8f5; }
.mobile-create-listing-page .photo-upload-meta { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; color: #718077; font-size: calc(var(--type-caption) + 1px); font-weight: 850; line-height: 1.3; }
.mobile-create-listing-page .photo-upload-meta #photo-count { color: #526158; }
.mobile-create-listing-page .photo-upload-min-status { display: block; min-height: 18px; margin: 7px 0 12px; color: #f7747a; font-size: calc(var(--type-caption) + 1px); font-weight: 850; line-height: 1.35; text-align: center; }
.mobile-create-listing-page .photo-upload-min-status[hidden] { display: none !important; }
.mobile-create-listing-page .photo-upload-min-status.field-error-target { padding: 6px 9px; border: 1px solid #f0a3a3 !important; border-radius: 9px; background: #fff5f4; box-shadow: none !important; }
.mobile-create-listing-page .field-wrapper { min-width: 0; flex: 1 1 0; }
.mobile-create-listing-page .footer-notice { display: block; margin-top: 4px; color: #829087; font-size: calc(var(--type-caption) + 1px); line-height: 1.35; }
.mobile-create-listing-page .form-hint { margin: 0 0 14px !important; color: #718077 !important; font-size: calc(var(--type-body-sm) + 1px) !important; line-height: 1.45; }
.mobile-create-listing-page .form-section-title { margin: 0 0 14px; }
.mobile-create-listing-page .btn-gray { border: 1px solid #d5e1d7; color: #526158; background: #f2f7f3; font-weight: 850; }
.mobile-create-listing-page #video-preview { width: 100%; max-width: 100%; overflow: hidden; overflow-wrap: anywhere; color: #607168; font-size: calc(12px + 1px); }
.mobile-create-listing-page #video-preview video { width: 100%; max-height: 190px; border-radius: 10px; background: #17231b; }
.mobile-create-listing-page .map-container,
.mobile-create-listing-page #2gis-map { min-height: 230px; height: 230px !important; overflow: hidden; border-radius: 12px !important; }
.mobile-create-listing-page .submit-bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; margin-top: 17px; padding-bottom: 8px; }
.mobile-create-listing-page .submit-bar .btn { width: 100%; min-height: 44px; border-radius: 10px; font-size: calc(13px + 1px); }
.mobile-create-listing-page .form-error,
.mobile-create-listing-page .listing-page-message,
.mobile-create-listing-page .listing-submission-paused-alert { overflow-wrap: anywhere; padding: 10px; border-radius: 10px; font-size: calc(15px + 1px); line-height: 1.4; }
.mobile-create-listing-page .field-error-text { display: block; width: 100%; box-sizing: border-box; margin: 7px 0 0; color: #b42318; font-size: calc(var(--type-caption) + 1px); font-weight: 800; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
.mobile-create-listing-page .field-error-text--inline { margin: 7px 0 0; white-space: normal; }
.mobile-create-listing-page #photo-min-status ~ .field-error-text { flex: 0 0 100%; }
.mobile-create-listing-page .field-error-target { border-color: #d44747 !important; box-shadow: 0 0 0 3px rgba(212, 71, 71, .12) !important; }
.mobile-create-listing-page .krisha-tags.field-error-target { padding: 7px; border: 1px solid #d44747; border-radius: 10px; background: #fff7f6; }
.mobile-create-listing-page .checkbox-label.field-error-target { border-bottom-color: #d44747 !important; color: #b42318; background: #fff1f0; }

body.app-page .mobile-create-listing-page > .dashboard-content { padding: 14px 12px calc(92px + env(safe-area-inset-bottom)); }

/* Восстановление доступа и подтверждение PIN: существующие auth-формы,
   только мобильная компоновка без изменения POST-полей и обработчиков. */
.mobile-forgot-page .form-cards { width: 100%; box-sizing: border-box; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 7px 22px rgba(18, 43, 29, .06); }
.mobile-forgot-page .form-cards h2 { margin: 0 0 11px; color: #26392c; font-size: calc(21px + 1px); line-height: 1.2; }
.mobile-forgot-page .form-cards > p { color: #718077 !important; font-size: calc(13px + 1px); line-height: 1.45; }
.mobile-forgot-page .form-group { display: grid; gap: 6px; margin: 0 0 11px; }
.mobile-forgot-page .form-group label { color: #526158; font-size: calc(12px + 1px); font-weight: 800; }
.mobile-forgot-page .form-group input { width: 100%; min-height: 42px; box-sizing: border-box; padding: 9px 10px; border: 1px solid #dfe8e1; border-radius: 10px; font: inherit; font-size: calc(14px + 1px); }
.mobile-forgot-page .btn { width: 100%; min-height: 43px; border-radius: 10px; font-size: calc(13px + 1px); }
.mobile-forgot-page .form-footer-link { margin-top: 13px; font-size: calc(12px + 1px); text-align: center; }
.mobile-forgot-page .alert { margin: 0 0 11px; padding: 10px; border-radius: 10px; font-size: calc(12px + 1px); line-height: 1.4; overflow-wrap: anywhere; }

.mobile-reset-page .auth-creative-shell { display: block; min-height: 0; }
.mobile-reset-page .auth-brand-panel { display: none; }
.mobile-reset-page .auth-form-panel { min-height: 0; padding: 0; background: transparent; }
.mobile-reset-page .auth-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin: 0 0 10px; padding: 0 2px; color: #718077; font-size: calc(11px + 1px); }
.mobile-reset-page .auth-panel-top > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mobile-reset-page .reset-form-container { width: 100%; box-sizing: border-box; padding: 0; }
.mobile-reset-page .auth-reset-card { width: 100%; box-sizing: border-box; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 7px 22px rgba(18, 43, 29, .06); }
.mobile-reset-page .auth-reset-card > h2 { margin: 0 0 11px; color: #26392c; font-size: calc(21px + 1px); line-height: 1.2; }
.mobile-reset-page .auth-reset-card > p { margin: 0; color: #718077; font-size: calc(13px + 1px); line-height: 1.45; }
.mobile-reset-page .auth-dynamic-form { display: grid; gap: 10px; }
.mobile-reset-page .auth-dynamic-form .form-group { display: grid; gap: 6px; margin: 0; }
.mobile-reset-page .auth-dynamic-form .form-group label { color: #526158; font-size: calc(12px + 1px); font-weight: 800; }
.mobile-reset-page .password-wrapper { min-width: 0; }
.mobile-reset-page .password-wrapper input { width: 100%; min-height: 42px; box-sizing: border-box; padding: 9px 40px 9px 10px; border: 1px solid #dfe8e1; border-radius: 10px; font: inherit; font-size: calc(14px + 1px); }
.mobile-reset-page .password-toggle { right: 8px; }
.mobile-reset-page .auth-submit,
.mobile-reset-page .auth-reset-card > div > .btn { width: 100%; min-height: 43px; border-radius: 10px; font-size: calc(13px + 1px); }
.mobile-reset-page .form-footer-link { margin-top: 13px; font-size: calc(12px + 1px); text-align: center; }
.mobile-reset-page .alert { margin: 0 0 10px; padding: 10px; border-radius: 10px; font-size: calc(12px + 1px); line-height: 1.4; overflow-wrap: anywhere; }
.mobile-reset-page .auth-success-card { padding: 12px; border-radius: 12px; }
.mobile-reset-page .auth-success-card h2 { font-size: calc(17px + 1px); }

@media (min-width: 541px) {
    .mobile-forgot-page,
    .mobile-reset-page { max-width: 520px; margin-right: auto !important; margin-left: auto !important; }
}

/* Кошелек и подписки поиска: существующие таблица, формы, POST и модальное
   подтверждение остаются прежними; адаптируется только внешний вид. */
.mobile-wallet-transactions-page,
.mobile-wallet-topup-page,
.mobile-search-subscribe-page { display: block; min-width: 0; background: transparent; }
.mobile-wallet-transactions-page > .dashboard-sidebar,
.mobile-wallet-topup-page > .dashboard-sidebar,
.mobile-search-subscribe-page > .dashboard-sidebar { display: none; }
.mobile-wallet-transactions-page > .dashboard-content,
.mobile-wallet-topup-page > .dashboard-content,
.mobile-search-subscribe-page > .dashboard-content { width: 100%; min-width: 0; padding: 0; }
.mobile-wallet-transactions-page .table-wrapper { max-width: 100%; margin-top: 12px !important; overflow-x: auto; padding: 1px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-wallet-transactions-page .data-table { min-width: 660px; margin: 0; font-size: calc(12px + 1px); }
.mobile-wallet-transactions-page .data-table th { padding: 9px 7px; color: #607168; background: #f6faf7; font-size: calc(11px + 1px); white-space: nowrap; }
.mobile-wallet-transactions-page .data-table td { padding: 9px 7px; color: #526158; vertical-align: top; }
.mobile-wallet-transactions-page .pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 12px !important; }
.mobile-wallet-transactions-page .pagination span { margin: 0 4px !important; color: #829087 !important; font-size: calc(11px + 1px); }
.mobile-wallet-transactions-page .pagination .btn { min-height: 36px; border-radius: 9px; font-size: calc(11px + 1px); }
.mobile-wallet-transactions-page .dashboard-content > p { margin: 0; padding: 26px 12px !important; border: 1px solid var(--line); border-radius: 15px; background: #fff; color: #829087 !important; font-size: calc(13px + 1px); }

.mobile-wallet-topup-page .create-listing-card { width: 100%; box-sizing: border-box; padding: 0; border: 0; background: transparent; box-shadow: none; }
.mobile-wallet-topup-page .create-listing-card > .d-flex { display: grid !important; gap: 9px; margin-bottom: 11px !important; padding: 13px !important; border: 1px solid #dce9df; border-radius: 16px !important; background: linear-gradient(145deg, #edf7ef, #fff) !important; }
.mobile-wallet-topup-page .create-listing-card > .d-flex > div:last-child { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; }
.mobile-wallet-topup-page .create-listing-card > .d-flex > div:last-child > div:first-child { color: #718077 !important; font-size: calc(11px + 1px) !important; }
.mobile-wallet-topup-page .create-listing-card > .d-flex > div:last-child > div:last-child { color: var(--brand-700) !important; font-size: calc(21px + 1px) !important; }
.mobile-wallet-topup-page .create-listing-card > h4 { margin: 0; padding: 20px 12px; border: 1px dashed #cfded2; border-radius: 14px; color: #718077; background: #fbfdfb; font-size: calc(14px + 1px); text-align: center; }
.mobile-wallet-topup-page .alert { margin: 0 0 9px; padding: 10px; border-radius: 10px; font-size: calc(12px + 1px); line-height: 1.4; overflow-wrap: anywhere; }

.mobile-search-subscribe-page .subscriptions-list { display: flex; flex-direction: column; gap: 12px; padding: 4px 0 16px; }
.mobile-search-subscribe-page .sub-card { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 14px; border: 1px solid #dce3de; border-radius: 14px; background: #fff; box-shadow: 0 2px 10px rgba(31, 36, 33, .04); transition: opacity .28s ease, transform .28s ease, max-height .3s ease; }
.mobile-search-subscribe-page .sub-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.mobile-search-subscribe-page .sub-card-info { min-width: 0; flex: 1; }
.mobile-search-subscribe-page .sub-card-title { display: block; min-width: 0; color: #1f2421; font-size: 16px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.mobile-search-subscribe-page .sub-card-header small { display: block; margin-top: 3px; color: #8c948f; font-size: 13px; }
.mobile-search-subscribe-page .sub-card-header .btn { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 5px; padding: 0 11px; border: 1px solid #dce3de; border-radius: 10px; color: #1f2421; background: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; }
.mobile-search-subscribe-page .sub-card-header .btn i { color: #68706b; }
.mobile-search-subscribe-page .sub-card-header .btn:hover,
.mobile-search-subscribe-page .sub-card-header .btn:active { border-color: #fecaca; color: #dc2626; background: #fef2f2; transform: scale(.95); }
.mobile-search-subscribe-page .sub-card-header .btn:hover i,
.mobile-search-subscribe-page .sub-card-header .btn:active i { color: #dc2626; }
.mobile-search-subscribe-page .sub-card-divider { width: 100%; height: 1px; margin: 0; border: 0; background: #edf1ee; }
.mobile-search-subscribe-page .sub-card-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; }
.mobile-search-subscribe-page .filter-tag { display: inline-flex; align-items: center; max-width: 100%; padding: 6px 12px; border: 1px solid #d5ded8; border-radius: 999px; color: #68706b; background: #f1f5f2; font-size: 13.5px; line-height: 1.25; overflow-wrap: anywhere; }
.mobile-search-subscribe-page .filter-tag strong { margin-left: 3px; color: #1f2421; font-weight: 700; }
.mobile-search-subscribe-page .sub-card-actions { display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
.mobile-search-subscribe-page .sub-card-actions .btn { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border: 1px solid #dce3de; border-radius: 11px; color: #1f2421; background: #fff; font-size: 15px; font-weight: 700; }
.mobile-search-subscribe-page .sub-card-actions .btn i { color: #3b5d44; }
.mobile-search-subscribe-page .sub-card-actions .btn:hover { border-color: #3b5d44; background: #f3f7f4; }
.mobile-search-subscribe-page .sub-card-actions .btn:active { border-color: #3b5d44; color: #fff; background: #3b5d44; transform: scale(.985); }
.mobile-search-subscribe-page .sub-card-actions .btn:active i { color: #fff; }
.mobile-search-subscribe-page .sub-card-actions small { order: -1; display: flex; align-items: center; gap: 5px; margin: 0 !important; color: #8c948f !important; font-size: 13px; }
.mobile-search-subscribe-page .sub-card-actions small::before { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #3b5d44; }
.mobile-search-subscribe-page .empty-state { padding: 23px 13px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); text-align: center; }
.mobile-search-subscribe-page .empty-state .btn { min-height: 41px; border-radius: 10px; font-size: calc(12px + 1px); }
body.app-page #deleteSubModal { display: none; align-items: flex-end; justify-content: center; position: fixed; inset: 0; z-index: 2500; box-sizing: border-box; padding: 12px; background: rgba(15, 23, 18, .52); backdrop-filter: blur(4px); }
body.app-page #deleteSubModal.modal-overlay--open { display: flex; }
body.app-page #deleteSubModal .claim-modal { position: relative; width: min(100%, 380px); max-height: calc(100dvh - 24px); box-sizing: border-box; overflow: auto; padding: 22px 16px max(16px, env(safe-area-inset-bottom)); border: 1px solid #dce3de; border-radius: 20px 20px 14px 14px; background: #fff; box-shadow: 0 -12px 34px rgba(18, 43, 29, .2); animation: mobile-delete-modal-in .22s ease-out both; }
body.app-page #deleteSubModal .claim-modal .modal-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; color: #718077; background: #f1f5f2; cursor: pointer; font-size: 24px; line-height: 1; }
body.app-page #deleteSubModal .claim-modal .modal-close:hover,
body.app-page #deleteSubModal .claim-modal .modal-close:focus-visible { color: #304535; background: #e7f0e9; outline: 3px solid rgba(80, 113, 84, .18); outline-offset: 2px; }
body.app-page #deleteSubModal .claim-modal h2 { margin: 0 42px 10px 0 !important; color: #b42318 !important; font-size: calc(18px + 1px) !important; line-height: 1.25; }
body.app-page #deleteSubModal .claim-modal h2 i { margin-right: 7px !important; }
body.app-page #deleteSubModal .claim-modal p { margin: 0 0 20px !important; color: #607168 !important; font-size: calc(14px + 1px) !important; line-height: 1.45; }
body.app-page #deleteSubModal .claim-modal > div:last-child { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px !important; margin: 0; }
body.app-page #deleteSubModal .claim-modal > div:last-child .btn { min-width: 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 10px; border-radius: 11px; font: inherit; font-size: calc(13px + 1px); font-weight: 800; line-height: 1.2; cursor: pointer; }
body.app-page #deleteSubModal .claim-modal > div:last-child .btn-outline { border: 1px solid #d5ded8; color: #526158; background: #f7faf8; }
body.app-page #deleteSubModal .claim-modal > div:last-child .btn-outline:hover,
body.app-page #deleteSubModal .claim-modal > div:last-child .btn-outline:focus-visible { border-color: #9fb8a5; background: #edf5ef; outline: 3px solid rgba(80, 113, 84, .16); outline-offset: 2px; }
body.app-page #deleteSubModal .claim-modal > div:last-child .btn-primary { border: 1px solid #dc2626; color: #fff; background: #dc2626 !important; box-shadow: 0 5px 12px rgba(220, 38, 38, .18); }
body.app-page #deleteSubModal .claim-modal > div:last-child .btn-primary:hover,
body.app-page #deleteSubModal .claim-modal > div:last-child .btn-primary:focus-visible { border-color: #b91c1c; background: #b91c1c !important; outline: 3px solid rgba(220, 38, 38, .16); outline-offset: 2px; }
@keyframes mobile-delete-modal-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 541px) {
    .mobile-wallet-transactions-page,
    .mobile-wallet-topup-page,
    .mobile-search-subscribe-page { max-width: 520px; margin: 0 auto; }
}

/* Публичная команда и жалоба на сообщение используют существующие HTML,
   ссылки, CSRF и обработчики; на mobile меняются только карточки и форма. */
.mobile-command-page .team-grid { display: grid; grid-template-columns: 1fr; gap: 9px; }
.mobile-command-page .team-card { min-width: 0; display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 10px; padding: 9px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-command-page .team-card .card-image { width: 70px; height: 70px; border-radius: 12px; overflow: hidden; }
.mobile-command-page .team-card .card-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mobile-command-page .team-card .card-content { min-width: 0; padding: 2px 0; }
.mobile-command-page .team-card h3 { margin: 0; overflow: hidden; color: #304535; font-size: calc(14px + 1px); text-overflow: ellipsis; white-space: nowrap; }
.mobile-command-page .card-position { display: block; margin-top: 4px; overflow: hidden; color: #829087; font-size: calc(11px + 1px); text-overflow: ellipsis; white-space: nowrap; }
.mobile-command-page .card-reviews { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 9px; color: #829087; font-size: calc(10px + 1px); }
.mobile-command-page .review-stars { color: var(--commerce-accent); font-size: calc(11px + 1px); }
.mobile-command-page .advantages-section { margin-top: 16px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-command-page .advantages-title { margin-bottom: 9px; color: #304535; font-size: calc(15px + 1px); font-weight: 850; }
.mobile-command-page .advantages-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.mobile-command-page .advantage-item { min-width: 0; padding: 9px; border: 1px solid #e1ebe3; border-radius: 11px; background: #f8fbf9; }
.mobile-command-page .advantage-icon { width: 28px; height: 28px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 9px; color: var(--brand-700); background: #e8f2ea; font-size: calc(13px + 1px); }
.mobile-command-page .advantage-item h4 { margin: 0; color: #526158; font-size: calc(12px + 1px); }
.mobile-command-page .advantage-item p { margin: 4px 0 0; color: #829087; font-size: calc(10px + 1px); line-height: 1.4; }

/* Вложенные экраны сотрудника: исходные SQL, права, CSRF и JS модалей
   сохранены; таблицы и заявки становятся удобными карточками. */
.mobile-agent-dashboard-page,
.mobile-purchase-requests-page { display: block; min-width: 0; background: transparent; }
.mobile-agent-dashboard-page > .dashboard-sidebar,
.mobile-purchase-requests-page > .dashboard-sidebar { display: none; }
.mobile-agent-dashboard-page > .dashboard-content,
.mobile-purchase-requests-page > .dashboard-content { width: 100%; min-width: 0; padding: 0; }
.mobile-agent-dashboard-page .admin-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-bottom: 12px !important; }
.mobile-agent-dashboard-page .stat-card { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-agent-dashboard-page .stat-number { overflow: hidden; color: var(--brand-700); font-size: calc(20px + 1px); font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.mobile-agent-dashboard-page .stat-label { margin-top: 4px; color: #829087; font-size: calc(10px + 1px); line-height: 1.25; }
.mobile-agent-dashboard-page .admin-section { margin-bottom: 11px !important; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-agent-dashboard-page .admin-section-header { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 10px; }
.mobile-agent-dashboard-page .admin-section-header h3 { margin: 0; color: #304535; font-size: calc(15px + 1px); line-height: 1.25; }
.mobile-agent-dashboard-page .admin-section-header .btn { min-height: 34px; margin-left: auto !important; padding: 6px 8px; border-radius: 9px; font-size: calc(11px + 1px); }
.mobile-agent-dashboard-page .table-wrapper { max-width: 100%; overflow-x: auto; border: 1px solid #e1ebe3; border-radius: 11px; }
.mobile-agent-dashboard-page .data-table { min-width: 650px; margin: 0; font-size: calc(11px + 1px); }
.mobile-agent-dashboard-page .data-table th { padding: 8px 6px; color: #607168; background: #f6faf7; white-space: nowrap; }
.mobile-agent-dashboard-page .data-table td { padding: 8px 6px; color: #526158; vertical-align: top; }
.mobile-agent-dashboard-page .data-table .btn { min-width: 30px; min-height: 30px; padding: 5px; border-radius: 8px; font-size: calc(11px + 1px); }

.mobile-purchase-requests-page .purchase-request-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.mobile-purchase-requests-page .purchase-request-tab { min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 7px; border: 1px solid #dfe9e1; border-radius: 10px; color: #607168; background: #fff; font: inherit; font-size: calc(11px + 1px); }
.mobile-purchase-requests-page .purchase-request-tab.is-active { border-color: var(--brand-600); color: var(--brand-700); background: #edf5ef; }
.mobile-purchase-requests-page .purchase-request-tab b { color: #829087; font-size: calc(10px + 1px); }
.mobile-purchase-requests-page .purchase-request-list { display: grid; gap: 8px; }
.mobile-purchase-requests-page .purchase-request-card { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.mobile-purchase-requests-page .purchase-request-card__topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.mobile-purchase-requests-page .purchase-request-card__type { min-width: 0; color: var(--brand-700); font-size: calc(11px + 1px); font-weight: 850; }
.mobile-purchase-requests-page .purchase-request-card__date { flex: 0 0 auto; color: #9aa69f; font-size: calc(10px + 1px); }
.mobile-purchase-requests-page .purchase-request-card__name { margin: 7px 0 6px; overflow: hidden; color: #304535; font-size: calc(15px + 1px); text-overflow: ellipsis; white-space: nowrap; }
.mobile-purchase-requests-page .purchase-request-card__meta { display: flex; flex-wrap: wrap; gap: 5px; color: #718077; font-size: calc(10px + 1px); }
.mobile-purchase-requests-page .purchase-request-card__meta span { max-width: 100%; overflow-wrap: anywhere; }
.mobile-purchase-requests-page .purchase-request-card__comment { margin: 7px 0 0; color: #66766c; font-size: calc(11px + 1px); line-height: 1.4; }
.mobile-purchase-requests-page .purchase-request-card__listing { margin-top: 7px; color: #718077; font-size: calc(11px + 1px); overflow-wrap: anywhere; }
.mobile-purchase-requests-page .purchase-request-card__side { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 8px; padding-top: 8px; border-top: 1px solid #edf1ee; }
.mobile-purchase-requests-page .purchase-request-card__budget-label { color: #829087; font-size: calc(10px + 1px); }
.mobile-purchase-requests-page .purchase-request-card__budget { color: var(--brand-700); font-size: calc(15px + 1px); font-weight: 900; }
.mobile-purchase-requests-page .purchase-request-card__status,
.mobile-purchase-requests-page .purchase-request-card__agent { grid-column: 1 / -1; color: #718077; font-size: calc(10px + 1px); }
.mobile-purchase-requests-page .pr-detail-btn { grid-column: 2; grid-row: 1 / span 2; min-height: 38px; padding: 7px 8px; border-radius: 9px; font-size: calc(11px + 1px); }
.mobile-purchase-requests-page .purchase-request-tab-empty { padding: 25px 12px; border: 1px dashed #cfded2; border-radius: 13px; color: #829087; background: #fbfdfb; font-size: calc(12px + 1px); text-align: center; }
.mobile-purchase-requests-page .modal-overlay { display: none; align-items: flex-end; justify-content: center; position: fixed; inset: 0; z-index: 90; padding: 10px; background: rgba(11, 27, 18, .5); }
.mobile-purchase-requests-page .modal-overlay[style*="display: block"] { display: flex !important; }
.mobile-purchase-requests-page .claim-modal { width: min(100%, 520px); max-height: calc(100dvh - 20px); box-sizing: border-box; overflow: auto; padding: 15px; border-radius: 17px; background: #fff; }
.mobile-purchase-requests-page .claim-modal h3 { margin: 0 0 10px !important; color: #304535; font-size: calc(17px + 1px); }
.mobile-purchase-requests-page .pr-modal-body dl { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 6px 8px; margin: 0; font-size: calc(12px + 1px); }
.mobile-purchase-requests-page .pr-modal-body dt { color: #829087; }
.mobile-purchase-requests-page .pr-modal-body dd { margin: 0; color: #526158; font-weight: 700; overflow-wrap: anywhere; }
.mobile-purchase-requests-page .pr-status-change { margin-top: 12px !important; padding-top: 11px !important; }
.mobile-purchase-requests-page .pr-status-change > div { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 7px !important; }
.mobile-purchase-requests-page .pr-status-change select,
.mobile-purchase-requests-page .pr-status-change .btn { width: 100%; min-height: 41px; box-sizing: border-box; border-radius: 10px; font-size: calc(12px + 1px); }

@media (min-width: 541px) {
    .mobile-agent-dashboard-page,
    .mobile-purchase-requests-page { max-width: 520px; margin: 0 auto; }
}

/* Общая мобильная оболочка административных HTML-страниц. API-файлы без
   header сюда не попадают. Серверные формы и права страниц не меняются. */
.app-page--admin .dashboard-layout { display: block; min-width: 0; background: transparent; }
.app-page--admin .dashboard-layout > .dashboard-sidebar { display: none; }
.app-page--admin .dashboard-layout > .dashboard-content { width: 100%; min-width: 0; padding: 0; }
.app-page--admin .admin-page-title,
.app-page--admin .page-title { margin: 0 0 12px; color: #26392c; font-size: calc(20px + 1px); line-height: 1.2; }
.app-page--admin .btn { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; padding: 8px 11px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font: inherit; font-size: calc(12px + 1px); font-weight: 800; text-decoration: none; }
.app-page--admin .btn-primary { border-color: var(--brand-700); color: #fff; background: var(--brand-700); }
.app-page--admin .btn-outline { border-color: #cfe0d2; color: var(--brand-700); background: #fff; }
.app-page--admin .btn-gray { border-color: #dfe8e1; color: #526158; background: #f5f8f5; }
.app-page--admin .btn-danger { border-color: #c85b66; color: #fff; background: #c85b66; }
.app-page--admin .admin-page-head-row,
.app-page--admin .admin-section-header { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 8px; }
.app-page--admin .admin-section-header { margin-bottom: 10px; }
.app-page--admin .admin-section-header h2,
.app-page--admin .admin-section-header h3,
.app-page--admin .admin-section-header h4 { min-width: 0; margin: 0; color: #304535; font-size: calc(15px + 1px); line-height: 1.3; }
.app-page--admin .admin-section-header .btn,
.app-page--admin .admin-page-head-row .btn { min-height: 36px; max-width: 100%; margin-left: auto; padding: 7px 9px; border-radius: 9px; font-size: calc(11px + 1px); }
.app-page--admin .admin-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-bottom: 12px !important; }
.app-page--admin .stat-card { min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.app-page--admin .stat-number { overflow: hidden; color: var(--brand-700); font-size: calc(19px + 1px); font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.app-page--admin .stat-label { margin-top: 4px; color: #829087; font-size: calc(10px + 1px); line-height: 1.3; }
.app-page--admin .admin-section,
.app-page--admin .fon-block { min-width: 0; margin-bottom: 11px !important; padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 5px 16px rgba(18, 43, 29, .05); }
.app-page--admin .table-wrapper { max-width: 100%; overflow-x: auto; border-radius: 11px; }
.app-page--admin .data-table { min-width: 650px; margin: 0; font-size: calc(11px + 1px); }
.app-page--admin .data-table th { padding: 8px 6px; color: #607168; background: #f6faf7; white-space: nowrap; }
.app-page--admin .data-table td { padding: 8px 6px; color: #526158; vertical-align: top; }
.app-page--admin .data-table .btn,
.app-page--admin .btn-sm { min-height: 30px; padding: 5px 7px; border-radius: 8px; font-size: calc(11px + 1px); }
.app-page--admin .form-group { min-width: 0 !important; margin-bottom: 10px; }
.app-page--admin .form-group label { color: #526158; font-size: calc(12px + 1px); font-weight: 800; }
.app-page--admin input[type="text"],
.app-page--admin input[type="email"],
.app-page--admin input[type="number"],
.app-page--admin input[type="url"],
.app-page--admin input[type="password"],
.app-page--admin select,
.app-page--admin textarea,
.app-page--admin .form-control,
.app-page--admin .ui-input { width: 100%; min-height: 40px; box-sizing: border-box; padding: 8px 9px; border: 1px solid #dfe8e1; border-radius: 9px; font: inherit; font-size: calc(13px + 1px); }
.app-page--admin textarea { min-height: 90px; resize: vertical; }
.app-page--admin .filter-form,
.app-page--admin .admin-filter-form,
.app-page--admin .form-row,
.app-page--admin .form-row-2,
.app-page--admin .form-row-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.app-page--admin .alert { max-width: 100%; box-sizing: border-box; padding: 10px; border-radius: 10px; font-size: calc(12px + 1px); line-height: 1.4; overflow-wrap: anywhere; }
.app-page--admin .tabs,
.app-page--admin .wallet-tabs { display: flex; gap: 5px; overflow-x: auto; margin-bottom: 10px !important; padding-bottom: 2px; }
.app-page--admin .tabs > *,
.app-page--admin .wallet-tabs > * { flex: 0 0 auto; min-height: 36px; padding: 7px 9px; border-radius: 9px; font-size: calc(11px + 1px); }
.app-page--admin .modal-overlay { display: none; align-items: flex-end; justify-content: center; position: fixed; inset: 0; z-index: 90; padding: 10px; background: rgba(11, 27, 18, .5); }
.app-page--admin .modal-overlay[style*="display: block"],
.app-page--admin .modal-overlay.modal-overlay--open { display: flex !important; }
.app-page--admin .claim-modal { width: min(100%, 520px); max-height: calc(100dvh - 20px); box-sizing: border-box; overflow: auto; padding: 15px; border-radius: 17px; background: #fff; }
.app-page--admin .claim-modal .btn { min-height: 40px; border-radius: 9px; font-size: calc(12px + 1px); }
.app-page--admin .empty-state { padding: 25px 12px; border: 1px dashed #cfded2; border-radius: 13px; color: #829087; background: #fbfdfb; text-align: center; }
.app-page--admin .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }

@media (min-width: 541px) {
    .app-page--admin .dashboard-layout > .dashboard-content { max-width: 520px; margin: 0 auto; }
}

@media (min-width: 541px) {
    .mobile-create-listing-page { max-width: 520px; margin: 0 auto; }
    .mobile-create-listing-page .checkbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mobile-create-listing-page #photo-preview-grid,
    .mobile-create-listing-page .photo-preview-grid,
    .mobile-create-listing-page #floor-plan-preview,
    .mobile-create-listing-page .floor-plan-preview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Единый визуальный слой мобильного приложения: светлая поверхность, бордовый
   акцент и безопасная ширина для экранов 375–414 px. Используются только уже
   существующие классы; PHP, POST-поля и обработчики этим слоем не меняются. */
body.app-page *,
body.app-page *::before,
body.app-page *::after { box-sizing: border-box; }

body.app-page .app-shell,
body.app-page .device-frame,
body.app-page .app-content { width: 100%; max-width: 480px; min-width: 0; }
body.app-page .app-shell { margin: 0 auto; overflow: hidden; }
body.app-page .device-frame { overflow: hidden; background: #f4f5f7; }
body.app-page .app-content { overflow-x: hidden; background: #f4f5f7; }
body.app-page:not(.app-page--catalog) .app-shell .app-content { display: flex; flex-direction: column; padding-bottom: 0; }
body.app-page:not(.app-page--catalog) .app-shell .app-content > .mobile-footer { flex: 0 0 auto; margin-top: auto; }

body.app-page .app-header {
    height: 60px;
    padding: 0 14px;
    background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 100%);
    box-shadow: 0 5px 16px rgba(49, 74, 53, .18);
}

body.app-page .app-brand__mark { color: var(--brand-700); border-radius: 10px; }
body.app-page .app-brand__text strong { font-size: calc(13px + 1px); }
body.app-page .app-brand__text small { color: #d9eadc; font-size: calc(8px + 1px); }
body.app-page .profile-chip { color: #fff; background: #324d35; }

body.app-page .bottom-nav {
    height: 72px;
    padding-right: 14px;
    padding-left: 14px;
    border-top-color: #e7e8eb;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -6px 20px rgba(31, 35, 41, .07);
    pointer-events: none;
}
body.app-page .bottom-nav > * { pointer-events: auto; }
body.app-page .bottom-nav__item { min-height: 44px; gap: 4px; color: #9aa1aa; font-size: calc(9px + 1px); }
body.app-page .bottom-nav__item.is-active { color: var(--brand-700); }
body.app-page .bottom-nav__item i { font-size: calc(17px + 1px); }
body.app-page .bottom-nav__add {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: var(--brand-700);
    box-shadow: 0 7px 16px rgba(80, 113, 84, .28);
}

@media (max-width: 540px) {
    body.mobile-web {
        height: 100vh;
        min-height: 100vh;
        height: 100dvh;
        min-height: 100dvh;
        overflow: hidden;
    }

    body.mobile-web .app-shell {
        height: 100%;
        min-height: 100%;
    }

    body.mobile-web .app-shell .device-frame {
        height: calc(100vh - 12px);
        min-height: calc(100vh - 12px);
        height: calc(100dvh - 12px);
        min-height: calc(100dvh - 12px);
        overflow: visible;
    }

    body.mobile-web .app-shell .app-content {
        height: calc(100% - 60px);
        overscroll-behavior-y: contain;
    }

    body.mobile-web .app-header {
        position: relative;
        top: auto;
    }

    body.mobile-web .bottom-nav {
        bottom: -12px;
        will-change: transform, opacity;
        transition: transform .26s cubic-bezier(.22, .75, .25, 1), opacity .2s ease, visibility 0s linear 0s;
    }

    body.mobile-web .bottom-nav.is-scroll-hidden {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(calc(100% + 16px));
        transition: transform .26s cubic-bezier(.22, .75, .25, 1), opacity .2s ease, visibility 0s linear .26s;
    }
}

body.app-page .mobile-drawer__link { min-height: 46px; font-size: calc(14px + 1px);font-weight: 700; }
body.app-page .mobile-drawer__caption,
body.app-page .mobile-drawer__language > span { font-size: calc(13px + 1px); }
body.app-page .mobile-drawer__language button,
body.app-page .mobile-drawer__language-link { min-height: 42px; font-size: calc(15px + 1px); }

body.app-page .mobile-page__hero { background: linear-gradient(145deg, var(--brand-900) 0%, var(--brand-700) 100%); }
body.app-page .mobile-home-hero {
    background-image: linear-gradient(145deg, rgb(62 90 66 / 94%), rgb(73 104 77 / 70%)), url(/assets/img/object.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
body.app-page .mobile-home-hero { padding: 24px 16px 17px; }
body.app-page .mobile-home-hero h1,
body.app-page .mobile-page__title { overflow-wrap: anywhere; }
body.app-page .mobile-home-hero h1 { max-width: 100%; font-size: calc(24px + 1px); line-height: 1.15; }
body.app-page .mobile-home-hero p { max-width: 100%; font-size: calc(15px + 1px); }
body.app-page .mobile-home-hero__search { min-height: 48px; font-size: calc(15px + 1px); }
body.app-page .mobile-home-quick { min-width: 0; padding: 16px 13px 10px; }
body.app-page .mobile-home-deal-actions,
body.app-page .mobile-home-category-grid { width: 100%; min-width: 0; }
body.app-page .mobile-home-deal { min-width: 0; min-height: 46px; font-size: calc(15px + 1px); }
body.app-page .mobile-home-category { min-width: 0; min-height: 116px; font-size: calc(15px + 1px); }
body.app-page .mobile-home-category__label { overflow-wrap: anywhere; }
body.app-page .mobile-home-hot-heading h2 { font-size: calc(19px + 1px); }

body.app-page .mobile-surface,
body.app-page .listing-card,
body.app-page .mobile-table-card,
body.app-page .mobile-contact-card,
body.app-page .mobile-review-card,
body.app-page .mobile-map-result,
body.app-page .mobile-form-section,
body.app-page .mobile-auth__card,
body.app-page .mobile-forgot-page .form-cards,
body.app-page .mobile-reset-page .auth-reset-card,
body.app-page--admin .admin-section,
body.app-page--admin .fon-block {
    border-color: #e6e8eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 17px rgba(31, 35, 41, .055);
}

body.app-page .listing-card__body h3 { overflow: hidden; font-size: calc(15px + 1px); line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
body.app-page .listing-card__body p { font-size: calc(14px + 1px); }
body.app-page .listing-card__specs { font-size: calc(12px + 1px);margin-bottom: 9px; }
body.app-page .mobile-card-gallery__counter { font-size: calc(14px + 1px); }
body.app-page .mobile-page__toolbar strong,
body.app-page .mobile-page__toolbar span { font-size: calc(15px + 1px); }
body.app-page .mobile-page__subtitle { font-size: calc(15px + 1px); }

body.app-page .mobile-primary-button,
body.app-page .mobile-outline-button,
body.app-page .mobile-small-button,
body.app-page .mobile-create-listing-page .submit-bar .btn,
body.app-page .mobile-forgot-page .btn,
body.app-page .mobile-reset-page .auth-submit,
body.app-page .mobile-reset-page .auth-reset-card > div > .btn,
body.app-page--admin .btn { min-height: 46px; border-radius: 12px; font-size: calc(13px + 1px); }
body.app-page .mobile-home-deal--active,
body.app-page--admin .btn-primary { background: var(--brand-700); border-color: var(--brand-700); }
body.app-page .mobile-outline-button,
body.app-page--admin .btn-outline { border-color: var(--brand-200); color: var(--brand-700); }

body.app-page input:not([type="checkbox"]):not([type="radio"]),
body.app-page select,
body.app-page textarea {
    max-width: 100%;
    border-color: #dfe2e6;
    border-radius: 12px;
    font-size: calc(15px + 1px);
}
body.app-page input:not([type="checkbox"]):not([type="radio"]),
body.app-page select { min-height: 46px; }
body.app-page textarea { min-height: 96px; }
body.app-page input:focus,
body.app-page select:focus,
body.app-page textarea:focus { border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(80, 113, 84, .12); outline: none; }

body.app-page .mobile-search-filter-sheet,
body.app-page .mobile-modal,
body.app-page .modal-content,
body.app-page--admin .claim-modal {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    background: #fff;
}
body.app-page .mobile-search-filter__checks label,
body.app-page .mobile-search-filter__clear,
body.app-page .mobile-search-sort summary,
body.app-page .mobile-search-sort > div a { font-size: calc(11px + 1px);font-weight: 600; }
body.app-page .mobile-filter-chip { font-size: calc(14px + 1px); }

body.app-page .mobile-forgot-page,
body.app-page .mobile-reset-page,
body.app-page .mobile-forgot-page .container,
body.app-page .mobile-reset-page .container,
body.app-page .mobile-forgot-page .form-cards,
body.app-page .mobile-reset-page .auth-reset-card { width: 100%; max-width: none !important; min-width: 0; }
body.app-page .mobile-forgot-page .form-cards,
body.app-page .mobile-reset-page .auth-reset-card { padding: 16px; }
body.app-page .mobile-forgot-page .form-cards h2,
body.app-page .mobile-reset-page .auth-reset-card > h2 { font-size: calc(21px + 1px); line-height: 1.2; overflow-wrap: anywhere; }
body.app-page .mobile-forgot-page .form-group label,
body.app-page .mobile-reset-page .auth-dynamic-form .form-group label { font-size: calc(14px + 1px); }
body.app-page .mobile-forgot-page .form-cards > p,
body.app-page .mobile-reset-page .auth-reset-card > p { font-size: calc(15px + 1px); }
body.app-page .mobile-forgot-page .form-footer-link,
body.app-page .mobile-reset-page .form-footer-link { font-size: calc(14px + 1px); }
body.app-page .mobile-forgot-page .btn-primary,
body.app-page .mobile-reset-page .auth-submit,
body.app-page .mobile-reset-page .auth-reset-card > div > .btn {
    border: 1px solid var(--brand-700);
    color: #fff;
    background: var(--brand-700);
}

body.app-page--admin .admin-page-title,
body.app-page--admin .page-title { font-size: calc(21px + 1px); overflow-wrap: anywhere; }
body.app-page--admin .admin-section-header h2,
body.app-page--admin .admin-section-header h3,
body.app-page--admin .admin-section-header h4 { font-size: calc(16px + 1px); overflow-wrap: anywhere; }
body.app-page--admin .form-group label { font-size: calc(14px + 1px); }
body.app-page--admin .data-table { font-size: calc(13px + 1px); }
body.app-page--admin .data-table th,
body.app-page--admin .data-table td { padding: 9px 8px; }

@media (max-width: 414px) {
    body.app-page .mobile-home-hero h1 { font-size: calc(22px + 1px); }
    body.app-page .mobile-home-category-grid { gap: 10px; }
    body.app-page .mobile-home-category { padding: 11px; }
    body.app-page .mobile-home-category__label { font-size: calc(14px + 1px); }
}

body.app-page .mobile-command-page .team-card h3 { font-size: calc(15px + 1px); }
body.app-page .mobile-command-page .card-position,
body.app-page .mobile-command-page .card-reviews,
body.app-page .mobile-command-page .review-stars { font-size: calc(13px + 1px); }

body.app-page .mobile-map-page .filter-header {
    background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 100%);
}
body.app-page .mobile-map-page .filter-tab.active {
    background: rgba(255, 255, 255, .14);
}
body.app-page .mobile-map-page .filter-tab.active::after { background: var(--brand-600); }
body.app-page .mobile-map-page .filter-checkbox { color: #fff !important; }
body.app-page .mobile-map-page .filter-checkbox input { accent-color: var(--brand-700); }
body.app-page .mobile-map-page .filter-footer { background: var(--brand-900); }
body.app-page .mobile-map-page .filter-submit-btn,
body.app-page .mobile-map-page .filter-view-btn.active { border-color: var(--brand-700); background: var(--brand-700); }
body.app-page .mobile-map-page .filter-btn,
body.app-page .mobile-map-page .filter-view-btn { border-color: var(--brand-200); color: var(--brand-700); background: #fff; }
body.app-page .mobile-map-page .filter-view-btn.active { color: #fff; }

/* Мобильный app-shell не использует desktop account-sidebar и desktop-preloader. */
body.app-page .account-sidebar,
body.app-page .dashboard-sidebar { display: none !important; }
body.app-page .dashboard-layout {
    display: block;
    min-width: 0;
    padding: 0;
    background: transparent;
}
body.app-page .dashboard-layout > .dashboard-content {
    width: 100%;
    min-width: 0;
    padding: 10px 0px 10px 0px;
}
body.app-page .mobile-objects-page > .dashboard-content {
    padding-bottom: 92px;
}

/* Единый внешний контейнер для внутренних мобильных страниц. */
body.app-page .app-shell .app-content > .dashboard-layout,
body.app-page .app-shell .app-content > .container,
body.app-page .app-shell .app-content > .mobile-page:not(.mobile-page--flush),
body.app-page .app-shell .app-content > .mobile-search-page,
body.app-page .app-shell .app-content > .rules-page,
body.app-page .app-shell .app-content > .mobile-reset-page {
    width: min(100%, var(--mobile-page-max-width));
    max-width: var(--mobile-page-max-width);
    box-sizing: border-box;
    margin-inline: auto;
}

body.app-page .app-shell .app-content > .dashboard-layout,
body.app-page .app-shell .app-content > .container,
body.app-page .app-shell .app-content > .mobile-search-page,
body.app-page .app-shell .app-content > .rules-page,
body.app-page .app-shell .app-content > .mobile-reset-page {
    padding: 0px var(--mobile-page-gutter) var(--mobile-page-bottom-space);
}

/* Каталог в браузере использует прокрутку страницы, чтобы браузер мог
   автоматически сворачивать свою верхнюю панель. Карточки остаются отдельными
   экранами, а переход между ними выполняет существующий обработчик свайпа. */
@media (max-width: 540px) {
    html:has(body.app-page--catalog) {
        scroll-snap-type: none;
    }

    body.app-page--catalog {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    body.app-page--catalog .app-shell,
    body.app-page--catalog .device-frame {
        height: auto;
        min-height: 100dvh;
    }

    body.mobile-web.app-page--catalog .app-shell {
        height: auto;
        min-height: 100dvh;
    }

    body.mobile-web.app-page--catalog .app-shell .device-frame {
        height: auto;
        min-height: 100dvh;
        overflow: clip;
    }

    body.app-page--catalog .device-frame {
        overflow: visible;
    }

    body.app-page--catalog .app-header {
        position: sticky;
        top: 0;
        z-index: 20;
        will-change: transform;
        transition: transform .24s cubic-bezier(.22, .75, .25, 1);
    }

    body.app-page--catalog .app-header.is-scroll-hidden {
        transform: translateY(-100%);
    }

    body.app-page--catalog .app-content {
        height: auto;
        min-height: calc(100dvh - 60px);
        overflow: visible;
        padding-bottom: calc(82px + env(safe-area-inset-bottom));
    }

    body.mobile-web.app-page--catalog .app-shell .app-content {
        height: auto;
        min-height: calc(100dvh - 60px);
        overflow: visible;
    }

    body.app-page--catalog .bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        width: min(100%, 480px);
        margin-right: auto;
        margin-left: auto;
    }

    body.app-page--catalog .mobile-search-results[data-mobile-search-feed] .mobile-list {
        height: 100% !important;
        min-height: 0;
        overflow-y: auto;
        padding: 8px 1px;
        overscroll-behavior-y: auto;
        scroll-snap-type: none;
        touch-action: pan-y;
    }

    body.app-page--catalog .mobile-search-results[data-mobile-search-feed] .mobile-search-card {
        height: 100%;
        min-height: 100%;
        flex: 0 0 100%;
        overflow: visible;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }
}

/* В обычном мобильном браузере весь сайт использует прокрутку документа.
   Это позволяет браузеру самому сворачивать верхнюю панель, а шапке и меню
   реагировать на одно общее направление прокрутки. */
@media (max-width: 540px) {
    body.mobile-web {
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    body.mobile-web .app-shell {
        height: auto;
        min-height: 100dvh;
        overflow: visible;
    }

    body.mobile-web .app-shell .device-frame {
        height: auto;
        min-height: 100dvh;
        overflow: clip;
    }

    body.mobile-web .app-shell .app-content {
        height: auto;
        min-height: calc(100dvh - 60px);
        overflow: visible;
        padding-bottom: calc(82px + env(safe-area-inset-bottom));
    }

    body.mobile-web .mobile-drawer,
    body.mobile-web .mobile-drawer-overlay {
        position: fixed;
    }

    body.mobile-web.app-page--home .app-shell .app-content,
    body.mobile-web.app-page--auth .app-shell .app-content {
        padding-bottom: 0;
    }

    body.mobile-web .app-header {
        position: sticky;
        top: 0;
        z-index: 20;
        will-change: transform;
        transition: transform .24s cubic-bezier(.22, .75, .25, 1);
    }

    body.mobile-web .app-header.is-scroll-hidden {
        transform: translateY(-100%);
    }

    body.mobile-web.app-page--catalog .mobile-search-toolbar {
        position: sticky;
        top: 0;
        z-index: 19;
        padding-top: 8px;
        padding-bottom: 8px;
        background: rgba(244, 245, 247, .97);
        box-shadow: 0 5px 14px rgba(31, 35, 41, .08);
    }

    body.mobile-web.app-page--catalog .app-header:not(.is-scroll-hidden) ~ .app-content .mobile-search-toolbar {
        top: 60px;
    }

    body.mobile-web.app-page--catalog,
    body.mobile-web.app-page--catalog .app-shell,
    body.mobile-web.app-page--catalog .app-shell .device-frame,
    body.mobile-web.app-page--catalog .app-shell .app-content {
        width: 100%;
        height: 100dvh;
        min-height: 100dvh;
        overflow: hidden;
    }

    body.mobile-web.app-page--catalog .app-header {
        position: fixed;
        top: 0;
        right: max(0px, calc((100vw - min(480px, 100vw)) / 2));
        left: max(0px, calc((100vw - min(480px, 100vw)) / 2));
        width: min(100%, 480px);
        transform: none !important;
    }

    body.mobile-web.app-page--catalog .mobile-search-page {
        width: 100%;
        height: 100%;
        min-height: 0;
        padding: 0;
    }

    body.mobile-web.app-page--catalog .mobile-search-toolbar {
        position: fixed;
        top: var(--mobile-catalog-header-height, 60px);
        right: max(var(--mobile-page-gutter), calc((100vw - min(480px, 100vw)) / 2 + var(--mobile-page-gutter)));
        left: max(var(--mobile-page-gutter), calc((100vw - min(480px, 100vw)) / 2 + var(--mobile-page-gutter)));
        width: auto;
        box-sizing: border-box;
        margin: 0;
    }

    body.mobile-web.app-page--catalog .mobile-search-results[data-mobile-search-feed] {
        position: fixed;
        top: calc(var(--mobile-catalog-header-height, 60px) + var(--mobile-catalog-toolbar-height, 54px));
        right: max(var(--mobile-page-gutter), calc((100vw - min(480px, 100vw)) / 2 + var(--mobile-page-gutter)));
        bottom: var(--mobile-catalog-bottom-nav-height, 72px);
        left: max(var(--mobile-page-gutter), calc((100vw - min(480px, 100vw)) / 2 + var(--mobile-page-gutter)));
        z-index: 10;
        width: auto;
        box-sizing: border-box;
        margin: 0;
        overflow: hidden;
    }

    body.mobile-web.app-page--catalog .mobile-search-results[data-mobile-search-feed] .mobile-list {
        height: 100% !important;
        box-sizing: border-box;
        overflow-y: auto;
        padding: 0 1px;
        scroll-behavior: auto;
        scroll-snap-type: none;
        overscroll-behavior: contain;
        scrollbar-width: none;
    }

    body.mobile-web.app-page--catalog .mobile-search-results[data-mobile-search-feed] .mobile-list::-webkit-scrollbar {
        display: none;
    }

    body.mobile-web.app-page--catalog .mobile-search-results[data-mobile-search-feed] .mobile-search-card {
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 100%;
        flex: 0 0 100%;
        box-sizing: border-box;
    }

    body.mobile-web.app-page--catalog .mobile-search-results[data-mobile-search-feed] .mobile-search-card .mobile-card-gallery {
        height: auto;
        min-height: 0;
        flex: 1 1 var(--mobile-feed-gallery-height, 174px);
    }

    body.mobile-web.app-page--catalog .mobile-search-results[data-mobile-search-feed] .mobile-search-card > .listing-card__body,
    body.mobile-web.app-page--catalog .mobile-search-results[data-mobile-search-feed] .mobile-search-card > .mobile-listing-card__agent {
        flex: 0 0 auto;
    }

    body.mobile-web .bottom-nav {
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        width: min(100%, 480px);
        margin-right: auto;
        margin-left: auto;
    }

    body.mobile-web.app-page--catalog .bottom-nav {
        bottom: 0 !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Пошаговое раскрытие формы: блоки остаются прежними, меняется только их
   видимость и переход между уже существующими действиями пользователя. */
.mobile-create-listing-page .form-container.listing-flow-pending > .form-group:has(.deal-nav),
.mobile-create-listing-page .form-container.listing-flow-pending > #category-group,
.mobile-create-listing-page .form-container.listing-flow-pending > #form-container {
    display: none !important;
}
.mobile-create-listing-page .form-container.listing-flow-ready .listing-step--locked {
    display: none !important;
}
.mobile-create-listing-page .form-container .listing-step--unlocked {
    scroll-margin-top: 78px;
    animation: listing-step-reveal .28s ease both;
}
.mobile-create-listing-page .form-container .listing-step--unlocked .switch-btn,
.mobile-create-listing-page .form-container .listing-step--unlocked input,
.mobile-create-listing-page .form-container .listing-step--unlocked select,
.mobile-create-listing-page .form-container .listing-step--unlocked textarea {
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
@keyframes listing-step-reveal {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .mobile-create-listing-page .form-container .listing-step--unlocked { animation: none; }
}

/* Статус проверки телефона: остаётся управляемым существующим d-none, но
   выглядит как корпоративный inline-status под полем. */
.mobile-create-listing-page #phone-msg-used.d-none,
.mobile-create-listing-page #phone-msg-new.d-none { display: none !important; }
.mobile-create-listing-page #phone-msg-used:not(.d-none),
.mobile-create-listing-page #phone-msg-new:not(.d-none) {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    margin: 8px 0 0 !important;
    padding: 9px 10px;
    border: 1px solid;
    border-radius: 11px;
    font-size: calc(var(--type-caption) + 1px);
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.mobile-create-listing-page #phone-msg-used:not(.d-none) {
    border-color: #e3c98d;
    color: #765617 !important;
    background: #fff8e8;
}
.mobile-create-listing-page #phone-msg-new:not(.d-none) {
    border-color: #b9d8bf;
    color: #2f6d3a !important;
    background: #f0f9f1;
}
.mobile-create-listing-page #phone-msg-used:not(.d-none)::before,
.mobile-create-listing-page #phone-msg-new:not(.d-none)::before {
    display: inline-grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}
.mobile-create-listing-page #phone-msg-used:not(.d-none)::before {
    content: '!';
    color: #765617;
    background: #f5d889;
}
.mobile-create-listing-page #phone-msg-new:not(.d-none)::before {
    content: '✓';
    color: #fff;
    background: #4d8a58;
}
.mobile-create-listing-page #client-phone-input:focus,
.mobile-create-listing-page input[name="client_full_name"]:focus {
    border-color: #618364;
    background: #fff;
    box-shadow: 0 0 0 3px rgb(98 131 101 / 13%);
}
.mobile-create-listing-page .form-group > label,
.mobile-create-listing-page .form-container > div:has(#client-phone-input) label {
    cursor: pointer;
}
.mobile-create-listing-page .phone-listing-receipt {
    position: relative;
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid #d9e2d9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(80, 113, 84, .11);
    color: #26372b;
    font-family: inherit;
}
.mobile-create-listing-page .phone-listing-receipt[hidden] { display: none !important; }
.mobile-create-listing-page .phone-listing-receipt::before,
.mobile-create-listing-page .phone-listing-receipt::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    height: 8px;
    background: radial-gradient(circle at 4px 0, transparent 4px, #fff 4.5px) 0 0 / 9px 9px repeat-x;
}
.mobile-create-listing-page .phone-listing-receipt::before { top: -10px; }
.mobile-create-listing-page .phone-listing-receipt::after { bottom: -10px; transform: rotate(180deg); }
.mobile-create-listing-page .phone-listing-receipt__stub {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 14px;
    border-left: 1px dashed #d9e2d9;
}
.mobile-create-listing-page .phone-listing-receipt__content {padding: 10px 10px 10px 10px; }
.mobile-create-listing-page .phone-listing-receipt__heading,
.mobile-create-listing-page .phone-listing-receipt__row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.mobile-create-listing-page .phone-listing-receipt__heading {
    align-items: baseline;
    padding-bottom: 10px;
    border-bottom: 1px dashed #d9e2d9;
}
.mobile-create-listing-page .phone-listing-receipt__eyebrow {
    color: var(--brand-700);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.mobile-create-listing-page .phone-listing-receipt__date {
    color: #718077;
    font-size: 12px;
    white-space: nowrap;
}
.mobile-create-listing-page .phone-listing-receipt__rows { padding: 10px 0 7px; }
.mobile-create-listing-page .phone-listing-receipt__rows:first-of-type { padding-top: 14px; }
.mobile-create-listing-page .phone-listing-receipt__label,
.mobile-create-listing-page .phone-listing-receipt__row span {
    color: #718077;
    font-size: 12px;
    font-weight: 700;
}
.mobile-create-listing-page .phone-listing-receipt__rows > strong {
    display: block;
    margin-top: 4px;
    overflow-wrap: anywhere;
    color: #26372b;
    font-size: 16px;
    line-height: 1.35;
}
.mobile-create-listing-page .phone-listing-receipt__row {
    align-items: baseline;
    padding: 5px 0;
    font-size: 13px;
}
.mobile-create-listing-page .phone-listing-receipt__row strong {
    max-width: 62%;
    overflow-wrap: anywhere;
    color: #26372b;
    text-align: right;
    font-size: 13px;
    line-height: 1.35;
}
.mobile-create-listing-page .phone-listing-receipt.is-visible {
    animation: listing-step-reveal .24s ease both;
}
@media (max-width: 390px) {
    .mobile-create-listing-page .phone-listing-receipt__heading { align-items: flex-start; flex-direction: row; gap: 4px; }
    .mobile-create-listing-page .phone-listing-receipt__row { gap: 8px; }
    .mobile-create-listing-page .phone-listing-receipt__row strong { max-width: 58%; }
}

.mobile-create-listing-page .form-container.listing-flow-ready > .listing-step--active {
    display: flex !important;
    flex-direction: column;
    animation: listing-step-reveal .24s ease both;
}
.mobile-create-listing-page .form-container > .listing-step {
    min-height: calc(100vh - 198px);
    min-height: max(420px, calc(100dvh - 240px));
    scroll-margin-top: var(--create-listing-toolbar-offset, 72px);
}
.mobile-create-listing-page .form-container > #form-container > .dynamic-form {
    flex: 1 1 auto;
}
.mobile-create-listing-page .form-container.listing-flow-ready > .listing-step:not(.listing-step--active) {
    display: none !important;
}
.mobile-create-listing-page .listing-flow-back {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    margin-top: 5px;
    padding: 7px 10px;
    border: 0;
    border-top: 1px dashed #d8e5db;
    color: #718077;
    background: transparent;
    font: inherit;
    font-size: calc(var(--type-caption) + 1px);
    font-weight: 800;
    cursor: pointer;
}
.mobile-create-listing-page .listing-flow-back:hover,
.mobile-create-listing-page .listing-flow-back:focus-visible {
    color: var(--brand-700);
    outline: none;
}
.mobile-create-listing-page .listing-flow-back,
.mobile-create-listing-page #form-container .listing-step-back { display: none !important; }
.mobile-create-listing-page .form-container > #form-container.listing-step--internal-active > .listing-flow-back { display: none !important; }
.mobile-create-listing-page .listing-flow-next {
    width: 100%;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: auto;
    padding: 8px 10px;
    border: 1px solid var(--brand-700);
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
    box-shadow: 0 5px 12px rgba(80, 113, 84, .16);
    font: inherit;
    font-size: calc(var(--type-label) + 1px);
    font-weight: 900;
    line-height: 1.15;
    cursor: pointer;
    transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.mobile-create-listing-page .listing-flow-next:hover,
.mobile-create-listing-page .listing-flow-next:focus-visible {
    background: var(--brand-600);
    box-shadow: 0 7px 16px rgba(80, 113, 84, .22);
    outline: none;
}
.mobile-create-listing-page .listing-flow-next:active { transform: translateY(1px); }

/* Внутренние шаги динамической формы: на экране остаётся только один блок. */
.mobile-create-listing-page #form-container .listing-dynamic-progress {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 17px;
    padding: 4px 3px 10px;
}
.mobile-create-listing-page #form-container .listing-dynamic-progress__item {
    flex: 1 1 0;
    display: block;
    min-width: 0;
    height: 2px;
    border-radius: 999px;
    background: #dce8df;
    transition: background-color .18s ease, box-shadow .18s ease;
}
.mobile-create-listing-page #form-container .listing-dynamic-progress__number {
    display: none !important;
}
.mobile-create-listing-page #form-container .listing-dynamic-progress__item.is-active {
    background: #607168;
    box-shadow: 0 1px 5px rgba(80, 113, 84, .24);
}
.mobile-create-listing-page #form-container .listing-dynamic-progress__item.is-complete { background: #a8c7ae; }
.mobile-create-listing-page #form-container .listing-dynamic-step {
    display: none;
    min-width: 0;
    scroll-margin-top: var(--create-listing-toolbar-offset, 72px);
}
.mobile-create-listing-page #form-container .listing-dynamic-step.is-active {
    display: block;
    animation: listing-step-reveal .24s ease both;
}
.mobile-create-listing-page #form-container .listing-dynamic-step__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #e1ebe3;
}
.mobile-create-listing-page #form-container .listing-dynamic-step__actions:has(.listing-step-next:only-child),
.mobile-create-listing-page #form-container .listing-dynamic-step__actions:has(.listing-step-back:only-child) {
    grid-template-columns: minmax(0, 1fr);
}
.mobile-create-listing-page #form-container .listing-step-back,
.mobile-create-listing-page #form-container .listing-step-next {
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 10px;
    font: inherit;
    font-size: calc(var(--type-label) + 1px);
    font-weight: 900;
    line-height: 1.15;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.mobile-create-listing-page #form-container .listing-step-back {
    border: 1px solid #cfded2;
    color: var(--brand-700);
    background: #fff;
}
.mobile-create-listing-page #form-container .listing-step-next {
    width: 100%;
    grid-column: 1 / -1;
    border: 1px solid var(--brand-700);
    color: #fff;
    background: linear-gradient(135deg, var(--brand-700), var(--brand-600));
    box-shadow: 0 5px 12px rgba(80, 113, 84, .16);
}
.mobile-create-listing-page #form-container .listing-step-back:hover,
.mobile-create-listing-page #form-container .listing-step-back:focus-visible {
    border-color: var(--brand-600);
    background: #f2f8f3;
    outline: none;
}
.mobile-create-listing-page #form-container .listing-step-next:hover,
.mobile-create-listing-page #form-container .listing-step-next:focus-visible {
    background: var(--brand-600);
    box-shadow: 0 7px 16px rgba(80, 113, 84, .22);
    outline: none;
}
.mobile-create-listing-page #form-container .listing-step-back:active,
.mobile-create-listing-page #form-container .listing-step-next:active { transform: translateY(1px); }
.mobile-create-listing-page #form-container .listing-dynamic-step__actions .listing-flow-back {
    width: auto;
    min-width: 0;
    min-height: 44px;
    box-sizing: border-box;
    margin: 0;
    padding: 8px 10px;
    border: 1px solid #cfded2;
    border-top: 1px solid #cfded2;
    border-radius: 10px;
    color: var(--brand-700);
    background: #fff;
    font-size: calc(var(--type-label) + 1px);
    font-weight: 900;
    line-height: 1.15;
}
.mobile-create-listing-page #form-container .listing-dynamic-step__actions .listing-flow-back:hover,
.mobile-create-listing-page #form-container .listing-dynamic-step__actions .listing-flow-back:focus-visible {
    border-color: var(--brand-600);
    color: var(--brand-700);
    background: #f2f8f3;
    outline: none;
}
@media (max-width: 360px) {
    .mobile-create-listing-page #form-container .listing-dynamic-step__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mobile-create-listing-page #form-container .listing-dynamic-step__actions:has(.listing-step-next:only-child),
    .mobile-create-listing-page #form-container .listing-dynamic-step__actions:has(.listing-step-back:only-child) {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (prefers-reduced-motion: reduce) {
    .mobile-create-listing-page #form-container .listing-dynamic-step.is-active { animation: none; }
}

/* Точная mobile-композиция CRM-карточки по образцу code_artifact.html.
   Содержимое и кнопки приходят из текущего crm-listing-card.php. */
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card {
    grid-template-rows: auto auto auto;
    border: 1px solid #e2e6e3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(31, 36, 33, .05);
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-body {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    padding: 13px 14px 12px;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-price-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-body .crm-price {
    position: static;
    display: inline;
    max-width: 100%;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    color: #1f2421;
    background: transparent;
    box-shadow: none;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.3px;
    text-overflow: clip;
    white-space: normal;
    pointer-events: auto;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-body .crm-price-m2 {
    display: inline;
    margin: 0;
    color: #68706b;
    font-size: 13.5px;
    font-weight: 500;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-body .crm-card-dates {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-template-columns: none;
    margin-top: 11px;
    padding-top: 9px;
    border-top: 1px solid #eff2f0;
    color: #8c948f;
    font-size: 12.5px;
    font-weight: 400;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-body .crm-card-dates > span {
    flex: 1 1 0;
    min-width: 0;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-body .crm-card-dates > span:first-child { text-align: left; }
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-body .crm-card-dates > span:last-of-type { text-align: right; }

/* CRM-карточка использует ту же touch-галерею, что и мобильный каталог. */
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-media.mobile-card-gallery {
    position: relative;
    overflow: hidden;
    touch-action: auto;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-media.mobile-card-gallery .mobile-card-gallery__track {
    width: 100%;
    height: 100%;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: auto;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-media.mobile-card-gallery .mobile-card-gallery__track::-webkit-scrollbar { display: none; }
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-media.mobile-card-gallery .mobile-card-gallery__slide {
    height: 100%;
    flex: 0 0 100%;
    scroll-snap-align: start;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-media.mobile-card-gallery .mobile-card-gallery__slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-media.mobile-card-gallery .crm-card-ribbon {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    z-index: 5;
    max-width: calc(100% - 68px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-media.mobile-card-gallery .crm-card-check {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 6;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-actions-block {
    grid-column: 1;
    grid-row: 3;
    padding: 10px 12px;
    border-top: 1px solid #eef2ef;
    background: #fafcfb;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-actions-block .crm-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
    margin: 0;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-actions-block .crm-actions button {
    flex: 0 0 calc((100% - 7 * 5px) / 8);
    width: auto;
    max-width: 40px;
    height: 36px;
    aspect-ratio: 1 / 1;
    border: 1px solid #e2e6e3;
    border-radius: 50%;
    color: #68706b;
    background: #fff;
    box-shadow: none;
    font-size: 15px;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-actions-block .crm-actions button:hover,
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-actions-block .crm-actions button:focus-visible {
    border-color: #3b5d44;
    color: #3b5d44;
    background: #e8efe9;
    outline: none;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-actions-block .crm-btn-note__badge {
    top: -4px;
    right: -2px;
}

/* Панель массовых действий повторяет floating-bar образца и появляется
   только при наличии хотя бы одного выбранного чекбокса. */
body.app-page #crmBottomPanel {
    position: fixed;
    top: auto;
    right: auto;
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 50%;
    z-index: 800;
    width: calc(100% - 24px);
    max-width: 388px;
    height: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 8px 6px 14px;
    border: 1px solid #e2e6e3;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 36, 33, .16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(130%);
    transition: opacity .2s ease, visibility 0s linear .2s, transform .28s cubic-bezier(.22, 1, .36, 1);
}
body.app-page #crmBottomPanel.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
}
body.app-page #crmBottomPanel .crm-bottom-panel__count {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #1f2421;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.app-page #crmBottomPanel > .btn {
    width: auto;
    min-width: 0;
    height: 36px;
    min-height: 36px;
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-sizing: border-box;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}
body.app-page #crmBottomPanel > .btn i { font-size: 14px; }
body.app-page #crmBottomPanel #crmPanelShare { width: auto; height: 36px; min-height: 36px; flex: 0 1 auto; gap: 8px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; }
body.app-page #crmBottomPanel #crmPanelShare i { font-size: 14px; }
body.app-page #crmBottomPanel #crmPanelTransfer { width: 36px; flex: 0 0 36px; padding: 0; font-size: 0; }
body.app-page #crmBottomPanel #crmPanelTransfer i { font-size: 15px; }
@media (max-width: 360px) {
    body.app-page #crmBottomPanel { gap: 5px; padding-left: 9px; }
    body.app-page #crmBottomPanel .crm-bottom-panel__count { font-size: 12px; }
    body.app-page #crmBottomPanel > .btn { padding: 0 8px; font-size: 12px; }
    body.app-page #crmBottomPanel #crmPanelShare { padding: 0 9px; font-size: 12px; }
}

/* Статус в карточке повторяет .status-badge из образца: точка, текст и
   тонкое подчёркивание без отдельной зелёной плашки. */
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-marks.ml-5 {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 0;
    width: fit-content;
    max-width: 100%;
    margin-top: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #1f2421;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-marks.ml-5 > .dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, .2);
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-marks.ml-5 .crm-card-status-trigger {
    display: inline;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #1f2421;
    background: transparent;
    box-shadow: none;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #cbd5e1;
    text-underline-offset: 2px;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    width: 100%;
    flex-wrap: nowrap;
    margin-top: 0;
    padding-top: 9px;
    border-top: 1px solid #eff2f0;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-meta-top > .crm-card-marks:first-child {
    min-width: 0;
    flex: 1 1 auto;
    margin-top: 0;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-meta-top > .crm-card-marks:first-child .txt {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.app-page :is(.mobile-objects-page .objects-list, .mobile-staff-listings-page .staff-listings-list) .crm-card-meta-top > .crm-card-marks.ml-5 {
    flex: 0 0 auto;
    width: auto;
    max-width: 48%;
    margin-top: 0;
    white-space: nowrap;
}
body.app-page #crmBottomPanel #crmPanelShare:hover,
body.app-page #crmBottomPanel #crmPanelShare:focus,
body.app-page #crmBottomPanel #crmPanelShare:active {
    width: auto;
    flex-basis: auto;
    padding: 0 14px;
    font-size: 13.5px;
    transform: translateY(-1px);
}
@media (max-width: 360px) {
    body.app-page #crmBottomPanel #crmPanelShare:hover,
    body.app-page #crmBottomPanel #crmPanelShare:focus,
    body.app-page #crmBottomPanel #crmPanelShare:active {
        padding: 0 9px;
        font-size: 12px;
    }
}

/* Фильтр объектов: контрастная панель от нижнего края мобильной шапки до низа экрана. */
body.app-page .mobile-objects-page .objects-filter {
    top: 58px;
    bottom: 0;
    height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    border: 1px solid #cbd9cf;
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(18, 43, 29, .24);
}
body.app-page .mobile-objects-page .objects-filter.is-open {
    transform: translate3d(0, 0, 0);
}
body.app-page .mobile-objects-page .objects-filter > form {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    background: #ffffff;
    scrollbar-color: #78947f #edf2ee;
}
body.app-page .mobile-objects-page .objects-mobile-filter-head {
    min-height: 58px;
    flex: 0 0 58px;
    border-bottom-color: #cbd9cf;
    background: #ffffff;
    box-shadow: 0 2px 9px rgba(18, 43, 29, .08);
}
body.app-page .mobile-objects-page .objects-mobile-filter-head strong {
    color: #18261d;
}
body.app-page .mobile-objects-page .objects-mobile-filter-close {
    color: #30483a;
    background: #eef4ef;
}
body.app-page .mobile-objects-page .objects-mobile-filter-close:hover,
body.app-page .mobile-objects-page .objects-mobile-filter-close:focus-visible {
    color: #ffffff;
    background: var(--brand-700);
    outline: none;
}
body.app-page .mobile-objects-page .objects-filter .filter-scope-tab {
    border-color: #b9ccbd;
    color: #405449;
    background: #f6faf7;
}
body.app-page .mobile-objects-page .objects-filter .filter-scope-tab.is-active {
    border-color: var(--brand-700);
    color: #ffffff;
    background: var(--brand-700);
    box-shadow: 0 3px 9px rgba(52, 91, 62, .18);
}
body.app-page .mobile-objects-page .objects-filter .filter-block > label,
body.app-page .mobile-objects-page .objects-filter .filter-block > strong {
    color: #26392d;
}
body.app-page .mobile-objects-page .objects-filter input[type="text"],
body.app-page .mobile-objects-page .objects-filter input[type="number"],
body.app-page .mobile-objects-page .objects-filter select,
body.app-page .mobile-objects-page .objects-filter .agent-tagify-control,
body.app-page .mobile-objects-page .objects-filter .geo-custom-select-trigger {
    border-color: #b9ccbd;
    color: #1f2e25;
    background: #ffffff;
}
body.app-page .mobile-objects-page .objects-filter input[type="text"]:focus,
body.app-page .mobile-objects-page .objects-filter input[type="number"]:focus,
body.app-page .mobile-objects-page .objects-filter select:focus,
body.app-page .mobile-objects-page .objects-filter .geo-custom-select-trigger:focus-visible {
    border-color: var(--brand-700);
    box-shadow: 0 0 0 3px rgba(52, 91, 62, .14);
    outline: none;
}
body.app-page .mobile-objects-page .objects-filter .checkbox-item {
    border-color: #c4d5c8;
    color: #34483b;
    background: #f8fbf9;
}
body.app-page .mobile-objects-page .objects-filter .objects-filter-buttons-inline {
    border-top-color: #cbd9cf;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -6px 16px rgba(18, 43, 29, .10);
}
body.app-page .mobile-objects-page .objects-mobile-filter-backdrop {
    top: 58px;
    background: rgba(11, 27, 18, .52);
}

/* Комнаты в фильтре — компактные кнопки с сохранением исходных rooms[] checkbox. */
body.app-page .mobile-objects-page .objects-filter .objects-rooms-filter .checkbox-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
}
body.app-page .mobile-objects-page .objects-filter .objects-rooms-filter .checkbox-item {
    position: relative;
    min-height: 44px;
    justify-content: center;
    padding: 0 4px;
    border-color: #b9ccbd;
    border-radius: 10px;
    color: #30483a;
    background: #f6faf7;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
body.app-page .mobile-objects-page .objects-filter .objects-rooms-filter .checkbox-item:hover,
body.app-page .mobile-objects-page .objects-filter .objects-rooms-filter .checkbox-item:focus-within {
    border-color: var(--brand-700);
    color: var(--brand-700);
    background: #edf5ef;
}
body.app-page .mobile-objects-page .objects-filter .objects-rooms-filter .checkbox-item:has(> input:checked),
body.app-page .mobile-objects-page .objects-filter .objects-rooms-filter .checkbox-item.is-checked {
    border-color: var(--brand-700);
    color: #ffffff;
    background: var(--brand-700);
    box-shadow: 0 4px 10px rgba(52, 91, 62, .18);
}
body.app-page .mobile-objects-page .objects-filter .objects-rooms-filter .checkbox-item:active {
    transform: translateY(1px);
}
body.app-page .mobile-objects-page .objects-filter .objects-rooms-filter .checkbox-item > input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}
body.app-page .mobile-objects-page .objects-filter .objects-rooms-filter .checkbox-item > span {
    pointer-events: none;
}
body.app-page .mobile-objects-page .objects-filter .objects-filter-memory-buttons {
    grid-template-columns: minmax(0, 1fr);
}
body.app-page .mobile-objects-page .objects-filter .objects-filter-memory-buttons .btn {
    width: 100%;
}
body.app-page .mobile-objects-page .objects-filter .objects-per-page-filter,
body.app-page .mobile-objects-page .objects-filter .objects-per-page-divider {
    display: none !important;
}

/* В открытых мобильных фильтрах прокручивается только содержимое. Шапка и
   нижняя панель действий остаются закреплёнными внутри экрана фильтра. */
body.app-page .mobile-objects-page .objects-filter {
    overflow: hidden;
}
body.app-page .mobile-objects-page .objects-filter > form {
    position: static;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    scroll-padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
}
body.app-page .mobile-objects-page .objects-mobile-filter-head {
    position: relative;
    z-index: 5;
    flex: 0 0 58px;
}
body.app-page .mobile-objects-page .objects-filter-buttons-inline {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 6;
    margin: 0;
    padding: 10px 13px max(13px, env(safe-area-inset-bottom, 0px));
}
body.app-page .mobile-search-filter-sheet {
    top: 58px;
    bottom: 0;
    height: auto;
    max-height: none;
}
body.app-page .mobile-search-filter-sheet .mobile-search-filter {
    height: 100%;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
}
body.app-page .mobile-search-filter-sheet .mobile-search-filter__head {
    top: 0;
    z-index: 5;
    margin-right: -13px;
    margin-left: -13px;
}
body.app-page .mobile-search-filter-sheet .mobile-search-filter__footer {
    bottom: 0;
    z-index: 6;
    margin-right: -13px;
    margin-left: -13px;
    margin-bottom: 0;
}

/* Открытый фильтр перекрывает мобильную шапку и занимает весь экран. */
body.app-page .mobile-objects-page .objects-filter,
body.app-page .mobile-search-filter-sheet {
    top: 0;
    border-radius: 0;
}
body.app-page .mobile-objects-page .objects-mobile-filter-backdrop,
body.app-page .mobile-search-filter-backdrop {
    top: 0;
}

/* Мобильная сортировка: нативный select заменяется нижним листом с вариантами. */
body.app-page .mobile-objects-page .objects-sort-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
body.app-page .mobile-objects-page .objects-sort-mobile-native-field {
    display: none !important;
}
body.app-page .mobile-objects-page .objects-sort-mobile-trigger {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-sizing: border-box;
    padding: 7px 10px;
    border: 1px solid #cbd9cf;
    border-radius: 10px;
    color: #1f2e25;
    background: #ffffff;
    box-shadow: none;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
}
body.app-page .mobile-objects-page .objects-sort-mobile-trigger__value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.app-page .mobile-objects-page .objects-sort-mobile-trigger > i {
    flex: 0 0 auto;
    color: var(--brand-700);
    font-size: 13px;
}
body.app-page .mobile-objects-page .objects-sort-mobile-trigger:hover,
body.app-page .mobile-objects-page .objects-sort-mobile-trigger:focus-visible {
    border-color: var(--brand-700);
    box-shadow: 0 0 0 3px rgba(52, 91, 62, .12);
    outline: none;
}
body.objects-sort-mobile-open {
    overflow: hidden;
}
body.app-page .objects-sort-picker[hidden] {
    display: none !important;
}
body.app-page .objects-sort-picker {
    position: fixed;
    inset: 0;
    z-index: 650;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(11, 27, 18, .52);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility 0s linear .22s;
}
body.app-page .objects-sort-picker.is-open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}
body.app-page .objects-sort-picker__backdrop {
    position: absolute;
    inset: 0;
}
body.app-page .objects-sort-picker__sheet {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    max-height: min(78dvh, 620px);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 0 13px max(13px, env(safe-area-inset-bottom, 0px));
    border: 1px solid #cbd9cf;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
    background: #ffffff;
    box-shadow: 0 -14px 36px rgba(18, 43, 29, .24);
    transform: translateY(100%);
    transition: transform .28s cubic-bezier(.22, .75, .25, 1);
}
body.app-page .objects-sort-picker.is-open .objects-sort-picker__sheet {
    transform: translateY(0);
}
body.app-page .objects-sort-picker__header {
    min-height: 58px;
    flex: 0 0 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #d9e4db;
}
body.app-page .objects-sort-picker__header strong {
    color: #18261d;
    font-size: 18px;
    font-weight: 900;
}
body.app-page .objects-sort-picker__close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    color: #30483a;
    background: #eef4ef;
    cursor: pointer;
    font: inherit;
    font-size: 20px;
}
body.app-page .objects-sort-picker__close:hover,
body.app-page .objects-sort-picker__close:focus-visible {
    color: #ffffff;
    background: var(--brand-700);
    outline: none;
}
body.app-page .objects-sort-picker__options {
    min-height: 0;
    overflow-y: auto;
    padding: 10px 0 2px;
    overscroll-behavior: contain;
}
body.app-page .objects-sort-picker__option {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    padding: 10px 11px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #29382f;
    background: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    line-height: 1.3;
    text-align: left;
}
body.app-page .objects-sort-picker__option + .objects-sort-picker__option {
    margin-top: 3px;
}
body.app-page .objects-sort-picker__option:hover,
body.app-page .objects-sort-picker__option:focus-visible {
    border-color: #cfe2d2;
    background: #f4faf5;
    outline: none;
}
body.app-page .objects-sort-picker__option[aria-selected="true"] {
    border-color: #b9d6be;
    color: var(--brand-900);
    background: #edf7ef;
    font-weight: 800;
}
body.app-page .objects-sort-picker__option-label {
    min-width: 0;
    overflow-wrap: anywhere;
}
body.app-page .objects-sort-picker__option-check {
    width: 22px;
    flex: 0 0 22px;
    color: var(--brand-700);
    font-size: 18px;
    line-height: 1;
    text-align: center;
    visibility: hidden;
}
body.app-page .objects-sort-picker__option[aria-selected="true"] .objects-sort-picker__option-check {
    visibility: visible;
}

/* В карточке meta-box начинается сразу после описания, а даты отделены от него как в образце. */

/* Новая мобильная страница отзывов по образцу eurasia_reviews_mobile.html. */
.mobile-reviews-page {
    --reviews-primary: #4c6c54;
    --reviews-primary-hover: #3d5844;
    --reviews-primary-soft: #e8efea;
    --reviews-bg: #f3f6f4;
    --reviews-card: #fff;
    --reviews-border: #e4ebe6;
    --reviews-subtle: #edf2ee;
    --reviews-text: #18201b;
    --reviews-body: #26302a;
    --reviews-muted: #7a857e;
    --reviews-object: #2e5238;
    --reviews-star: #e59819;
    --reviews-star-empty: #d5ddd8;
    --reviews-radius: 16px;
    --reviews-shadow: 0 2px 8px rgba(24, 32, 27, .04);
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--reviews-bg);
}
.mobile-reviews-page .hero-card {
    margin: -2px 0 0;
    padding: 16px 16px 15px;
    border: 1px solid var(--reviews-border);
    border-radius: var(--reviews-radius);
    background: var(--reviews-card);
    box-shadow: var(--reviews-shadow);
}
.mobile-reviews-page .hero-title-row { display: flex; align-items: center; gap: 9px; margin-bottom: 5px; }
.mobile-reviews-page .hero-chat-icon { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; flex: 0 0 24px; color: var(--reviews-primary); font-size: 22px; }
.mobile-reviews-page .hero-title { margin: 0; color: var(--reviews-text); font-size: 22px; font-weight: 800; letter-spacing: -.035em; line-height: 1.2; }
.mobile-reviews-page .hero-subtitle { margin: 0; color: var(--reviews-muted); font-size: 14.5px; line-height: 1.35; }

.mobile-reviews-page .tabs-bar { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 1px 0 3px; scrollbar-width: none; }
.mobile-reviews-page .tabs-bar::-webkit-scrollbar { display: none; }
.mobile-reviews-page .tab-pill {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    padding: 6px 12px 6px 16px;
    border: 1px solid var(--reviews-border);
    border-radius: 999px;
    background: var(--reviews-card);
    color: var(--reviews-body);
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .1s ease;
}
.mobile-reviews-page .tab-pill:active { transform: scale(.96); }
.mobile-reviews-page .tab-pill .tab-count {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 50%;
    background: var(--reviews-primary-soft);
    color: var(--reviews-primary);
    font-size: 13px;
    font-weight: 800;
}
.mobile-reviews-page .tab-pill.active { border-color: var(--reviews-primary); background: var(--reviews-primary); color: #fff; box-shadow: 0 2px 6px rgba(76, 108, 84, .22); }
.mobile-reviews-page .tab-pill.active .tab-count { background: rgba(255, 255, 255, .22); color: #fff; }
.mobile-reviews-page .tab-pill:focus-visible,
.mobile-reviews-page .review-object-pill:focus-visible { outline: 3px solid rgba(76, 108, 84, .22); outline-offset: 2px; }

.mobile-reviews-page .reviews-list { display: flex; flex-direction: column; gap: 12px; }
.mobile-reviews-page .review-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border: 1px solid var(--reviews-border);
    border-radius: var(--reviews-radius);
    background: var(--reviews-card);
    box-shadow: var(--reviews-shadow);
}
.mobile-reviews-page .review-card__header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mobile-reviews-page .review-card__author-wrap { display: flex; min-width: 0; flex: 1; align-items: center; gap: 11px; }
.mobile-reviews-page .review-card__avatar {
    display: flex;
    width: 42px;
    height: 42px;
    min-width: 42px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #eaf1ec;
    color: var(--reviews-primary);
    font-size: 18px;
}
.mobile-reviews-page .review-card__avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mobile-reviews-page .review-card__identity { min-width: 0; flex: 1; }
.mobile-reviews-page .review-card__name { margin: 0; overflow: hidden; color: var(--reviews-text); font-size: 15px; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.mobile-reviews-page .review-card__date { display: block; margin-top: 2px; color: var(--reviews-muted); font-size: 13px; line-height: 1.2; }
.mobile-reviews-page .review-status-badge { display: inline-flex; min-height: 24px; align-items: center; gap: 5px; flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.mobile-reviews-page .review-status-badge::before { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; content: ''; }
.mobile-reviews-page .review-status-badge--approved { color: #27673d; background: #eaf5ee; }
.mobile-reviews-page .review-status-badge--pending { color: #a3630b; background: #fef5e6; }
.mobile-reviews-page .review-status-badge--rejected { color: #b53838; background: #fdeeee; }

.mobile-reviews-page .review-card__rating-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.mobile-reviews-page .review-card__stars { display: inline-flex; align-items: center; gap: 3px; color: var(--reviews-star); font-size: 16px; line-height: 1; }
.mobile-reviews-page .review-card__stars .fa-regular { color: var(--reviews-star-empty); }
.mobile-reviews-page .review-card__rating-value { color: var(--reviews-text); font-size: 14px; font-weight: 700; line-height: 1; }
.mobile-reviews-page .review-card__text { margin: 10px 0 0; color: var(--reviews-body); font-size: 15.5px; line-height: 1.48; overflow-wrap: anywhere; }
.mobile-reviews-page .review-card__footer { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--reviews-subtle); }
.mobile-reviews-page .review-object-pill { display: flex; width: 100%; min-width: 0; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border: 1px solid #e2eae5; border-radius: 11px; background: #f4f7f5; color: inherit; text-align: left; text-decoration: none; transition: background-color .15s ease, border-color .15s ease, transform .1s ease; }
.mobile-reviews-page .review-object-pill:active { border-color: #cbd9d0; background: #e9f0ec; transform: scale(.988); }
.mobile-reviews-page .review-object-pill__left { display: flex; min-width: 0; flex: 1; align-items: center; gap: 9px; }
.mobile-reviews-page .review-object-pill__icon { display: inline-flex; width: 26px; height: 26px; min-width: 26px; align-items: center; justify-content: center; border-radius: 50%; background: var(--reviews-primary); color: #fff; font-size: 14px; }
.mobile-reviews-page .review-object-pill__title { display: -webkit-box; overflow: hidden; color: var(--reviews-object); font-size: 14px; font-weight: 600; line-height: 1.32; text-overflow: ellipsis; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.mobile-reviews-page .review-object-pill__chevron { flex: 0 0 auto; color: var(--reviews-muted); font-size: 22px; line-height: 1; }

.mobile-reviews-page .reviews-empty { display: grid; min-height: 250px; place-content: center; justify-items: center; gap: 7px; padding: 28px 16px; border: 1px solid var(--reviews-border); border-radius: var(--reviews-radius); background: var(--reviews-card); box-shadow: var(--reviews-shadow); color: var(--reviews-muted); text-align: center; }
.mobile-reviews-page .reviews-empty__icon { display: inline-grid; width: 50px; height: 50px; place-items: center; margin-bottom: 4px; border-radius: 14px; color: var(--reviews-primary); background: var(--reviews-primary-soft); font-size: 22px; }
.mobile-reviews-page .reviews-empty strong { color: var(--reviews-text); font-size: 16px; }
.mobile-reviews-page .reviews-empty > span:not(.reviews-empty__icon) { max-width: 290px; font-size: 14px; line-height: 1.45; }
.mobile-reviews-page .reviews-empty .mobile-primary-button { margin-top: 8px; }

@media (max-width: 390px) {
    .mobile-reviews-page .review-card__header { align-items: flex-start; }
    .mobile-reviews-page .review-status-badge { padding-inline: 8px; font-size: 10.5px; }
    .mobile-reviews-page .review-card__name { font-size: 15px; }
}

/* Публичный профиль риелтора: факты, мессенджеры и отзывы используют ту же
   спокойную карточную систему, что и мобильная страница my-reviews.php. */
.mobile-agent-page {
    --agent-card-border: #e4ebe6;
    --agent-card-muted: #7a857e;
    --agent-card-text: #26302a;
    --agent-card-primary: #4c6c54;
}
.mobile-agent-page .mobile-agent-rating {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    white-space: nowrap;
}
.mobile-agent-page .mobile-agent-rating > span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #e59819;
    line-height: 1;
}
.mobile-agent-page .mobile-agent-rating > span i.fa-star { color: #e59819; }
.mobile-agent-page .mobile-agent-rating > span i.fa-regular { color: #d5ddd8; }
.mobile-agent-page .mobile-agent-rating strong,
.mobile-agent-page .mobile-agent-rating small { flex: 0 0 auto; }
.mobile-agent-page .mobile-agent-messengers {
    padding: 13px 14px 14px;
    border-color: var(--agent-card-border);
    background: linear-gradient(145deg, #fff 0%, #f5f8f6 100%);
    box-shadow: 0 2px 8px rgba(24, 32, 27, .04);
}
.mobile-agent-page .mobile-agent-messengers .mobile-surface__head {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf2ee;
}
.mobile-agent-page .mobile-agent-messengers .mobile-surface__head h2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #293a30;
    font-size: 16px;
    font-weight: 800;
}
.mobile-agent-page .mobile-agent-messengers .mobile-surface__head h2 i { color: var(--agent-card-primary); }
.mobile-agent-page .mobile-agent-messengers__list {
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 8px;
}
.mobile-agent-page .mobile-agent-messenger-button,
.mobile-agent-page .mobile-agent-messenger-note {
    min-height: 46px;
    padding: 9px 11px;
    border: 1px solid #dfe9e1;
    border-radius: 12px;
    color: #304535;
    background: #fff;
    box-shadow: none;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
    text-decoration: none;
}
.mobile-agent-page .mobile-agent-messenger-button i { flex: 0 0 auto; color: var(--agent-card-primary); font-size: 18px; }
.mobile-agent-page .mobile-agent-messenger-button .fa-whatsapp { color: #25a55b; }
.mobile-agent-page .mobile-agent-messenger-button .fa-telegram { color: #2a9bd7; }
.mobile-agent-page .mobile-agent-messenger-button:hover,
.mobile-agent-page .mobile-agent-messenger-button:focus-visible {
    border-color: #b9d2bd;
    color: #26392c;
    background: #f7fbf8;
    outline: none;
}
.mobile-agent-page .mobile-agent-messenger-note {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--agent-card-muted);
    background: #f7faf8;
    text-align: center;
}
.mobile-agent-page .mobile-agent-facts {
    gap: 0;
    padding: 8px 14px;
    border-color: var(--agent-card-border);
    background: linear-gradient(145deg, #fff 0%, #f5f8f6 100%);
    box-shadow: 0 2px 8px rgba(24, 32, 27, .04);
}
.mobile-agent-page .mobile-agent-facts__item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 10px 0;
    border-bottom: 1px solid #edf2ee;
    color: var(--agent-card-text);
    font-size: 15px;
    line-height: 1.3;
}
.mobile-agent-page .mobile-agent-facts__item:last-child { border-bottom: 0; }
.mobile-agent-page .mobile-agent-facts__item > i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid #dfe9e1;
    border-radius: 12px;
    color: var(--agent-card-primary);
    background: #edf5ef;
    font-size: 16px;
}
.mobile-agent-page .mobile-agent-facts__item span { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.mobile-agent-page .mobile-agent-facts__item strong {
    color: #4b4747;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .04em;
    line-height: 1.2;
    text-transform: uppercase;
}
.mobile-agent-page .mobile-agent-review-track { gap: 12px; padding: 0 1px 8px; }
.mobile-agent-page .review-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-width: calc(100% - 28px);
    flex: 0 0 calc(100% - 28px);
    flex-direction: column;
    padding: 16px;
    border: 1px solid var(--agent-card-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(24, 32, 27, .04);
    scroll-snap-align: start;
}
.mobile-agent-page .review-card__header { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mobile-agent-page .review-card__author-wrap { display: flex; min-width: 0; flex: 1; align-items: center; gap: 11px; }
.mobile-agent-page .review-card__avatar {
    display: flex;
    width: 42px;
    height: 42px;
    min-width: 42px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    color: var(--agent-card-primary);
    background: #eaf1ec;
    font-size: 18px;
}
.mobile-agent-page .review-card__avatar img { width: 100%; height: 100%; display: block; object-fit: cover; }
.mobile-agent-page .review-card__identity { min-width: 0; flex: 1; }
.mobile-agent-page .review-card__identity strong { display: block; overflow: hidden; color: #18201b; font-size: 15px; font-weight: 700; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.mobile-agent-page .review-card__identity > span { display: block; margin-top: 2px; color: var(--agent-card-muted); font-size: 13px; line-height: 1.2; }
.mobile-agent-page .review-card__rating-row {
    grid-column: 1 / -1;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px;
    margin-top: 12px;
}
.mobile-agent-page .mobile-review-stars {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    gap: 3px;
    color: #f1ad0d !important;
    font-size: 16px;
    line-height: 1;
}
.mobile-agent-page .mobile-review-stars i.fa-star { color: #f1ad0d !important; }
.mobile-agent-page .mobile-review-stars i.fa-regular { color: #d5ddd8 !important; }
.mobile-agent-page .review-card__rating-value {
    display: inline-block !important;
    flex: 0 0 auto;
    margin: 0 !important;
    color: var(--agent-card-text) !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}
.mobile-agent-page .review-card__text { grid-column: 1 / -1; margin: 10px 0 0; color: var(--agent-card-text); font-size: 15px; line-height: 1.48; overflow-wrap: anywhere; }
.mobile-agent-page .mobile-review-card__more { grid-column: 1 / -1; margin-top: 8px; color: var(--agent-card-primary); font-size: 13px; font-weight: 800; }

/* Кабинет специалиста: мобильная карточная компоновка по образцу kab.html.
   Данные, ссылки и обработчики остаются серверными из agent/dashboard.php. */
.mobile-agent-dashboard-page {
    --kab-header: #3e5e46;
    --kab-header-dark: #2f4936;
    --kab-primary: #4c6c54;
    --kab-primary-soft: #e8efea;
    --kab-bg: #f3f6f4;
    --kab-card: #fff;
    --kab-border: #e4ebe6;
    --kab-subtle: #edf2ee;
    --kab-text: #18201b;
    --kab-body: #26302a;
    --kab-muted: #7a857e;
    --kab-object: #2e5238;
    --kab-shadow: 0 2px 8px rgba(24, 32, 27, .04);
    display: grid;
    width: min(100%, var(--mobile-page-max-width));
    max-width: var(--mobile-page-max-width);
    box-sizing: border-box;
    margin-inline: auto;
    padding: 0 var(--mobile-page-gutter) var(--mobile-page-bottom-space);
    min-width: 0;
    gap: 12px;
}
.mobile-agent-dashboard-page > * { min-width: 0; }
.agent-kab-hero {
    display: grid;
    gap: 12px;
    padding: 15px 16px;
    border: 1px solid var(--kab-border);
    border-radius: 16px;
    background: var(--kab-card);
    box-shadow: var(--kab-shadow);
}
.agent-kab-hero__title-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}
.agent-kab-hero__title-row > i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--kab-primary);
    font-size: 22px;
}
.agent-kab-hero h1 {
    margin: 0;
    color: var(--kab-text);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.3px;
    line-height: 1.2;
}
.agent-kab-hero p {
    margin: 4px 0 0;
    color: var(--kab-muted);
    font-size: 13px;
    line-height: 1.35;
}
.agent-kab-public-link,
.agent-kab-add-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid var(--kab-primary);
    border-radius: 11px;
    color: var(--kab-header);
    background: var(--kab-primary-soft);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .15s ease, transform .1s ease;
}
.agent-kab-public-link:active,
.agent-kab-add-link:active { background: #dce7e0; transform: scale(.985); }
.agent-kab-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.agent-kab-kpi {
    display: flex;
    min-width: 0;
    min-height: 86px;
    flex-direction: column;
    justify-content: space-between;
    gap: 4px;
    padding: 13px 14px;
    border: 1px solid var(--kab-border);
    border-radius: 14px;
    background: var(--kab-card);
    box-shadow: var(--kab-shadow);
}
.agent-kab-kpi strong {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: var(--kab-text);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.4px;
    line-height: 1.15;
}
.agent-kab-kpi strong i { color: #e59819; font-size: 18px; }
.agent-kab-kpi span {
    overflow-wrap: anywhere;
    color: var(--kab-muted);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.25;
}
.agent-kab-section {
    display: grid;
    min-width: 0;
    gap: 10px;
}
.agent-kab-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #dae3dd;
    border-radius: 13px;
    background: #e6ece8;
}
.agent-kab-section__header h2 {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--kab-text);
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.25;
}
.agent-kab-section__header h2 i { flex: 0 0 auto; color: var(--kab-header); }
.agent-kab-section__header--objects { align-items: center; }
.agent-kab-actions { display: grid; gap: 10px; }
.agent-kab-action-button {
    display: flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 14px;
    border: 1px solid var(--kab-header);
    border-radius: 11px;
    color: #fff;
    background: var(--kab-header);
    box-shadow: 0 2px 5px rgba(47, 73, 54, .2);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}
.agent-kab-action-button:active { background: var(--kab-header-dark); transform: scale(.985); }
.agent-kab-action-button--secondary {
    border-color: var(--kab-border);
    color: var(--kab-body);
    background: #fff;
    box-shadow: var(--kab-shadow);
}
.agent-kab-action-button--secondary:active { background: var(--kab-bg); }
.agent-kab-objects-intro { display: grid; gap: 10px; }
.agent-kab-objects-intro .agent-kab-add-link { width: 100%; }
.agent-kab-objects-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 2px;
    color: var(--kab-text);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
}
.agent-kab-objects-title i { flex: 0 0 auto; color: var(--kab-header); }
.agent-kab-add-link {
    min-height: 34px;
    padding: 6px 12px;
    border: 0;
    color: #fff;
    background: var(--kab-header);
    box-shadow: 0 2px 5px rgba(47, 73, 54, .2);
    font-size: 12.5px;
    white-space: nowrap;
}
.agent-kab-add-link:active { background: var(--kab-header-dark); }
.agent-kab-top-card,
.agent-kab-object-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 10px;
    padding: 14px 15px;
    border: 1px solid var(--kab-border);
    border-radius: 16px;
    background: var(--kab-card);
    box-shadow: var(--kab-shadow);
}
.agent-kab-top-card__head,
.agent-kab-object-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
.agent-kab-top-card__head > div,
.agent-kab-object-card__main { min-width: 0; }
.agent-kab-top-card__title,
.agent-kab-object-card__title {
    display: block;
    overflow: hidden;
    color: var(--kab-object);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
    text-overflow: ellipsis;
}
.agent-kab-top-card__price,
.agent-kab-object-card__price {
    display: block;
    margin-top: 3px;
    color: var(--kab-text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
}
.agent-kab-top-card__badge,
.agent-kab-status {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.agent-kab-top-card__badge { color: #a3630b; background: #fef5e6; }
.agent-kab-status::before { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; content: ''; }
.agent-kab-status--active { color: #27673d; background: #eaf5ee; }
.agent-kab-status--pending { color: #a3630b; background: #fef5e6; }
.agent-kab-status--draft,
.agent-kab-status--inactive,
.agent-kab-status--suspended { color: #56635b; background: #eef2f0; }
.agent-kab-status--rejected,
.agent-kab-status--sold { color: #b53838; background: #fdeeee; }
.agent-kab-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 9px 10px;
    border: 1px solid var(--kab-subtle);
    border-radius: 11px;
    background: var(--kab-bg);
}
.agent-kab-mini-stats span { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.agent-kab-mini-stats strong { color: var(--kab-text); font-size: 14px; font-weight: 800; }
.agent-kab-mini-stats small { overflow: hidden; color: var(--kab-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.agent-kab-filter-pills {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
}
.agent-kab-filter-pills::-webkit-scrollbar { display: none; }
.agent-kab-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 5px 11px 5px 14px;
    border: 1px solid var(--kab-border);
    border-radius: 999px;
    color: var(--kab-body);
    background: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.agent-kab-filter-pill b {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 50%;
    color: var(--kab-primary);
    background: var(--kab-primary-soft);
    font-size: 11.5px;
}
.agent-kab-filter-pill.is-active { border-color: var(--kab-primary); color: #fff; background: var(--kab-primary); }
.agent-kab-filter-pill.is-active b { color: #fff; background: rgba(255, 255, 255, .22); }
.agent-kab-object-list { display: grid; min-width: 0; gap: 11px; }
.agent-kab-object-card__id { color: var(--kab-muted); font-size: 12px; font-weight: 700; }
.agent-kab-object-card__title { color: var(--kab-text); font-size: 15px; }
.agent-kab-object-card__price { color: var(--kab-object); font-size: 16.5px; }
.agent-kab-object-card__comment {
    margin: 0;
    padding: 8px 9px;
    border-radius: 9px;
    color: #b53838;
    background: #fdeeee;
    font-size: 12px;
    line-height: 1.4;
}
.agent-kab-object-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--kab-subtle);
}
.agent-kab-object-card__meta,
.agent-kab-object-card__actions { display: flex; align-items: center; gap: 8px; }
.agent-kab-object-card__meta { min-width: 0; gap: 12px; color: var(--kab-muted); font-size: 12px; }
.agent-kab-object-card__meta span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.agent-kab-icon-action {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--kab-border);
    border-radius: 10px;
    color: var(--kab-body);
    background: var(--kab-bg);
    text-decoration: none;
}
.agent-kab-icon-action--danger { color: #b53838; }
.agent-kab-empty { margin: 0; padding: 24px 15px; border: 1px dashed var(--kab-border); border-radius: 14px; color: var(--kab-muted); background: #fff; text-align: center; font-size: 14px; }
.agent-kab-object-card[hidden] { display: none !important; }
@media (min-width: 541px) {
    .mobile-agent-dashboard-page { max-width: 520px; margin: 0 auto; }
}
