/* Native Favorites cards: keep thumbnail placeholders within the photo column. */
#dashboard-favorites .column-thumbnail figure { max-width:100%; margin:0; }
#dashboard-favorites .column-thumbnail figure a { display:block; max-width:100%; }
#dashboard-favorites .column-thumbnail img { display:block; width:100%; max-width:100%; height:auto; aspect-ratio:4/3; max-height:180px; object-fit:cover; }

/* JLPM Ultra featured slider: reserve space for the native controls. */
.rhea-ultra-featred-properties > .rhea-ultra-slider-top-box > .rhea-ultra-feature-nav-wrapper { position: relative; top: auto !important; margin-top: 16px; }
.rhea-ultra-featred-properties > .rhea-ultra-featured-thumbnail-carousel { margin-top: 24px; }

/* JLPM floating chat. All rules are scoped to this original presentation. */
#jlpm-chat { --chat-accent: #3a5400; --chat-soft: #f4f7ec; --chat-ink: #20271a; font: 14px/1.5 Arial, sans-serif; color: var(--chat-ink); }
#jlpm-chat *, #jlpm-chat *::before, #jlpm-chat *::after { box-sizing: border-box; }
#jlpm-chat [hidden] { display: none !important; }
#jlpm-chat button, #jlpm-chat input, #jlpm-chat textarea { font: inherit; }
#jlpm-chat button { cursor: pointer; border: 0; margin: 0; text-transform: none; letter-spacing: normal; }
#jlpm-chat button:disabled { cursor: default; opacity: .55; }
#jlpm-chat button:focus-visible, #jlpm-chat a:focus-visible, #jlpm-chat input:focus-visible, #jlpm-chat textarea:focus-visible { outline: 3px solid #9fca2c; outline-offset: 2px; }
#jlpm-chat svg { width: 21px; height: 21px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#jlpm-chat .jchat-launcher { position: fixed; z-index: 99991; right: 24px; bottom: 80px; width: 56px; height: 56px; display: grid; place-items: center; color: #fff; background: var(--chat-accent); border-radius: 50%; box-shadow: 0 4px 18px #23360030; }
#jlpm-chat .jchat-launcher svg { width: 27px; height: 27px; }
#jlpm-chat .jchat-badge { position: absolute; top: -4px; right: -3px; min-width: 23px; padding: 1px 6px; border: 2px solid #fff; border-radius: 20px; background: #a3cc30; color: #203500; font-size: 12px; font-weight: 700; }
#jlpm-chat .jchat-panel { position: fixed; z-index: 99992; right: 24px; bottom: 24px; width: 372px; height: min(560px, calc(100dvh - 80px)); display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #dfe5d6; border-radius: 16px; box-shadow: 0 10px 44px #17280830; animation: jchat-open .16s ease-out; }
#jlpm-chat .jchat-panel.is-expanded { width: min(560px, calc(100vw - 48px)); height: min(720px, calc(100dvh - 80px)); }
#jlpm-chat .jchat-head { display: flex; align-items: center; gap: 7px; padding: 12px; border-bottom: 1px solid #e8eddf; flex-shrink: 0; min-height: 66px; background: var(--chat-soft); }
#jlpm-chat .jchat-heading { min-width: 0; flex: 1; }
#jlpm-chat .jchat-title { font-size: 15px; font-weight: 700; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#jlpm-chat .jchat-subtitle { color: #67735a; font-size: 11px; margin: 2px 0 0; }
#jlpm-chat .jchat-icon { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 50%; flex: 0 0 34px; color: var(--chat-accent); background: transparent; }
#jlpm-chat .jchat-icon:hover { background: #e6edda; }
#jlpm-chat .jchat-search-wrap { padding: 14px 16px 10px; flex-shrink: 0; }
#jlpm-chat .jchat-search { width: 100%; border: 1px solid #dce3d3; border-radius: 9px; padding: 10px 12px; height: auto; background: #f8faf5; color: var(--chat-ink); }
#jlpm-chat .jchat-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
#jlpm-chat .jchat-row { display: flex; align-items: center; gap: 11px; width: 100%; padding: 12px 16px; background: #fff; color: var(--chat-ink); text-align: left; }
#jlpm-chat .jchat-row:hover { background: #f4f7ec; }
#jlpm-chat .jchat-avatar { height: 40px; width: 40px; flex: 0 0 40px; border-radius: 50%; object-fit: cover; background: #edf1e5; display: grid; place-items: center; font-weight: 700; color: var(--chat-accent); }
#jlpm-chat .jchat-row-text { flex: 1; min-width: 0; }
#jlpm-chat .jchat-row-name { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#jlpm-chat .jchat-preview { display: block; color: #6b7263; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#jlpm-chat .jchat-count { min-width: 21px; padding: 1px 6px; background: var(--chat-accent); color: #fff; border-radius: 12px; font-size: 11px; text-align: center; }
#jlpm-chat .jchat-empty { margin: 0; padding: 34px 22px; text-align: center; color: #65715b; }
#jlpm-chat .jchat-messages { padding: 16px; background: #fff; }
#jlpm-chat .jchat-message { display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 13px; }
#jlpm-chat .jchat-message.is-mine { align-items: flex-end; }
#jlpm-chat .jchat-bubble { max-width: 88%; padding: 10px 13px; border-radius: 15px 15px 15px 4px; background: var(--chat-soft); color: var(--chat-ink); white-space: pre-wrap; overflow-wrap: anywhere; }
#jlpm-chat .is-mine .jchat-bubble { background: var(--chat-accent); color: #fff; border-radius: 15px 15px 4px 15px; }
#jlpm-chat .jchat-bubble a { color: inherit; text-decoration: underline; }
#jlpm-chat .jchat-time { display: block; color: #70796a; font-size: 10px; margin: 4px 3px 0; }
#jlpm-chat .jchat-status { flex-shrink: 0; font-size: 12px; padding: 9px 16px; background: #fff6e9; color: #704a11; border-top: 1px solid #eee2c9; }
#jlpm-chat .jchat-compose { display: flex; gap: 9px; align-items: flex-end; padding: 12px; border-top: 1px solid #e8eddf; flex-shrink: 0; background: #fff; }
#jlpm-chat .jchat-compose textarea { flex: 1; min-width: 0; min-height: 43px; max-height: 120px; height: 43px; resize: none; overflow-y: auto; padding: 10px 12px; margin: 0; border: 1px solid #dde4d3; border-radius: 12px; color: var(--chat-ink); background: #f8faf5; }
#jlpm-chat .jchat-send { background: var(--chat-accent); color: #fff; width: 42px; height: 42px; flex: 0 0 42px; }
#jlpm-chat .jchat-send:hover { background: #2b4000; }
#jlpm-chat .jchat-footer { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; border-top: 1px solid #e8eddf; background: #fafbf8; font-size: 12px; }
#jlpm-chat .jchat-footer a { color: var(--chat-accent); font-weight: 700; text-decoration: none; }
#jlpm-chat .jchat-text-button { color: var(--chat-accent); background: transparent; padding: 7px 10px; font-size: 12px; }
#jlpm-chat .jchat-history { display: block; margin: 0 auto 14px; }
#jlpm-chat .jchat-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@keyframes jchat-open { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  #jlpm-chat .jchat-launcher { right: 16px; bottom: 80px; }
  #jlpm-chat .jchat-panel, #jlpm-chat .jchat-panel.is-expanded { width: 100%; height: var(--jchat-height, 100dvh); top: var(--jchat-top, 0px); bottom: auto; left: 0; right: 0; border: 0; border-radius: 0; }
  #jlpm-chat .jchat-head { padding-top: max(12px, env(safe-area-inset-top)); }
  #jlpm-chat .jchat-panel { z-index: 100001; }
  #jlpm-chat .jchat-footer { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  #jlpm-chat .jchat-expand { display: none; }
  body.jchat-mobile-open { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { #jlpm-chat .jchat-panel { animation: none; } }

#jlpm-chat a.jchat-launcher { padding: 0; text-decoration: none; }

/* JLPM activity presentation v1: scoped to the administrator dashboard module. */
#dashboard .jlpm-activity-workspace { --activity-accent: #3a5400; --activity-ink: #24301d; color: var(--activity-ink); background: #fff; padding: clamp(20px, 3vw, 40px); border-radius: 12px; }
#dashboard .jlpm-activity-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
#dashboard .jlpm-activity-heading h2 { color: var(--activity-ink); margin: 9px 0 8px; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.2; }
#dashboard .jlpm-activity-heading p { color: #64705d; margin: 0; font-size: 14px; }
#dashboard .jlpm-activity-access { color: var(--activity-accent); font-weight: 600; font-size: 12px; letter-spacing: .04em; }
#dashboard .jlpm-activity-workspace .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid #d4ddc9; border-radius: 8px; background: #fff; color: var(--activity-accent); font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; }
#dashboard .jlpm-activity-workspace .btn:hover { background: #f4f7ee; border-color: var(--activity-accent); }
#dashboard .jlpm-activity-workspace .btn-primary { background: var(--activity-accent); border-color: var(--activity-accent); color: #fff; }
#dashboard .jlpm-activity-workspace .btn-primary:hover { background: #2b3e00; }
#dashboard .jlpm-activity-filter { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 12px; padding: 22px 0; border-top: 1px solid #e5eadd; border-bottom: 1px solid #e5eadd; margin: 0; }
#dashboard .jlpm-activity-filter > div { flex: 0 1 430px; min-width: 0; }
#dashboard .jlpm-activity-filter label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600; }
#dashboard .jlpm-activity-filter select { display: block; width: 100%; min-width: 0; height: 44px; margin: 0; padding: 8px 32px 8px 12px; border: 1px solid #ccd6bf; border-radius: 8px; background-color: #fff; color: var(--activity-ink); font: inherit; font-size: 14px; }
#dashboard .jlpm-activity-clear { display: inline-block; padding: 12px 6px; font-size: 14px; color: var(--activity-accent); text-decoration: underline; }
#dashboard .jlpm-activity-caption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0 14px; font-size: 13px; color: #64705d; }
#dashboard .jlpm-activity-caption p { margin: 0; }
#dashboard .jlpm-activity-caption strong { font-size: 18px; color: var(--activity-ink); margin-right: 4px; }
#dashboard .jlpm-activity-table { width: 100%; margin: 0; table-layout: fixed; border-collapse: collapse; border: 0; font-size: 13px; line-height: 1.55; }
#dashboard .jlpm-activity-table th { text-align: left; padding: 12px 14px; background: #f4f7ee; color: #526046; border: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
#dashboard .jlpm-activity-table th:nth-child(1) { width: 16%; }
#dashboard .jlpm-activity-table th:nth-child(2) { width: 23%; }
#dashboard .jlpm-activity-table th:nth-child(3) { width: 17%; }
#dashboard .jlpm-activity-table th:nth-child(4) { width: 25%; }
#dashboard .jlpm-activity-table th:nth-child(5) { width: 19%; }
#dashboard .jlpm-activity-table td { text-align: left; vertical-align: top; padding: 16px 14px; border: 0; border-bottom: 1px solid #e8eddf; color: var(--activity-ink); overflow-wrap: anywhere; }
#dashboard .jlpm-activity-table tbody tr:hover { background: #fafbf7; }
#dashboard .jlpm-activity-table small { display: block; margin-top: 5px; font-size: 11px; color: #6b7565; }
#dashboard .jlpm-activity-time { color: #64705d; font-variant-numeric: tabular-nums; }
#dashboard .jlpm-activity-event { display: inline-block; padding: 4px 8px; border-radius: 5px; background: #f0f5e7; color: #3a5400; font-size: 12px; font-weight: 500; }
#dashboard .jlpm-activity-event.is-attention { background: #fff3df; color: #7a4c0d; }
#dashboard .jlpm-activity-actor { font-weight: 600; }
#dashboard .jlpm-activity-detail { color: #64705d; }
#dashboard .jlpm-activity-table .jlpm-activity-empty td { padding: 45px 20px; text-align: center; }
#dashboard .jlpm-activity-empty strong { font-size: 17px; }
#dashboard .jlpm-activity-empty p { margin: 8px 0 0; color: #64705d; }
#dashboard .jlpm-activity-pagination { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin: 24px 0; color: #64705d; font-size: 13px; }
#dashboard .jlpm-activity-pagination > div { display: flex; gap: 8px; }
#dashboard .jlpm-activity-coverage { border-top: 1px solid #e5eadd; padding-top: 20px; color: #64705d; font-size: 12px; line-height: 1.7; }
#dashboard .jlpm-activity-coverage p { margin: 0 0 10px; }
#dashboard .jlpm-activity-coverage summary { color: var(--activity-accent); cursor: pointer; font-weight: 600; padding: 5px 0; }
#dashboard .jlpm-activity-coverage details p { max-width: 86ch; margin: 10px 0 0; }
#dashboard .jlpm-activity-workspace :is(a, button, select, summary):focus-visible { outline: 2px solid var(--activity-accent); outline-offset: 3px; }
.jlpm-activity-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1100px) {
  #dashboard .jlpm-activity-table, #dashboard .jlpm-activity-table tbody { display: block; }
  #dashboard .jlpm-activity-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #dashboard .jlpm-activity-table tr { display: block; padding: 18px 0; border-bottom: 1px solid #e5eadd; }
  #dashboard .jlpm-activity-table td { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 5px 10px; width: auto; padding: 5px 0; border: 0; }
  #dashboard .jlpm-activity-table td::before { content: attr(data-label); font-size: 11px; color: #6b7565; font-weight: 600; }
  #dashboard .jlpm-activity-table td small { grid-column: 2; margin-top: 0; }
  #dashboard .jlpm-activity-event { justify-self: start; }
  #dashboard .jlpm-activity-table .jlpm-activity-empty td { display: block; padding: 18px 0; }
}
@media (max-width: 600px) {
  #dashboard .jlpm-activity-heading { align-items: flex-start; flex-direction: column; gap: 18px; margin-bottom: 22px; }
  #dashboard .jlpm-activity-filter > div { flex-basis: 100%; }
  #dashboard .jlpm-activity-filter .btn-primary { flex: 1; }
  #dashboard .jlpm-activity-table td { grid-template-columns: 82px minmax(0, 1fr); }
  #dashboard .jlpm-activity-caption { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { #dashboard .jlpm-activity-workspace .btn { transition: none; } }
/* End JLPM activity presentation v1. */


/* JLPM activity filters v1: date and actor controls in the existing workspace. */
#dashboard .jlpm-activity-filter { display: grid; grid-template-columns: minmax(180px, 1.4fr) minmax(180px, 1.4fr) minmax(135px, .85fr) minmax(135px, .85fr); align-items: end; }
#dashboard .jlpm-activity-filter input[type="date"] { display: block; width: 100%; min-width: 0; height: 44px; margin: 0; padding: 8px 10px; border: 1px solid #ccd6bf; border-radius: 8px; background: #fff; color: var(--activity-ink); font: inherit; font-size: 14px; box-sizing: border-box; }
#dashboard .jlpm-activity-filter .jlpm-activity-filter-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding-top: 4px; }
#dashboard .jlpm-activity-workspace input[type="date"]:focus-visible { outline: 2px solid var(--activity-accent); outline-offset: 3px; }
#dashboard .jlpm-activity-filter-error { margin: 16px 0; padding: 12px 16px; border-left: 3px solid #9b660c; background: #fff6e5; color: #704a11; font-size: 14px; }
@media (max-width: 1200px) { #dashboard .jlpm-activity-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { #dashboard .jlpm-activity-filter { grid-template-columns: minmax(0, 1fr); } }
/* End JLPM activity filters v1. */


/* JLPM storefront workspace v1: personal sharing inside the native dashboard. */
#dashboard .jlpm-storefront-workspace { --storefront-accent: #3a5400; --storefront-ink: #25301c; color: var(--storefront-ink); }
#dashboard .jlpm-storefront-workspace > form { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; padding: 0 0 24px; border-bottom: 1px solid #e5eadd; }
#dashboard .jlpm-storefront-workspace > form label { margin: 0; font-size: 13px; }
#dashboard .jlpm-storefront-workspace > form select { width: min(280px, 100%); min-height: 44px; margin: 0; padding: 8px 12px; border: 1px solid #d1dbc5; border-radius: 8px; background: #fff; color: var(--storefront-ink); font: inherit; }
#dashboard .jlpm-storefront-workspace h2, #dashboard .jlpm-storefront-workspace h3 { color: var(--storefront-ink); font-family: inherit; }
#dashboard .jlpm-storefront-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; }
#dashboard .jlpm-storefront-eyebrow { display: block; margin-bottom: 8px; color: var(--storefront-accent); font-size: 12px; font-weight: 600; }
#dashboard .jlpm-storefront-heading h2 { margin: 0 0 10px; font-size: clamp(25px, 2.2vw, 34px); line-height: 1.2; }
#dashboard .jlpm-storefront-workspace p { max-width: 78ch; margin: 0; color: #64705d; font-size: 14px; line-height: 1.7; }
#dashboard .jlpm-storefront-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }
#dashboard .jlpm-storefront-workspace .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; line-height: 1.5; transition: background-color .15s ease, color .15s ease; }
#dashboard .jlpm-storefront-workspace .btn-primary { background: var(--storefront-accent); color: #fff; border: 1px solid var(--storefront-accent); }
#dashboard .jlpm-storefront-workspace .btn-primary:hover { background: #283c00; border-color: #283c00; }
#dashboard .jlpm-storefront-secondary { background: #fff; color: var(--storefront-accent); border: 1px solid #d8e0cc; }
#dashboard .jlpm-storefront-secondary:hover { background: #f3f6ed; }
#dashboard .jlpm-storefront-workspace h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; line-height: 1.4; }
#dashboard .jlpm-storefront-share-layout { display: grid; grid-template-columns: minmax(0, 1fr) 184px; align-items: center; gap: 48px; padding: 32px 0; border-top: 1px solid #e5eadd; border-bottom: 1px solid #e5eadd; }
#dashboard .jlpm-storefront-share-layout label { display: block; margin: 22px 0 8px; color: var(--storefront-ink); font-size: 12px; font-weight: 600; }
#dashboard .jlpm-storefront-link-control { display: flex; align-items: stretch; gap: 10px; max-width: 760px; }
#dashboard .jlpm-storefront-link-control input { width: 100%; min-width: 0; height: 46px; margin: 0; padding: 10px 14px; border: 1px solid #d1dbc5; border-radius: 8px; background: #f8faf5; color: var(--storefront-ink); font: inherit; font-size: 14px; }
#dashboard .jlpm-storefront-link-control button { flex-shrink: 0; cursor: pointer; }
#dashboard .jlpm-storefront-workspace .jlpm-share-status { min-height: 22px; padding-top: 5px; color: var(--storefront-accent); font-size: 12px; }
#dashboard .jlpm-storefront-workspace .jlpm-storefront-note { font-size: 12px; line-height: 1.7; }
#dashboard .jlpm-storefront-qr { margin: 0; text-align: center; }
#dashboard .jlpm-storefront-qr img { display: block; width: 152px; height: 152px; margin: 0 auto 12px; background: #fff; }
#dashboard .jlpm-storefront-qr a { display: inline-flex; align-items: center; min-height: 44px; color: var(--storefront-accent); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
#dashboard .jlpm-storefront-catalog { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 28px; padding: 22px 24px; background: #f4f7ec; border-radius: 8px; }
#dashboard .jlpm-storefront-catalog h3 { font-size: 16px; margin-bottom: 5px; }
#dashboard .jlpm-storefront-catalog p { font-size: 13px; }
#dashboard .jlpm-storefront-catalog > span { flex-shrink: 0; color: var(--storefront-accent); font-size: 12px; font-weight: 600; }
#dashboard .jlpm-storefront-metrics { padding-top: 32px; }
#dashboard .jlpm-storefront-metrics dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 24px 0 20px; }
#dashboard .jlpm-storefront-metrics dl > div { min-width: 0; padding: 0 24px; border-left: 1px solid #e5eadd; }
#dashboard .jlpm-storefront-metrics dl > div:first-child { padding-left: 0; border-left: 0; }
#dashboard .jlpm-storefront-metrics dt { margin: 0 0 8px; color: #64705d; font-size: 12px; font-weight: 400; }
#dashboard .jlpm-storefront-metrics dd { margin: 0; color: var(--storefront-ink); font-size: 30px; font-weight: 600; line-height: 1.3; }
#dashboard .jlpm-storefront-workspace :is(a, button, input, select):focus-visible { outline: 2px solid var(--storefront-accent); outline-offset: 3px; }
@media (max-width: 1100px) {
  #dashboard .jlpm-storefront-heading { align-items: flex-start; flex-direction: column; }
  #dashboard .jlpm-storefront-share-layout { gap: 24px; }
  #dashboard .jlpm-storefront-catalog { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 650px) {
  #dashboard .jlpm-storefront-share-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  #dashboard .jlpm-storefront-qr { justify-self: start; }
  #dashboard .jlpm-storefront-link-control { flex-direction: column; }
  #dashboard .jlpm-storefront-actions { width: 100%; }
  #dashboard .jlpm-storefront-actions .btn { flex: 1; }
  #dashboard .jlpm-storefront-metrics dl { grid-template-columns: minmax(0, 1fr); margin: 18px 0; }
  #dashboard .jlpm-storefront-metrics dl > div, #dashboard .jlpm-storefront-metrics dl > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; border-left: 0; border-bottom: 1px solid #e5eadd; }
  #dashboard .jlpm-storefront-metrics dt { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { #dashboard .jlpm-storefront-workspace .btn { transition: none; } }
/* End JLPM storefront workspace v1. */


/* JLPM agent maintenance v1: extend native RealHomes administration layouts. */
#dashboard .jlpm-agent-maintenance .column-agent-agency { display: none; }
#dashboard .jlpm-agent-maintenance-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 28px; }
#dashboard .jlpm-agent-maintenance-heading span { color: #3a5400; font-size: 12px; font-weight: 600; }
#dashboard .jlpm-agent-maintenance-heading h2 { margin: 8px 0; font-family: inherit; color: #25301c; font-size: 28px; }
#dashboard .jlpm-agent-maintenance-heading p { margin: 0; color: #64705d; font-size: 13px; }
#dashboard .jlpm-agent-maintenance-heading nav { display: flex; flex-wrap: wrap; gap: 10px; }
#dashboard .jlpm-agent-maintenance-search { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 20px 0; border-top: 1px solid #e5eadd; border-bottom: 1px solid #e5eadd; margin-bottom: 24px; }
#dashboard .jlpm-agent-maintenance-search label { font-size: 13px; margin: 0; }
#dashboard .jlpm-agent-maintenance-search input[type="search"] { min-width: 0; width: min(360px, 100%); height: 44px; border: 1px solid #d1dbc5; border-radius: 8px; padding: 10px 12px; }
#dashboard .jlpm-agent-maintenance .btn { min-height: 44px; border-radius: 8px; padding: 11px 18px; line-height: 1.5; }
#dashboard .jlpm-agent-maintenance .btn-primary { background: #3a5400; border-color: #3a5400; color: #fff; }
#dashboard .jlpm-agent-publication-field { margin: 0 0 24px; padding: 20px; background: #f4f7ec; border-radius: 8px; }
#dashboard .jlpm-agent-publication-field select { width: min(300px, 100%); min-height: 44px; margin: 8px 0; border: 1px solid #d1dbc5; border-radius: 8px; background: #fff; }
#dashboard .jlpm-agent-publication-field p { color: #64705d; font-size: 12px; line-height: 1.7; margin: 8px 0 0; }
#dashboard .jlpm-agent-maintenance-empty { padding: 28px 0; color: #64705d; }
#dashboard .jlpm-agent-maintenance :is(a, input, select, button):focus-visible { outline: 2px solid #3a5400; outline-offset: 3px; }
@media (max-width: 900px) { #dashboard .jlpm-agent-maintenance-heading { align-items: flex-start; flex-direction: column; } }
/* End JLPM agent maintenance v1. */

/* JLPM agent account approvals v1. */
.jlpm-agent-maintenance .post-column-wrap{flex-wrap:wrap}
.jlpm-agent-maintenance .post-actions-wrapper{position:static;width:100%;justify-content:flex-end;margin-top:12px}
.jlpm-agent-account{flex:0 0 100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;margin-top:16px;border-top:1px solid #e1e7d7;background:#f7f9f2}
.jlpm-agent-account small{display:block;color:#626957;margin-top:5px}
.jlpm-agent-account p{margin:0}
.jlpm-agent-account-actions{display:flex;gap:10px;flex-shrink:0}
.jlpm-agent-account-actions .btn{padding:10px 18px;min-height:44px}
.jlpm-agent-account-actions .btn:disabled{opacity:.45;cursor:default}
#jlpm-agent-approval-confirm{width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #dce4d0;border-radius:12px;padding:28px;color:#263021;background:white;box-sizing:border-box}
#jlpm-agent-approval-confirm::backdrop{background:rgba(22,30,17,.55)}
#jlpm-agent-approval-confirm h3{margin:0 0 18px;color:#334d00}
#jlpm-agent-approval-confirm p{line-height:1.6;margin:12px 0}
#jlpm-agent-approval-confirm>div{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:24px}
#jlpm-agent-approval-confirm .btn-primary{background:#395300;color:white;border-color:#395300}
#jlpm-agent-approval-confirm .btn-secondary{background:white;color:#395300;border:1px solid #7b8a5a}
#jlpm-agent-approval-confirm button:focus-visible,.jlpm-agent-approval:focus-visible{outline:3px solid #7e9d33;outline-offset:3px}
@media(max-width:600px){.jlpm-agent-account{align-items:flex-start;flex-direction:column;padding:16px}.jlpm-agent-account-actions{width:100%}.jlpm-agent-account-actions .btn{flex:1}}
/* End JLPM agent account approvals v1. */

/* JLPM private birthdays v1. */
.jlpm-birthday-fields{border:1px solid #dce4d0;border-radius:8px;padding:24px;margin:0 0 30px;background:#f7f9f2}
.jlpm-birthday-fields legend{font-size:18px;font-weight:600;color:#334d00;width:auto;padding:0 8px;margin:0}
.jlpm-birthday-fields>div{display:flex;gap:20px;max-width:600px}
.jlpm-birthday-fields>div>p{flex:1;min-width:0}
.jlpm-birthday-fields select{width:100%;min-height:44px}
.jlpm-team-birthdays{background:white;padding:28px!important;color:#283123}
.jlpm-team-birthdays header{max-width:760px;margin-bottom:28px}
.jlpm-team-birthdays header>span{font-size:13px;font-weight:600;color:#536c29}
.jlpm-team-birthdays h2{margin:8px 0 12px}
.jlpm-team-birthdays p{line-height:1.6}
.jlpm-team-birthdays table{width:100%;border-collapse:collapse;margin-bottom:24px}
.jlpm-team-birthdays th,.jlpm-team-birthdays td{text-align:left;padding:16px;border-bottom:1px solid #e0e6da;overflow-wrap:anywhere}
.jlpm-team-birthdays thead{background:#f3f6ed;color:#395300}
.jlpm-team-birthdays tbody th{font-weight:500}
.jlpm-team-birthdays nav{display:flex;gap:20px;margin:20px 0}
.jlpm-team-birthdays .btn-primary{background:#395300;color:white}
@media(max-width:600px){.jlpm-birthday-fields{padding:16px}.jlpm-birthday-fields>div{gap:12px}.jlpm-team-birthdays{padding:18px!important}.jlpm-team-birthdays th,.jlpm-team-birthdays td{padding:14px 8px}}
/* End JLPM private birthdays v1. */


/* JLPM mobile dashboard sidebar scrolling v1. */
@media (max-width: 1199px) {
  #dashboard #dashboard-sidebar {
    box-sizing: border-box;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }
  #dashboard #dashboard-menu {
    box-sizing: border-box;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    padding-bottom: max(30px, env(safe-area-inset-bottom));
  }
}
/* End JLPM mobile dashboard sidebar scrolling v1. */


/* JLPM compact mobile dashboard navigation v1. */
.jlpm-dashboard-submenu-toggle { display: none; }
@media (max-width: 1199px) {
  .rh-header-slim .rh-header-slim-left { padding: 10px 16px; min-height: 76px; }
  .rh-header-slim .rh-logo { margin-right: auto; }
  .rh-header-slim .rh-logo img { display: block; width: auto; height: auto; max-width: 128px; max-height: 56px; }
  #dashboard-menu > .has-submenu { position: relative; }
  #dashboard-menu > .has-submenu > a { padding-right: 64px; }
  #dashboard-menu > .jlpm-has-submenu-toggle > a > .fa-angle-down { display: none; }
  #dashboard-menu .jlpm-dashboard-submenu-toggle {
    display: flex; align-items: center; justify-content: center;
    position: absolute; top: 3px; right: 8px; width: 44px; height: 44px;
    padding: 0; border: 0; border-radius: 6px; cursor: pointer;
    background: transparent; color: var(--dashboard-sidebar-menu-color);
    touch-action: manipulation;
  }
  #dashboard-menu .jlpm-dashboard-submenu-toggle .fa-angle-down { position: static; margin: 0; color: inherit; }
  #dashboard-menu .jlpm-dashboard-submenu-toggle[aria-expanded="true"] .fa-angle-down { transform: rotate(180deg); }
  #dashboard-menu .jlpm-dashboard-submenu-toggle:hover,
  #dashboard-menu .jlpm-dashboard-submenu-toggle:focus-visible { color: var(--dashboard-sidebar-menu-hover-color); background: var(--dashboard-sidebar-menu-hover-bg-color); }
  #dashboard-menu .jlpm-dashboard-submenu-toggle:focus-visible { outline: 2px solid var(--dashboard-primary-color); outline-offset: -2px; }
  #dashboard-menu .submenu[hidden] { display: none !important; }
}
/* End JLPM compact mobile dashboard navigation v1. */


/* JLPM mobile dashboard header search v1. */
@media (max-width: 1199px) {
  .rh-header-slim .rh-header-slim-right > .search-wrapper { display: none; }
}
/* End JLPM mobile dashboard header search v1. */

/* JLPM property description copyright emphasis v1. */
body.single-property p.jlpm-property-copyright {
  box-sizing: border-box;
  margin: 28px 0 24px;
  padding: 18px 22px;
  border: 1px solid #dfe5d5;
  border-left: 4px solid #3a5400;
  border-radius: 0 8px 8px 0;
  background: #f4f7ee;
  color: #344022;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}
@media (max-width: 600px) {
  body.single-property p.jlpm-property-copyright { padding: 16px; }
}
/* End JLPM property description copyright emphasis v1. */

/* JLPM balanced desktop dashboard logo v1. */
@media (min-width: 1200px) {
  .rh-header-slim .rh-logo { margin-right: 0; }
  .rh-header-slim .rh-logo img { display: block; width: 180px; max-width: 100%; height: auto; margin: 0 auto; }
}
/* End JLPM balanced desktop dashboard logo v1. */


/* JLPM agent list property formatting v1. */
#dashboard-agents .dashboard-posts-list-topnav { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; overflow: visible; }
#dashboard-agents .dashboard-posts-list-topnav #property-status-filter { float: none; margin: 0; }
#dashboard-agents .dashboard-posts-list-topnav .paging-entries { float: none; margin: 0 0 0 auto; }
#dashboard #dashboard-agents .jlpm-agent-maintenance-search { display: block; flex: 0 0 100%; min-width: 0; margin: 0; padding: 0; border: 0; }
#dashboard #dashboard-agents .jlpm-agent-maintenance-search label { display: block; font-size: 14px; margin: 0 0 8px; }
#dashboard-agents .jlpm-agent-search-input { display: flex; align-items: stretch; gap: 8px; }
#dashboard #dashboard-agents .jlpm-agent-search-input input[type=search] { min-width: 0; width: 100%; height: auto; min-height: 44px; margin: 0; border: 0; border-radius: 4px; box-shadow: 0 2px 5px #00000014; }
#dashboard #dashboard-agents .jlpm-agent-search-input .btn { flex-shrink: 0; min-height: 44px; padding: 10px 15px; margin: 0; border-radius: 3px; font-weight: 500; }
#dashboard-agents .jlpm-agent-maintenance-search > a { display: inline-block; margin-top: 8px; font-size: 13px; }
#dashboard-agents .small-column-wrap .column-date { order: -1; }
#dashboard-agents .agent-title { margin-top: 0; }
#dashboard-agents .agent-details-separator { display: none; }
#dashboard-agents .agent-contacts-list { gap: 12px 20px; }
#dashboard-agents .agent-contact-item-label { font-size: 13px; font-weight: 400; margin-bottom: 6px; }
#dashboard-agents .agent-contact-item a { font-size: 14px; overflow-wrap: anywhere; }
#dashboard-agents .agent-thumbnail { margin: 0; }
#dashboard-agents .agent-thumbnail > a { display: block; width: 100%; aspect-ratio: 4 / 3; background: #e9eceb; }
#dashboard-agents .agent-thumbnail img, #dashboard-agents .agent-thumb-placeholder { width: 100%; max-width: none; height: 100%; object-fit: contain; }
#dashboard-agents .post-actions-wrapper { display: block; order: 3; width: auto; text-align: left; margin: 0 0 0 auto; padding: 15px 10px; }
#dashboard-agents .jlpm-agent-account { order: 2; flex: 1 1 55%; justify-content: flex-start; margin-top: 0; padding: 16px 10px; border: 0; background: transparent; font-size: 13px; }
#dashboard-agents .jlpm-agent-account-actions .btn { min-height: 38px; padding: 9px 12px; border-radius: 3px; font-size: 13px; }
#dashboard-agents .jlpm-agent-account-actions .btn-secondary { background: transparent; color: var(--dashboard-primary-color); border: 1px solid var(--dashboard-primary-color); }
@media (max-width: 991px) {
  #dashboard-agents .dashboard-posts-list-body .small-column-wrap:has(.jlpm-maintenance-date-column) .column-agent-properties-count,
  #dashboard-agents .dashboard-posts-list-body .small-column-wrap:has(.jlpm-maintenance-date-column) .column-status { display: block; flex: 1 1 50%; }
  #dashboard-agents .column-agent-properties-count::before { content: 'Listings Count'; display: block; margin-bottom: 6px; font-size: 12px; }
  #dashboard-agents .column-status::before { content: 'Status'; display: block; margin-bottom: 6px; font-size: 12px; }
  #dashboard-agents .post-actions-wrapper { order: 2; width: 100%; margin-left: 0; }
  #dashboard-agents .jlpm-agent-account { order: 3; flex-basis: 100%; }
  #dashboard-agents .post-actions-wrapper strong { display: block; margin-left: 0; }
}
@media (max-width: 767px) { #dashboard-agents .dashboard-posts-list-topnav .paging-entries { margin-left: 0; } }
/* End JLPM agent list property formatting v1. */

/* Shared agent storefront: keep native profile contacts inside narrow cards. */
body.single-agent .elementor-widget-rhea-ultra-agent-card-widget .agent-card-inner {
    flex-wrap: wrap;
}
body.single-agent .elementor-widget-rhea-ultra-agent-card-widget .agent-details {
    flex: 1 1 180px;
    min-width: 0;
    max-width: 100%;
}
body.single-agent .elementor-widget-rhea-ultra-agent-card-widget .agent-contact-item-inner {
    min-width: 0;
    max-width: 100%;
}
body.single-agent .elementor-widget-rhea-ultra-agent-card-widget .agent-title,
body.single-agent .elementor-widget-rhea-ultra-agent-card-widget .agent-contact-item-inner a,
body.single-agent .jlpm-agent-cta-email .elementor-heading-title {
    overflow-wrap: anywhere;
}

/* Property detail: wrap heading tags and keep labels with no saved color legible. */
body.single-property .rh-ultra-thumb-info-box .rh-ultra-property-tags {
    flex-wrap: wrap;
    row-gap: 4px;
}
body.single-property .rh-ultra-thumb-info-box .rh-ultra-label {
    background-color: var(--rh-global-color-primary);
}

/* Dashboard property entry: keep the tab rail compact on tablets and landscape phones. */
@media (min-width: 768px) and (max-width: 1199px) {
    #dashboard-submit-property > .draft-button-wrap {
        position: static;
        justify-content: flex-end;
        padding: 8px 12px;
        background: #fff;
    }
    #submit-property-form.submit-property-form-wizard #dashboard-tabs-nav {
        flex-direction: row !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        align-items: stretch;
        max-width: 100%;
        min-width: 0;
        scrollbar-width: thin;
        scrollbar-color: var(--dashboard-primary-color) transparent;
        overscroll-behavior-x: contain;
    }
    #submit-property-form.submit-property-form-wizard #dashboard-tabs-nav > li {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        white-space: nowrap;
        min-height: 48px;
        padding: 15px 16px;
    }
}

/* Dashboard empty states: leave enough room for the message on phones. */
@media (max-width: 767px) {
    #dashboard .dashboard-no-items {
        box-sizing: border-box;
        width: 100%;
        max-width: 480px;
        margin: 40px auto;
        padding: 28px 24px;
    }
}

/* JLPM blog content: readable image spacing and native classic galleries. */
.single-post .entry-content > p > img { max-width:calc(100% - 12px);height:auto;vertical-align:top;margin:0 12px 16px 0; }
.single-post .entry-content .gallery { display:grid;grid-template-columns:repeat(var(--jlpm-gallery-columns,3),minmax(0,1fr));gap:20px;margin:24px 0!important; }
.single-post .entry-content .gallery-columns-1 { --jlpm-gallery-columns:1; }
.single-post .entry-content .gallery-columns-2 { --jlpm-gallery-columns:2; }
.single-post .entry-content .gallery-columns-3 { --jlpm-gallery-columns:3; }
.single-post .entry-content .gallery-columns-4 { --jlpm-gallery-columns:4; }
.single-post .entry-content .gallery-columns-5 { --jlpm-gallery-columns:5; }
.single-post .entry-content .gallery-columns-6 { --jlpm-gallery-columns:6; }
.single-post .entry-content .gallery-columns-7 { --jlpm-gallery-columns:7; }
.single-post .entry-content .gallery-columns-8 { --jlpm-gallery-columns:8; }
.single-post .entry-content .gallery-columns-9 { --jlpm-gallery-columns:9; }
.single-post .entry-content .gallery .gallery-item { float:none!important;width:auto!important;min-width:0;margin:0!important; }
.single-post .entry-content .gallery .gallery-icon { margin:0; }
.single-post .entry-content .gallery img { display:block;max-width:100%;height:auto;margin:0 auto;border:0!important; }
.single-post .entry-content .gallery .gallery-caption { margin:8px 0 0;overflow-wrap:anywhere; }
.single-post .entry-content .gallery > br { display:none; }
@media(max-width:767px){.single-post .entry-content .gallery:not(.gallery-columns-1){grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:480px){.single-post .entry-content .gallery{grid-template-columns:minmax(0,1fr)!important;gap:20px}.single-post .entry-content > p > img{max-width:100%;margin-right:0}}
/* End JLPM blog image spacing. */

/* Reserve clearance for the native storefront feature toggle. */
#jlpm-agent-search { margin-bottom: 64px !important; }

/* Private document images: view-only tiles matching the submission gallery size. */
.jlpm-private-documents .jlpm-private-image-gallery { display:flex; flex-wrap:wrap; gap:16px; padding:0; margin:24px 0; list-style:none; }
.jlpm-private-documents .jlpm-private-image-gallery > li { flex:0 0 114px; max-width:100%; padding:0; margin:0; list-style:none; }
.jlpm-private-documents .jlpm-private-image-gallery > li::before { content:none; }
.jlpm-private-documents .jlpm-private-image-gallery a { display:block; padding:0; background:#e9ebec; border-radius:0; overflow:hidden; }
.jlpm-private-documents .jlpm-private-image-gallery a:focus-visible { outline:3px solid #405500; outline-offset:3px; }
.jlpm-private-documents .jlpm-private-image-gallery img { display:block; width:114px; max-width:100%; height:114px; margin:0; object-fit:contain; -webkit-user-drag:none; }

/* Internal-note tables keep readable columns inside their existing scroll area. */
.single-property .jlpm-private-note-content { min-width:0; max-width:100%; overflow-x:auto; }
.single-property .jlpm-private-note-content table { table-layout:auto; min-width:640px; }
.single-property .jlpm-private-note-content th,
.single-property .jlpm-private-note-content td { white-space:nowrap; }
