.lease-business .lease-gallery { display: block; min-width: 0; scroll-margin-top: 96px; }
.lease-gallery-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 24px; }
.lease-gallery-heading .lease-kicker { display: block; margin-bottom: 10px; }
.lease-business .lease-gallery-heading h2 { font-size: 32px; font-weight: 400; line-height: 1.2; margin: 0; color: var(--lease-text); }
.lease-gallery-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lease-gallery-controls output { min-width: 76px; margin-right: 12px; color: var(--lease-muted); font-size: 12px; font-variant-numeric: tabular-nums; text-align: center; }
.lease-business .lease-gallery-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 1px solid #81969f; border-radius: 6px; background: #fff; color: #17252b; cursor: pointer; text-decoration: none; }
.lease-business .lease-gallery-button:hover:not(:disabled) { background: #007a64; border-color: #007a64; color: #fff; }
.lease-business .lease-gallery-button:disabled { background: #eaf1f2; border-color: #d5dfe3; color: #768b94; cursor: default; }
.lease-gallery-button svg { width: 18px; height: 18px; }
.lease-gallery-track { display: flex; gap: 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #007a64 #eaf1f2; border: 1px solid var(--lease-border); border-radius: 8px; background: #fff; }
.lease-gallery.is-enhanced .lease-gallery-track { scrollbar-width: none; }
.lease-gallery.is-enhanced .lease-gallery-track::-webkit-scrollbar { display: none; }
.lease-gallery-slide { display: flex; flex-direction: column; flex: 0 0 100%; min-width: 0; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.lease-gallery-media { height: min(520px, 44vw); min-height: 220px; padding: 24px; border-top: 3px solid var(--product-surface, #78dbc2); background: #eaf1f2; background: color-mix(in srgb, var(--product-surface, #78dbc2) 20%, #f6f8fa); }
.lease-gallery-media img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px #17252b17); }
.lease-gallery-slide figcaption { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 24px; min-height: 98px; flex: 1; background: #fff; border-top: 1px solid var(--lease-border); }
.lease-gallery-slide figcaption > span { min-width: 0; }
.lease-gallery-slide figcaption strong { display: block; color: #17252b; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.lease-gallery-slide figcaption small { display: block; color: #52646d; font-size: 12px; line-height: 1.6; margin-top: 5px; }
.lease-gallery-thumbnails { display: flex; gap: 12px; overflow-x: auto; padding: 16px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: #81969f transparent; }
.lease-business .lease-gallery-thumbnail { display: flex; flex-direction: column; width: 156px; flex: 0 0 156px; padding: 6px; border: 2px solid transparent; border-radius: 6px; background: transparent; color: #52646d; text-align: left; cursor: pointer; scroll-snap-align: start; }
.lease-business .lease-gallery-thumbnail:hover { background: #eaf1f2; color: #17252b; }
.lease-business .lease-gallery-thumbnail[aria-pressed='true'] { background: #fff; border-color: #007a64; color: #006450; }
.lease-gallery-thumbnail > img { display: block; width: 100%; height: 80px; object-fit: contain; background: #eaf1f2; border-radius: 2px; }
.lease-gallery-thumbnail > span { display: flex; align-items: flex-start; gap: 8px; padding: 9px 2px 3px; font-size: 11px; line-height: 1.5; }
.lease-gallery-thumbnail b { font-size: 10px; line-height: 1.65; font-variant-numeric: tabular-nums; }
.lease-gallery-thumbnail > span > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; min-height: 33px; }
.lease-gallery:not(.is-enhanced) .lease-gallery-controls button,
.lease-gallery:not(.is-enhanced) .lease-gallery-thumbnails,
.lease-gallery:not(.is-enhanced) .lease-gallery-controls output { display: none; }
.lease-business .lease-gallery-dialog { width: min(1400px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 1px solid #536c76; border-radius: 8px; background: #08151c; color: #eef5f3; }
.lease-gallery-dialog::backdrop { background: #08151ce8; }
.lease-gallery-dialog[open] { display: flex; flex-direction: column; }
.lease-gallery-dialog header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 24px; border-bottom: 1px solid #2c414b; }
.lease-gallery-dialog header > div { min-width: 0; }
.lease-gallery-dialog header strong { display: block; font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.lease-gallery-dialog header small { display: block; margin-top: 3px; color: #adbec3; font-size: 12px; line-height: 1.5; }
.lease-gallery-dialog-stage { display: flex; min-height: 0; justify-content: center; align-items: center; padding: 18px; background: #10232c; }
.lease-gallery-dialog-stage img { display: block; width: 100%; height: min(68dvh, 820px); min-height: 0; object-fit: contain; }
.lease-gallery-dialog-stage.is-zoomed { display: block; height: min(68dvh, 820px); flex: 0 1 auto; overflow: auto; overscroll-behavior: contain; }
.lease-gallery-dialog-stage.is-zoomed img { width: auto; height: auto; max-width: none; max-height: none; margin-inline: auto; }
[data-gallery-zoom][aria-pressed='false'] .lucide-zoom-out, [data-gallery-zoom][aria-pressed='true'] .lucide-zoom-in { display: none; }
.lease-gallery-dialog footer { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; padding: 14px 24px; }
.lease-gallery-dialog footer output { min-width: 70px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.lease-business .lease-gallery-dialog .lease-gallery-button { background: #172e37; color: #eef5f3; border-color: #536c76; }
.lease-business .lease-gallery-dialog .lease-gallery-button:hover:not(:disabled) { background: #caff76; border-color: #caff76; color: #142619; }
.lease-business .lease-gallery-dialog .lease-gallery-button:disabled { background: #10232c; color: #70848e; border-color: #2c414b; }
.lease-gallery-dialog footer a { display: inline-flex; gap: 6px; align-items: center; color: #78dbc2; margin-left: auto; font-size: 12px; }
.lease-gallery-dialog footer a svg { width: 15px; height: 15px; }
.lease-gallery-dialog :focus-visible { outline-color: #caff76; }
body.lease-gallery-modal-open { overflow: hidden; }
@media (max-width: 760px) {
    .lease-gallery-heading { gap: 14px; align-items: center; }
    .lease-business .lease-gallery-heading h2 { font-size: 24px; }
    .lease-gallery-heading .lease-kicker { font-size: 10px; }
    .lease-gallery-controls { gap: 6px; }
    .lease-gallery-controls output { min-width: 47px; margin-right: 0; font-size: 11px; }
    .lease-gallery-media { height: 240px; min-height: 0; padding: 12px; }
    .lease-gallery-slide figcaption { gap: 12px; padding: 16px; min-height: 112px; }
    .lease-gallery-slide figcaption strong { font-size: 14px; }
    .lease-gallery-slide figcaption small { font-size: 11px; }
    .lease-business .lease-gallery-thumbnail { width: 120px; flex-basis: 120px; }
    .lease-gallery-thumbnail > img { height: 62px; }
    .lease-business .lease-gallery-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
    .lease-gallery-dialog header { padding: 14px; gap: 12px; }
    .lease-gallery-dialog header strong { font-size: 14px; }
    .lease-gallery-dialog header small { font-size: 11px; }
    .lease-gallery-dialog-stage { padding: 8px; }
    .lease-gallery-dialog-stage img { height: 55dvh; }
    .lease-gallery-dialog-stage.is-zoomed { height: 55dvh; }
    .lease-gallery-dialog-stage.is-zoomed img { height: auto; }
    .lease-gallery-dialog footer { padding: 12px; gap: 8px; }
    .lease-gallery-dialog footer a { font-size: 11px; }
}
@media (max-width: 380px) {
    .lease-gallery-heading { align-items: flex-start; flex-direction: column; }
    .lease-gallery-controls { align-self: flex-end; }
    .lease-gallery-media { height: 200px; padding: 8px; }
}
