/* One navigation surface for all public RUMAPA pages. */
header.rumapa-header-source{display:none!important}
header.rumapa-sitebar{position:relative!important;inset:auto!important;display:block!important;height:auto!important;min-height:0;overflow:visible;z-index:100;width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:radial-gradient(ellipse at 82% 0%,#142d49 0%,transparent 54%),#071222;color:#fff;box-shadow:none;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.3;box-sizing:border-box}
.rumapa-sitebar *, .rumapa-menu-dialog *{box-sizing:border-box}
.rumapa-sitebar .rumapa-sitebar-inner{width:min(100%,1600px);min-height:104px;margin:0 auto;padding:20px 40px;display:flex;align-items:center;gap:32px}
.rumapa-sitebar a,.rumapa-menu-dialog a{text-decoration:none;border:0}
.rumapa-sitebar .rumapa-brand{display:flex;align-items:center;gap:14px;flex-shrink:0;color:#fff;font-size:30px;font-weight:800;letter-spacing:.02em;white-space:nowrap}
.rumapa-brand img{display:block;width:44px;height:44px;object-fit:contain;box-shadow:none;border-radius:0}
.rumapa-sitebar .rumapa-primary-nav{display:flex;align-items:center;justify-content:center;gap:22px;flex:1;min-width:0;margin:0;padding:0}
.rumapa-primary-nav>a{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 0;color:#b7c2d4;font-size:15px;font-weight:600;white-space:nowrap;transition:color .18s ease}
.rumapa-primary-nav>a:hover,.rumapa-primary-nav>a.is-active{color:#fff}
.rumapa-primary-nav>a.is-active:after{content:"";position:absolute;bottom:-8px;left:0;right:0;height:2px;border-radius:2px;background:linear-gradient(90deg,#00c8c4,#1983ff);box-shadow:0 2px 10px #00aeee33}
.rumapa-primary-nav .rumapa-account-link{color:#e0ebfa}
.rumapa-account-link svg{width:18px;height:18px;color:#8dc9ee;flex-shrink:0}
.rumapa-sitebar .rumapa-header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;margin:0}
.rumapa-header-languages,.rumapa-menu-languages{display:flex;align-items:center;gap:2px;padding:4px;border:1px solid #ffffff20;border-radius:32px;background:#0a172e}
.rumapa-header-languages>a,.rumapa-header-languages>button,.rumapa-menu-languages>a,.rumapa-menu-languages>button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:0;padding:0;margin:0;border:0;border-radius:50%;background:transparent;box-shadow:none;font:600 12px/1 inherit;font-family:inherit;font-size:12px;font-weight:600;color:#aebbd1;cursor:pointer;transition:background .18s,color .18s}
.rumapa-header-languages .is-active,.rumapa-menu-languages .is-active{color:white;background:linear-gradient(135deg,#10b8c5,#087bdf);box-shadow:inset 0 1px 0 #ffffff30}
.rumapa-header-languages>:hover,.rumapa-menu-languages>:hover{color:#fff;background-color:#ffffff0d}
.rumapa-sitebar .rumapa-app-link{display:flex;align-items:center;justify-content:center;min-height:46px;padding:12px 22px;border-radius:28px;background:linear-gradient(105deg,#00bfc9,#147bff 55%,#8142ff);color:white;font-size:15px;font-weight:700;white-space:nowrap;box-shadow:inset 0 1px 0 #ffffff38,0 8px 24px #1678f419;transition:box-shadow .18s,filter .18s}
.rumapa-sitebar .rumapa-app-link:hover{filter:brightness(1.08);box-shadow:inset 0 1px 0 #ffffff50,0 8px 24px #1678f433}
.rumapa-header-settings{position:relative;margin:0;padding:0;border:0;background:transparent}
.rumapa-header-settings>summary,.rumapa-sitebar .rumapa-menu-toggle,.rumapa-menu-top>button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:0;padding:11px;border:1px solid #ffffff20;border-radius:50%;background:#0b1930;color:#dae7f9;cursor:pointer;box-shadow:none;list-style:none}
.rumapa-header-settings>summary::-webkit-details-marker{display:none}
.rumapa-header-settings svg,.rumapa-menu-toggle svg,.rumapa-menu-top svg{width:20px;height:20px;display:block}
.rumapa-header-settings>summary:hover,.rumapa-menu-toggle:hover{background:#142a43}
.rumapa-sitebar .rumapa-settings-panel{position:absolute;top:calc(100% + 12px);right:0;min-width:220px;padding:8px;border:1px solid #2b3d55;border-radius:16px;background:#0e1d32;box-shadow:0 14px 40px #0004}
.rumapa-settings-panel>a,.rumapa-settings-panel>button{display:block;width:100%;padding:12px;border:0;border-radius:9px;margin:0;text-align:left;background:transparent;color:#e3ebf8;font:500 14px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;box-shadow:none}
.rumapa-settings-panel>:hover{background:#1b304b;color:white}
.rumapa-sitebar :is(a,button,summary):focus-visible,.rumapa-menu-dialog :is(a,button):focus-visible{outline:2px solid #70c9f0;outline-offset:4px}
.rumapa-sitebar .rumapa-menu-toggle{display:none}
.rumapa-menu-dialog{position:fixed;inset:16px 16px auto auto;width:min(380px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);overflow:auto;margin:0;padding:22px;border:1px solid #30425c;border-radius:24px;background:linear-gradient(150deg,#142740,#091427);color:#fff;font:500 16px/1.4 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 24px 90px #0005}
.rumapa-menu-dialog:not([open]){display:none!important}
.rumapa-menu-dialog::backdrop{background:#03102199;backdrop-filter:blur(6px)}
.rumapa-menu-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.rumapa-menu-top strong{font-size:22px;letter-spacing:.04em}
.rumapa-menu-dialog nav{position:static;inset:auto;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;width:100%;height:auto;min-height:0;max-height:none;margin:0;padding:0;overflow:visible;font:inherit;color:inherit}
.rumapa-menu-dialog nav>a{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px;border-radius:12px;color:#d5dfed;font-weight:600;background:transparent}
.rumapa-menu-dialog nav>a:hover,.rumapa-menu-dialog nav>a.is-active{background:#ffffff09;color:#fff}
.rumapa-menu-dialog nav>.rumapa-account-link{margin-top:10px;border:1px solid #75a5d53d;background:#152d47;color:#eff7ff}
.rumapa-menu-dialog nav>a:last-child{font-size:14px;color:#aebcd0}
.rumapa-menu-languages{width:max-content;margin-top:20px}
.rumapa-menu-dialog .rumapa-menu-theme{display:block;margin:16px 0 0;padding:12px;border:0;border-radius:12px;background:#ffffff09;color:#d5dfed;font:inherit;cursor:pointer}
.rumapa-footer-about{display:inline-block;margin:12px 0;font-size:14px;color:inherit}
@media(min-width:1600px){.rumapa-sitebar .rumapa-sitebar-inner{min-height:112px}.rumapa-primary-nav>a{font-size:16px}.rumapa-sitebar .rumapa-primary-nav{gap:28px}}
@media(max-width:1190px){.rumapa-sitebar .rumapa-sitebar-inner{padding:18px 24px;gap:24px}.rumapa-sitebar .rumapa-primary-nav{gap:16px}.rumapa-sitebar .rumapa-brand{font-size:25px;gap:10px}.rumapa-brand img{width:38px;height:38px}.rumapa-primary-nav>a{font-size:14px}.rumapa-sitebar .rumapa-app-link{padding:12px 18px}}
@media(max-width:980px){.rumapa-sitebar .rumapa-primary-nav,.rumapa-sitebar .rumapa-header-languages,.rumapa-sitebar .rumapa-header-settings{display:none}.rumapa-sitebar .rumapa-menu-toggle{display:flex}.rumapa-sitebar .rumapa-header-actions{margin-left:auto}.rumapa-sitebar .rumapa-sitebar-inner{min-height:84px}}
@media(max-width:480px){.rumapa-sitebar .rumapa-sitebar-inner{min-height:76px;padding:14px 16px;gap:12px}.rumapa-sitebar .rumapa-brand{font-size:22px;gap:8px}.rumapa-brand img{width:34px;height:34px}.rumapa-sitebar .rumapa-header-actions{gap:8px}.rumapa-sitebar .rumapa-app-link{font-size:12px;min-height:40px;padding:10px 14px}.rumapa-sitebar .rumapa-menu-toggle{width:40px;height:40px;padding:10px}}
@media(prefers-reduced-motion:reduce){.rumapa-sitebar *{transition:none!important}}
@media(max-width:359px){.rumapa-sitebar .rumapa-sitebar-inner{padding:14px 12px;gap:8px}.rumapa-sitebar .rumapa-brand{font-size:18px;gap:6px}.rumapa-brand img{width:30px;height:30px}.rumapa-sitebar .rumapa-header-actions{gap:6px}.rumapa-sitebar .rumapa-app-link{padding:10px}}

/* Marketing pages share one uninterrupted background with their hero. */
body[data-rumapa-refresh]:not(.web-create-page) header.rumapa-sitebar{background:transparent;box-shadow:none;border:0}
/* Allow the decorative hero glow to continue behind the transparent header. */
body[data-rumapa-refresh] :is(.ai-search-main,.create-main,.business-main,.map-main,.about-main),
body[data-rumapa-refresh] :is(.business-hero,.about-hero){overflow:visible}
body[data-rumapa-refresh] main::before{-webkit-mask-image:linear-gradient(to bottom,transparent,#000 220px);mask-image:linear-gradient(to bottom,transparent,#000 220px)}

/* Keep navigation in flow when the catalog body is a constrained flex column. */
header.rumapa-sitebar{flex-shrink:0!important}

.rumapa-menu-dialog .rumapa-menu-theme{display:flex;align-items:center;gap:10px}.rumapa-menu-theme svg{width:20px;height:20px;flex:none}

/* Language and appearance are paired preferences, independent of navigation. */
.rumapa-sitebar .rumapa-header-settings{display:none!important}
.rumapa-theme-options{display:flex;align-items:center;gap:2px;padding:4px;border:1px solid #ffffff20;border-radius:30px;background:#0a172e;flex:none;}
.rumapa-theme-options button{display:flex;align-items:center;justify-content:center;width:36px;height:36px;min-height:0;padding:8px;margin:0;border:0;border-radius:50%;background:transparent;color:#aebbd1;box-shadow:none;cursor:pointer;}
.rumapa-theme-options svg{display:block;width:20px;height:20px;flex:none}
.rumapa-theme-options button.is-active{color:#fff;background:#244660;box-shadow:inset 0 1px 0 #ffffff25}
.rumapa-theme-options button:hover{color:#fff;background-color:#ffffff15}
.rumapa-menu-preferences{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:24px;}
.rumapa-menu-preferences .rumapa-menu-languages{margin:0;}
@media(max-width:980px){.rumapa-sitebar .rumapa-primary-nav,.rumapa-sitebar .rumapa-header-languages,.rumapa-sitebar .rumapa-theme-options{display:none}.rumapa-sitebar .rumapa-menu-toggle{display:flex}.rumapa-sitebar .rumapa-header-actions{margin-left:auto}}
.rumapa-menu-dialog nav>a>span{display:inline;min-width:0;height:auto;}

/* Keep hover decoration in its own small layer; never paint a link-sized panel. */
header.rumapa-sitebar{isolation:isolate;}
.rumapa-sitebar .rumapa-primary-nav,
.rumapa-sitebar .rumapa-primary-nav>a,
.rumapa-sitebar .rumapa-primary-nav>a:is(:hover,:focus-visible,.is-active){background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;}
.rumapa-sitebar .rumapa-primary-nav>a::before{content:none;}
.rumapa-sitebar .rumapa-primary-nav>a::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:2px;border:0;border-radius:2px;background:linear-gradient(90deg,#00c8c4,#1983ff);box-shadow:0 2px 10px #00aeee33;pointer-events:none;opacity:0;transform:scaleX(0);transform-origin:center;transition:transform .22s ease,opacity .22s ease;}
.rumapa-sitebar .rumapa-primary-nav>a:is(:hover,:focus-visible,.is-active)::after{opacity:1;transform:scaleX(1);}
@media(prefers-reduced-motion:reduce){.rumapa-sitebar .rumapa-primary-nav>a::after{transition:none;}}

/* Avoid a blurred hero layer extending underneath interactive header links in Safari. */
body.ai-search-page .ai-search-hero::before{filter:none;background:radial-gradient(ellipse,rgba(8,121,255,.10) 0%,rgba(8,121,255,.045) 35%,transparent 70%);}
body.ai-search-page .rumapa-sitebar{transform:translateZ(0);}
.rumapa-menu-dialog nav>a[href$="/about/"],.rumapa-menu-dialog nav>a[href$="/faq/"]{font-size:14px;color:#aebcd0;}

/* Keep the full desktop navigation at laptop widths. */
@media(min-width:981px) and (max-width:1350px){
 .rumapa-sitebar .rumapa-sitebar-inner{padding:18px 24px;gap:20px;}
 .rumapa-sitebar .rumapa-brand{font-size:25px;gap:10px;}
 .rumapa-sitebar .rumapa-brand img{width:38px;height:38px;}
 .rumapa-sitebar .rumapa-primary-nav{gap:16px;}
 .rumapa-sitebar .rumapa-primary-nav>a{font-size:14px;}
 .rumapa-sitebar .rumapa-header-actions{gap:8px;}
 .rumapa-sitebar .rumapa-app-link{padding:12px 16px;font-size:13px;}
}

/* Compact desktop navigation before switching to the mobile menu. */
@media(min-width:981px) and (max-width:1120px){
 .rumapa-sitebar .rumapa-sitebar-inner{padding:18px 20px;gap:14px;}
 .rumapa-sitebar .rumapa-brand{font-size:22px;gap:8px;}
 .rumapa-sitebar .rumapa-brand img{width:34px;height:34px;}
 .rumapa-sitebar .rumapa-primary-nav{gap:12px;}
 .rumapa-sitebar .rumapa-primary-nav>a{font-size:13px;gap:5px;}
 .rumapa-sitebar .rumapa-header-actions{gap:6px;}
 .rumapa-sitebar .rumapa-app-link{padding:12px;font-size:12px;}
 .rumapa-sitebar .rumapa-header-languages{padding:3px;gap:0;}
 .rumapa-sitebar .rumapa-header-languages>*{width:30px;height:36px;}
 .rumapa-sitebar .rumapa-theme-options{padding:3px;gap:0;}
 .rumapa-sitebar .rumapa-theme-options button{width:30px;height:36px;padding:6px;}
}
/* Keep the home illustration alongside the copy at smaller desktop widths. */
@media(min-width:981px) and (max-width:1120px){
 body[data-rumapa-refresh] .hero{display:grid;grid-template-columns:1.05fr 1fr;gap:24px;text-align:left;padding-top:40px;}
 body[data-rumapa-refresh] .hero-copy{max-width:none;min-width:0;}
 body[data-rumapa-refresh] .hero h1{font-size:60px;}
 body[data-rumapa-refresh] .hero-lead{font-size:22px;}
 body[data-rumapa-refresh] .hero-text{font-size:16px;}
 body[data-rumapa-refresh] .hero .store-row,body[data-rumapa-refresh] .hero .trust-row{justify-content:flex-start;}
 body[data-rumapa-refresh] .hero-visual{min-height:650px;margin-top:0;}
 body[data-rumapa-refresh] .hero-visual .phone{width:88%;right:0;top:20px;transform:rotate(2deg);}
 body[data-rumapa-refresh] .hero-visual .float-card{min-width:0;padding:12px;}
 body[data-rumapa-refresh] .hero-visual .card-apartment{left:0;}
 body[data-rumapa-refresh] .hero-visual .card-events{left:0;}
 body[data-rumapa-refresh] .hero-visual .card-shops{right:0;}
 body[data-rumapa-refresh] .hero-visual .card-ai{right:0;}
}

/* Account forms retain the current page beneath a consistent backdrop. */
html body:has(.buyer-login[open]) .buyer-login::backdrop{background:rgba(12,22,39,.55);}
html body:not(.dark):has(.buyer-login[open]) .buyer-login::backdrop{background:rgba(196,209,226,.58);}

/* Dark discovery surfaces share the page background all the way through navigation. */
html:not([data-public-theme="light"]) body:has(.city-discovery) > header.rumapa-sitebar,
body.dark > header.rumapa-sitebar{background:transparent;box-shadow:none;border:0}

/* Site-wide action feedback; preserves each theme and native provider buttons. */
:is(button,[role="button"],a[class*="button"],a[class*="btn"],a[class*="action"],a.chip){transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease,color .18s ease}
@media(hover:hover) and (pointer:fine){:is(button,[role="button"],a[class*="button"],a[class*="btn"],a[class*="action"],a.chip):not(:disabled):not([aria-disabled="true"]):hover{border-color:#61cdeb!important;box-shadow:0 0 0 1px #61cdeb55,0 6px 24px #16a8dc26!important}}
:is(button,[role="button"],a[class*="button"],a[class*="btn"],a[class*="action"],a.chip):focus-visible{outline:2px solid #61cdeb!important;outline-offset:3px;box-shadow:0 0 0 1px #61cdeb33,0 4px 18px #16a8dc20!important}
@media(prefers-reduced-motion:reduce){:is(button,[role="button"],a[class*="button"],a[class*="btn"],a[class*="action"],a.chip){transition:none!important}}

/* Text navigation uses the existing underline, not button-shaped feedback. */
.rumapa-sitebar .rumapa-primary-nav>a:is(:hover,:focus-visible){box-shadow:none!important;outline:none!important;background:transparent;border-color:transparent!important}

/* The final translation panel already supplies its own padded boundary. */
body.translate-page main .translate-next-card{overflow:visible}
/* Accordions highlight their rounded container rather than a clipped inner label. */
.faq-item{transition:border-color .18s ease,box-shadow .18s ease}
body main .faq-item .faq-question:not(:disabled):is(:hover,:focus-visible){box-shadow:none!important;outline:none!important;border-color:transparent!important}
@media(hover:hover) and (pointer:fine){.faq-item:has(.faq-question:hover){border-color:#61cdeb;box-shadow:0 0 0 1px #61cdeb55,0 6px 24px #16a8dc26}}
.faq-item:has(.faq-question:focus-visible){outline:2px solid #61cdeb;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.faq-item{transition:none}}

/* Keep catalog filter glow above the following results surface. */
body.list-open > .toolbar {position:relative;z-index:1;}

/* Catalog menus sit above result-card actions; summary shares button feedback. */
body > .toolbar:has(.category-choice){position:relative;z-index:10;}
body:has(> .toolbar .category-choice) > main{isolation:isolate;}
body > .toolbar .category-choice > summary{transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease,color .18s ease;}
@media(hover:hover) and (pointer:fine){
body > .toolbar .category-choice > summary:hover{border-color:#61cdeb!important;box-shadow:0 0 0 1px #61cdeb55,0 6px 24px #16a8dc26!important;}
}
body > .toolbar .category-choice > summary:focus-visible{outline:2px solid #61cdeb;outline-offset:3px;box-shadow:0 0 0 1px #61cdeb55,0 6px 24px #16a8dc26!important;}
@media(prefers-reduced-motion:reduce){body > .toolbar .category-choice > summary{transition:none;}}

/* Unified category picker: compact rows, quiet selection, narrow scrolling. */
html body .category-choice{--picker-active:#eaf6fc;--picker-hover:#f0f6fc;--picker-accent:#078ca8;--picker-badge:#edf2f7;--picker-shadow:0 16px 44px #152b4826;}
html body.dark .category-choice{--picker-active:#13344a;--picker-hover:#172a40;--picker-accent:#6bd7eb;--picker-badge:#22354b;--picker-shadow:0 18px 48px #0005;}
html body .category-choice .catalog-nav{width:292px;max-width:calc(100vw - 32px);max-height:min(60dvh,500px);padding:8px;gap:4px;border-radius:20px;border:1px solid var(--category-line);background:var(--category-bg);box-shadow:var(--picker-shadow);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#8093a566 transparent;overscroll-behavior:contain;}
html body .category-choice .catalog-nav::-webkit-scrollbar{width:5px;height:0;}
html body .category-choice .catalog-nav::-webkit-scrollbar-thumb{background:#8093a566;border-radius:8px;}
html body .category-choice .catalog-nav::-webkit-scrollbar-track{background:transparent;}
html body .category-choice .catalog-nav>.category-chip{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;justify-content:normal;gap:10px;min-height:44px;padding:10px 12px;border:0;border-radius:12px;background:transparent;color:var(--category-ink);text-align:left;font-size:14px;font-weight:600;line-height:1.4;white-space:normal;overflow-wrap:anywhere;box-shadow:none!important;transform:none;}
html body .category-choice .catalog-nav>.category-chip::before{content:'';width:20px;height:20px;background:var(--picker-accent);mask:var(--category-icon) center/20px 20px no-repeat;-webkit-mask:var(--category-icon) center/20px 20px no-repeat;opacity:.8;}
html body .category-choice .catalog-nav>.category-chip>span{min-width:28px;padding:3px 7px;border-radius:8px;background:var(--picker-badge);color:var(--category-muted);font-size:11px;line-height:1.35;font-weight:650;text-align:center;font-variant-numeric:tabular-nums;}
html body .category-choice .catalog-nav>.category-chip.active{background:var(--picker-active);color:var(--category-ink);padding-right:34px;}
html body .category-choice .catalog-nav>.category-chip.active::after{content:'';position:absolute;right:14px;top:50%;width:6px;height:10px;border:solid var(--picker-accent);border-width:0 2px 2px 0;transform:translateY(-65%) rotate(45deg);}
html body .category-choice .catalog-nav>.category-chip:focus-visible{outline:2px solid #61cdeb;outline-offset:-2px;background:var(--picker-hover);}
@media(hover:hover) and (pointer:fine){html body .category-choice .catalog-nav>.category-chip:hover{background:var(--picker-hover);box-shadow:none!important;}html body .category-choice .catalog-nav>.category-chip.active:hover{background:var(--picker-active);}}
html body .category-choice .catalog-nav>.category-chip:nth-child(1){--category-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22/%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22/%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22/%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221.5%22/%3E%3C/svg%3E");}
html body .category-choice .catalog-nav>.category-chip:nth-child(2){--category-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%207%209-4%209%204v10l-9%204-9-4V7Zm0%200%209%204%209-4M12%2011v10M7.5%205l9%204%22/%3E%3C/svg%3E");}
html body .category-choice .catalog-nav>.category-chip:nth-child(3){--category-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2011%209-8%209%208M5%2010v11h5v-7h4v7h5V10%22/%3E%3C/svg%3E");}
html body .category-choice .catalog-nav>.category-chip:nth-child(4){--category-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m4%2010%202-6h12l2%206M3%2010h18v8H3zM6%2018v3M18%2018v3M6%2014h2M16%2014h2%22/%3E%3C/svg%3E");}
html body .category-choice .catalog-nav>.category-chip:nth-child(5){--category-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%205a5%205%200%200%200-6%206L3%2016a3%203%200%200%200%204%204l5-5a5%205%200%200%200%207-6l-4%203-3-3%202-4Z%22/%3E%3C/svg%3E");}
html body .category-choice .catalog-nav>.category-chip:nth-child(6){--category-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2021V4h11v17M15%209h5v12M2%2021h20M8%208h3M8%2012h3M8%2016h3M17%2013h1M17%2017h1%22/%3E%3C/svg%3E");}
html body .category-choice .catalog-nav>.category-chip:nth-child(7){--category-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%227%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M8%207V3h8v4M3%2012l9%203%209-3M10%2014v3h4v-3%22/%3E%3C/svg%3E");}
html body .category-choice .catalog-nav>.category-chip:nth-child(8){--category-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M7%203v4M17%203v4M3%2010h18M7%2014h3M14%2014h3M7%2017h3%22/%3E%3C/svg%3E");}
html body .category-choice .catalog-nav>.category-chip:nth-child(9){--category-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223%22/%3E%3Cpath%20d%3D%22M3%2021v-3a6%206%200%200%201%2012%200v3M16%205a3%203%200%200%201%200%206M18%2015a4%204%200%200%201%203%204v2%22/%3E%3C/svg%3E");}
@media(max-width:600px){html body .category-choice .catalog-nav{width:auto;max-width:none;left:14px;right:14px;max-height:52dvh;}}

/* Sorting uses the same disclosure and row styling as categories. */
html body #catalog-sort[hidden]{display:none!important;}
html body .sort-choice .catalog-nav{left:auto;right:0;width:260px;}
html body .sort-choice .catalog-nav>.category-chip{grid-template-columns:20px minmax(0,1fr);padding-right:34px;}
@media(max-width:600px){html body .sort-choice .catalog-nav{left:14px;right:14px;width:auto;}}
html body .category-choice.sort-choice .catalog-nav>.category-chip:nth-child(1){--category-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%202.8%205.7%206.2.9-4.5%204.4%201%206.2-5.5-2.9-5.5%202.9%201-6.2L3%209.6l6.2-.9L12%203Z%22/%3E%3C/svg%3E");}
html body .category-choice.sort-choice .catalog-nav>.category-chip:nth-child(2){--category-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22/%3E%3Cpath%20d%3D%22M12%207v5l3%202%22/%3E%3C/svg%3E");}
html body .category-choice.sort-choice .catalog-nav>.category-chip:nth-child(3){--category-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%204v16m-4-4%204%204%204-4M14%206h7M14%2011h5M14%2016h3%22/%3E%3C/svg%3E");}
html body .category-choice.sort-choice .catalog-nav>.category-chip:nth-child(4){--category-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%2020V4M3%208l4-4%204%204M14%206h3M14%2011h5M14%2016h7%22/%3E%3C/svg%3E");}

/* Section cards use their quiet border, without decorative bottom progress bars. */
.create-story::before,
.translate-story-02 .translate-story-copy::before,
.create-story-04 .create-example::after,
.create-story-06 .create-principle::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

.rumapa-account-initial{display:inline-grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:linear-gradient(135deg,#087f91,#265ddd);color:#fff;font-size:13px;line-height:1;font-weight:700;}

/* Override generic menu text spans: initials must retain a circular box. */
.rumapa-menu-dialog nav>a>span.rumapa-account-initial,
.rumapa-sitebar .rumapa-account-initial{display:inline-grid;place-items:center;flex:0 0 28px;width:28px;min-width:28px;max-width:28px;height:28px;min-height:28px;aspect-ratio:1;border-radius:50%;line-height:1;box-sizing:border-box;}

/* Shared icon-only dismiss controls: one circular target on desktop and touch. */
html body :is(.rumapa-dialog-close,.profile-close,.buyer-login-close,.mobile-nav-close,.rumapa-menu-top>button,.rumapa-city-picker__close,.location-dialog .city-dialog-title>button.secondary,#preview>.close,.rumapa-photo-dialog .photo-close,.saved-close,.price-review-close,#closeReview,#closeAuth,#closePhotoViewer){
 box-sizing:border-box;display:inline-grid;place-items:center;flex:0 0 44px;
 width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;
 padding:0;border-radius:50%;appearance:none;-webkit-appearance:none;
 line-height:1;cursor:pointer;isolation:isolate;-webkit-tap-highlight-color:transparent;
 transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease;
}
html body :is(.rumapa-dialog-close,.profile-close,.buyer-login-close,.mobile-nav-close,.rumapa-menu-top>button,.rumapa-city-picker__close,.location-dialog .city-dialog-title>button.secondary,#preview>.close,.rumapa-photo-dialog .photo-close,.saved-close,.price-review-close,#closeReview,#closeAuth,#closePhotoViewer)::before,html body :is(.rumapa-dialog-close,.profile-close,.buyer-login-close,.mobile-nav-close,.rumapa-menu-top>button,.rumapa-city-picker__close,.location-dialog .city-dialog-title>button.secondary,#preview>.close,.rumapa-photo-dialog .photo-close,.saved-close,.price-review-close,#closeReview,#closeAuth,#closePhotoViewer)::after{content:none;}
html body :is(.rumapa-dialog-close,.profile-close,.buyer-login-close,.mobile-nav-close,.rumapa-menu-top>button,.rumapa-city-picker__close,.location-dialog .city-dialog-title>button.secondary,#preview>.close,.rumapa-photo-dialog .photo-close,.saved-close,.price-review-close,#closeReview,#closeAuth,#closePhotoViewer) svg{display:block;position:static;transform:none;flex:none;width:20px;height:20px;pointer-events:none;}
html body :is(.rumapa-dialog-close,.profile-close,.buyer-login-close,.mobile-nav-close,.rumapa-menu-top>button,.rumapa-city-picker__close,.location-dialog .city-dialog-title>button.secondary,#preview>.close,.rumapa-photo-dialog .photo-close,.saved-close,.price-review-close,#closeReview,#closeAuth,#closePhotoViewer):focus:not(:focus-visible){outline:none;}
@media(hover:hover) and (pointer:fine){
 html body :is(.rumapa-dialog-close,.profile-close,.buyer-login-close,.mobile-nav-close,.rumapa-menu-top>button,.rumapa-city-picker__close,.location-dialog .city-dialog-title>button.secondary,#preview>.close,.rumapa-photo-dialog .photo-close,.saved-close,.price-review-close,#closeReview,#closeAuth,#closePhotoViewer):hover:not(:disabled){border-color:#58bed9;box-shadow:0 0 0 3px #58bed926;background-color:color-mix(in srgb,currentColor 10%,var(--canvas,var(--soft,#10253a)));}
}
html body :is(.rumapa-dialog-close,.profile-close,.buyer-login-close,.mobile-nav-close,.rumapa-menu-top>button,.rumapa-city-picker__close,.location-dialog .city-dialog-title>button.secondary,#preview>.close,.rumapa-photo-dialog .photo-close,.saved-close,.price-review-close,#closeReview,#closeAuth,#closePhotoViewer):active:not(:disabled){border-color:#58bed9;box-shadow:0 0 0 3px #58bed926;}
html body :is(.rumapa-dialog-close,.profile-close,.buyer-login-close,.mobile-nav-close,.rumapa-menu-top>button,.rumapa-city-picker__close,.location-dialog .city-dialog-title>button.secondary,#preview>.close,.rumapa-photo-dialog .photo-close,.saved-close,.price-review-close,#closeReview,#closeAuth,#closePhotoViewer):focus-visible{outline:2px solid #58bed9;outline-offset:3px;box-shadow:none;}
/* Remove the old off-center disc under the map preview cross. */
html body #preview>.close{background:var(--disc,#fffffff5);padding:0;}
/* Non-interactive headings are focused only to announce the dialog. */
html body dialog :is(h1,h2,h3)[tabindex="-1"]:focus{outline:none;box-shadow:none;}
@media(prefers-reduced-motion:reduce){html body :is(.rumapa-dialog-close,.profile-close,.buyer-login-close,.mobile-nav-close,.rumapa-menu-top>button,.rumapa-city-picker__close,.location-dialog .city-dialog-title>button.secondary,#preview>.close,.rumapa-photo-dialog .photo-close,.saved-close,.price-review-close,#closeReview,#closeAuth,#closePhotoViewer){transition:none;}}
@media(forced-colors:active){html body :is(.rumapa-dialog-close,.profile-close,.buyer-login-close,.mobile-nav-close,.rumapa-menu-top>button,.rumapa-city-picker__close,.location-dialog .city-dialog-title>button.secondary,#preview>.close,.rumapa-photo-dialog .photo-close,.saved-close,.price-review-close,#closeReview,#closeAuth,#closePhotoViewer):focus-visible{outline-color:Highlight;}}

/* Bounded dialogs and persistent dismissal controls, including short phone screens. */
html body :is(dialog.rumapa-profile,dialog.buyer-login,dialog.location-dialog,dialog.budget-dialog,dialog.rumapa-point-dialog,dialog.catalog-detail,dialog.rumapa-menu-dialog){box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scroll-padding-block:64px 20px;}
html body :is(.profile-toolbar,.city-dialog-title,.detail-header,.rumapa-menu-top,.point-dialog-toolbar){position:sticky;top:0;z-index:5;flex-shrink:0;background:var(--canvas,var(--surface,var(--soft,#101d31)));}
html body .point-dialog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;}
html body .point-dialog-toolbar h2{min-width:0;overflow-wrap:anywhere;}
html body .rumapa-dialog-close{color:inherit;background:var(--fill,#ffffff0c);border:1px solid #8292aa55;}
html body .buyer-login .buyer-login-close{position:sticky;top:0;right:auto;float:right;margin:0 0 -44px 12px;z-index:6;}
html body .buyer-login h2{padding-right:56px;min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere;}
html body .rumapa-city-picker__panel{box-sizing:border-box;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));}
html body .rumapa-city-picker__head{position:sticky;top:0;z-index:5;background:#0d1936;padding-bottom:12px;}
@media(max-width:600px){
 html body :is(dialog.buyer-login,dialog.location-dialog,dialog.budget-dialog,dialog.rumapa-point-dialog,dialog.catalog-detail){width:calc(100vw - 24px);padding:18px;border-radius:22px;}
 html body :is(.buyer-login,.location-dialog,.budget-dialog,.rumapa-point-dialog,.catalog-detail) :is(input,select,textarea){box-sizing:border-box;min-width:0;max-width:100%;font-size:16px;}
 html body .rumapa-menu-dialog{inset:max(12px,env(safe-area-inset-top)) 12px auto auto;padding:18px;}
 html body .rumapa-city-picker{padding:12px;}
 html body .rumapa-city-picker__panel{padding:18px;border-radius:22px;}
 html body .rumapa-point-dialog .point-map{height:clamp(150px,36dvh,300px);}
 html body .rumapa-point-dialog footer{position:relative;z-index:1;}
}

html body .rumapa-menu-top{background:#102038;}
html body .catalog-photo-viewer .viewer-close{position:sticky;top:0;z-index:5;margin-left:auto;margin-bottom:10px;}
html body dialog.catalog-photo-viewer{box-sizing:border-box;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;}
html body .catalog-photo-viewer img{max-width:100%;height:auto;}
