/* ═══════════════════════════════════════════════════════════════════
   ASBEK «Hub» — функціональні екрани концепції:
   шапка (обране/увійти), «Майстри та компанії» + карта, обране, вхід,
   покроковий майстер завдання, кабінет, реєстрація.
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Шапка ─── */
.header-icon { position: relative; width: 36px; height: 36px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #111315; }
@media (hover: hover) { .header-icon:hover { background: var(--bg-light); } }
.header-badge { position: absolute; top: 2px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }
.hub-header a.header-cta-btn { color: #fff; }

/* ─── Тост ─── */
.hub-toast { position: fixed; left: 50%; top: 74px; transform: translate(-50%, -10px); z-index: 3000; background: #111315; color: #fff; padding: 11px 16px; border-radius: 14px; font-size: 14px; font-weight: 500; box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; transition: .25s ease; max-width: calc(100% - 32px); }
.hub-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.hub-toast--bad { background: #dc2626; }

/* ─── Кнопка «в обране» на картках ─── */
.pv-fav { margin-left: auto; flex-shrink: 0; width: 34px; height: 34px; border-radius: 12px; border: 0; background: transparent; color: #9ca3af; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; position: relative; z-index: 2; }
.pv-fav svg { width: 19px; height: 19px; transition: transform .15s ease; }
@media (hover: hover) { .pv-fav:hover { background: var(--bg-light); color: #ef4444; } }
.pv-fav:active svg { transform: scale(.85); }
.pv-fav.is-on { color: #ef4444; }
.pv-fav.is-on svg { fill: #ef4444; }

/* ─── «Майстри та компанії» ─── */
.pf-page { padding-top: 12px; padding-bottom: 20px; }
.pf-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pf-h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: #111315; line-height: 1.2; }
.pf-count { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.pf-count strong { color: #111315; }
.seg { display: inline-flex; gap: 2px; padding: 4px; background: #fff; border: 1px solid var(--border-light); border-radius: 14px; flex-shrink: 0; }
.seg a { display: inline-flex; align-items: center; gap: 5px; padding: 7px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.seg a svg { width: 15px; height: 15px; }
.seg a.is-active { background: #111315; color: #fff; }
.pf-filters { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)) auto auto; gap: 8px; padding: 12px; margin-bottom: 16px; }
.pf-filters .form-input { background: var(--bg-light); border-color: transparent; padding: 10px 12px; font-size: 14px; border-radius: 12px; }
.pf-filters .form-input:focus { background: #fff; }
.pf-filters .btn { padding: 10px 16px; font-size: 13.5px; }
.pf-filters .pf-reset { background: #fff; color: var(--text-muted); }
.js .pf-apply { display: none; }
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.pf-empty { text-align: center; padding: 40px 20px; }
.pf-empty > svg { width: 40px; height: 40px; color: var(--text-muted); margin: 0 auto 8px; }
.pf-empty h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.pf-empty p { font-size: 14px; color: var(--text-muted); max-width: 460px; margin: 0 auto 16px; }
.pf-empty-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pf-page .co-pager { margin-top: 20px; }

/* карта */
.pf-map-grid { display: grid; grid-template-columns: minmax(0,8fr) minmax(0,4fr); gap: 16px; }
.pf-map { position: relative; padding: 0; overflow: hidden; }
#pfMap { height: 560px; width: 100%; background: #efece7; }
.pf-map-label { position: absolute; z-index: 500; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 7px 12px; border-radius: 12px; font-size: 12.5px; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.pf-map-label svg { width: 14px; height: 14px; color: var(--accent); }
.pf-pin span { display: block; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: var(--accent); transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.3); }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content a { color: #111315; }
.pf-map-list { display: grid; gap: 8px; max-height: 560px; overflow-y: auto; align-content: start; padding-right: 2px; }
.pf-mini { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid rgba(17,19,21,.07); border-radius: 14px; padding: 12px; transition: border-color .2s; }
@media (hover: hover) { .pf-mini:hover { border-color: var(--accent); } }
.pf-mini-ava { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--accent-soft); color: var(--accent); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pf-mini-ava--round { border-radius: 999px; background: #111315; color: #fff; }
.pf-mini-body { min-width: 0; flex: 1; display: grid; }
.pf-mini-body small { font-size: 11px; color: var(--accent-hover); font-weight: 600; }
.pf-mini-body b { font-size: 13.5px; color: #111315; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-mini-body em { font-style: normal; font-size: 11.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-mini-r { font-size: 12px; font-weight: 700; color: #111315; flex-shrink: 0; }

/* ─── Вхід ─── */
.auth-wrap { padding-top: 24px; padding-bottom: 24px; }
.auth-card { max-width: 440px; margin: 0 auto; padding: 28px; display: grid; gap: 18px; }
.auth-head { text-align: center; }
.auth-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.auth-ico svg { width: 22px; height: 22px; }
.auth-head h1 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #111315; }
.auth-head p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.auth-form { display: grid; gap: 10px; }
.auth-step p { font-size: 14px; color: #374151; margin-bottom: 12px; text-align: center; }
.auth-msg { font-size: 13px; text-align: center; color: var(--text-muted); margin-top: -6px; }
.auth-msg--err { color: #dc2626; }
.auth-roles { border-top: 1px solid var(--border-light); padding-top: 16px; display: grid; gap: 8px; }
.auth-roles-title { font-size: 12px; font-weight: 600; color: var(--text-muted); text-align: center; margin-bottom: 2px; }
.auth-role { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border-radius: 14px; background: var(--bg-light); color: #111315; }
.auth-role span { display: grid; }
.auth-role b { font-size: 13.5px; }
.auth-role small { font-size: 11.5px; color: var(--text-muted); }
.auth-role svg { width: 16px; height: 16px; flex-shrink: 0; }
.auth-role--accent { background: var(--accent-soft); color: var(--accent-hover); }
@media (hover: hover) { .auth-role:hover { background: #ebeae6; } .auth-role--accent:hover { background: #ffe8d6; } }

/* ─── Покроковий майстер завдання ─── */
.wz-page { padding-top: 14px; padding-bottom: 20px; display: grid; gap: 16px; max-width: 680px; }
.wz { padding: 26px; display: flex; flex-direction: column; }
.wz-h1 { font-size: 15px; font-weight: 600; color: var(--text-muted); margin-bottom: 14px; }
.wz-progress { margin-bottom: 18px; }
.wz-progress-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.wz-progress-top span:first-child { color: var(--accent); }
.wz-progress-top span:last-child { color: var(--text-muted); }
.wz-bar { height: 6px; background: var(--bg-light); border-radius: 12px; overflow: hidden; }
.wz-bar i { display: block; height: 100%; width: 12%; background: var(--accent); border-radius: 12px; transition: width .3s ease; }
.wz-step { display: grid; gap: 10px; min-height: 200px; align-content: start; }
.wz-step[hidden] { display: none; }
.wz-step h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: #111315; }
.wz-hint { font-size: 13px; color: var(--text-muted); }
.wz-ideas { display: flex; flex-wrap: wrap; gap: 6px; }
.wz-ideas button { padding: 6px 11px; border-radius: 10px; background: var(--bg-light); border: 0; font-size: 12.5px; color: #111315; cursor: pointer; }
@media (hover: hover) { .wz-ideas button:hover { background: var(--accent-soft); color: var(--accent-hover); } }
.wz-cats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; max-height: 380px; overflow-y: auto; padding: 2px; }
.wz-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--border-light); background: #fff; text-align: left; font-size: 13.5px; color: #111315; cursor: pointer; min-width: 0; }
.wz-opt span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.wz-opt-ico { width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wz-opt-ico svg { width: 16px; height: 16px; }
@media (hover: hover) { .wz-opt:hover { background: var(--bg-light); } }
.wz-opt.is-on { border-color: var(--accent); background: #fff8f2; font-weight: 700; }
.wz-list { display: grid; gap: 6px; max-height: 380px; overflow-y: auto; padding: 2px; }
.wz-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--border-light); background: #fff; text-align: left; font-size: 13.5px; color: #111315; cursor: pointer; }
.wz-row svg { width: 15px; height: 15px; color: #b9b7b0; flex-shrink: 0; }
@media (hover: hover) { .wz-row:hover { background: var(--bg-light); } }
.wz-row.is-on { border-color: var(--accent); background: #fff8f2; font-weight: 700; }
.wz-row--other { color: var(--text-muted); }
.wz-step .pref-options { margin-top: -2px; }
.wz-review { background: var(--bg-light); border-radius: 14px; padding: 14px 16px; display: grid; gap: 8px; }
.wz-review div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; font-size: 14px; }
.wz-review dt { color: var(--text-muted); }
.wz-review dd { margin: 0; font-weight: 600; color: #111315; overflow-wrap: anywhere; }
.wz-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border-light); }
.wz-nav .btn { min-width: 120px; }
.wz-nav [data-wz-back] { background: var(--bg-light); border: 0; }
.wz-publish { background: var(--accent) !important; }
@media (hover: hover) { .wz-publish:hover { background: #e05a00 !important; } }
.wz-done { text-align: center; justify-items: center; }
.wz-done-ico { width: 56px; height: 56px; border-radius: 999px; background: #efefed; color: #111315; display: inline-flex; align-items: center; justify-content: center; }
.wz-done-ico svg { width: 30px; height: 30px; }
.wz-done p { font-size: 14px; color: var(--text-muted); max-width: 440px; }
.wz-done-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.wz-convert { margin-top: 10px; display: flex; gap: 12px; text-align: left; background: linear-gradient(135deg, #fff3ea, #fff8f2); border: 1px solid var(--accent-line); border-radius: 20px; padding: 16px; }
.wz-convert-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wz-convert-ico svg { width: 20px; height: 20px; }
.wz-convert small { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-hover); }
.wz-convert b { display: block; font-size: 15px; color: #111315; margin: 2px 0 4px; }
.wz-convert p { font-size: 13px; color: #4b5563; margin-bottom: 10px; }
.wz-how { padding: 20px; }

/* ─── Кабінет ─── */
.dash { padding-top: 12px; padding-bottom: 4px; display: grid; gap: 14px; }
.dash-head { padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.dash-who { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dash-ava { width: 56px; height: 56px; border-radius: 14px; background: #111315; color: #fff; font-size: 22px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dash-role { display: inline-block; padding: 3px 8px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-hover); font-size: 11px; font-weight: 700; }
.dash-name { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: #111315; margin-top: 4px; }
.dash-sub { font-size: 13px; color: var(--text-muted); }
.dash-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-btns form { margin: 0; }
.dash-logout { color: #dc2626 !important; }
.dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.dash-stats .hub-card { padding: 16px; border-radius: 20px; }
.dash-stats span { font-size: 11.5px; color: var(--text-muted); }
.dash-stats b { display: block; font-size: 20px; font-weight: 800; color: #111315; margin: 2px 0; letter-spacing: -0.02em; }
.dash-stats b.is-ok { color: var(--accent); font-size: 17px; }
.dash-stats small { font-size: 11.5px; color: var(--text-muted); }
.dash-stats small.is-accent { color: var(--accent-hover); font-weight: 600; }
.dash-reco { padding: 20px; }
.cab-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.cab-item { background: #fff; border: 1px solid rgba(17,19,21,.07); border-radius: 20px; box-shadow: var(--shadow-card); padding: 16px 18px; }
.cab-master, .cab-link { background: #fff; border: 1px solid rgba(17,19,21,.07); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }

/* ─── Реєстрація ─── */
.reg-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.reg-badge { display: inline-block; padding: 4px 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-hover); font-size: 11.5px; font-weight: 700; }
.reg-badge--biz { background: var(--accent); color: #fff; }
.reg-switch { font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; }
@media (hover: hover) { .reg-switch:hover { text-decoration: underline; } }

@media (max-width: 1100px) {
    .pf-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .pf-filters { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .hub-header .header-cta-btn { padding: 9px 12px; }
}
@media (max-width: 992px) {
    .pf-map-grid { grid-template-columns: 1fr; }
    #pfMap { height: 420px; }
    .pf-map-list { max-height: none; }
    .dash-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 768px) {
    .hub-header .header-cta-btn, .hub-header .header-icon { display: none; }
    .pf-top { align-items: flex-start; }
    .pf-h1 { font-size: 20px; }
    .pf-grid { grid-template-columns: minmax(0,1fr); }
    .pf-filters { padding: 10px; }
    .wz { padding: 18px 16px; }
    .wz-step h2 { font-size: 18px; }
    .wz-cats { grid-template-columns: minmax(0,1fr); }
    .wz-review div { grid-template-columns: 1fr; gap: 0; }
    .auth-card { padding: 20px 16px; }
    .dash-head { padding: 16px; }
}
.wz-nav [data-wz-back] { visibility: hidden; }
@media (max-width: 768px) { .pf-top { flex-direction: column; align-items: stretch; } .seg { align-self: flex-start; } }

/* ═══ Концепція 1:1 — шапка, головна, футер ═══ */
.hub-header .header-inner { height: 60px; }
.hh-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.hub-header .nav-menu { flex: 1; justify-content: center; margin: 0; }
.hub-header .logo-name { font-size: 18px; }
.hub-header .logo-tagline { display: block; font-size: 10px; }
.hub-header .header-cabinet { width: auto; padding: 0 12px; }
.hub-header .header-cabinet span { display: inline; }
.mobile-toggle, .mobile-menu, .mobile-overlay, .ticker { display: none !important; }

/* головна: форма швидкого старту */
.hub-quick { background: var(--bg-light); border-radius: 14px; padding: 12px; display: grid; gap: 10px; grid-template-columns: minmax(0,1fr); }
.hq-input { position: relative; }
.hq-input svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--text-muted); }
.hq-input input { width: 100%; padding: 12px 14px 12px 40px; border-radius: 12px; background: #fff; border: 1px solid #e3e2dd; font-size: 15px; color: var(--text-dark); }
.hq-input input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,106,0,.12); }
.hq-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hq-selects select { width: 100%; padding: 11px 12px; border-radius: 12px; background: #fff; border: 1px solid #e3e2dd; font-size: 14px; font-weight: 500; color: var(--text-dark); }
.hub-quick-actions .btn { padding: 13px 14px; }
.hub-hero-main { justify-content: center; }

/* популярні категорії — плитки 6 у ряд */
.hub-tiles { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 12px; }
.hub-tile { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #fff; border: 1px solid rgba(17,19,21,.06); border-radius: 20px; box-shadow: var(--shadow-card); transition: box-shadow .2s; min-width: 0; }
@media (hover: hover) { .hub-tile:hover { box-shadow: var(--shadow-hover); } .hub-tile:hover .hub-tile-ico { transform: scale(1.06); } }
.hub-tile-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.hub-tile-ico svg { width: 21px; height: 21px; }
.hub-tile-body { display: grid; min-width: 0; }
.hub-tile-body b { font-size: 13.5px; color: #111315; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hub-tile-body small { font-size: 11.5px; color: var(--text-muted); margin-top: 2px; }

.hub-cities-head { display: flex; align-items: center; gap: 8px; }
.hub-cities-head svg { width: 18px; height: 18px; color: var(--accent); }
.hub-links-col h3 a { color: #111315; }
.hub-about { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; padding: 26px; }
.hub-about .svc-main-content { background: none; border: 0; box-shadow: none; padding: 0; }

/* футер */
.site-footer.hub-footer { background: #fff; border-top: 1px solid var(--border-light); border-radius: 0; margin-top: 36px; padding: 36px 0 22px; }
.hf-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
.hf-logo { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.hf-logo span { font-size: 18px; font-weight: 900; letter-spacing: -0.045em; color: #111315; }
.hf-logo i { font-style: normal; color: var(--accent); }
.hf-brand p { font-size: 13px; line-height: 1.6; color: var(--text-muted); max-width: 320px; }
.hf-title { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 10px; }
.hf-list { display: grid; gap: 8px; }
.hf-list a { font-size: 13.5px; color: var(--text-dark); }
@media (hover: hover) { .hf-list a:hover, .hf-links a:hover { color: var(--accent); } }
.hf-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--border-light); font-size: 12px; color: var(--text-muted); }
.hf-links { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.hf-links a { color: var(--text-muted); }
.hf-lang { display: inline-flex; background: var(--bg-light); border-radius: 12px; padding: 2px; }
.hf-lang a { padding: 3px 9px; border-radius: 12px; font-weight: 600; font-size: 11.5px; }
.hf-lang a.active { background: #fff; color: #111315; box-shadow: 0 1px 3px rgba(0,0,0,.08); }

@media (max-width: 1280px) { .hub-header .logo-tagline { display: none; } .hub-header .nav-link { padding: 7px 9px; } }
@media (max-width: 1100px) {
    .hub-header .nav-menu { display: none; }
    .hub-tiles { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .hf-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hub-header .header-cabinet { display: none; }
    .hub-header .header-inner { justify-content: space-between; }
    .hh-left { justify-content: space-between; width: 100%; }
    .hub-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
    .hub-tile { flex-direction: row; align-items: center; padding: 12px; gap: 10px; border-radius: 14px; }
    .hub-tile-ico { width: 38px; height: 38px; flex-shrink: 0; }
    .hub-tile-body b { white-space: normal; font-size: 12.5px; }
    .hub-about { grid-template-columns: 1fr; padding: 18px 16px; }
    .hf-grid { grid-template-columns: 1fr; gap: 20px; }
    .site-footer.hub-footer { padding-bottom: 90px; }
}

/* компактний список усіх категорій у футері (перелінковка для SEO) */
.hf-cats { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border-light); display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; line-height: 1.6; }
.hf-cats-title { color: var(--text-muted); font-weight: 600; }
.hf-cats a { color: var(--text-muted); }
@media (hover: hover) { .hf-cats a:hover { color: var(--accent); } }
.hf-cats + .hf-bottom { margin-top: 16px; }

/* ═══ Стилізовані випадні списки (замість системних select) ═══ */
.dd { position: relative; min-width: 0; }
.dd-native { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; }
.dd-btn { width: 100%; display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 12px; background: #fff; border: 1px solid #e3e2dd; font-size: 14px; font-weight: 600; color: #111315; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
@media (hover: hover) { .dd-btn:hover { border-color: #cfcdc7; } }
.dd.is-open .dd-btn { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,106,0,.12); }
.dd-ico { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.dd-val { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dd.is-default .dd-val { color: #4b5563; font-weight: 500; }
.dd-arrow { width: 16px; height: 16px; color: var(--text-muted); flex-shrink: 0; transition: transform .2s; }
.dd.is-open .dd-arrow { transform: rotate(180deg); }
.dd-pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 980; min-width: 220px; background: #fff; border: 1px solid rgba(17,19,21,.08); border-radius: 14px; box-shadow: 0 20px 48px -12px rgba(0,0,0,.22); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.dd.dd-up .dd-pop { top: auto; bottom: calc(100% + 6px); transform: translateY(4px); }
.dd.is-open .dd-pop { opacity: 1; visibility: visible; transform: none; }
.dd-search { position: relative; margin-bottom: 4px; }
.dd-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--text-muted); }
.dd-search input { width: 100%; padding: 9px 10px 9px 34px; border-radius: 12px; background: var(--bg-light); border: 1px solid transparent; font-size: 14px !important; color: #111315; }
.dd-search input:focus { background: #fff; border-color: var(--accent); outline: none; }
.dd-list { max-height: 280px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; display: grid; gap: 1px; }
.dd-opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 9px 11px; border-radius: 10px; background: none; border: 0; font-size: 14px; color: #111315; text-align: left; cursor: pointer; }
.dd-opt[hidden] { display: none; }
@media (hover: hover) { .dd-opt:hover { background: var(--bg-light); } }
.dd-opt.is-on { background: var(--accent-soft); color: var(--accent-hover); font-weight: 600; }
.dd-opt svg { width: 16px; height: 16px; flex-shrink: 0; }
/* у панелях фільтрів кнопка на сірому фоні, як поля прототипу */
.pf-filters .dd-btn, .tk-filters .dd-btn { background: var(--bg-light); border-color: transparent; font-weight: 500; }
.pf-filters .dd.is-open .dd-btn, .tk-filters .dd.is-open .dd-btn { background: #fff; }
@media (max-width: 768px) {
    .dd-list { max-height: 50vh; }
    .dd-opt { padding: 11px 12px; }
}

/* ═══ Вікно «Оберіть місто» — світле, як у прототипі ═══ */
.modal-dialog--city { max-width: 560px; }
.modal-dialog--city .city-search { background: var(--bg-light); border: 1px solid transparent; border-radius: 14px; padding: 12px 14px; color: #111315; }
.modal-dialog--city .city-search:focus { background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,106,0,.12); }
.city-results { gap: 2px; scrollbar-width: thin; scrollbar-color: #d6d4cf transparent; padding-right: 2px; }
.city-results::-webkit-scrollbar { width: 6px; }
.city-results::-webkit-scrollbar-thumb { background: #d6d4cf; border-radius: 12px; }
.city-results::-webkit-scrollbar-track { background: transparent; }
.city-item { color: #111315; font-size: 14.5px; font-weight: 600; border-radius: 12px; padding: 9px 12px; }
.city-item span { color: #111315; }
.city-item small { color: var(--text-muted); font-weight: 400; }
@media (hover: hover) { .city-item:hover { background: var(--bg-light); color: var(--accent-hover); } .city-item:hover span { color: var(--accent-hover); } }
.city-item--all { background: var(--accent-soft); color: var(--accent-hover); font-weight: 700; }
.city-item--all:hover { background: #ffe8d6; }
.city-group-title { color: var(--text-muted); margin: 12px 0 4px; }
.city-empty { color: var(--text-muted); }

/* ═══ Картка виконавця 1:1 з прототипом ═══ */
.dd.is-open { z-index: 60; }
.hub-quick, .hub-hero-main { overflow: visible; }
.co-card.pv-card, .ms-card.pv-card { padding: 20px; border-radius: 20px; }
.pv-card .pv-head { margin-bottom: 12px; gap: 12px; }
.pv-card .pv-ava { width: 56px; height: 56px; flex-basis: 56px; border-radius: 999px; object-fit: cover; }
.pv-card .co-card .pv-ava, .co-card.pv-card .pv-ava { border-radius: 14px; }
.pv-card .pv-ava--round { font-size: 22px; }
.pv-card .pv-verified { width: 20px; height: 20px; right: -2px; bottom: -2px; }
.pv-card .pv-tags-top { margin-bottom: 2px; gap: 6px; }
.pv-card .pv-type { font-size: 10px; padding: 2px 6px; border-radius: 8px; }
.pv-card .pv-city { font-size: 11px; }
.pv-card .pv-name { font-size: 16px; line-height: 1.25; }
.pv-card .pv-name a { color: #111315; }
@media (hover: hover) { .pv-card:hover .pv-name a { color: var(--accent); } }
.pv-card .pv-sub { font-size: 12px; font-weight: 400; color: var(--text-muted); margin-top: 2px; }
.pv-card .pv-stats { font-size: 12px; gap: 8px; padding-bottom: 10px; margin-bottom: 10px; flex-wrap: nowrap; white-space: nowrap; }
.pv-card .pv-stats > * { flex-shrink: 0; }
.pv-dot { color: #d1d5db; }
.pv-card .pv-price { margin-left: auto; font-weight: 700; color: #111315; overflow: hidden; text-overflow: ellipsis; flex-shrink: 1; }
.pv-card .pv-site { margin-left: auto; flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 11.5px; }
.pv-card .pv-about { font-size: 12.5px; line-height: 1.55; color: #4b5563; margin: 0 0 12px; min-height: 2.9em; }
.pv-card .pv-tags { gap: 6px; margin-bottom: 14px; max-height: 26px; overflow: hidden; }
.pv-card .pv-tags .co-tag { font-size: 11px; padding: 3px 8px; border-radius: 8px; background: var(--bg-light); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pv-card .pv-actions { gap: 8px; }
.pv-card .pv-btn, .pv-card .pv-actions .co-phone-btn { padding: 9px 12px; font-size: 12px; border-radius: 12px; }
.pv-card .pv-fav { width: 32px; height: 32px; margin-top: -4px; margin-right: -6px; }
.hub-hero { position: relative; z-index: 20; }
.pf-filters, .tk-filters, .wz { position: relative; z-index: 20; }
#contacts { scroll-margin-top: 80px; }

/* ═══ Вікно «Показати телефон»: таймер-кільце, номер, канал ═══ */
.modal-dialog--phone { max-width: 440px; padding: 30px 26px 24px; text-align: center; }
.modal-dialog--phone .modal-title { font-size: 19px; padding: 0 28px; margin-bottom: 4px; }
.phone-wait { display: grid; justify-items: center; gap: 6px; padding: 8px 0 4px; }
.phone-wait[hidden] { display: none; }
.phone-timer { position: relative; width: 84px; height: 84px; margin: 10px auto 4px; border: 0; border-radius: 50%; display: grid; place-items: center; }
.phone-timer svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.phone-timer circle { fill: none; stroke-width: 6; }
.phone-timer .pt-track { stroke: var(--bg-light); }
.phone-timer .pt-ring { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 213.6; stroke-dashoffset: 0; animation: ptRing 3s linear forwards; }
@keyframes ptRing { to { stroke-dashoffset: 213.6; } }
.phone-timer span { position: relative; font-size: 30px; font-weight: 800; color: #111315; font-variant-numeric: tabular-nums; }
.phone-wait .modal-sub { font-size: 13.5px; color: var(--text-muted); margin: 0; }
.phone-list { gap: 8px; margin: 14px 0 4px; }
.phone-list .phone-link { border-radius: 14px; padding: 14px; font-size: 19px; background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(255,106,0,.55); }
@media (hover: hover) { .phone-list .phone-link:hover { background: var(--accent-hover); } }
.phone-channel { margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: #eaf6fd; color: #0f5f86; border: 1px solid #cfe9f7; gap: 12px; }
.phone-channel svg { color: #229ED9; flex-shrink: 0; }
.phone-channel b { color: #0b4a69; font-size: 14px; }
.phone-channel small { color: #3c7896; opacity: 1; font-size: 12px; }
.phone-channel em { background: #229ED9; color: #fff; border-radius: 12px; font-size: 12px; padding: 6px 12px; }
.phone-claim { font-size: 12.5px; color: var(--text-muted); margin-top: 12px; }
@media (max-width: 768px) {
    #phoneModal { padding: 16px; align-items: center; }
    .modal-dialog--phone { min-height: 0; border-radius: 20px; padding: 26px 18px 20px; }
}

/* ═══ «Популярні запити» — картка з чипами (як блоки перелінковки прототипу) ═══ */
.popular-searches { margin-top: 24px; padding: 20px 22px; background: #fff; border: 1px solid rgba(17,19,21,.06); border-radius: 20px; box-shadow: var(--shadow-card); max-width: calc(var(--container) - 48px); width: calc(100% - 48px); }
.popular-searches h2 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; text-transform: none; color: #111315; margin: 0 0 12px; }
.popular-searches > div { display: flex; flex-wrap: wrap; gap: 6px; }
.popular-searches a { display: inline-block; padding: 6px 11px; border-radius: 12px; background: var(--bg-light); border: 0; font-size: 12.5px; font-weight: 500; color: #111315; line-height: 1.3; text-decoration: none; }
@media (hover: hover) { .popular-searches a:hover { background: var(--accent-soft); color: var(--accent-hover); text-decoration: none; } }
.popular-searches .ps-more { display: none; }
@media (max-width: 768px) {
    .popular-searches { width: calc(100% - 24px); padding: 16px; border-radius: 20px; }
    .popular-searches a { background: var(--bg-light); border: 0; border-radius: 12px; }
    .popular-searches .ps-more { display: inline-block; margin-top: 12px; padding: 8px 14px; border-radius: 12px; border: 0; background: var(--accent-soft); color: var(--accent-hover); font-weight: 600; font-size: 13px; }
}

/* ═══ Реєстрація компанії — компактна картка (екран «Реєстрація компанії» прототипу) ═══ */
.reg-page { display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 320px); justify-content: center; gap: 20px; align-items: start; padding-top: 14px; padding-bottom: 8px; }
.reg-card { padding: 24px; border-radius: 20px; border-color: var(--accent-line); }
.reg-title { font-size: 24px; font-weight: 800; letter-spacing: -0.025em; color: #111315; margin: 2px 0 4px; line-height: 1.2; }
.reg-sub { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; margin: 0 0 18px; }
.reg-card .lead-form { gap: 12px; }
.reg-card .form-row { gap: 12px; }
.reg-card .form-group { gap: 5px; }
.reg-card .form-label { font-size: 12px; font-weight: 600; color: #374151; min-height: 0; line-height: 1.3; }
.reg-card .form-input, .reg-card .form-textarea { padding: 10px 12px; font-size: 14px; border-radius: 12px; }
.reg-card .form-textarea { min-height: 90px; }
.reg-card .photo-drop { padding: 14px; border-radius: 14px; border: 1.5px dashed #dfded9; background: var(--bg-light); color: var(--text-muted); font-size: 13px; }
.reg-card .free-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); color: #111315; font-size: 12.5px; }
.reg-card .free-note svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.reg-card .free-note b { display: block; color: #111315; font-size: 13px; }
.reg-card .free-note span { color: #e05a00; }
.reg-card .checkbox-label { font-size: 12.5px; }
.reg-card .btn-lg { padding: 13px 18px; font-size: 14.5px; border-radius: 12px; background: #111315; }
@media (hover: hover) { .reg-card .btn-lg:hover { background: #000; box-shadow: none; } }
.reg-card .form-note { font-size: 12px; color: var(--text-muted); text-align: center; margin: 0; }
.reg-side { display: grid; gap: 14px; position: sticky; top: 76px; }
.reg-info { padding: 18px; border-radius: 20px; }
.reg-info-title { font-size: 14.5px; font-weight: 700; color: #111315; margin: 0 0 10px; }
.reg-checks { display: grid; gap: 8px; }
.reg-checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #374151; line-height: 1.4; }
.reg-checks svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.reg-steps { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.reg-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #374151; line-height: 1.4; }
.reg-steps span { width: 22px; height: 22px; border-radius: 8px; background: #111315; color: #fff; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 992px) { .reg-page { grid-template-columns: minmax(0, 640px); } .reg-side { position: static; } }
@media (max-width: 768px) { .reg-card { padding: 18px 16px; } .reg-title { font-size: 20px; } .reg-card .form-row { grid-template-columns: 1fr; } }

/* футер: 5 колонок + перемикач мови під описом бренду */
.hf-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.25fr; gap: 24px; }
.hf-list--2col { grid-template-columns: 1fr 1fr; column-gap: 14px; }
.hf-lang-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: 12.5px; color: var(--text-muted); }
.hf-lang-row .hf-lang { padding: 3px; }
.hf-lang-row .hf-lang a { padding: 5px 12px; font-size: 12.5px; color: var(--text-muted); }
.hf-lang-row .hf-lang a.active { color: #111315; }
@media (max-width: 1100px) { .hf-grid { grid-template-columns: 1fr 1fr; } .hf-brand { grid-column: 1 / -1; } }
@media (max-width: 768px) { .hf-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; } }

/* компактний перемикач мови в шапці */
.hh-lang { display: inline-flex; align-items: center; padding: 3px; border-radius: 12px; background: var(--bg-light); flex-shrink: 0; }
.hh-lang a { padding: 5px 9px; border-radius: 12px; font-size: 12px; font-weight: 700; line-height: 1; color: var(--text-muted); }
.hh-lang a.active { background: #fff; color: #111315; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
@media (hover: hover) { .hh-lang a:not(.active):hover { color: #111315; } }
@media (max-width: 768px) { .hh-lang a { padding: 5px 8px; font-size: 11.5px; } .hh-left { width: auto; } .hub-header .header-inner { gap: 8px; } }

/* ═══ Номер після «Показати» — той самий вигляд: іконка трубки + жирний номер (посилання tel:) ═══ */
.co-phone-item:has(.phone-link) { display: flex; flex-direction: column; align-items: stretch; gap: 6px; }
.co-phone-item .phone-link { display: inline-flex !important; align-items: center; gap: 10px; margin: 0 !important; font-weight: 700; color: #111315; text-decoration: none; letter-spacing: .01em; }
.co-phone-item .phone-link svg { display: inline-block !important; width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
@media (hover: hover) { .co-phone-item .phone-link:hover { color: var(--accent-hover); } }
/* профіль майстра — «Зв'язатися з майстром» */
.rq-action-phone .co-phone-item .phone-link { font-size: 17px; }
/* шапка профілю компанії — помаранчева кнопка лишається кнопкою */
.pf-actions .co-phone-item .phone-link { justify-content: center; width: 100%; padding: 12px 18px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 15px; }
.pf-actions .co-phone-item .phone-link svg { color: #fff; }
@media (hover: hover) { .pf-actions .co-phone-item .phone-link:hover { background: var(--accent-hover); color: #fff; } }
/* сторінка завдання і контакти в сайдбарі */
.td-phone .co-phone-item .phone-link { font-size: 14px; }
.co-contacts .co-phone-item .phone-link { font-size: 15px; }

/* ═══ Верхній бар (графіт) ═══ */
.hub-topbar { background: #111315; color: #9ca3af; font-size: 12.5px; }
.hub-topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 36px; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 18px; min-width: 0; }
.tb-left { overflow: hidden; }
.tb-online { display: inline-flex; align-items: center; gap: 7px; color: #e5e7eb; white-space: nowrap; }
.tb-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255,106,0,.2); }
.tb-info { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-info svg { width: 14px; height: 14px; flex-shrink: 0; }
.tb-right a { display: inline-flex; align-items: center; gap: 6px; color: #d1d5db; white-space: nowrap; transition: color .15s; }
.tb-right a svg { width: 14px; height: 14px; }
@media (hover: hover) { .tb-right a:hover { color: #fff; } }
.tb-lang { display: inline-flex; padding: 2px; border-radius: 8px; background: rgba(255,255,255,.08); }
.tb-lang a { padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 700; color: #9ca3af; }
.tb-lang a.active { background: var(--accent); color: #fff; }
/* на десктопі мова — у верхньому барі, у шапці — лише на мобільних */
@media (min-width: 769px) { .hub-header .hh-lang { display: none; } }
@media (max-width: 1280px) { .tb-info { display: none; } }
@media (max-width: 1024px) { .tb-right a:nth-child(n+4):not(:last-of-type) { display: none; } }
@media (max-width: 768px) { .hub-topbar { display: none; } }

/* відкритий номер — той самий шрифт, що й прихований (без стрибка жирності/розміру) */
.co-phone-item .phone-link { font-weight: inherit; font-size: inherit; letter-spacing: .02em; color: inherit; }
.co-contacts .co-phone-item .phone-link { font-size: inherit; }
.rq-action-phone .co-phone-item .phone-link { font-size: inherit; }
.td-phone .co-phone-item .phone-link { font-size: 13.5px; font-weight: 700; color: #111315; }
.pf-actions .co-phone-item .phone-link { font-size: 14px; font-weight: 600; color: #fff; }
/* номер на помаранчевій кнопці в шапці профілю — білий */
.page-hero .pf-actions .co-phone-item a.phone-link, .page-hero .pf-actions .co-phone-item a.phone-link svg { color: #fff !important; }

/* ═══ Додавання компанії по кроках + однакова висота полів ═══ */
.reg-card .form-input, .reg-card .dd-btn, .modal-dialog .company-form .form-input, .modal-dialog .company-form .dd-btn { height: 46px; padding-top: 0; padding-bottom: 0; }
.reg-card .dd-btn, .company-form .dd-btn { background: #fff; border: 1px solid #dfded9; font-weight: 400; font-size: 14px; }
.company-form .dd.is-invalid .dd-btn { border-color: #ef4444; }
.cf-progress { margin-bottom: 6px; }
.cf-progress .wz-progress-top span:last-child { color: #111315; font-weight: 700; }
.cf-step { display: grid; gap: 12px; }
.cf-step[hidden] { display: none; }
.company-form.cf-on .cf-step { min-height: 150px; align-content: start; }
.cf-review { margin: 0; }
.cf-nav { margin-top: 6px; padding-top: 14px; }
.cf-nav .btn { min-width: 130px; }
.cf-nav [data-cf-back] { background: var(--bg-light); border: 0; visibility: hidden; }
.company-form [type="submit"][hidden] { display: none; }

/* ═══ Компактна картка «Залишити запит» (форма — у модалці) ═══ */
.rq-cta { display: grid; gap: 10px; }
.rq-cta-text { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }
.rq-cta .btn { padding: 11px 14px; font-size: 14px; }
.rq-cta-points { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; }
.rq-cta-points li { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; color: var(--text-muted); }
.rq-cta-points svg { width: 13px; height: 13px; color: var(--accent); }
.cta-box .rq-cta { max-width: 420px; margin: 0 auto; text-align: center; justify-items: center; }
.cta-box .rq-cta-points { justify-content: center; }

/* ═══ «Це ваш бізнес?» — компактна плашка ═══ */
.sidebar-card.co-claim { padding: 16px 18px; display: grid; gap: 8px; }
.co-claim .sidebar-title { display: flex; align-items: center; gap: 7px; font-size: 14px; margin: 0; }
.co-claim .muted-text { font-size: 12.5px; line-height: 1.5; margin: 0; }
.co-claim .btn { padding: 9px 12px; font-size: 13px; border-radius: 12px; background: var(--bg-light); border: 0; }
@media (hover: hover) { .co-claim .btn:hover { background: #ebeae6; } }
.co-claim .co-add-link { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.svc-sidebar .sidebar-card { padding: 18px; }
.svc-sidebar .sidebar-title { font-size: 14.5px; margin-bottom: 10px; }

/* «Інші компанії» на сторінці компанії/майстра — без зайвої підкладки: заголовок і картки прямо на фоні */
.pf-sec.svc-main-content:has(.co-grid), .pf-sec.svc-main-content:has(.ms-list), .pf-sec.svc-main-content:has(.rq-grid) { background: transparent; border: 0; box-shadow: none; padding: 6px 0 0; }
.pf-sec:has(.co-grid) .co-grid, .pf-sec:has(.rq-grid) .rq-grid { margin-top: 12px; }
.pf-sec:has(.co-grid) .co-all { margin-top: 14px; text-align: center; }

/* шапка профілю: праворуч рейтинг замість дублю телефону/запиту */
.pf-rating { display: grid; justify-items: center; gap: 4px; min-width: 200px; padding: 14px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--accent-line); flex-shrink: 0; text-align: center; }
.pf-score { display: flex; align-items: center; gap: 10px; }
.pf-score b { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: #111315; line-height: 1; }
.pf-score .stars { display: inline-flex; gap: 1px; }
.pf-score .star { font-style: normal; font-size: 18px; color: #e5e7eb; }
.pf-score .star--on { color: #f59e0b; }
.pf-score--none b { color: #c8c6c0; }
.pf-rev-link { font-size: 13px; color: var(--text-muted); }
a.pf-rev-link { color: var(--accent-hover); font-weight: 600; }
@media (hover: hover) { a.pf-rev-link:hover { text-decoration: underline; } }
.pf-rev-btn { margin-top: 6px; width: 100%; justify-content: center; font-size: 13px !important; padding: 9px 14px !important; border-radius: 12px; }
@media (max-width: 900px) { .pf-rating { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; column-gap: 14px; min-width: 0; } .pf-rev-btn { grid-column: 1 / -1; } }

/* «Додати компанію» у верхньому барі — маленька помаранчева кнопка з м'якою пульсацією */
.tb-right a.tb-add { padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: 12px; gap: 4px; animation: tbPulse 2.2s ease-in-out infinite; }
.tb-right a.tb-add svg { width: 13px; height: 13px; }
@media (hover: hover) { .tb-right a.tb-add:hover { background: var(--accent-hover); color: #fff; animation-play-state: paused; } }
@keyframes tbPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,106,0,.55); }
    50% { box-shadow: 0 0 0 6px rgba(255,106,0,0); }
}
@media (prefers-reduced-motion: reduce) { .tb-right a.tb-add { animation: none; } }

/* ═══ Ієрархія акцентів: одна яскрава помаранчева кнопка на екрані ═══ */
/* «Додати компанію» у барі — звичайне посилання з легкою миготливою крапкою */
.tb-right a.tb-add { padding: 0; background: none; border-radius: 0; color: #ffb27a; font-weight: 500; font-size: 12.5px; gap: 7px; animation: none; box-shadow: none; }
.tb-right a.tb-add svg { display: none; }
.tb-right a.tb-add::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; animation: tbBlink 1.8s ease-in-out infinite; }
@media (hover: hover) { .tb-right a.tb-add:hover { background: none; color: #fff; } }
@keyframes tbBlink { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .25; transform: scale(.75); } }
@media (prefers-reduced-motion: reduce) { .tb-right a.tb-add::before { animation: none; } }

/* «Створити завдання» в шапці — графітова кнопка з помаранчевим плюсом */
.hub-header a.header-cta-btn { background: #111315; color: #fff; box-shadow: none; }
.hub-header a.header-cta-btn svg { color: var(--accent); }
@media (hover: hover) { .hub-header a.header-cta-btn:hover { background: #000; box-shadow: none; } }

/* головна: друга дія в формі — спокійна, щоб помаранчева «Опублікувати» була головною */
.hub-quick-actions .btn-secondary { background: transparent; border-color: #dfded9; }
@media (hover: hover) { .hub-quick-actions .btn-secondary:hover { background: #fff; } }

/* плитки категорій — м'які різні відтінки іконок (як у прототипі), щоб сітка не «рябіла» однаково */
.hub-tile:nth-child(6n+1) .hub-tile-ico, .sub-tile:nth-child(6n+1) b ~ span svg { background: #fff3ea; color: #ff6a00; }
.hub-tile:nth-child(6n+2) .hub-tile-ico { background: #efefed; color: #111315; }
.hub-tile:nth-child(6n+3) .hub-tile-ico { background: #fef3c7; color: #b45309; }
.hub-tile:nth-child(6n+4) .hub-tile-ico { background: #f3e8ff; color: #7c3aed; }
.hub-tile:nth-child(6n+5) .hub-tile-ico { background: #ffe4e6; color: #e11d48; }
.hub-tile:nth-child(6n+6) .hub-tile-ico { background: #e7f5f3; color: #0f766e; }
@media (hover: hover) { .hub-tile:hover .hub-tile-ico { filter: saturate(1.2); } }

/* «Створити завдання» в шапці — знову помаранчева */
.hub-header a.header-cta-btn { background: var(--accent); color: #fff; }
.hub-header a.header-cta-btn svg { color: #fff; }
@media (hover: hover) { .hub-header a.header-cta-btn:hover { background: var(--accent-hover); box-shadow: 0 6px 18px -4px rgba(255,106,0,.45); } }

/* ═══ Головна: компактний перший екран ═══ */
.hub-hero-main { padding: 28px 30px; }
.hub-hero-main .hub-pill { margin-bottom: 10px; }
.hub-hero-title { font-size: 36px; line-height: 1.12; margin-bottom: 8px; }
.hub-hero-sub { font-size: 14.5px; line-height: 1.55; margin-bottom: 16px; max-width: 560px; }
.hub-hero-side { padding: 26px 28px; }
.hub-side-title { font-size: 22px; }
.hub-side-text { font-size: 13.5px; margin-bottom: 12px; }
.hub-checks { gap: 6px; margin-bottom: 16px; }
.hub-checks li { font-size: 13px; }
/* форма у два рядки: [завдання ....][Опублікувати] / [місто][категорія][Знайти виконавця] */
@media (min-width: 769px) {
    .hub-quick { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 210px; gap: 8px; padding: 10px; }
    .hub-quick .hq-selects, .hub-quick .hub-quick-actions { display: contents; }
    .hub-quick .hq-input { grid-column: 1 / 3; grid-row: 1; }
    .hub-quick .hq-selects > :nth-child(1) { grid-column: 1; grid-row: 2; }
    .hub-quick .hq-selects > :nth-child(2) { grid-column: 2; grid-row: 2; }
    .hub-quick .hub-quick-actions .btn-primary { grid-column: 3; grid-row: 1; }
    .hub-quick .hub-quick-actions .btn-secondary { grid-column: 3; grid-row: 2; }
    .hub-quick .hq-input input, .hub-quick .dd-btn, .hub-quick .hub-quick-actions .btn { height: 44px; padding-top: 0; padding-bottom: 0; }
    .hub-quick .hub-quick-actions .btn { font-size: 13.5px; padding-left: 12px; padding-right: 12px; }
}

/* стилізовані списки в будь-якій формі — тієї ж висоти й вигляду, що й поля вводу */
.lead-form .dd-btn, .modal-dialog .dd-btn, .mf-form .dd-btn, .form-group .dd-btn { height: 46px; padding-top: 0; padding-bottom: 0; background: #fff; border: 1px solid #dfded9; font-weight: 400; font-size: 14.5px; }
.lead-form .dd.is-default .dd-val, .modal-dialog .dd.is-default .dd-val, .form-group .dd.is-default .dd-val { color: #9ca3af; }
.modal-dialog .dd-pop { z-index: 3100; }
.form-group .dd { width: 100%; }

/* ═══ Головна: вкладки «Опублікувати / Знайти» над формою ═══ */
.hq-tabs { display: inline-flex; gap: 2px; padding: 4px; margin-bottom: 10px; background: var(--bg-light); border-radius: 14px; align-self: flex-start; }
.hq-tabs button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; border: 0; background: none; font-size: 13.5px; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: background .15s, color .15s; }
.hq-tabs button svg { width: 15px; height: 15px; }
.hq-tabs button.is-active { background: #fff; color: #111315; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.hq-tabs button.is-active svg { color: var(--accent); }
@media (hover: hover) { .hq-tabs button:not(.is-active):hover { color: #111315; } }

.hub-quick.hq-mode-post .hq-go-find, .hub-quick.hq-mode-find .hq-go-post { display: none !important; }
.hub-quick.hq-mode-find .hq-input { display: none !important; }
@media (min-width: 769px) {
    .hub-quick { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 200px; }
    .hub-quick .hq-input { grid-column: 1 / -1; grid-row: 1; }
    .hub-quick .hq-selects > :nth-child(1) { grid-column: 1; grid-row: 2; }
    .hub-quick .hq-selects > :nth-child(2) { grid-column: 2; grid-row: 2; }
    .hub-quick .hub-quick-actions .btn { grid-column: 3; grid-row: 2; }
    .hub-quick.hq-mode-find .hq-selects > :nth-child(1), .hub-quick.hq-mode-find .hq-selects > :nth-child(2), .hub-quick.hq-mode-find .hub-quick-actions .btn { grid-row: 1; }
}
@media (max-width: 768px) { .hq-tabs { display: flex; } .hq-tabs button { flex: 1; justify-content: center; padding: 8px 8px; font-size: 12.5px; } }

/* вкладка «Знайти»: замість поля — підказка тієї ж висоти, щоб нічого не стрибало */
.hq-hint { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px dashed #dfded9; font-size: 13.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hq-hint svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.hub-quick.hq-mode-find .hq-hint { display: flex; grid-column: 1 / -1; grid-row: 1; }
@media (min-width: 769px) {
    .hub-quick.hq-mode-find .hq-selects > :nth-child(1), .hub-quick.hq-mode-find .hq-selects > :nth-child(2), .hub-quick.hq-mode-find .hub-quick-actions .btn { grid-row: 2; }
}
@media (max-width: 768px) {
    .hq-input input { height: 46px; }
    .hq-hint { height: 46px; white-space: normal; font-size: 12.5px; line-height: 1.35; }
}

/* ═══ Головна: кожна вкладка — один рядок ═══
   «Опублікувати»: [поле завдання ............][Опублікувати]
   «Знайти»:       [місто][категорія][Показати виконавців]                        */
.hq-hint { display: none !important; }
.hub-quick.hq-mode-post .hq-selects { display: none !important; }
@media (min-width: 769px) {
    .hub-quick { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 210px; }
    .hub-quick.hq-mode-post .hq-input { grid-column: 1 / 3; grid-row: 1; }
    .hub-quick .hub-quick-actions .btn { grid-column: 3; grid-row: 1 !important; }
    .hub-quick.hq-mode-find .hq-selects > :nth-child(1) { grid-column: 1; grid-row: 1 !important; }
    .hub-quick.hq-mode-find .hq-selects > :nth-child(2) { grid-column: 2; grid-row: 1 !important; }
}
@media (max-width: 768px) {
    .hub-quick.hq-mode-post { grid-template-columns: minmax(0,1fr); }
    .hub-quick .hq-selects { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) { .hub-quick .dd-btn, .hub-quick .hq-input input { height: 46px; padding-top: 0; padding-bottom: 0; } }

/* карта — у власному шарі, її слої (z-index 400+) не перекривають випадні списки фільтрів */
.pf-map { position: relative; z-index: 0; isolation: isolate; }
.pf-filters { z-index: 30; }

/* ═══ Єдиний контейнер: форми на всю ширину сітки сайту (краї збігаються з шапкою й крихтами) ═══ */
.reg-page { grid-template-columns: minmax(0, 1fr) 340px; justify-content: stretch; }
.wz-page { max-width: var(--container); grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.wz-page .wz-how { position: sticky; top: 76px; }
@media (max-width: 992px) {
    .reg-page, .wz-page { grid-template-columns: minmax(0, 1fr); }
    .wz-page .wz-how { position: static; }
}

/* ═══ Запит у 3 кроки ═══ */
.wz-dots { display: flex; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.wz-dots li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 12px; background: var(--bg-light); font-size: 13px; font-weight: 600; color: var(--text-muted); }
.wz-dots li span { width: 22px; height: 22px; border-radius: 999px; background: #fff; color: var(--text-muted); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wz-dots li.is-on { background: var(--accent-soft); color: var(--accent-hover); }
.wz-dots li.is-on span { background: var(--accent); color: #fff; }
.wz-dots li.is-done span { background: var(--accent); color: #fff; }
.wz-step { min-height: 0; gap: 12px; }
.wz-step h2 { font-size: 21px; }
.wz-big { height: 50px; font-size: 16px !important; }
.wz-label { font-size: 12.5px; font-weight: 600; color: #374151; margin-top: 4px; }
.wz-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wz-chips button { padding: 8px 13px; border-radius: 12px; border: 1px solid #e3e2dd; background: #fff; font-size: 13px; color: #111315; cursor: pointer; }
.wz-chips button.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-hover); font-weight: 600; }
.wz-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wz-legal { font-size: 12px; color: var(--text-muted); margin: 4px 0 0; }
.wz-legal a { color: var(--accent-hover); }
@media (max-width: 768px) { .wz-row2 { grid-template-columns: 1fr; } .wz-dots li { padding: 8px; font-size: 0; justify-content: center; } .wz-dots li span { font-size: 12px; } }
.wz-city { position: relative; }
.wz-city .ac-list { z-index: 70; }

/* запит: кнопка надсилання — помаранчева (без зеленого) */
.wz-publish, .wz .wz-publish { background: var(--accent) !important; }
@media (hover: hover) { .wz-publish:hover { background: var(--accent-hover) !important; } }
.wz-dots li.is-done span { background: #111315; }
.wz-row2--phone input[name="phone"] { font-weight: 600; letter-spacing: .01em; }
/* підтвердження номера в Telegram після публікації */
.wz-confirm { display: flex; gap: 12px; text-align: left; background: #eaf6fd; border: 1px solid #cfe9f7; border-radius: 20px; padding: 16px; width: 100%; }
.wz-confirm[hidden] { display: none; }
.wz-confirm-ico { width: 40px; height: 40px; border-radius: 12px; background: #229ED9; color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wz-confirm-ico svg { width: 20px; height: 20px; }
.wz-confirm b { display: block; font-size: 15px; color: #0b4a69; margin-bottom: 4px; }
.wz-confirm p { font-size: 13px; color: #3c7896; margin: 0 0 10px; }
.wz-confirm .btn { background: #229ED9; }
@media (hover: hover) { .wz-confirm .btn:hover { background: #1b87bb; } }

/* запит: без зеленого — пройдені кроки графітові, «готово» — помаранчеве */
.wz-dots li.is-done { color: #111315; }
.wz-dots li.is-done span { background: #111315 !important; color: #fff; }
.wz-done-ico { background: var(--accent-soft) !important; color: var(--accent) !important; }
/* помилка — підсвічене поле + текст під ним */
.wz .form-input.is-invalid, .wz .form-textarea.is-invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.1); }
.wz-err { margin-top: -6px; font-size: 12.5px; color: #dc2626; }
.wz-row2 .wz-err { grid-column: span 1; margin-top: -4px; }
.wz-field { display: grid; gap: 6px; min-width: 0; }
.wz-field .wz-err { margin-top: 0; }

/* ═══ Кабінет: статистика запиту й відгуки майстрів ═══ */
.dash-stats { grid-template-columns: repeat(3, minmax(0,1fr)); }
.dash-stats .is-ok { color: var(--accent-hover) !important; }
.cab-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cab-stats > * { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 10px; background: var(--bg-light); font-size: 12.5px; color: var(--text-muted); }
.cab-stats svg { width: 14px; height: 14px; }
.cab-stats b { color: #111315; }
.cab-stats .is-hot { background: var(--accent-soft); color: var(--accent-hover); }
.cab-stats .is-hot b { color: var(--accent-hover); }
.cab-stats a { color: var(--accent-hover); font-weight: 600; }
@media (hover: hover) { .cab-stats a:hover { background: var(--accent-soft); } }
.cab-resp { margin-top: 12px; border-top: 1px solid var(--border-light); padding-top: 10px; display: grid; gap: 8px; }
.cab-resp-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); }
.cab-resp-item { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: var(--bg-light); }
.cab-resp-ava { width: 34px; height: 34px; border-radius: 999px; background: #111315; color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cab-resp-who { flex: 1; min-width: 140px; display: grid; }
.cab-resp-who b { font-size: 14px; color: #111315; }
.cab-resp-who a { color: inherit; }
.cab-resp-who small { font-size: 11.5px; color: var(--text-muted); }
.cab-resp-act { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 992px) { .dash-stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }
