/* Shared finishing rules for the public site and personal workspace. */
:root{--tw-navy:#102650;--tw-accent:#b3582c;--tw-line:#dfe5ec;--tw-muted:#62738b}
.brand,.top__brand,.account-brand,.mobile-brand{font-weight:750;letter-spacing:-.7px}
.account-brand{font-size:29px;padding-inline:15px}.account-brand span{font-size:8px;letter-spacing:1.5px}
.btn,.account-body :where(.account-layout,#modal) button{border-radius:12px}
.account-body .muted,.account-body .help,.account-body .small{color:var(--tw-muted)}
.account-body .tw-launcher{display:none!important}
.account-header{position:sticky;top:0;z-index:20;background:#f4f5f7}
.flats{padding-block:64px}.pause{margin-top:40px;padding-block:64px}.pause__col{max-width:850px;gap:12px}.pause__col p{max-width:66ch}
.voices{margin-top:40px;min-height:360px}.voices__text{padding-block:48px}.voices__slot{font-size:clamp(18px,2vw,26px);line-height:1.5}.voices__media img{min-height:360px}
.apply{margin-top:40px;padding-block:64px}.foot{margin-top:40px}
.home-listings{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}
.home-listing{border:1px solid var(--tw-line);border-radius:20px;overflow:hidden;background:white;color:var(--tw-navy)}
.home-listing__photo{height:210px;background:#edf0f3;display:grid;place-items:center;color:var(--tw-muted);font-size:13px;text-align:center;padding:0}
.home-listing__photo img{width:100%;height:100%;object-fit:cover}.home-listing__body{padding:24px}.home-listing__body h3{font-size:22px;margin:12px 0;line-height:1.3}.home-listing__body p{font-size:14px}.home-listing__label{color:var(--tw-muted);font-size:12px!important}.home-listing .btn{font-size:14px;padding:12px 16px;margin-top:12px}.home-catalog-link{margin-top:24px}.home-catalog-status{padding:26px;background:#f4f5f7;border-radius:16px}
.catalog-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0 18px}.catalog-tabs button[aria-pressed=true]{background:var(--tw-navy);color:#fff;border-color:var(--tw-navy)}
.listing-no-photo .grid{display:block;margin-top:24px}.listing-no-photo .act{position:static;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;max-width:none}.listing-no-photo .act__lab{display:none}.listing-no-photo .act__price{margin:0;font-size:23px;font-weight:650}.listing-no-photo .act__go,.listing-no-photo .act__ask{margin:0;width:auto}.listing-no-photo .act__note{grid-column:1/-1;margin:4px 0 0}.listing-no-photo .objbody{margin-top:28px}.listing-no-photo .blk{margin-top:32px}
#modal:has(.editor-wizard){padding:0;width:min(940px,calc(100vw - 40px));max-height:92dvh}
#modal:has(.editor-wizard) .dialog-heading{position:sticky;top:0;z-index:5;background:white;padding:24px 30px 18px;margin:0;border-bottom:1px solid var(--tw-line)}
.editor-wizard{padding:0 30px 24px}.editor-progress{display:flex;gap:8px;padding:20px 0;flex-wrap:wrap}.editor-progress button{flex:1;padding:10px 12px!important;background:#edf0f4!important;color:#56667d!important;font-size:12px!important;white-space:nowrap}.editor-progress button[aria-current=step]{background:var(--tw-navy)!important;color:white!important}
.editor-step{min-height:260px}.editor-step>h3{margin:5px 0 8px;font-size:22px}.editor-step>.help{margin:0 0 22px}.editor-step .editor-section{border:0;margin-top:0;padding-top:0}
.editor-navigation{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;bottom:0;background:#fff;padding:18px 0 4px;border-top:1px solid var(--tw-line);margin-top:24px;z-index:3}.editor-navigation span{font-size:12px;color:var(--tw-muted)}
@media(max-width:900px){.home-listings{grid-template-columns:repeat(2,minmax(0,1fr))}.listing-no-photo .act{grid-template-columns:1fr 1fr}.listing-no-photo .act__price{grid-column:1/-1}}
@media(max-width:700px){.home-listings{grid-template-columns:1fr;gap:18px}.flats{padding-block:40px}.pause{padding-block:40px;margin-top:24px}.voices{margin-top:24px}.voices__text{padding-block:36px}.voices__media img{min-height:220px;max-height:260px}.apply{margin-top:24px;padding-block:40px}.account-header{margin:0;padding:0 18px}.listing-no-photo .act{display:flex;flex-direction:column;align-items:stretch}.listing-no-photo .act__go,.listing-no-photo .act__ask{width:100%}#modal:has(.editor-wizard){width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0}#modal:has(.editor-wizard) .dialog-heading{padding:18px 20px}.editor-wizard{padding:0 20px 20px}.editor-progress{display:grid;grid-template-columns:1fr 1fr;gap:6px}.editor-progress button{text-align:left}.editor-navigation{padding-bottom:max(12px,env(safe-area-inset-bottom))}.editor-navigation span{font-size:11px}.editor-step .actions button{flex:1;min-width:120px}}
@media(prefers-reduced-motion:no-preference){.home-listing{transition:box-shadow .2s,transform .2s}.home-listing:hover{transform:translateY(-3px);box-shadow:0 14px 30px #10265010}}
html:has(#modal[open]){overflow:hidden}
@media(max-width:700px){#modal:has(.editor-wizard){max-width:none;max-height:none;inset:0}.home-listing__photo{height:180px}}
.home-listings:has(>.home-listing:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:700px){.home-listings:has(>.home-listing:nth-child(2):last-child){grid-template-columns:1fr}}
/* Clip subpixel decorative overflow without shrinking content or hit targets. */
html{overflow-x:clip}
#rota[hidden]{display:none!important}
/* Avoid repainting blurred moving backgrounds during scrolling and modal motion. */
.head__in::before{backdrop-filter:none!important;background:rgba(255,255,255,.97)}
.top__in{backdrop-filter:none!important}
.tw-modal::backdrop,#modal::backdrop{backdrop-filter:none!important;background:rgba(12,27,50,.55)}
.sky__canvas{will-change:transform;contain:strict}
