/*
 * Public pages after the home: search, area, building and room detail, request forms, content and news.
 * Builds on listing.css (tokens, header, footer, cards). Same spacing rule: only the --s* scale.
 */

/* ------------------------------------------------------------------ shared bits */
.lx-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lx-ok { color: var(--lx-ok); }
.lx-warn { color: var(--lx-accent); }
.lx-small { font-size: .82rem; }
.lx-lead { font-size: 1.05rem; color: var(--lx-ink-2); }
.lx-eyebrow { display: inline-flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--lx-primary); }
.lx-link--plain { margin: 0; font-weight: 600; }
.lx-btn--sm { height: 36px; padding: 0 var(--s4); font-size: .86rem; }
.lx-btn--lg { height: 52px; font-size: 1rem; }
.lx-badge--soft { background: var(--lx-primary-soft); color: var(--lx-primary); }
.lx-section--flush { padding-bottom: 0; }
.lx-narrow { max-width: 720px; }
.lx-card { position: relative; }

.lx-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-bottom: var(--s4); font-size: .84rem; color: var(--lx-muted); }
.lx-crumbs a:hover { color: var(--lx-primary); }
.lx-crumbs i { font-size: .65rem; }
.lx-crumbs [aria-current] { color: var(--lx-ink); font-weight: 500; }

.lx-chipbtn {
    display: inline-flex; align-items: center; gap: var(--s2); height: 40px; padding: 0 var(--s4); border-radius: 999px;
    border: 1px solid var(--lx-line); background: var(--lx-surface); font: inherit; font-size: .88rem; font-weight: 500; color: var(--lx-ink); cursor: pointer; white-space: nowrap;
}
.lx-chipbtn:hover { border-color: var(--lx-ink-2); }
.lx-chipbtn[aria-pressed="true"] { border-color: #e11d48; color: #e11d48; }
.lx-chipbtn[aria-pressed="true"] .bi-heart::before { content: "\f415"; }
.lx-chipbtn__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 var(--s1); border-radius: 999px; background: var(--lx-primary); color: #fff; font-size: .72rem; font-weight: 700; }

/* save heart on cards */
.lx-heart {
    position: absolute; top: var(--s3); right: var(--s3); z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--lx-ink); font-size: 1rem; cursor: pointer; box-shadow: var(--lx-shadow);
    transition: transform .15s;
}
.lx-heart:hover { transform: scale(1.08); }
.lx-heart[aria-pressed="true"] { color: #e11d48; }
.lx-heart[aria-pressed="true"] .bi-heart::before { content: "\f415"; }
.lx-card .lx-score { top: auto; right: var(--s3); bottom: var(--s3); }
.lx-count { position: absolute; left: var(--s3); bottom: var(--s3); display: inline-flex; align-items: center; gap: var(--s1); padding: var(--s1) var(--s2); border-radius: 999px; background: rgba(21, 32, 43, .72); color: #fff; font-size: .74rem; font-weight: 600; }
.lx-dist { margin-left: var(--s2); padding: 0 var(--s2); border-radius: 999px; background: var(--lx-bg); font-size: .76rem; font-weight: 600; color: var(--lx-ink-2); }
.lx-saved-link { position: relative; color: var(--lx-ink); }
.lx-saved-count { position: absolute; top: calc(-1 * var(--s1)); right: calc(-1 * var(--s1)); display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 var(--s1); border-radius: 999px; background: #e11d48; color: #fff; font-size: .68rem; font-weight: 700; }
.lx-saved-count[hidden] { display: none; }

/* segmented radios + checks */
.lx-seg { display: inline-flex; flex-wrap: wrap; gap: var(--s1); padding: var(--s1); border-radius: 999px; background: var(--lx-bg); border: 1px solid var(--lx-line); }
.lx-seg--wrap, .lx-form .lx-seg { border-radius: var(--lx-radius-md); }
.lx-seg label { position: relative; margin: 0; cursor: pointer; }
.lx-seg input { position: absolute; opacity: 0; pointer-events: none; }
.lx-seg span { display: inline-flex; align-items: center; height: 36px; padding: 0 var(--s4); border-radius: 999px; font-size: .86rem; font-weight: 500; color: var(--lx-ink-2); }
.lx-seg input:checked + span { background: var(--lx-surface); color: var(--lx-primary); font-weight: 600; box-shadow: 0 1px 3px rgba(21, 32, 43, .14); }
.lx-seg input:focus-visible + span { outline: 3px solid rgba(14, 107, 92, .35); }
.lx-seg--sm span { height: 32px; padding: 0 var(--s3); font-size: .8rem; }
.lx-check { display: inline-flex; align-items: flex-start; gap: var(--s2); margin: 0; font-size: .9rem; cursor: pointer; }
.lx-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--lx-primary); flex-shrink: 0; }
.lx-checks { display: flex; flex-wrap: wrap; gap: var(--s2); }
.lx-check--chip { position: relative; }
.lx-check--chip input { position: absolute; opacity: 0; }
.lx-check--chip span { display: inline-flex; align-items: center; gap: var(--s2); padding: var(--s2) var(--s3); border-radius: 999px; border: 1px solid var(--lx-line); background: var(--lx-surface); font-size: .86rem; }
.lx-check--chip span i { color: var(--lx-primary); }
.lx-check--chip input:checked + span { border-color: var(--lx-primary); background: var(--lx-primary-soft); color: var(--lx-primary); font-weight: 600; }
.lx-check--chip input:focus-visible + span { outline: 3px solid rgba(14, 107, 92, .35); }

/* modal (filters, booking) */
.lx-modal[hidden] { display: none; }
/* one column as wide as the screen: long one-line texts inside can never widen the dialog past it */
.lx-modal { position: fixed; inset: 0; z-index: 70; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: var(--s4); }
.lx-modal__backdrop { position: absolute; inset: 0; background: rgba(13, 22, 20, .5); }
.lx-modal__panel {
    position: relative; display: flex; flex-direction: column; width: min(640px, 100%); max-height: calc(100vh - 2 * var(--s4));
    border-radius: var(--lx-radius); background: var(--lx-surface); box-shadow: var(--lx-shadow-pop); animation: lx-pop .18s ease-out;
}
@keyframes lx-pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.lx-modal__panel--side { width: min(480px, 100%); margin-left: auto; height: calc(100vh - 2 * var(--s4)); }
.lx-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s4); padding: var(--s5) var(--s5) var(--s4); border-bottom: 1px solid var(--lx-line); }
.lx-modal__head h2 { font-size: 1.2rem; }
.lx-modal__head > div { min-width: 0; }
.lx-modal__head > .lx-icon-btn { flex-shrink: 0; }
/* one line subtitle: a long building name is cut with an ellipsis instead of breaking the header */
.lx-modal__head p { margin-top: var(--s1); font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#hold .lx-modal__panel { width: min(760px, 100%); }
.lx-modal__body { flex: 1; padding: var(--s5); overflow-y: auto; }
.lx-modal__foot { display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s4) var(--s5); border-top: 1px solid var(--lx-line); }

/* ------------------------------------------------------------------ forms */
.lx-form { display: flex; flex-direction: column; gap: var(--s4); }
/* inside a scrolling dialog the form is taller than its box: scroll, never squeeze the fields or the button */
.lx-form > *, .lx-filters > * { flex-shrink: 0; }
.lx-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.lx-form__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lx-field { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; margin: 0; padding: 0; border: 0; }
.lx-field > span, .lx-field > legend { padding: 0; font-size: .84rem; font-weight: 600; color: var(--lx-ink-2); }
.lx-field b { color: #dc2626; }
.lx-field input:not([type=radio]):not([type=checkbox]), .lx-field select, .lx-field textarea, .lx-range select {
    width: 100%; min-height: 48px; padding: var(--s3) var(--s4); border: 1px solid var(--lx-line); border-radius: var(--lx-radius-md);
    background: var(--lx-surface); font: inherit; color: var(--lx-ink); transition: border-color .15s, box-shadow .15s;
}
.lx-field textarea { min-height: 96px; resize: vertical; }
.lx-field input:focus, .lx-field select:focus, .lx-field textarea:focus, .lx-range select:focus { outline: none; border-color: var(--lx-primary); box-shadow: 0 0 0 3px rgba(14, 107, 92, .18); }
.lx-field__error { display: none; font-size: .8rem; color: #dc2626; }
.lx-field.is-invalid input, .lx-field.is-invalid select { border-color: #dc2626; }
.lx-field.is-invalid .lx-field__error, .lx-field__error.is-shown { display: block; }
.lx-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lx-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.lx-day { position: relative; margin: 0; cursor: pointer; }
.lx-day input { position: absolute; opacity: 0; }
.lx-day span { display: flex; flex-direction: column; align-items: center; gap: var(--s1); padding: var(--s2); border-radius: var(--lx-radius-md); border: 1px solid var(--lx-line); text-align: center; }
.lx-day strong { font-size: .86rem; }
.lx-day small { font-size: .74rem; color: var(--lx-muted); }
.lx-day input:checked + span { border-color: var(--lx-primary); background: var(--lx-primary-soft); color: var(--lx-primary); }
.lx-day input:focus-visible + span { outline: 3px solid rgba(14, 107, 92, .35); }
.lx-ref summary { font-size: .86rem; font-weight: 600; color: var(--lx-primary); cursor: pointer; }
.lx-ref .lx-field { margin-top: var(--s3); }
.lx-consent { font-size: .84rem; color: var(--lx-ink-2); }
.lx-consent a { color: var(--lx-primary); text-decoration: underline; }
.lx-form__status { min-height: 1.2em; margin: 0; font-size: .86rem; font-weight: 600; }
.lx-form__status.is-error { color: #dc2626; }
.lx-form__note { display: flex; gap: var(--s2); margin: 0; font-size: .8rem; color: var(--lx-muted); }
.lx-form__note i { color: var(--lx-ok); }
.lx-form button[type=submit][disabled] { opacity: .6; cursor: progress; }
.lx-alert { display: flex; gap: var(--s2); margin-bottom: var(--s4); padding: var(--s3) var(--s4); border-radius: var(--lx-radius-md); background: #fef2f2; color: #b91c1c; font-size: .88rem; }
.lx-done { display: flex; flex-direction: column; align-items: center; gap: var(--s3); padding: var(--s6) var(--s4); text-align: center; }
.lx-done[hidden] { display: none; }
.lx-done__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--lx-ok-soft); color: var(--lx-ok); font-size: 2rem; }
.lx-done--page { padding: var(--s8) 0; }
.lx-done--page h1 { font-size: 1.8rem; }

/* ------------------------------------------------------------------ search page */
.lx-sbar { position: sticky; top: calc(var(--lx-header-h) + 1px); z-index: 30; background: var(--lx-surface); border-bottom: 1px solid var(--lx-line); }
.lx-searchpage .lx-header { position: relative; }
.lx-searchpage .lx-sbar { top: 0; }
.lx-sbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); max-width: none; padding-top: var(--s3); padding-bottom: var(--s3); }
.lx-sbar__q { display: flex; align-items: center; gap: var(--s2); flex: 1 1 260px; min-width: 200px; height: 40px; padding: 0 var(--s4); border: 1px solid var(--lx-line); border-radius: 999px; background: var(--lx-bg); }
.lx-sbar__q:focus-within { border-color: var(--lx-primary); background: var(--lx-surface); }
.lx-sbar__q i { color: var(--lx-muted); }
.lx-sbar__q input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--lx-ink); }
.lx-sbar__q input:focus { outline: none; }
.lx-sbar__field { position: relative; flex: 0 0 auto; height: 40px; padding: 0 var(--s4); border: 1px solid var(--lx-line); border-radius: 999px; background: var(--lx-surface); display: flex; align-items: center; }
.lx-sbar__field .lx-select { position: static; }
.lx-sbar__field .lx-select__button { gap: var(--s2); font-size: .88rem; }
.lx-sbar__field.is-open, .lx-sbar__field:hover { border-color: var(--lx-ink-2); }
.lx-sbar__field .lx-select__list { top: calc(100% + var(--s2)); }
.lx-sbar__go { height: 40px; padding: 0 var(--s4); flex-shrink: 0; }
.lx-sp__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 38%); gap: var(--s5); max-width: none; padding-top: var(--s5); }
.lx-sp__results { min-width: 0; }
.lx-sp__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s4); }
.lx-sp__head h1 { font-size: 1.6rem; letter-spacing: -.015em; }
.lx-sp__head p { margin-top: var(--s1); }
.lx-sp__maptoggle { display: none; }
.lx-areachips { display: flex; gap: var(--s2); margin-bottom: var(--s4); overflow-x: auto; scrollbar-width: none; padding-bottom: var(--s1); }
.lx-areachips::-webkit-scrollbar { display: none; }
.lx-areachip { display: inline-flex; align-items: center; gap: var(--s2); flex-shrink: 0; height: 36px; padding: 0 var(--s4); border-radius: 999px; border: 1px solid var(--lx-line); background: var(--lx-surface); font-size: .86rem; font-weight: 500; white-space: nowrap; }
.lx-areachip span { font-size: .76rem; font-weight: 700; color: var(--lx-primary); }
.lx-areachip:hover { border-color: var(--lx-primary); }
.lx-areachip.is-active { border-color: var(--lx-primary); background: var(--lx-primary); color: #fff; }
.lx-areachip.is-active span { color: #d9f2ea; }
.lx-active { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-bottom: var(--s4); }
.lx-tag { display: inline-flex; align-items: center; gap: var(--s1); padding: var(--s1) var(--s3); border-radius: 999px; background: var(--lx-primary-soft); color: var(--lx-primary); font-size: .82rem; font-weight: 600; }
.lx-tag:hover { background: #cfe8e0; }
.lx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--lx-gap); }
.lx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lx-more { display: flex; justify-content: center; margin-top: var(--s5); }
.lx-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1); margin-top: var(--s4); }
.lx-pager a { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 var(--s3); border-radius: 999px; border: 1px solid var(--lx-line); background: var(--lx-surface); font-size: .88rem; font-weight: 600; }
.lx-pager a.is-active { border-color: var(--lx-ink); background: var(--lx-ink); color: #fff; }
.js .lx-more + .lx-pager { display: none; }
.lx-empty { display: flex; flex-direction: column; align-items: center; gap: var(--s3); padding: var(--s7) var(--s4); text-align: center; border: 1px dashed var(--lx-line); border-radius: var(--lx-radius); background: var(--lx-surface); }
.lx-empty > i { font-size: 2.4rem; color: var(--lx-muted); }
.lx-empty h1, .lx-empty h2 { font-size: 1.25rem; }
/* an empty state that opens the page (not found, empty list) stands clear of the header */
.lx-page > .lx-wrap > .lx-empty:first-child { margin-top: var(--s7); }
@media (max-width: 640px) { .lx-page > .lx-wrap > .lx-empty:first-child { margin-top: var(--s5); } }
.lx-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin-top: var(--s2); }
.lx-advice { display: flex; align-items: center; gap: var(--s4); margin: var(--s6) 0; padding: var(--s5); border-radius: var(--lx-radius); background: var(--lx-tint); }
.lx-advice > div { flex: 1; }
.lx-advice .lx-help__icon { width: 48px; height: 48px; }

.lx-sp__map { position: sticky; top: calc(64px + var(--s3)); height: calc(100vh - 64px - var(--s5)); border-radius: var(--lx-radius); overflow: hidden; border: 1px solid var(--lx-line); background: #e9e6df; }
/* Leaflet panes use z-index 400-1000: keep them inside the map so header, dialogs and menus stay on top */
.lx-map { position: relative; z-index: 0; isolation: isolate; width: 100%; height: 100%; min-height: 240px; }
.lx-map--detail { height: 320px; border-radius: var(--lx-radius); border: 1px solid var(--lx-line); overflow: hidden; margin: var(--s3) 0; background: #e9e6df; }
.lx-sp__mapclose { display: none; }
.lx-pin { display: inline-flex; align-items: center; padding: var(--s1) var(--s2); border-radius: 999px; background: var(--lx-surface); color: var(--lx-ink); font: 700 12px/1.2 "Be Vietnam Pro", system-ui, sans-serif; white-space: nowrap; box-shadow: 0 2px 8px rgba(21, 32, 43, .25); border: 1px solid var(--lx-line); transform: translate(-50%, -50%); }
.lx-pin.is-active, .lx-pin:hover { background: var(--lx-primary); color: #fff; border-color: var(--lx-primary); }
.leaflet-div-icon.lx-pin-wrap { background: none; border: 0; }
.lx-mappop { display: flex; flex-direction: column; gap: var(--s2); width: 220px; font-family: "Be Vietnam Pro", system-ui, sans-serif; }
.lx-mappop img { width: 100%; height: 120px; object-fit: cover; border-radius: var(--lx-radius-sm); }
.lx-mappop strong { font-size: .9rem; }
.lx-mappop span { font-size: .8rem; color: var(--lx-muted); }
.lx-card.is-hover { box-shadow: 0 0 0 2px var(--lx-primary), var(--lx-shadow-hover); }

/* filter panel */
.lx-filters { display: flex; flex-direction: column; gap: var(--s5); }
.lx-filters fieldset { display: flex; flex-direction: column; gap: var(--s3); margin: 0; padding: 0 0 var(--s5); border: 0; border-bottom: 1px solid var(--lx-line); }
.lx-filters fieldset:last-child { border-bottom: 0; padding-bottom: 0; }
.lx-filters legend { margin-bottom: var(--s3); padding: 0; font-weight: 700; }
.lx-range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.lx-range__item { display: flex; flex-direction: column; gap: var(--s1); min-width: 0; font-size: .8rem; color: var(--lx-muted); }

/* ------------------------------------------------------------------ detail pages */
.lx-detail { padding-top: var(--s5); padding-bottom: var(--s7); }
.lx-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 200px); gap: var(--s2); margin-bottom: var(--s5); border-radius: var(--lx-radius); overflow: hidden; }
.lx-gallery__item { position: relative; display: block; padding: 0; border: 0; background: #e9e6df; cursor: zoom-in; overflow: hidden; }
.lx-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .2s; }
.lx-gallery__item:hover img { transform: scale(1.03); filter: brightness(.92); }
.lx-gallery__item--main { grid-row: span 2; }
.lx-gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 22, 20, .45); color: #fff; font-size: 1.4rem; font-weight: 700; }
.lx-gallery__all { position: absolute; right: var(--s4); bottom: var(--s4); height: 40px; box-shadow: var(--lx-shadow); }
.lx-gallery--few { grid-template-columns: 2fr 1fr; }
.lx-gallery--few .lx-gallery__item:nth-child(n+4) { display: none; }
/* one photo: the whole width; two photos: the second as tall as the first */
.lx-gallery:not(:has(.lx-gallery__item:nth-child(2 of .lx-gallery__item))) { grid-template-columns: 1fr; }
.lx-gallery--few:not(:has(.lx-gallery__item:nth-child(3 of .lx-gallery__item))) .lx-gallery__item:nth-child(2 of .lx-gallery__item) { grid-row: span 2; }
.lx-detail__main .lx-gallery { grid-template-rows: repeat(2, 170px); }

.lx-viewer[hidden] { display: none; }
.lx-viewer { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: auto 1fr auto; background: #0b1110; color: #fff; }
.lx-viewer__bar { display: flex; align-items: center; gap: var(--s4); padding: var(--s3) var(--s4); font-size: .9rem; }
.lx-viewer__bar [data-viewer-caption] { flex: 1; color: #b8c4c0; }
.lx-viewer__bar .lx-icon-btn { background: rgba(255, 255, 255, .1); border-color: transparent; color: #fff; }
.lx-viewer__stage { display: grid; place-items: center; min-height: 0; padding: 0 var(--s8); }
.lx-viewer__stage img, .lx-viewer__stage video { max-width: 100%; max-height: calc(100vh - 180px); object-fit: contain; border-radius: var(--lx-radius-sm); }
.lx-viewer__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.3rem; cursor: pointer; }
.lx-viewer__nav:hover { background: rgba(255, 255, 255, .24); }
.lx-viewer__nav--prev { left: var(--s4); }
.lx-viewer__nav--next { right: var(--s4); }
.lx-viewer__thumbs { display: flex; gap: var(--s2); padding: var(--s3) var(--s4) var(--s4); overflow-x: auto; }
.lx-viewer__thumbs button { flex: 0 0 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: var(--lx-radius-sm); overflow: hidden; background: #1b2523; opacity: .6; cursor: pointer; }
.lx-viewer__thumbs button.is-active { border-color: #fff; opacity: 1; }
.lx-viewer__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lx-viewer__thumbs i { font-size: 1.2rem; color: #fff; }

.lx-detail__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s6); align-items: start; }
.lx-detail__main { min-width: 0; }
.lx-detail__side { position: sticky; top: calc(var(--lx-header-h) + 36px + var(--s4)); }
.lx-dhead { display: flex; flex-direction: column; gap: var(--s3); padding-bottom: var(--s5); border-bottom: 1px solid var(--lx-line); }
.lx-dhead h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -.02em; }
.lx-dhead__badges { display: flex; flex-wrap: wrap; gap: var(--s2); }
.lx-dhead__place { display: flex; gap: var(--s2); color: var(--lx-ink-2); }
.lx-dhead__place i { margin-top: 2px; color: var(--lx-primary); }
.lx-dhead__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.lx-scorepill { display: inline-flex; align-items: center; gap: var(--s2); height: 40px; padding: 0 var(--s4) 0 var(--s1); border-radius: 999px; background: var(--lx-primary-soft); font-size: .86rem; font-weight: 600; color: var(--lx-primary); }
.lx-scorepill strong { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 var(--s2); border-radius: 999px; background: var(--lx-primary); color: #fff; }

.lx-keyfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--s3); padding: var(--s5) 0; border-bottom: 1px solid var(--lx-line); }
.lx-keyfacts li { display: flex; align-items: center; gap: var(--s3); }
.lx-keyfacts i { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--lx-radius-md); background: var(--lx-primary-soft); color: var(--lx-primary); font-size: 1.15rem; }
.lx-keyfacts span { display: flex; flex-direction: column; min-width: 0; }
.lx-keyfacts strong { font-size: 1rem; white-space: nowrap; }
.lx-keyfacts small { font-size: .78rem; color: var(--lx-muted); }

.lx-dsec { padding: var(--s6) 0; border-bottom: 1px solid var(--lx-line); }
.lx-dsec:last-child { border-bottom: 0; }
.lx-dsec > h2, .lx-dsec__head h2 { margin-bottom: var(--s4); font-size: 1.3rem; letter-spacing: -.01em; }
.lx-dsec__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.lx-dsec__head h2 { margin: 0; }
.lx-dsec > p + p { margin-top: var(--s3); }
.lx-subhead { margin: var(--s5) 0 var(--s3); font-size: 1rem; }
.lx-richtext { line-height: 1.7; color: var(--lx-ink-2); overflow-wrap: anywhere; }
.lx-richtext :where(p, ul, ol) { margin: 0 0 var(--s3); }
.lx-richtext :where(ul, ol) { padding-left: var(--s5); list-style: revert; }
.lx-richtext :where(h2, h3) { margin: var(--s5) 0 var(--s3); color: var(--lx-ink); }
.lx-richtext img { height: auto; border-radius: var(--lx-radius-sm); }
.lx-richtext a { color: var(--lx-primary); text-decoration: underline; }
.lx-dsec .lx-lead + .lx-richtext { margin-top: var(--s4); }
.lx-clamp.is-clamped { max-height: 220px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.lx-clamp__toggle { margin: var(--s2) 0 0; padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }

.lx-rtype { margin-bottom: var(--s4); border: 1px solid var(--lx-line); border-radius: var(--lx-radius); background: var(--lx-surface); overflow: hidden; }
.lx-rtype__head { display: grid; grid-template-columns: 176px minmax(0, 1fr) auto; gap: var(--s4); padding: var(--s4); }
.lx-rtype__head > img { width: 176px; height: 132px; object-fit: cover; border-radius: var(--lx-radius-md); }
.lx-rtype__info { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.lx-rtype__info h3 { font-size: 1.1rem; }
.lx-rtype__desc { font-size: .86rem; color: var(--lx-muted); }
.lx-rtype__price { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s1); text-align: right; }
.lx-rtype__price strong { font-size: 1.3rem; font-weight: 700; }
.lx-rooms { border-top: 1px solid var(--lx-line); }
.lx-room { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--s4); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--lx-line); }
.lx-room:last-child { border-bottom: 0; }
.lx-room:hover { background: var(--lx-bg); }
.lx-room__main { display: flex; align-items: center; gap: var(--s4); min-width: 0; }
.lx-room__code { display: inline-grid; place-items: center; min-width: 56px; height: 36px; padding: 0 var(--s2); border-radius: var(--lx-radius-sm); background: var(--lx-bg); font-weight: 700; font-size: .9rem; }
.lx-room:hover .lx-room__code { background: var(--lx-surface); }
.lx-room__meta { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); font-size: .84rem; color: var(--lx-ink-2); }
.lx-room__meta span { display: inline-flex; align-items: center; gap: var(--s1); }
.lx-room__meta i { color: var(--lx-muted); }
.lx-room__meta .lx-ok i, .lx-room__meta .lx-warn i { color: inherit; }
.lx-room__price { font-size: 1.05rem; white-space: nowrap; }
.lx-room__price small { font-size: .76rem; font-weight: 500; color: var(--lx-muted); }
.lx-room__actions { display: flex; gap: var(--s2); }

.lx-amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s3) var(--s5); }
.lx-amenities li { display: flex; align-items: center; gap: var(--s3); color: var(--lx-ink-2); }
.lx-amenities i { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: var(--lx-radius-sm); background: var(--lx-bg); color: var(--lx-primary); }
.lx-costs { margin: 0; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); overflow: hidden; background: var(--lx-surface); }
.lx-costs > div { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--lx-line); }
.lx-costs > div:last-child { border-bottom: 0; }
.lx-costs dt { font-weight: 500; }
.lx-costs dd { margin: 0; text-align: right; color: var(--lx-ink-2); }
.lx-dsec > .lx-muted + .lx-costs { margin-top: var(--s3); }
.lx-estimate { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); margin-top: var(--s3); padding: var(--s4); border-radius: var(--lx-radius); background: var(--lx-primary-soft); }
.lx-estimate > div { display: flex; flex-direction: column; gap: var(--s1); }
.lx-estimate__value { font-size: 1.3rem; color: var(--lx-primary); white-space: nowrap; }
.lx-estimate__value small { font-size: .8rem; font-weight: 500; }
.lx-rules { display: grid; gap: var(--s3); }
.lx-rules li { display: flex; gap: var(--s3); color: var(--lx-ink-2); }
.lx-rules i { margin-top: 2px; color: var(--lx-primary); }

.lx-rsummary { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s6); margin-bottom: var(--s5); padding: var(--s5); border-radius: var(--lx-radius); background: var(--lx-surface); border: 1px solid var(--lx-line); }
.lx-rsummary__score { display: flex; flex-direction: column; align-items: center; gap: var(--s1); }
.lx-rsummary__score strong { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 20px 20px 20px 6px; background: var(--lx-primary); color: #fff; font-size: 1.7rem; }
.lx-rsummary__score span { font-size: .84rem; color: var(--lx-muted); }
.lx-bars { display: grid; flex: 1; min-width: 240px; gap: var(--s2); }
.lx-bars li { display: grid; grid-template-columns: 140px minmax(0, 1fr) 32px; align-items: center; gap: var(--s3); font-size: .86rem; }
.lx-bar { height: 8px; border-radius: 999px; background: var(--lx-bg); overflow: hidden; }
.lx-bar span { display: block; height: 100%; border-radius: 999px; background: var(--lx-primary); }
.lx-reviews { display: grid; gap: var(--s4); }
.lx-review { padding: var(--s4); border-radius: var(--lx-radius); border: 1px solid var(--lx-line); background: var(--lx-surface); }
.lx-review__head { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.lx-review__head > span:nth-child(2) { display: flex; flex-direction: column; flex: 1; }
.lx-avatar { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--lx-primary-soft); color: var(--lx-primary); font-weight: 700; }
.lx-review__score { font-weight: 700; font-size: 1.1rem; }
.lx-review__score small { font-size: .74rem; color: var(--lx-muted); }
.lx-review p { color: var(--lx-ink-2); white-space: pre-line; }
.lx-review__reply { margin-top: var(--s3); padding: var(--s3) var(--s4); border-left: 3px solid var(--lx-primary); border-radius: 0 var(--lx-radius-sm) var(--lx-radius-sm) 0; background: var(--lx-bg); font-size: .88rem; }

.lx-bookcard { display: flex; flex-direction: column; gap: var(--s4); padding: var(--s5); border-radius: var(--lx-radius); border: 1px solid var(--lx-line); background: var(--lx-surface); box-shadow: var(--lx-shadow-hover); }
.lx-bookcard__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.lx-bookcard__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s1); }
.lx-bookcard__price strong { font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; }
.lx-bookcard__avail { margin: calc(-1 * var(--s2)) 0 0; }
.lx-bookcard__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--s2); }
.lx-bookcard__row .lx-btn { padding: 0 var(--s3); }
.lx-assure { display: grid; gap: var(--s2); padding-top: var(--s4); border-top: 1px dashed var(--lx-line); font-size: .84rem; color: var(--lx-ink-2); }
.lx-assure li { display: flex; gap: var(--s2); }
.lx-assure i { color: var(--lx-ok); }
.lx-mbar { display: none; }

/* ------------------------------------------------------------------ info pages */
.lx-page { padding-bottom: var(--s7); }
.lx-pagehero { padding: var(--s7) 0 var(--s6); background: radial-gradient(900px 320px at 12% -10%, rgba(14, 107, 92, .10), transparent 70%); }
.lx-pagehero h1 { max-width: 820px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; }
.lx-pagehero .lx-lead { max-width: 680px; margin-top: var(--s3); }
.lx-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 520px); gap: var(--s7); align-items: start; padding-top: var(--s6); }
.lx-split__intro h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); letter-spacing: -.02em; }
.lx-split__intro > .lx-lead { margin-top: var(--s3); }
.lx-split__intro h2 { margin: var(--s6) 0 var(--s4); font-size: 1.3rem; }
.lx-split__intro h2:first-child { margin-top: 0; }
.lx-steps { display: grid; gap: var(--s4); margin: var(--s5) 0 0; padding: 0; list-style: none; }
.lx-steps li { display: flex; gap: var(--s4); }
.lx-steps li > span { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--lx-primary); color: #fff; font-weight: 700; }
.lx-steps p { margin-top: var(--s1); }
.lx-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.lx-benefits li { display: flex; gap: var(--s3); }
.lx-benefits i { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--lx-radius-md); background: var(--lx-primary-soft); color: var(--lx-primary); font-size: 1.15rem; }
.lx-benefits p { margin-top: var(--s1); font-size: .88rem; }
.lx-contactcard { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s6); padding: var(--s5); border-radius: var(--lx-radius); background: var(--lx-tint); }
.lx-formcard { position: sticky; top: calc(var(--lx-header-h) + 36px + var(--s4)); padding: var(--s6); border-radius: 20px; border: 1px solid var(--lx-line); background: var(--lx-surface); box-shadow: var(--lx-shadow-hover); }
.lx-formcard > h2 { margin-bottom: var(--s4); font-size: 1.25rem; }
.lx-mini { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); padding: var(--s2); border-radius: var(--lx-radius-md); background: var(--lx-bg); }
.lx-mini img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--lx-radius-sm); }
.lx-mini span { display: flex; flex-direction: column; min-width: 0; }
.lx-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--lx-gap); padding-top: var(--s5); }
.lx-tile { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); border-radius: var(--lx-radius); border: 1px solid var(--lx-line); background: var(--lx-surface); }
.lx-tile > i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--lx-radius-md); background: var(--lx-primary-soft); color: var(--lx-primary); font-size: 1.3rem; }
.lx-tile h2 { font-size: 1.15rem; }
.lx-tile .lx-link { margin: auto 0 0; }
.lx-ticks { display: grid; gap: var(--s2); font-size: .88rem; }
.lx-ticks li { display: flex; gap: var(--s2); }
.lx-ticks li::before { content: "\f26e"; font-family: "bootstrap-icons"; color: var(--lx-ok); }

.lx-prose-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s7); align-items: start; padding-top: var(--s6); }
.lx-prose { max-width: 760px; min-width: 0; }
.lx-prose h1 { margin-bottom: var(--s3); font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; }
.lx-prose h2 { margin: var(--s6) 0 var(--s3); font-size: 1.2rem; }
.lx-prose h2:first-child { margin-top: 0; }
.lx-prose > p { color: var(--lx-ink-2); line-height: 1.7; }
.lx-prose .lx-lead { margin: var(--s4) 0; }
.lx-prose__cover { width: 100%; margin: var(--s4) 0 var(--s5); border-radius: var(--lx-radius); }
.lx-prose-side { position: sticky; top: calc(var(--lx-header-h) + 36px + var(--s4)); display: flex; flex-direction: column; gap: var(--s4); }
.lx-sidecard { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); border-radius: var(--lx-radius); border: 1px solid var(--lx-line); background: var(--lx-surface); }
.lx-sidecard h2 { font-size: 1rem; }
.lx-sidelist { display: grid; gap: var(--s1); }
.lx-sidelist a { display: flex; justify-content: space-between; gap: var(--s3); padding: var(--s2) var(--s3); border-radius: var(--lx-radius-sm); color: var(--lx-ink-2); }
.lx-sidelist a:hover, .lx-sidelist a.is-active { background: var(--lx-bg); color: var(--lx-primary); }
.lx-sidelist a span { font-size: .78rem; color: var(--lx-ok); }
.lx-sidelist--posts a { font-weight: 500; }

.lx-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--lx-gap); }
.lx-post { display: flex; flex-direction: column; border-radius: var(--lx-radius); border: 1px solid var(--lx-line); background: var(--lx-surface); overflow: hidden; }
.lx-post--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; }
.lx-post__media { display: block; aspect-ratio: 16 / 9; background: var(--lx-tint); overflow: hidden; }
.lx-post--lead .lx-post__media { aspect-ratio: auto; min-height: 280px; }
.lx-post__media img { width: 100%; height: 100%; object-fit: cover; }
.lx-post__ph { display: grid; place-items: center; width: 100%; height: 100%; font-size: 2rem; color: var(--lx-muted); }
.lx-post__body { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); }
.lx-post__body h2 { font-size: 1.1rem; }
.lx-post--lead .lx-post__body h2 { font-size: 1.5rem; }
.lx-post__body h2 a:hover { color: var(--lx-primary); }
.lx-post__body .lx-link { margin: auto 0 0; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1200px) {
    .lx-sp__layout { grid-template-columns: minmax(0, 1fr); }
    .lx-sp__map { display: none; }
    .lx-sp__maptoggle { display: inline-flex; }
    body.lx-map-open .lx-sp__map { position: fixed; inset: 0; z-index: 65; display: block; height: auto; border-radius: 0; }
    body.lx-map-open .lx-sp__mapclose { position: absolute; left: 50%; bottom: var(--s5); z-index: 500; display: inline-flex; transform: translateX(-50%); box-shadow: var(--lx-shadow-pop); }
    .lx-detail__layout { grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s5); }
}
@media (max-width: 960px) {
    .lx-detail__layout, .lx-split, .lx-prose-layout { grid-template-columns: minmax(0, 1fr); }
    .lx-detail__side { display: none; }
    .lx-formcard, .lx-prose-side { position: static; }
    .lx-mbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
        padding: var(--s3) var(--lx-gutter); background: var(--lx-surface); border-top: 1px solid var(--lx-line); box-shadow: 0 -8px 24px rgba(21, 32, 43, .08);
    }
    .lx-mbar strong { font-size: 1.15rem; }
    .lx-detailpage .lx-footer { padding-bottom: calc(var(--s8) + var(--s2)); }
    .lx-tiles, .lx-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lx-post--lead { grid-template-columns: 1fr; }
    .lx-post--lead .lx-post__media { aspect-ratio: 16 / 9; min-height: 0; }
}
@media (max-width: 720px) {
    .lx-gallery, .lx-detail__main .lx-gallery { display: flex; gap: var(--s2); margin: 0 calc(-1 * var(--lx-gutter)) var(--s4); border-radius: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .lx-gallery::-webkit-scrollbar { display: none; }
    .lx-gallery__item, .lx-gallery--few .lx-gallery__item:nth-child(n+4) { display: block; flex: 0 0 86%; height: 240px; scroll-snap-align: center; }
    .lx-gallery__more { display: none; }
    .lx-gallery__all { position: fixed; display: none; }
    .lx-rtype__head { grid-template-columns: 96px minmax(0, 1fr); }
    .lx-rtype__head > img { width: 96px; height: 96px; }
    .lx-rtype__price { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; text-align: left; }
    .lx-room { grid-template-columns: minmax(0, 1fr) auto; }
    .lx-room__actions { grid-column: 1 / -1; }
    .lx-room__actions .lx-btn { flex: 1; }
    .lx-grid--2, .lx-form__row, .lx-benefits, .lx-tiles, .lx-posts { grid-template-columns: minmax(0, 1fr); }
    .lx-day span { padding: var(--s2) var(--s1); }
    .lx-modal { padding: 0; align-items: end; }
    .lx-modal__panel { width: 100%; max-height: 92vh; border-radius: var(--lx-radius) var(--lx-radius) 0 0; }
    .lx-modal__panel--side { height: 92vh; }
    .lx-formcard { padding: var(--s5); border-radius: var(--lx-radius); }
    .lx-advice { flex-direction: column; align-items: flex-start; }
    .lx-sp__head h1 { font-size: 1.3rem; }
    .lx-bars li { grid-template-columns: 110px minmax(0, 1fr) 28px; }
    .lx-viewer__stage { padding: 0; }
    .lx-viewer__nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .lx-modal__panel, .lx-gallery__item img, .lx-heart { animation: none; transition: none; }
}

/* custom select (listing.js) inside forms: looks like the text inputs, list opens under the box */
.lx-field .lx-select, .lx-range__item .lx-select { position: relative; }
.lx-field .lx-select__button, .lx-range__item .lx-select__button {
    min-height: 48px; padding: var(--s3) var(--s4); border: 1px solid var(--lx-line); border-radius: var(--lx-radius-md);
    background: var(--lx-surface); font-size: .95rem; transition: border-color .15s, box-shadow .15s;
}
.lx-field .lx-select__button:hover, .lx-range__item .lx-select__button:hover { border-color: var(--lx-ink-2); }
.lx-field .lx-select.is-open .lx-select__button, .lx-range__item .lx-select.is-open .lx-select__button,
.lx-field .lx-select__button:focus-visible, .lx-range__item .lx-select__button:focus-visible { border-color: var(--lx-primary); box-shadow: 0 0 0 3px rgba(14, 107, 92, .18); }
.lx-field .lx-select__list, .lx-range__item .lx-select__list { top: calc(100% + var(--s1)); width: 100%; max-width: none; max-height: 280px; z-index: 5; }
.lx-field .lx-select__value, .lx-range__item .lx-select__value { color: var(--lx-ink); }
.lx-range__item .lx-select__value.is-placeholder, .lx-field .lx-select__value.is-placeholder { color: var(--lx-muted); }

/* choices inside forms and the filter panel: an equal-width grid, one line per choice, never a wrapping pill */
.lx-seg--2, .lx-seg--3, .lx-seg--4 { display: grid; width: 100%; gap: var(--s1); border-radius: var(--lx-radius-md); }
.lx-seg--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lx-seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lx-seg--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lx-seg--2 label, .lx-seg--3 label, .lx-seg--4 label { display: flex; min-width: 0; }
.lx-seg--2 span, .lx-seg--3 span, .lx-seg--4 span { flex: 1; min-width: 0; justify-content: center; padding: 0 var(--s2); border-radius: var(--lx-radius-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* day tiles: every box as tall as its row, labels on one line */
.lx-day { display: flex; }
.lx-day span { flex: 1; justify-content: center; }
.lx-day strong, .lx-day small { white-space: nowrap; }
.lx-check--chip span { white-space: nowrap; }
@media (max-width: 480px) {
    .lx-seg--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------------------ holds (rental booking drafts) */
.lx-badge--held { background: #7c3aed; color: #fff; }
.lx-heldtag { color: #7c3aed; font-weight: 600; }
.lx-heldnote { display: flex; gap: var(--s3); margin: 0; padding: var(--s3) var(--s4); border-radius: var(--lx-radius-md); background: #f3effe; color: #5b21b6; font-size: .86rem; }
.lx-heldnote i { margin-top: 2px; }
.lx-heldnote span { display: flex; flex-direction: column; gap: var(--s1); }
.lx-center { text-align: center; }
.lx-bookcard > .lx-btn--ghost.lx-btn--block { margin-top: calc(-1 * var(--s2)); }
.lx-mbar__actions { display: flex; gap: var(--s2); }
.lx-mbar__actions .lx-btn { padding: 0 var(--s4); }
.lx-quote { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--s3); margin: 0; padding: var(--s4); border-radius: var(--lx-radius-md); background: var(--lx-bg); }
.lx-quote div { display: flex; flex-direction: column; gap: var(--s1); }
.lx-quote dt { font-size: .78rem; color: var(--lx-muted); white-space: nowrap; }
.lx-quote dd { margin: 0; font-size: .95rem; white-space: nowrap; }
.lx-holdterms { display: grid; gap: var(--s2); padding: var(--s3) var(--s4); border-radius: var(--lx-radius-md); border: 1px dashed var(--lx-line); font-size: .84rem; color: var(--lx-ink-2); }
.lx-holdterms li { display: flex; gap: var(--s2); }
.lx-holdterms i { color: var(--lx-primary); }
.lx-holdcode { margin: 0; font-size: 1.05rem; }
.lx-holdcode strong { padding: var(--s1) var(--s3); border-radius: var(--lx-radius-sm); background: var(--lx-primary-soft); color: var(--lx-primary); letter-spacing: .04em; }
.lx-holdpage { display: flex; flex-direction: column; gap: var(--s5); padding-top: var(--s6); }
.lx-holdhead h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -.02em; }
.lx-holdhead .lx-lead { margin-top: var(--s2); }
.lx-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.lx-progress li { display: flex; flex-direction: column; align-items: center; gap: var(--s2); padding: var(--s3) var(--s2); border-radius: var(--lx-radius-md); background: var(--lx-surface); border: 1px solid var(--lx-line); font-size: .8rem; font-weight: 600; color: var(--lx-muted); text-align: center; }
.lx-progress li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--lx-bg); font-size: .8rem; }
.lx-progress li.is-done { color: var(--lx-ok); }
.lx-progress li.is-done span { background: var(--lx-ok-soft); color: var(--lx-ok); }
.lx-progress li.is-current { border-color: var(--lx-primary); color: var(--lx-primary); }
.lx-progress li.is-current span { background: var(--lx-primary); color: #fff; }
.lx-alert--ok { background: var(--lx-ok-soft); color: var(--lx-ok); }
.lx-btn--danger { color: #b91c1c !important; }
.lx-btn--danger:hover { border-color: #b91c1c; background: #fef2f2; }
.lx-cancelform { margin-top: var(--s2); }
@media (max-width: 480px) {
    .lx-mbar > div:first-child { display: none; }
    .lx-mbar__actions { flex: 1; }
    .lx-mbar__actions .lx-btn { flex: 1; }
    .lx-progress { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    /* price summary as rows: label left, amount right */
    .lx-quote { grid-template-columns: minmax(0, 1fr); gap: var(--s2); padding: var(--s3) var(--s4); }
    .lx-quote div { flex-direction: row; align-items: baseline; justify-content: space-between; gap: var(--s3); }
}

/* ---------------------------------------------------------------- news (one article, three languages) */
.lx-post__meta { display: flex; flex-wrap: wrap; gap: var(--s1); font-size: .8rem; color: var(--lx-muted); margin: 0; }
.lx-post__sum { color: var(--lx-ink-2); line-height: 1.6; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lx-post--lead .lx-post__sum { -webkit-line-clamp: 4; font-size: 1.02rem; }
.lx-post__kicker { align-self: flex-start; }
.lx-post__media img { transition: transform .3s ease; }
.lx-post:hover .lx-post__media img { transform: scale(1.03); }
.lx-post { transition: box-shadow .15s; }
.lx-post:hover { box-shadow: var(--lx-shadow-hover); }
.lx-articlemeta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); font-size: .86rem; color: var(--lx-muted); margin-bottom: var(--s4); }
.lx-articlemeta > span { display: inline-flex; align-items: center; gap: var(--s1); }
.lx-articlemeta__langs a { padding: 2px var(--s2); border-radius: var(--lx-radius-sm); border: 1px solid var(--lx-line); font-weight: 600; color: var(--lx-ink-2); }
.lx-articlemeta__langs a.is-active { border-color: var(--lx-primary); background: var(--lx-primary-soft); color: var(--lx-primary); }
.lx-note { display: flex; gap: var(--s2); align-items: flex-start; padding: var(--s3) var(--s4); border-radius: var(--lx-radius-md); background: var(--lx-accent-soft); color: var(--lx-accent); font-size: .9rem; margin: 0 0 var(--s4); }
.lx-sharebar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--lx-line); }
.lx-sharebar strong { margin-right: var(--s2); font-size: .9rem; }
.lx-post__media { position: relative; }
.lx-post__media .lx-post__ph { position: absolute; inset: 0; }
.lx-post__media img { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ /advice: find a room for me / book a viewing */
.ad-hero { position: relative; overflow: hidden; padding: var(--s7) 0 var(--s8);
    background: radial-gradient(720px 360px at 88% 20%, rgba(14, 107, 92, .10), transparent 70%), radial-gradient(560px 300px at 0% 0%, var(--lx-accent-soft), transparent 70%); }
.ad-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s7); align-items: center; }
.ad-hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; letter-spacing: -.025em; }
.ad-hero h1 em { display: block; font-style: normal; color: var(--lx-primary); }
.ad-hero .lx-lead { max-width: 560px; margin-top: var(--s4); }
.ad-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); margin: var(--s6) 0 0; padding: 0; list-style: none; }
.ad-perks li { display: flex; gap: var(--s3); align-items: flex-start; }
.ad-perks i { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--lx-radius-md); background: var(--lx-surface); color: var(--lx-primary); font-size: 1.1rem; box-shadow: var(--lx-shadow); }
.ad-perks span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ad-perks strong { font-size: .9rem; line-height: 1.3; }
.ad-perks small { font-size: .8rem; color: var(--lx-muted); line-height: 1.35; }

.ad-hero__media { position: relative; }
.ad-collage { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--s3); height: 380px; }
.ad-collage img, .ad-collage__ph { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: 20px; box-shadow: var(--lx-shadow-hover); }
.ad-collage__img--0 { grid-row: 1 / 3; }
.ad-collage:has(> img:only-child) img, .ad-collage--one img { grid-column: 1 / -1; grid-row: 1 / -1; }
.ad-collage:has(> img:nth-child(2):last-child) .ad-collage__img--1 { grid-row: 1 / 3; }
.ad-collage__ph { grid-column: 1 / -1; grid-row: 1 / -1; display: grid; place-items: center; background: var(--lx-primary-soft); color: var(--lx-primary); font-size: 4rem; }
.ad-badge { position: absolute; left: calc(-1 * var(--s5)); bottom: calc(-1 * var(--s5)); display: flex; align-items: center; gap: var(--s3);
    padding: var(--s3) var(--s4); border-radius: var(--lx-radius); background: var(--lx-surface); box-shadow: var(--lx-shadow-pop); }
.ad-badge > span:last-child { display: flex; flex-direction: column; font-size: .9rem; line-height: 1.3; }
.ad-badge strong { font-size: 1.35rem; color: var(--lx-primary); margin-right: var(--s1); }
.ad-badge small { color: var(--lx-muted); font-size: .78rem; }
.ad-badge__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lx-ok); box-shadow: 0 0 0 4px var(--lx-ok-soft); flex-shrink: 0; }

.ad-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--s6); align-items: start; margin-top: calc(-1 * var(--s6)); position: relative; }
.ad-form, .ad-card { padding: var(--s6); border-radius: 20px; border: 1px solid var(--lx-line); background: var(--lx-surface); box-shadow: var(--lx-shadow-hover); }
.ad-form__head, .ad-card__head { display: flex; gap: var(--s3); align-items: flex-start; margin-bottom: var(--s5); }
.ad-form__head h2, .ad-card__head h2 { font-size: 1.25rem; }
.ad-form__head p, .ad-card__head p { margin-top: 2px; font-size: .88rem; }
.ad-form__icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--lx-primary-soft); color: var(--lx-primary); font-size: 1.15rem; }

/* numbered steps of the form, joined by a line */
.ad-steps { gap: 0; }
.ad-step { position: relative; padding: 0 0 var(--s6) 44px; }
.ad-step::before { content: ""; position: absolute; left: 13px; top: 36px; bottom: var(--s2); width: 2px; background: var(--lx-line); }
.ad-step--last { padding-bottom: 0; }
.ad-step--last::before { display: none; }
.ad-step__title { display: flex; align-items: center; gap: var(--s2); min-height: 28px; margin: 0 0 var(--s4) -44px; font-size: 1rem; font-weight: 700; }
.ad-step__title small { font-weight: 500; color: var(--lx-muted); font-size: .82rem; }
.ad-step__no { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; margin-right: var(--s2); border-radius: 50%; background: var(--lx-primary); color: #fff; font-size: .82rem; font-weight: 700; }
.ad-step__body { display: flex; flex-direction: column; gap: var(--s4); }
.ad-hint { display: flex; align-items: flex-start; gap: var(--s2); margin: calc(-1 * var(--s2)) 0 0; font-size: .82rem; color: var(--lx-muted); }
.ad-hint--top { margin: calc(-1 * var(--s3)) 0 0; }
.ad-hint--field { margin: 0; }
.ad-hint i { color: var(--lx-primary); }

/* ward / room type chips */
.ad-areas { display: flex; flex-direction: column; gap: var(--s4); max-height: 360px; overflow-y: auto; padding-right: var(--s2); }
.ad-areas__prov { display: flex; align-items: center; gap: var(--s1); margin-bottom: var(--s2); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--lx-ink-2); }
.ad-areas__prov i { color: var(--lx-primary); }
.ad-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.ad-chip { position: relative; margin: 0; cursor: pointer; }
.ad-chip input { position: absolute; opacity: 0; pointer-events: none; }
.ad-chip > span { display: inline-flex; align-items: center; gap: var(--s2); min-height: 38px; padding: 0 var(--s3); border-radius: 999px; border: 1px solid var(--lx-line);
    background: var(--lx-surface); font-size: .86rem; color: var(--lx-ink-2); transition: border-color .15s, background .15s, color .15s; }
.ad-chip > span em { font-style: normal; min-width: 22px; padding: 0 6px; border-radius: 999px; background: var(--lx-bg); font-size: .74rem; font-weight: 600; text-align: center; color: var(--lx-muted); }
.ad-chip:hover > span { border-color: var(--lx-ink-2); }
.ad-chip input:checked + span { border-color: var(--lx-primary); background: var(--lx-primary-soft); color: var(--lx-primary); font-weight: 600; }
.ad-chip input:checked + span em { background: var(--lx-primary); color: #fff; }
.ad-chip input:disabled + span { opacity: .45; cursor: not-allowed; }
.ad-chip input:focus-visible + span { outline: 3px solid rgba(14, 107, 92, .35); outline-offset: 2px; }
.ad-chip--type > span i { color: var(--lx-primary); }

/* time slots as cards */
.ad-slots__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); }
.ad-slot { position: relative; margin: 0; cursor: pointer; }
.ad-slot--any { grid-column: 1 / -1; }
.ad-slot input { position: absolute; opacity: 0; pointer-events: none; }
.ad-slot > span { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--lx-radius-md); border: 1px solid var(--lx-line); transition: border-color .15s, background .15s; }
.ad-slot > span > i:first-child { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: var(--lx-radius-sm); background: var(--lx-bg); color: var(--lx-ink-2); font-size: 1.05rem; }
.ad-slot > span > span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ad-slot strong { font-size: .9rem; }
.ad-slot small { font-size: .78rem; color: var(--lx-muted); }
.ad-slot__tick { color: var(--lx-primary); opacity: 0; transition: opacity .15s; }
.ad-slot:hover > span { border-color: var(--lx-ink-2); }
.ad-slot input:checked + span { border-color: var(--lx-primary); background: var(--lx-primary-soft); }
.ad-slot input:checked + span > i:first-child { background: var(--lx-primary); color: #fff; }
.ad-slot input:checked + span .ad-slot__tick { opacity: 1; }
.ad-slot input:focus-visible + span { outline: 3px solid rgba(14, 107, 92, .35); outline-offset: 2px; }

/* right column */
.ad-aside { position: sticky; top: calc(var(--lx-header-h) + 36px + var(--s4)); display: flex; flex-direction: column; gap: var(--s4); }
.ad-card { padding: var(--s5); }
.ad-timeline { display: grid; gap: var(--s4); margin: 0; padding: 0; list-style: none; }
.ad-timeline li { position: relative; display: flex; gap: var(--s3); }
.ad-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: calc(-1 * var(--s3)); border-left: 2px dashed var(--lx-line); }
.ad-timeline li > i { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--lx-primary-soft); color: var(--lx-primary); }
.ad-timeline strong { font-size: .92rem; }
.ad-timeline p { margin-top: 2px; font-size: .82rem; color: var(--lx-muted); line-height: 1.45; }
.ad-hotline { display: flex; flex-direction: column; gap: var(--s2); margin-top: var(--s5); padding: var(--s4); border-radius: var(--lx-radius); background: var(--lx-primary-soft); }
.ad-hotline__label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--lx-primary); }
.ad-hotline__phone { display: flex; align-items: center; gap: var(--s3); }
.ad-hotline__phone > i { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--lx-surface); color: var(--lx-primary); font-size: 1.1rem; box-shadow: var(--lx-shadow); }
.ad-hotline__phone span { display: flex; flex-direction: column; }
.ad-hotline__phone small { font-size: .8rem; color: var(--lx-ink-2); }
.ad-hotline__phone strong { font-size: 1.45rem; letter-spacing: .01em; color: var(--lx-primary); line-height: 1.2; }
.ad-hotline__zalo { display: inline-flex; align-items: center; gap: var(--s2); font-size: .88rem; font-weight: 600; color: var(--lx-primary); }
.ad-hotline__zalo:hover { text-decoration: underline; }
.ad-found { display: flex; align-items: center; gap: var(--s3); padding: var(--s4); border-radius: var(--lx-radius); border: 1px dashed var(--lx-line); background: var(--lx-surface); transition: border-color .15s; }
.ad-found:hover { border-color: var(--lx-primary); }
.ad-found > i:first-child { font-size: 1.4rem; color: var(--lx-accent); }
.ad-found span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ad-found strong { font-size: .92rem; }
.ad-found small { font-size: .8rem; color: var(--lx-muted); }
.ad .lx-done { padding: var(--s6) 0; }

@media (max-width: 1100px) {
    .ad-body { grid-template-columns: minmax(0, 1fr) 300px; }
    .ad-perks { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
}
@media (max-width: 900px) {
    .ad-hero { padding: var(--s6) 0 var(--s7); }
    .ad-hero__inner { grid-template-columns: minmax(0, 1fr); gap: var(--s6); }
    .ad-perks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ad-collage { height: 260px; }
    .ad-badge { left: var(--s3); bottom: calc(-1 * var(--s4)); }
    .ad-body { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
    .ad-aside { position: static; }
}
@media (max-width: 600px) {
    .ad-perks { grid-template-columns: minmax(0, 1fr); }
    .ad-collage { height: 200px; grid-template-columns: 1fr; }
    .ad-collage img:not(.ad-collage__img--0) { display: none; }
    .ad-collage__img--0 { grid-row: 1 / -1; }
    .ad-form, .ad-card { padding: var(--s4); border-radius: var(--lx-radius); }
    .ad-step { padding-left: 0; }
    .ad-step::before { display: none; }
    .ad-step__title { margin-left: 0; }
    .ad-slots__grid { grid-template-columns: minmax(0, 1fr); }
    .ad-areas { max-height: none; overflow: visible; padding-right: 0; }
}

/* ------------------------------------------------------------------ static pages: about, privacy, terms, consign, partners */
.sp-hero { position: relative; padding: var(--s7) 0 var(--s7);
    background: radial-gradient(700px 360px at 90% 10%, rgba(14, 107, 92, .10), transparent 70%), radial-gradient(560px 300px at 0% 0%, var(--lx-accent-soft), transparent 70%); }
.sp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s7); align-items: center; }
.sp-eyebrow { display: inline-flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lx-primary); }
.sp-eyebrow::after { content: ""; width: 32px; height: 2px; border-radius: 2px; background: currentColor; opacity: .6; }
.sp-hero h1, .sp-title { font-size: clamp(1.9rem, 3.4vw, 2.55rem); line-height: 1.12; letter-spacing: -.025em; }
.sp-hero h1 em, .sp-title em, .sp-h2 em { display: block; font-style: normal; color: var(--lx-primary); }
.sp-hero .lx-lead { max-width: 560px; margin-top: var(--s4); }
.sp-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.sp-media { position: relative; padding: var(--s4) var(--s5) var(--s5); }
.sp-media .ad-collage { height: 360px; }
.sp-float { position: absolute; display: flex; gap: var(--s3); align-items: flex-start; max-width: 250px; padding: var(--s3) var(--s4);
    border-radius: var(--lx-radius); background: var(--lx-surface); box-shadow: var(--lx-shadow-pop); font-size: .84rem; line-height: 1.35; }
.sp-float i { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--lx-primary-soft); color: var(--lx-primary); }
.sp-float span { display: flex; flex-direction: column; gap: 2px; }
.sp-float small { color: var(--lx-muted); font-size: .78rem; }
.sp-float--tr { top: 0; right: 0; }
.sp-float--bl { bottom: 0; left: 0; }

.sp-statbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--s7); padding: var(--s5); border-radius: 20px; background: var(--lx-primary-soft); }
.sp-statbar > div { display: flex; align-items: center; gap: var(--s3); padding: 0 var(--s4); min-width: 0; }
.sp-statbar > div + div { border-left: 1px solid rgba(14, 107, 92, .18); }
.sp-statbar i { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--lx-surface); color: var(--lx-primary); font-size: 1.1rem; }
.sp-statbar strong { display: block; font-size: 1.5rem; line-height: 1.1; color: var(--lx-primary); }
.sp-statbar small { display: block; font-size: .82rem; color: var(--lx-ink-2); }

.sp-section { padding: var(--s7) 0 0; }
.sp-section:last-child { padding-bottom: var(--s7); }
.sp-h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.2; letter-spacing: -.02em; }
.sp-head { margin-bottom: var(--s5); }
.sp-head p { max-width: 640px; margin-top: var(--s2); color: var(--lx-ink-2); }

.sp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s7); align-items: center; }
.sp-split__img { width: 100%; height: 340px; object-fit: cover; border-radius: 20px; box-shadow: var(--lx-shadow-hover); }
.sp-split__ph { display: grid; place-items: center; height: 340px; border-radius: 20px; background: var(--lx-primary-soft); color: var(--lx-primary); font-size: 4rem; }
.sp-split__text p { margin-top: var(--s3); color: var(--lx-ink-2); line-height: 1.7; }

.sp-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
.sp-card { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s5) var(--s4); border-radius: var(--lx-radius); background: var(--lx-surface); border: 1px solid var(--lx-line); }
.sp-card > i { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--lx-surface); color: var(--lx-primary); font-size: 1.05rem; box-shadow: var(--lx-shadow); }
.sp-card strong { display: block; font-size: .98rem; margin-bottom: var(--s1); }
.sp-card p { font-size: .86rem; color: var(--lx-ink-2); line-height: 1.5; }
.sp-cards--tint .sp-card { border-color: transparent; }
.sp-cards--tint .sp-card:nth-child(1) { background: #fdf0ef; }
.sp-cards--tint .sp-card:nth-child(1) > i { color: #c0392b; }
.sp-cards--tint .sp-card:nth-child(2) { background: var(--lx-accent-soft); }
.sp-cards--tint .sp-card:nth-child(2) > i { color: var(--lx-accent); }
.sp-cards--tint .sp-card:nth-child(3) { background: #eaf1fb; }
.sp-cards--tint .sp-card:nth-child(3) > i { color: #2563eb; }
.sp-cards--tint .sp-card:nth-child(4) { background: var(--lx-primary-soft); }

.sp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); counter-reset: sp-step; }
.sp-step { position: relative; padding: var(--s5); border-radius: var(--lx-radius); border: 1px solid var(--lx-line); background: var(--lx-surface); counter-increment: sp-step; transition: box-shadow .15s, transform .15s; }
.sp-step:hover { box-shadow: var(--lx-shadow-hover); transform: translateY(-2px); }
.sp-step::after { content: counter(sp-step); position: absolute; top: var(--s3); right: var(--s4); font-size: 2rem; font-weight: 700; line-height: 1; color: var(--lx-primary-soft); }
.sp-step > i { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: var(--s4); border-radius: var(--lx-radius-md); background: var(--lx-primary-soft); color: var(--lx-primary); font-size: 1.1rem; }
.sp-step strong { display: block; margin-bottom: var(--s2); }
.sp-step p { font-size: .86rem; color: var(--lx-ink-2); line-height: 1.5; }

.sp-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.sp-duo > div { padding: var(--s6); border-radius: 20px; border: 1px solid var(--lx-line); background: var(--lx-surface); }
.sp-duo > div > i { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: var(--s4); border-radius: 50%; background: var(--lx-primary-soft); color: var(--lx-primary); font-size: 1.2rem; }
.sp-duo h3 { font-size: 1.15rem; margin-bottom: var(--s2); }
.sp-duo p { color: var(--lx-ink-2); line-height: 1.6; }
.sp-duo > .sp-duo__dark { border-color: transparent; background: var(--lx-dark-2); color: #fff; }
.sp-duo__dark > i { background: rgba(255, 255, 255, .1) !important; color: #fff !important; }
.sp-duo__dark p { color: var(--lx-on-dark); }

.sp-areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.sp-areas a { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s4); border-radius: var(--lx-radius-md); border: 1px solid var(--lx-line); background: var(--lx-surface); transition: border-color .15s; }
.sp-areas a:hover { border-color: var(--lx-primary); }
.sp-areas strong { font-size: .92rem; }
.sp-areas small { font-size: .8rem; color: var(--lx-muted); }

.sp-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s4); padding: var(--s6); border-radius: 20px; background: var(--lx-primary-soft); }
.sp-cta h2 { font-size: 1.35rem; }
.sp-cta p { margin-top: var(--s1); color: var(--lx-ink-2); max-width: 560px; }
.sp-cta__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

.sp-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); padding: var(--s5); border-radius: 20px; background: var(--lx-primary-soft); }
.sp-band > div { display: flex; gap: var(--s3); align-items: flex-start; }
.sp-band i { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--lx-surface); color: var(--lx-primary); font-size: 1.15rem; }
.sp-band strong { display: block; color: var(--lx-primary); margin-bottom: var(--s1); }
.sp-band p { font-size: .84rem; color: var(--lx-ink-2); line-height: 1.45; }

.sp-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); counter-reset: sp-flow; }
.sp-flow > div { position: relative; display: flex; gap: var(--s3); align-items: flex-start; counter-increment: sp-flow; }
.sp-flow > div::before { content: counter(sp-flow); display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--lx-primary); color: #fff; font-weight: 700; box-shadow: 0 0 0 6px var(--lx-primary-soft); }
.sp-flow strong { display: block; margin-bottom: var(--s1); }
.sp-flow p { font-size: .85rem; color: var(--lx-ink-2); line-height: 1.45; }

.sp-trio { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s4); align-items: stretch; }
.sp-trio__img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; border-radius: 20px; }
.sp-box { padding: var(--s5); border-radius: 20px; border: 1px solid var(--lx-line); background: var(--lx-surface); }
.sp-box h3 { font-size: 1.15rem; margin-bottom: var(--s4); color: var(--lx-primary); }
.sp-checks { display: grid; gap: var(--s3); margin: 0; padding: 0; list-style: none; }
.sp-checks li { display: flex; gap: var(--s2); align-items: flex-start; font-size: .9rem; color: var(--lx-ink-2); }
.sp-checks i { color: var(--lx-primary); margin-top: 1px; }
.sp-compare { width: 100%; border-collapse: collapse; font-size: .86rem; }
.sp-compare th, .sp-compare td { padding: var(--s3) var(--s2); border-bottom: 1px solid var(--lx-line); text-align: center; }
.sp-compare th:first-child, .sp-compare td:first-child { text-align: left; }
.sp-compare tr:last-child td { border-bottom: 0; }
.sp-compare thead th { font-weight: 600; color: var(--lx-muted); }
.sp-compare thead th:last-child { border-radius: var(--lx-radius-sm) var(--lx-radius-sm) 0 0; background: var(--lx-primary); color: #fff; }
.sp-compare td:last-child { background: var(--lx-primary-soft); color: var(--lx-primary); font-size: 1.1rem; }
.sp-compare td:nth-child(2) { color: var(--lx-muted); font-size: .8rem; }

.sp-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: var(--s6); align-items: start; }
.sp-faq__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); align-items: start; }
.sp-faq__list--one { grid-template-columns: minmax(0, 1fr); }
.sp-faq details { border-radius: var(--lx-radius-md); border: 1px solid var(--lx-line); background: var(--lx-surface); }
.sp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s4); font-weight: 600; font-size: .92rem; cursor: pointer; list-style: none; }
.sp-faq summary::-webkit-details-marker { display: none; }
.sp-faq summary::after { content: "\f282"; font-family: "bootstrap-icons"; font-size: .8rem; color: var(--lx-muted); transition: transform .2s; }
.sp-faq details[open] summary::after { transform: rotate(180deg); }
.sp-faq details[open] { border-color: var(--lx-primary); }
.sp-faq details p { padding: 0 var(--s4) var(--s4); font-size: .88rem; color: var(--lx-ink-2); line-height: 1.6; }

/* consign / partners hero with the form on the right */
.sp-hero--form .sp-hero__grid { align-items: start; }
.sp-hero--form .lx-formcard { position: static; }
.sp-hero__stats { display: flex; flex-wrap: wrap; gap: var(--s5); margin-top: var(--s6); }
.sp-hero__stats div { display: flex; flex-direction: column; }
.sp-hero__stats strong { font-size: 1.6rem; color: var(--lx-primary); line-height: 1.1; }
.sp-hero__stats small { font-size: .82rem; color: var(--lx-muted); }
.sp-hero__photo { position: relative; margin-top: var(--s6); padding-bottom: var(--s5); }
.sp-hero__photo img { width: 100%; height: 300px; object-fit: cover; border-radius: 20px; box-shadow: var(--lx-shadow-hover); }
.sp-hero__photo .sp-float { left: var(--s4); bottom: 0; }
.sp-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.sp-roles article { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); border-radius: 20px; border: 1px solid var(--lx-line); background: var(--lx-surface); transition: box-shadow .15s; }
.sp-roles article:hover { box-shadow: var(--lx-shadow-hover); }
.sp-roles article > i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--lx-radius-md); background: var(--lx-primary-soft); color: var(--lx-primary); font-size: 1.25rem; }
.sp-roles h3 { font-size: 1.1rem; }
.sp-roles p { font-size: .88rem; color: var(--lx-ink-2); }
.sp-roles .lx-link { margin-top: auto; }
.sp-join { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 480px); gap: var(--s6); align-items: start; }
.sp-join .lx-formcard { position: sticky; }
.sp-flow--col { grid-template-columns: minmax(0, 1fr) !important; gap: var(--s5); }
.sp-faq--stack { grid-template-columns: minmax(0, 1fr); gap: var(--s4); margin-top: var(--s7); }

/* legal pages: numbered sections with a contents list */
.lg-hero { padding: var(--s6) 0; background: linear-gradient(180deg, var(--lx-primary-soft), transparent); }
.lg-hero .sp-hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.lg-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.025em; }
.lg-art { position: relative; height: 220px; border-radius: 20px; overflow: hidden; box-shadow: var(--lx-shadow-hover); background: var(--lx-primary-soft); }
.lg-art img { width: 100%; height: 100%; object-fit: cover; }
.lg-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(14, 107, 92, .15), rgba(14, 107, 92, .45)); }
.lg-art i { position: absolute; z-index: 1; right: var(--s5); bottom: var(--s4); display: grid; place-items: center; width: 84px; height: 84px; border-radius: 24px;
    background: rgba(255, 255, 255, .92); color: var(--lx-primary); font-size: 2.4rem; box-shadow: var(--lx-shadow-pop); }
.lg-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s7); align-items: start; padding-top: var(--s6); }
.lg-toc { position: sticky; top: calc(var(--lx-header-h) + 36px + var(--s4)); padding: var(--s4); border-radius: var(--lx-radius); border: 1px solid var(--lx-line); background: var(--lx-surface); }
.lg-toc p { margin-bottom: var(--s2); font-weight: 700; font-size: .9rem; }
.lg-toc ol { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; counter-reset: lg-toc; }
.lg-toc li { counter-increment: lg-toc; }
.lg-toc a { display: flex; gap: var(--s2); align-items: flex-start; padding: var(--s2); border-radius: var(--lx-radius-sm); font-size: .84rem; color: var(--lx-ink-2); line-height: 1.35; }
.lg-toc a::before { content: counter(lg-toc); display: grid; place-items: center; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--lx-bg); font-size: .72rem; font-weight: 700; }
.lg-toc a:hover { background: var(--lx-bg); }
.lg-toc a.is-active { background: var(--lx-primary-soft); color: var(--lx-primary); font-weight: 600; }
.lg-toc a.is-active::before { background: var(--lx-primary); color: #fff; }
.lg-article { counter-reset: lg-sec; max-width: 760px; }
.lg-article h2 { display: flex; align-items: center; gap: var(--s3); margin: var(--s6) 0 var(--s3); padding-top: var(--s5); border-top: 1px solid var(--lx-line); font-size: 1.25rem; counter-increment: lg-sec; scroll-margin-top: calc(var(--lx-header-h) + 36px + var(--s4)); }
.lg-article h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.lg-article h2::before { content: counter(lg-sec); display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--lx-primary-soft); color: var(--lx-primary); font-size: .9rem; }
.lg-article p, .lg-article li { color: var(--lx-ink-2); line-height: 1.75; }
.lg-entity { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); max-width: 760px; margin-top: var(--s7); padding: var(--s5); border-radius: 20px; background: var(--lx-primary-soft); }
.lg-entity h2 { font-size: 1.2rem; margin-bottom: var(--s2); }
.lg-entity p { font-size: .88rem; color: var(--lx-ink-2); }
.lg-entity ul { display: grid; align-content: start; gap: var(--s2); margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.lg-entity li { display: flex; gap: var(--s2); align-items: flex-start; }
.lg-entity li i { color: var(--lx-primary); margin-top: 2px; }

@media (max-width: 1100px) {
    .sp-cards, .sp-steps, .sp-band, .sp-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sp-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sp-trio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .sp-trio__img { display: none; }
}
@media (max-width: 900px) {
    .sp-hero__grid, .sp-split, .sp-faq, .sp-join, .lg-body, .lg-hero .sp-hero__grid { grid-template-columns: minmax(0, 1fr); }
    .sp-statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
    .sp-statbar > div + div { border-left: 0; }
    .sp-roles { grid-template-columns: minmax(0, 1fr); }
    .sp-join .lx-formcard { position: static; }
    .lg-toc { position: static; }
    .lg-art { height: 160px; }
}
@media (max-width: 600px) {
    .sp-hero { padding: var(--s6) 0; }
    .sp-media { padding: 0; }
    .sp-media .ad-collage { height: 220px; grid-template-columns: 1fr; }
    .sp-media .ad-collage img:not(.ad-collage__img--0) { display: none; }
    .sp-float { position: static; max-width: none; margin-top: var(--s3); box-shadow: var(--lx-shadow); }
    .sp-statbar, .sp-cards, .sp-steps, .sp-band, .sp-flow, .sp-duo, .sp-trio, .sp-faq__list, .lg-entity { grid-template-columns: minmax(0, 1fr); }
    .sp-areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sp-statbar > div { padding: 0; }
    .sp-duo > div, .sp-cta { padding: var(--s5); }
    .sp-compare { font-size: .8rem; }
    .lg-art { display: none; }
}

/* ------------------------------------------------------------------ news list and article */
.nw-hero { padding: var(--s7) 0 var(--s6); background: radial-gradient(700px 320px at 90% 0%, rgba(14, 107, 92, .09), transparent 70%), radial-gradient(520px 260px at 0% 0%, var(--lx-accent-soft), transparent 70%); }
.nw-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); align-items: start; }
.nw-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.55rem); line-height: 1.12; letter-spacing: -.025em; }
.nw-hero h1 em { display: block; font-style: normal; color: var(--lx-primary); }
.nw-hero .lx-lead { max-width: 520px; margin-top: var(--s3); }
.nw-tools { display: flex; flex-direction: column; gap: var(--s4); }
.nw-search { position: relative; }
.nw-search i { position: absolute; left: var(--s4); top: 50%; transform: translateY(-50%); color: var(--lx-muted); }
.nw-search input { width: 100%; height: 52px; padding: 0 var(--s4) 0 44px; border: 1px solid var(--lx-line); border-radius: var(--lx-radius); background: var(--lx-surface); font: inherit; box-shadow: var(--lx-shadow); }
.nw-search input:focus { outline: none; border-color: var(--lx-primary); box-shadow: 0 0 0 3px rgba(14, 107, 92, .18); }
.nw-topics { display: flex; flex-wrap: wrap; gap: var(--s2); }
.nw-topics a { display: inline-flex; align-items: center; gap: var(--s2); height: 42px; padding: 0 var(--s4); border-radius: var(--lx-radius-md); border: 1px solid var(--lx-line); background: var(--lx-surface); font-weight: 600; font-size: .9rem; color: var(--lx-ink); transition: border-color .15s; }
.nw-topics a i { color: var(--lx-primary); }
.nw-topics a span { font-size: .78rem; font-weight: 600; color: var(--lx-muted); }
.nw-topics a:hover { border-color: var(--lx-ink-2); }
.nw-topics a.is-active { border-color: var(--lx-primary); background: var(--lx-primary-soft); color: var(--lx-primary); }

.nw-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s6); align-items: start; padding-top: var(--s5); }
.nw-main { display: flex; flex-direction: column; gap: var(--s5); min-width: 0; }
.nw-found { font-size: .9rem; color: var(--lx-ink-2); }
.nw-found a { color: var(--lx-primary); font-weight: 600; }
.nw-ph { position: absolute; inset: 0; display: grid; place-items: center; background: var(--lx-tint); color: var(--lx-muted); font-size: 1.6rem; }
.nw-tag { display: inline-flex; align-self: flex-start; padding: 3px var(--s2); border-radius: var(--lx-radius-sm); background: var(--lx-primary-soft); color: var(--lx-primary); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.nw-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); font-size: .8rem; color: var(--lx-muted); }
.nw-meta i + i, .nw-meta i:not(:first-child) { margin-left: var(--s2); }
.nw-go { display: inline-grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--lx-primary-soft); color: var(--lx-primary); transition: background .15s, color .15s; }
.nw-go:hover { background: var(--lx-primary); color: #fff; }
.nw-go--sm { width: 34px; height: 34px; font-size: .85rem; }

.nw-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); padding: var(--s3); border-radius: 20px; border: 1px solid var(--lx-line); background: var(--lx-surface); transition: box-shadow .15s; }
.nw-lead:hover { box-shadow: var(--lx-shadow-hover); }
.nw-lead__media { position: relative; display: block; min-height: 280px; border-radius: var(--lx-radius); overflow: hidden; }
.nw-lead__media img, .nw-card__media img, .nw-latest__img img, .nw-mini__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.nw-lead:hover .nw-lead__media img, .nw-card:hover .nw-card__media img { transform: scale(1.03); }
.nw-lead__body { display: flex; flex-direction: column; gap: var(--s3); padding: var(--s3) var(--s3) var(--s3) 0; }
.nw-lead__body h2 { font-size: 1.55rem; line-height: 1.25; letter-spacing: -.015em; }
.nw-lead__body h2 a:hover, .nw-card h3 a:hover, .nw-latest__text a:hover { color: var(--lx-primary); }
.nw-sum { color: var(--lx-ink-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.nw-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-top: auto; }

.nw-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.nw-card { display: flex; flex-direction: column; border-radius: var(--lx-radius); border: 1px solid var(--lx-line); background: var(--lx-surface); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.nw-card:hover { box-shadow: var(--lx-shadow-hover); transform: translateY(-2px); }
.nw-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.nw-card__body { display: flex; flex-direction: column; gap: var(--s3); flex: 1; padding: var(--s4); }
.nw-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.nw-card h3 { font-size: 1.02rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-card .nw-meta { margin-top: auto; }

.nw-side { position: sticky; top: calc(var(--lx-header-h) + 36px + var(--s4)); display: flex; flex-direction: column; gap: var(--s4); }
.nw-box { padding: var(--s5); border-radius: 20px; border: 1px solid var(--lx-line); background: var(--lx-surface); }
.nw-box__title { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); font-size: 1.15rem; }
.nw-box__title::after { content: ""; width: 32px; height: 2px; border-radius: 2px; background: var(--lx-primary); }
.nw-latest { display: grid; margin: 0; padding: 0; list-style: none; }
.nw-latest li { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) 0; }
.nw-latest li + li { border-top: 1px solid var(--lx-line); }
.nw-latest__no { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--lx-primary-soft); color: var(--lx-primary); font-size: .8rem; font-weight: 700; }
.nw-latest__img { position: relative; flex-shrink: 0; width: 76px; height: 58px; border-radius: var(--lx-radius-sm); overflow: hidden; }
.nw-latest__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nw-latest__text a { font-size: .88rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-latest__text small { font-size: .76rem; color: var(--lx-muted); }
.nw-cta { position: relative; overflow: hidden; padding: var(--s5); border-radius: 20px; background: var(--lx-dark-2); color: #fff; }
.nw-cta h2 { position: relative; font-size: 1.3rem; margin-bottom: var(--s2); }
.nw-cta p { position: relative; font-size: .88rem; color: var(--lx-on-dark); line-height: 1.55; margin-bottom: var(--s4); }
.nw-cta .lx-btn { position: relative; }
.nw-cta__art { position: absolute; right: -10px; bottom: -14px; font-size: 6rem; color: rgba(255, 255, 255, .07); }

/* article */
.nw-body--article { padding-top: var(--s5); }
.nw-article { display: flex; flex-direction: column; gap: var(--s4); min-width: 0; max-width: 800px; }
.nw-article h1 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.2; letter-spacing: -.02em; }
.nw-article__lead { font-size: 1.12rem; line-height: 1.6; color: var(--lx-primary); font-weight: 500; }
.nw-byline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s3); padding: var(--s3) 0; border-top: 1px solid var(--lx-line); border-bottom: 1px solid var(--lx-line); }
.nw-byline__who { display: flex; align-items: center; gap: var(--s3); }
.nw-byline__who > span:last-child { display: flex; flex-direction: column; }
.nw-byline__who strong { font-size: .9rem; }
.nw-byline__who small { font-size: .8rem; color: var(--lx-muted); }
.nw-byline__tools { display: flex; align-items: center; gap: var(--s3); }
.nw-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lx-primary-soft); color: var(--lx-primary); font-weight: 700; }
.nw-cover { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--lx-shadow-hover); }
.nw-cover img { display: block; width: 100%; max-height: 460px; object-fit: cover; }
.nw-content { font-size: 1.02rem; }
.nw-content h2 { margin: var(--s6) 0 var(--s3); font-size: 1.35rem; line-height: 1.3; color: var(--lx-ink); }
.nw-content h3 { margin: var(--s5) 0 var(--s2); font-size: 1.1rem; color: var(--lx-ink); }
.nw-content p { margin: 0 0 var(--s4); }
.nw-content ul, .nw-content ol { margin: 0 0 var(--s4); padding-left: var(--s5); }
.nw-content li { margin-bottom: var(--s2); }
.nw-content li::marker { color: var(--lx-primary); font-weight: 700; }
.nw-content strong { color: var(--lx-ink); }
.nw-content a { color: var(--lx-primary); text-decoration: underline; }
.nw-content table { width: 100%; border-collapse: collapse; margin: 0 0 var(--s4); font-size: .92rem; }
.nw-content th, .nw-content td { padding: var(--s2) var(--s3); border: 1px solid var(--lx-line); text-align: left; }
.nw-content th { background: var(--lx-bg); }
.nw-content img { max-width: 100%; height: auto; border-radius: var(--lx-radius); }
.nw-related { margin-top: var(--s5); }
.nw-related h2 { display: flex; align-items: center; gap: var(--s2); margin-bottom: var(--s4); font-size: 1.15rem; }
.nw-related h2 i { color: var(--lx-primary); }
.nw-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.nw-mini { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s2) var(--s2) var(--s3); border-radius: var(--lx-radius); border: 1px solid var(--lx-line); background: var(--lx-surface); transition: box-shadow .15s; }
.nw-mini:hover { box-shadow: var(--lx-shadow-hover); }
.nw-mini__img { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--lx-radius-md); overflow: hidden; }
.nw-mini .nw-tag { margin: 0 var(--s1); }
.nw-mini strong { padding: 0 var(--s1); font-size: .9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-mini small { padding: 0 var(--s1); font-size: .76rem; color: var(--lx-muted); }
.nw-bottom { margin-top: var(--s5); padding: var(--s6); border-radius: 20px; background: var(--lx-primary-soft); text-align: center; }
.nw-bottom h2 { font-size: 1.3rem; margin-bottom: var(--s2); }
.nw-bottom p { max-width: 520px; margin: 0 auto var(--s4); color: var(--lx-ink-2); }
.nw-bottom .sp-cta__actions { justify-content: center; }

/* article extras: reading progress, contents, previous / next, rooms, topics */
.nw-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; pointer-events: none; }
.nw-progress span { display: block; height: 100%; background: var(--lx-primary); transform: scaleX(0); transform-origin: 0 50%; transition: transform .1s linear; }
.nw-cover figcaption { padding: var(--s2) var(--s4); font-size: .8rem; color: var(--lx-muted); background: var(--lx-surface); }
.nw-content h2 { scroll-margin-top: calc(var(--lx-header-h) + 36px + var(--s4)); }
.nw-body--article { align-items: stretch; }
.nw-side--article { position: static; }
.nw-toc.lg-toc { position: sticky; top: calc(var(--lx-header-h) + 36px + var(--s4)); padding: var(--s5); border-radius: 20px; }
.nw-toc ol { max-height: calc(100vh - 260px); overflow-y: auto; }
.nw-topiclist { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nw-topiclist a { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) var(--s3); border-radius: var(--lx-radius-md); font-size: .9rem; color: var(--lx-ink-2); }
.nw-topiclist a i { color: var(--lx-primary); }
.nw-topiclist a span { flex: 1; }
.nw-topiclist a em { font-style: normal; min-width: 26px; padding: 1px var(--s2); border-radius: 999px; background: var(--lx-bg); font-size: .76rem; font-weight: 600; text-align: center; color: var(--lx-muted); }
.nw-topiclist a:hover { background: var(--lx-bg); color: var(--lx-ink); }
.nw-topiclist a.is-active { background: var(--lx-primary-soft); color: var(--lx-primary); font-weight: 600; }
.nw-pn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3); margin-top: var(--s4); }
.nw-pn a { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s4); border-radius: var(--lx-radius); border: 1px solid var(--lx-line); background: var(--lx-surface); transition: border-color .15s; }
.nw-pn a:hover { border-color: var(--lx-primary); }
.nw-pn small { font-size: .78rem; font-weight: 600; color: var(--lx-primary); text-transform: uppercase; letter-spacing: .04em; }
.nw-pn strong { font-size: .92rem; line-height: 1.35; }
.nw-pn__next { text-align: right; grid-column: 2; }
.nw-rooms { margin-top: var(--s5); }
.nw-rooms__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.nw-rooms__head h2 { display: flex; align-items: center; gap: var(--s2); font-size: 1.15rem; }
.nw-rooms__head h2 i { color: var(--lx-primary); }
.nw-rooms__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }

@media (max-width: 1100px) {
    .nw-rooms__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nw-rooms__grid > :nth-child(3) { display: none; }
}
@media (max-width: 900px) {
    .nw-toc.lg-toc { position: static; }
    .nw-side--article .nw-toc { order: -1; }
}
@media (max-width: 600px) {
    .nw-pn, .nw-rooms__grid { grid-template-columns: minmax(0, 1fr); }
    .nw-pn__next { grid-column: auto; }
    .nw-rooms__grid > :nth-child(3) { display: block; }
}
@media (max-width: 1100px) {
    .nw-body { grid-template-columns: minmax(0, 1fr) 300px; }
    .nw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nw-lead { grid-template-columns: minmax(0, 1fr); }
    .nw-lead__body { padding: 0 var(--s2) var(--s2); }
}
@media (max-width: 900px) {
    .nw-hero__grid, .nw-body { grid-template-columns: minmax(0, 1fr); }
    .nw-hero__grid { gap: var(--s5); }
    .nw-side { position: static; }
}
@media (max-width: 600px) {
    .nw-hero { padding: var(--s6) 0 var(--s4); }
    .nw-grid, .nw-related__grid { grid-template-columns: minmax(0, 1fr); }
    .nw-lead__media { min-height: 200px; }
    .nw-lead__body h2 { font-size: 1.25rem; }
    .nw-topics a { height: 38px; padding: 0 var(--s3); font-size: .85rem; }
    .nw-bottom { padding: var(--s5); }
}
