/* Long tasks are pages; short confirmations remain dialogs. */
body.route-loading #home-view,body.route-loading #dashboard-view{display:none!important}
.route-page{min-height:60vh;padding:38px 0 60px}
.route-page[hidden]{display:none}
.route-page h1{font:750 clamp(26px,5vw,40px) Manrope,sans-serif;margin:15px 0}
.route-page .muted{line-height:1.7}
body .route-overlay.show{position:relative;inset:auto;background:none;backdrop-filter:none;padding:36px 16px 60px;display:block;min-height:65vh;z-index:1;overflow:visible}
.route-overlay .modal{margin:auto;width:min(100%,780px);max-height:none;overflow:visible}
#authOverlay.route-overlay .modal{max-width:540px}
.route-overlay .modal-close{display:none}
.page-back{display:block;width:max-content;margin:0 auto 20px;color:var(--gold2);font-size:15px}
.profile-head{display:grid;grid-template-columns:240px 1fr;gap:28px;margin:24px 0}
.profile-head img{width:100%;height:220px;object-fit:cover;border-radius:18px}
.profile-workers{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin:24px 0}
.profile-worker{padding:22px;border:1px solid var(--line);background:var(--panel);border-radius:14px}
.profile-worker h2{font-size:20px;margin:0 0 8px}
.profile-service{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}
.profile-service small{display:block;color:var(--muted);margin-top:5px}
.profile-worker .btn{margin-top:18px}
.profile-rating{padding:20px;border:1px solid var(--line);border-radius:14px}
.route-error{text-align:center;padding:60px 20px}
body.route-catalog .hero,body.route-catalog #how,body.route-catalog #for-business{display:none}
body.route-catalog #shops{min-height:65vh}
body.route-catalog .search-wrap{margin:0 0 24px}
.shop-meta{flex-wrap:wrap;gap:12px}
.shop-meta .profile-link{font-size:14px}
@media(max-width:650px){.route-page{padding:24px 0 40px}.profile-head{grid-template-columns:1fr;gap:8px}.profile-head img{height:190px}body .route-overlay.show{padding:22px 12px 40px}.route-overlay .modal{padding:24px 18px}.profile-service{font-size:15px}.profile-workers{grid-template-columns:1fr}}
