/* Search workspace: primary task first, compact factual cards, secondary tools on demand. */
.rm-icon { width:20px; height:20px; display:inline-block; flex:none; vertical-align:middle }
.rm-nav { position:relative; z-index:35 }
.rm-nav .logo { gap:9px; letter-spacing:-.8px }
.rm-nav .rm-account { display:inline-flex; align-items:center; gap:7px }
.rm-tools-menu { position:relative }
.rm-tools-menu > summary { display:flex; align-items:center; gap:7px; min-height:44px; padding:8px 12px; border:1px solid #d9e1da; border-radius:10px; cursor:pointer; list-style:none; font-size:13px }
.rm-tools-menu > summary::-webkit-details-marker { display:none }
.rm-tools-links { position:absolute; inset:52px 0 auto auto; width:360px; max-width:calc(100vw - 24px); padding:18px; border:1px solid #d8e1d8; border-radius:16px; background:#fffefa; box-shadow:0 16px 48px #1b3d2d18; z-index:50 }
.rm-tools-menu:not([open]) .rm-tools-links { display:none }
.rm-menu-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-bottom:10px }
.rm-menu-heading b { font-size:16px }
.rm-menu-heading button { display:grid; place-items:center; width:44px; height:44px; border-radius:10px; background:#eff3ee; color:#244c3e; font-size:25px }
.rm-menu-group { padding:8px 0; border-top:1px solid #e3e8e1 }
.rm-menu-group > span { display:block; padding:8px 10px 3px; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:#6c766d }
.rm-tools-links .rm-menu-group a { display:block; min-height:44px; padding:10px; border:0; font-size:14px; line-height:1.35; border-radius:8px }
.rm-tools-links .rm-menu-group a:hover { background:#eff3eb }
.rm-menu-group a small { display:block; font-size:12px; font-weight:400; color:#68746a; padding-top:3px }
.rm-menu-language { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 10px 0; border-top:1px solid #e3e8e1; font-size:13px }
.rm-menu-language select { width:145px; min-height:44px; border:1px solid #d6dfd5; border-radius:8px; padding:8px; background:white; font-size:16px }
.rm-app aside { padding:22px 14px; background:#f6f6f1 }
.rm-app aside a { display:flex; align-items:center; gap:10px; min-height:46px; padding:11px 13px; border-radius:9px; font-size:13px }
.rm-app aside a.active { background:#e8efe5; color:#164c3c; font-weight:700 }
.rm-app aside .rm-sidebar-label { display:block; margin:13px 13px 7px; font-size:10px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:#748070 }
.rm-app aside p { margin:36px 13px 0; font-size:11px; line-height:1.6; max-width:160px }
.rm-app > .rm-search-page { width:100%; max-width:1160px; padding:34px 32px 56px; min-width:0 }
.rm-search-page .rm-page-intro { margin-bottom:22px }
.rm-search-page .rm-kicker { font-size:10px; margin:0 0 8px; display:block }
.rm-search-page h1 { font-size:36px; letter-spacing:-.045em; line-height:1.15; margin-bottom:9px }
.rm-search-page .rm-page-intro p { max-width:590px; font-size:14px; line-height:1.55 }
.rm-live-form { display:grid; grid-template-columns:1fr auto; gap:8px 14px; padding:16px; margin:0 0 10px; background:white; border:1px solid #b9cbbd; border-radius:14px; box-shadow:0 4px 20px #183f2c05 }
.rm-search-label { grid-column:1/-1; color:#385448; font-size:12px; font-weight:700; padding:0 4px }
.rm-live-form textarea { width:100%; min-height:60px; max-height:180px; padding:6px 4px; border:0; resize:vertical; font-size:16px; line-height:1.5; background:transparent; color:#173d30 }
.rm-live-form button { min-width:120px; min-height:48px; padding:12px 20px; border-radius:10px; font-size:15px; background:#245e4c }
.rm-search-examples { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:12px 0 4px }
.rm-search-examples > span { font-size:12px; color:#6b786d; padding-right:4px }
.rm-search-examples button { min-height:44px; border:1px solid #d8e1d5; border-radius:10px; padding:8px 11px; background:#fffefa; color:#355c49; font-size:12px }
.rm-allowance { margin:10px 3px 18px; color:#68756a; font-size:12px; line-height:1.5 }
.rm-allowance span { font-size:11px; padding-left:4px }
.rm-results-head { align-items:flex-end; gap:18px; margin:24px 0 14px; padding-bottom:0; border:0 }
.rm-results-head b { font-size:21px; letter-spacing:-.025em }
.rm-results-head p { margin:4px 0 0; font-size:13px }
.rm-results-head time { white-space:nowrap; font-size:11px; color:#748073 }
.rm-results-controls { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:0 0 18px }
.rm-results-controls details { margin:0; min-width:0; border:1px solid #d4ded2; border-radius:10px; padding:0; background:#fffefa }
.rm-results-controls summary { display:flex; align-items:center; gap:8px; min-height:46px; cursor:pointer; padding:11px 14px; font-size:13px; font-weight:650; list-style:none }
.rm-results-controls summary::-webkit-details-marker { display:none }
.rm-results-controls details[open] { grid-column:1/-1 }
.rm-results-controls details[open] > summary { border-bottom:1px solid #e1e6de; margin:0 }
.rm-results-controls .rm-result-filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; padding:14px; background:transparent }
.rm-result-filters label { min-width:0; font-size:12px }
.rm-result-filters input,.rm-result-filters select { width:100%; min-height:46px; max-width:none; font-size:16px; color:#234d3c }
.rm-result-filters button { min-height:46px; font-size:14px }
.rm-filter-note { margin:0; padding:0 14px 14px; font-size:12px }
.rm-search-options .rm-result-tools { display:grid; grid-template-columns:1fr 1fr; gap:8px; margin:0; padding:12px }
.rm-result-tools button,.rm-result-tools a { display:flex; align-items:center; justify-content:center; gap:6px; min-height:46px; border-radius:8px; border:1px solid #d6dfd2; padding:10px; background:#f5f7f1; color:#2c5742; font-size:13px; text-align:center }
.rm-compare-ready { grid-column:1/-1; min-height:44px; display:flex; align-items:center; justify-content:center; border-radius:9px; background:#e9f0e4; color:#21513b; font-weight:650; font-size:14px }
.rm-cards { display:block }
.rm-match-group { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-bottom:22px; align-items:start }
.rm-match-group > h2 { margin:4px 0 0; font-size:13px; color:#647362; font-weight:600; letter-spacing:0 }
.rm-card { min-width:0; padding:19px; border:1px solid #dbe3d8; border-radius:16px; background:white; box-shadow:0 2px 8px #163d2d03; overflow-wrap:anywhere }
.rm-card:hover { transform:none; box-shadow:0 6px 24px #163d2d08 }
.rm-card > header { display:flex; align-items:center; gap:10px; justify-content:space-between }
.rm-card > header > a { display:flex; align-items:center; min-height:44px; font-size:12px; color:#57705d; max-width:calc(100% - 72px); line-height:1.4 }
.rm-card > header button { display:flex; align-items:center; justify-content:center; gap:5px; min-height:44px; padding:8px; border-radius:9px; background:#f1f5ee; color:#275a41; font-size:12px }
.rm-card > header button[aria-pressed=true] { background:#dcebd4; color:#124d30 }
.rm-card > header button[aria-pressed=true] .rm-icon { fill:currentColor }
.rm-card > header button em { font-style:normal }
.rm-card h2 { font-size:20px; font-weight:700; line-height:1.3; letter-spacing:-.025em; margin:12px 0 6px }
.rm-card .rm-card-area { margin:0 0 10px; color:#697969; font-size:13px }
.rm-rent-line { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px; margin:14px 0 9px }
.rm-rent-line strong { font-size:29px; line-height:1.15; margin:0; letter-spacing:-.045em }
.rm-rent-line > small { font-size:12px; color:#71816e }
.rm-facts { display:flex; gap:0; flex-wrap:wrap; color:#2b4b37; font-size:14px; font-weight:600; line-height:1.5 }
.rm-facts span + span:before { content:'·'; color:#9bab96; padding:0 9px }
.rm-card .rm-card-features { font-size:12px; color:#6a7866; margin:12px 0 }
.rm-card .rm-unverified { margin:13px 0 0; padding:10px 12px; border-radius:8px; background:#f3f5ee; color:#52674d; font-size:12px; line-height:1.5 }
.rm-card .rm-confirm { margin:13px 0; padding:0; border:0; font-size:12px; line-height:1.6; color:#65735e }
.rm-card-footer { display:grid; grid-template-columns:1fr 1fr; align-items:stretch; gap:8px; padding-top:5px }
.rm-card-footer a,.rm-card-footer button { display:flex; align-items:center; justify-content:center; gap:7px; min-height:46px; border-radius:9px; padding:10px; font-size:13px; font-weight:650; line-height:1.35; text-align:center }
.rm-card-footer .rm-view-listing { background:#295f47; color:#fff }
.rm-card-footer button { background:#f2f5ee; border:1px solid #d9e2d4; color:#355b40 }
.rm-listing-details { border-top:1px solid #e4e9df; margin-top:16px; padding-top:2px }
.rm-listing-details summary { display:flex; align-items:center; min-height:44px; cursor:pointer; color:#62735c; font-size:12px; list-style:none }
.rm-listing-details summary:after { content:'+'; margin-left:auto; font-size:19px }
.rm-listing-details[open] summary:after { content:'−' }
.rm-listing-details .rm-observed { margin:6px 0 12px; font-size:12px }
.rm-listing-details .rm-contact-actions { gap:8px }
.rm-listing-details .rm-contact-actions > * { min-height:44px; font-size:13px }
.rm-live-links { border-radius:12px; margin:20px 0 12px; padding:16px; background:#f6f7f1; border-color:#dbe2d5 }
.rm-live-links h2 { font-size:17px; margin-bottom:7px; letter-spacing:-.02em }
.rm-live-links p { font-size:12px; line-height:1.55; margin:0 0 10px }
.rm-live-links li { padding:8px 0 }
.rm-live-links li a { min-height:44px; font-size:13px; font-weight:600; line-height:1.5 }
.rm-live-links li small { font-size:11px }
.rm-research-brief,.rm-external-search { border:1px solid #dbe3d5; border-radius:10px; background:#fffefa; margin:12px 0 }
.rm-research-brief summary,.rm-external-search > summary { min-height:48px; padding:12px 14px; cursor:pointer; font-size:13px }
.rm-research-brief .rm-source-alternatives { font-size:12px }
.rm-refine { padding:20px; margin:16px 0; border-radius:12px }
.rm-refine h2 { font-size:24px; line-height:1.25 }
.rm-refine > p { font-size:14px }
.rm-refine button { min-height:44px; padding:12px 14px; border-radius:10px; font-size:13px; line-height:1.4 }
@media(max-width:1000px) and (min-width:801px) {
 .rm-app { grid-template-columns:176px minmax(0,1fr) }
 .rm-app > .rm-search-page { padding:28px 22px }
 .rm-match-group { grid-template-columns:1fr }
}
@media(max-width:800px) {
 .rm-nav { height:64px; padding:0 14px; gap:10px }
 .rm-nav nav { gap:6px; min-width:0 }
 .rm-nav .logo { font-size:22px }
 .rm-nav .rm-account { max-width:100px; min-height:44px; font-size:12px; padding:8px 10px!important; gap:5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
 .rm-tools-menu > summary { min-width:44px; padding:9px; font-size:12px }
 .rm-tools-menu > summary .rm-icon { width:17px; height:17px }
 .rm-tools-links { position:fixed; inset:72px 12px auto; width:auto; max-width:none; max-height:calc(100svh - 160px); padding:14px; overflow:auto; overscroll-behavior:contain }
 .rm-menu-group { padding:6px 0 }
 .rm-menu-group a small { font-size:11px }
 .rm-menu-group > span { padding-top:6px }
 .rm-app { padding-bottom:calc(82px + env(safe-area-inset-bottom,0px)) }
 .rm-app > .rm-search-page { padding:24px 16px 30px }
 .rm-search-page .rm-page-intro { margin-bottom:17px }
 .rm-search-page h1 { font-size:30px; letter-spacing:-.045em; margin-bottom:8px }
 .rm-search-page .rm-page-intro p { font-size:13px }
 .rm-search-page .rm-kicker { font-size:9px; letter-spacing:.12em }
 .rm-live-form { grid-template-columns:1fr; padding:13px; margin:0 0 9px; gap:6px }
 .rm-live-form textarea { min-height:74px; max-height:150px; padding:5px 3px; font-size:16px; line-height:1.45 }
 .rm-live-form button { width:100%; min-height:47px; padding:11px 16px }
 .rm-search-examples { gap:6px; margin:10px 0 }
 .rm-search-examples > span { width:100% }
 .rm-search-examples button { font-size:11px; padding:8px }
 .rm-allowance { font-size:11px; line-height:1.5; margin:9px 2px 18px }
 .rm-allowance span { display:block; padding:2px 0 0; font-size:10px }
 .rm-results-head { margin-top:22px; margin-bottom:12px }
 .rm-results-head b { font-size:20px }
 .rm-results-head p { font-size:12px }
 .rm-results-head time { margin-top:7px; display:block; font-size:10px }
 .rm-results-controls { gap:8px; margin-bottom:16px }
 .rm-results-controls summary { padding:10px 11px; gap:6px; min-height:46px; font-size:12px }
 .rm-results-controls .rm-result-filters { grid-template-columns:1fr 1fr; padding:12px; gap:12px }
 .rm-match-group { grid-template-columns:1fr; gap:12px }
 .rm-match-group > h2 { font-size:12px; margin-top:3px }
 .rm-card { padding:16px; border-radius:14px }
 .rm-card h2 { font-size:20px; margin-top:9px }
 .rm-rent-line strong { font-size:28px }
 .rm-card .rm-confirm { font-size:12px }
 .rm-mobile-tabs { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); align-items:stretch; height:auto; min-height:66px; padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px)); background:#fffefa; border-color:#d9e2d5; box-shadow:0 -4px 18px #28432905; z-index:40 }
 .rm-mobile-tabs > a,.rm-mobile-tabs > button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:48px; min-width:0; padding:5px 2px; border-radius:10px; background:transparent; color:#71806b; font:600 10px/1.25 'RentMilo Sans',Arial,sans-serif }
 .rm-mobile-tabs > [aria-current=page] { background:#eaf0e4; color:#21583c }
 .rm-mobile-tabs .rm-icon { width:19px; height:19px }
 .rm-mobile-tabs .rm-tab-count { display:inline; margin:0 0 0 2px; padding:0; background:none; font-size:10px; color:inherit }
 .rm-home .rm-hero { padding:36px 18px 30px }
 .rm-home .rm-hero h1 { font-size:42px; max-width:390px }
 .rm-home .rm-hero > div > p { font-size:15px }
 .rm-home .rm-searchbox { margin-top:22px; padding:12px }
 .rm-home .rm-searchbox textarea { min-height:96px }
 .rm-home .rm-hero-proof { gap:5px }
 .rm-home .rm-hero-proof span { font-size:10px }
 .rm-home .rm-home-art { display:none }
}
@media(max-width:350px) {
 .rm-nav { padding:0 10px }
 .rm-nav .logo { font-size:20px; gap:6px }
 .rm-nav .rm-account .rm-icon { display:none }
 .rm-nav .rm-account { max-width:80px }
 .rm-tools-menu > summary > span { display:none }
 .rm-app > .rm-search-page { padding:21px 12px 28px }
 .rm-search-page h1 { font-size:28px }
 .rm-card { padding:14px }
 .rm-card-footer { gap:6px }
 .rm-card-footer button,.rm-card-footer a { padding:9px 7px; font-size:12px }
 .rm-results-controls summary { font-size:11px; padding:10px }
}
@media(prefers-reduced-motion:reduce) {
 .rm-card,.rm-nav *, .rm-mobile-tabs * { transition:none!important }
}

/* Keep successful results in view while preserving an obvious path to edit criteria. */
.rm-nav .logo { min-height:44px }
.rm-query-editor { margin:0 0 10px; border:1px solid #bfcfbd; border-radius:12px; background:white }
.rm-query-editor > summary { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:60px; padding:13px 16px; cursor:pointer; list-style:none }
.rm-query-editor > summary::-webkit-details-marker { display:none }
.rm-query-editor > summary > span { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-size:14px; line-height:1.5; color:#284b33 }
.rm-query-editor > summary > em { flex:none; font-size:12px; font-weight:700; font-style:normal; text-decoration:underline; color:#245b39 }
.rm-query-editor .rm-live-form { margin:0; border:0; border-top:1px solid #e1e8dc; border-radius:0 0 12px 12px; box-shadow:none }
.rm-filter-empty { padding:20px; border:1px solid #d3dfcb; border-radius:12px; background:#f7f8f1 }
.rm-filter-empty h2 { font-size:20px; margin-bottom:8px }
.rm-filter-empty p { font-size:13px }
.rm-filter-empty button { min-height:44px; padding:10px 16px; border-radius:8px; background:#2c5d40; color:white; font-weight:650 }
details.rm-live-links > summary,.rm-more-links > summary { display:flex; align-items:center; min-height:44px; cursor:pointer; font-size:13px; font-weight:650 }
details.rm-live-links > summary:after,.rm-more-links > summary:after { content:'+'; margin-left:auto }
details.rm-live-links[open] > summary:after,.rm-more-links[open] > summary:after { content:'−' }
@media(max-width:800px) { .rm-query-editor > summary { padding:12px 14px; gap:12px } .rm-query-editor > summary > span { font-size:13px } }

.rm-card > header button { flex:none; white-space:nowrap }
html,body { min-width:0 }
