/* Shared compact, rounded catalog controls. */
html body .realty{--rc-bg:#fff;--rc-ink:#24272c;--rc-line:#dedfe2;--rc-hover:#fffaf6;--rc-selected:#fff1e6;--rc-accent:#ec7100}
html[data-theme=dark] body .realty,html[data-ninfo-theme=dark] body .realty{--rc-bg:#252a31;--rc-ink:#eceff4;--rc-line:#414852;--rc-hover:#343b45;--rc-selected:#493326;--rc-accent:#ffac69}
html body .realty .realty-results-head{padding-bottom:12px;border-bottom:1px solid var(--rc-line);gap:12px;align-items:center}
html body .realty .realty-results-head>div:last-child{display:flex;align-items:center;flex-wrap:wrap;gap:8px;overflow:visible;min-width:0}
html body .realty .realty-results-head button[data-view],html body .realty .ni-realty-sort>summary{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;min-height:38px;height:auto;padding:7px 13px;border:1px solid var(--rc-line);border-radius:18px;background:var(--rc-bg);color:var(--rc-ink);font-family:inherit;font-size:14px;font-weight:500;line-height:1.35;cursor:pointer;box-shadow:0 2px 5px #00000004;white-space:nowrap}
html body .realty .realty-results-head button[data-view]:hover,html body .realty .ni-realty-sort>summary:hover{border-color:#ff8a38;background:var(--rc-hover)}
html body .realty .realty-results-head button[data-view].is-active{color:var(--rc-accent);background:var(--rc-selected);border-color:#ff8a38}
html body .realty .ni-realty-sort{position:relative;flex:none;max-width:100%;z-index:20;margin:0;border:0;padding:0;background:transparent}
.ni-realty-sort>summary{list-style:none;user-select:none}.ni-realty-sort>summary::-webkit-details-marker{display:none}.ni-realty-sort .ni-realty-chevron{margin-left:auto}.ni-realty-sort[open] .ni-realty-chevron{transform:rotate(180deg)}
html body .realty .ni-realty-sort[open]{z-index:90}
html body .realty .ni-realty-sort nav{position:absolute;top:calc(100% + 8px);right:0;width:240px;max-width:calc(100vw - 32px);box-sizing:border-box;margin:0;padding:6px;border:1px solid var(--rc-line);border-radius:14px;background:var(--rc-bg);box-shadow:0 12px 36px #16203224;display:flex;flex-direction:column;gap:2px;max-height:calc(100dvh - 220px);overflow-y:auto}
html body .realty .ni-realty-sort nav a{display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;min-height:42px;padding:11px 12px;border:0;border-radius:8px;margin:0;color:var(--rc-ink);font:14px/1.35 Arial,sans-serif;text-decoration:none;white-space:nowrap}
html body .realty .ni-realty-sort nav a:hover{background:var(--rc-hover)}html body .realty .ni-realty-sort nav a[aria-current=true]{color:var(--rc-accent);background:var(--rc-selected);font-weight:600}
html body .realty .realty-results-head button:focus-visible,html body .realty .ni-realty-sort summary:focus-visible,html body .realty .ni-realty-sort a:focus-visible{outline:2px solid #ff7900;outline-offset:3px}
/* Single-line sidebar fields use the same 38px control size. */
html body .realty .rr-filters input[type=number],html body .realty .rr-filters input[type=search],html body .realty .rr-filters select{box-sizing:border-box;height:38px;padding:0 12px;border:1px solid var(--rc-line);border-radius:18px;background:var(--rc-bg);color:var(--rc-ink)}
html body .realty .rr-rooms span,html body .realty .rp-rooms span{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:38px;padding:7px 10px;border-radius:16px;border-color:var(--rc-line)}
html body .realty .rr-rooms input:not(:checked)+span{background:var(--rc-bg);border-color:var(--rc-line)}
html body .realty .rr-submit,html body .realty .rp-form .rp-submit,html body .realty .rp-done{box-sizing:border-box;min-height:38px;padding:8px 14px;border-radius:18px;line-height:1.35}
html body .realty .rp-form .rp-field,html body .realty .rp-pocket{border-radius:18px;border:1px solid var(--rc-line);background:var(--rc-bg)}
html body .realty .rp-form.rp-two-rows .rp-search-row>.rp-field{min-height:48px;padding:5px 12px;border-radius:18px}
html body .realty .rp-two-rows .rp-pocket>summary{box-sizing:border-box;min-height:46px;padding:5px 12px;border-radius:18px}
html body .realty .rp-form.rp-two-rows .rp-submit{min-height:48px;border-radius:18px}
html body .realty .rp-deal{border-radius:20px}html body .realty .rp-deal span{border-radius:17px}
html body .realty .rp-popover,html body .realty .rp-extra-grid{border-radius:18px}
@media(max-width:600px){html body .realty .realty-results-head button[data-view],html body .realty .ni-realty-sort>summary{font-size:13px;padding:7px 11px;gap:6px}html body .realty .realty-results-head>div:last-child{gap:6px}html body .realty .rr-filters input[type=number],html body .realty .rr-filters input[type=search],html body .realty .rr-filters select{font-size:16px}}
html body .realty select[data-rc-enhanced][hidden]{display:none!important}
html body .realty .rc-select-trigger{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0;min-height:38px;margin:0;padding:7px 12px;border:1px solid var(--rc-line);border-radius:18px;background:var(--rc-bg);color:var(--rc-ink);font:14px/1.35 Arial,sans-serif;text-align:left;cursor:pointer}
html body .realty .rc-select-trigger>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}html body .realty .rc-select-trigger>svg{flex:none;color:#868c94}html body .realty .rc-select-trigger:hover,html body .realty .rc-select-trigger[aria-expanded=true]{border-color:#ff8a38;background:var(--rc-hover)}html body .realty .rc-select-trigger:focus-visible{outline:2px solid #ff7900;outline-offset:2px}
html body .realty .rp-form .rc-select-trigger{border:0;border-radius:8px;min-height:24px;padding:0;background:transparent;font-size:13px}
.rc-options-panel{position:fixed;z-index:10010;box-sizing:border-box;display:flex;flex-direction:column;padding:6px;border:1px solid #dedfe2;border-radius:14px;background:#fff;color:#24272c;box-shadow:0 12px 36px #16203224;overflow:hidden}
.rc-options-panel>[data-rc-options]{overflow-y:auto;min-height:0;overscroll-behavior:contain}.rc-options-panel button{box-sizing:border-box;display:flex;width:100%;min-height:38px;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;margin:0;border:0;border-radius:8px;background:transparent;color:inherit;font:14px/1.4 Arial,sans-serif;text-align:left;cursor:pointer}.rc-options-panel button:hover{background:#f5f6f7}.rc-options-panel button[aria-selected=true]{background:#fff1e6;color:#e76b00;font-weight:600}.rc-options-panel button[aria-selected=true]:after{content:'✓';flex:none}.rc-options-panel button:focus-visible{outline:2px solid #ff7900;outline-offset:-2px}.rc-options-panel>input{box-sizing:border-box;flex:none;width:calc(100% - 8px);height:38px;margin:4px 4px 8px;padding:0 10px;border:1px solid #dedfe2;border-radius:12px;background:#f6f7f8;color:inherit;font:16px Arial,sans-serif}.rc-options-panel p{padding:10px;font-size:13px;color:#777}
html[data-theme=dark] .rc-options-panel,html[data-ninfo-theme=dark] .rc-options-panel{background:#252a31;border-color:#414852;color:#eceff4}html[data-theme=dark] .rc-options-panel button:hover,html[data-ninfo-theme=dark] .rc-options-panel button:hover{background:#343b45}html[data-theme=dark] .rc-options-panel button[aria-selected=true],html[data-ninfo-theme=dark] .rc-options-panel button[aria-selected=true]{background:#493326;color:#ffac69}html[data-theme=dark] .rc-options-panel>input,html[data-ninfo-theme=dark] .rc-options-panel>input{background:#343b45;border-color:#414852}
