 :root {
  --bg: #f6f2ef;
  --surface: #fffdfb;
  --surface-2: #f3ece7;
  --ink: #23262d;
  --muted: #6f6a65;
  --line: #e5d8cf;
  --primary: #2a2d35;
  --primary-deep: #17191f;
  --primary-soft: #f1e6de;
  --coral: #c7a08e;
  --coral-soft: #f6e9e1;
  --blue: #7d8796;
  --blue-soft: #eef1f4;
  --yellow: #c59f67;
  --yellow-soft: #f7efdf;
  --purple: #9b8ab5;
  --purple-soft: #f1ecf7;
  --pink: #d4b0a3;
  --success: #607768;
  --warning: #ad8553;
  --danger: #b3615b;
  --shadow: 0 20px 55px rgba(49, 41, 36, .10);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}
* { box-sizing: border-box; }
html, body { margin:0; min-height:100%; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background:var(--bg); color:var(--ink); }
body { overflow-x:hidden; background-image: radial-gradient(circle at 1px 1px, rgba(199,160,142,.11) 1.2px, transparent 1.2px); background-size:28px 28px; }
button, input, textarea, select { font: inherit; }
button { cursor:pointer; }
.app-shell { min-height:100vh; display:grid; grid-template-columns:290px 1fr; }
.sidebar { position:fixed; inset:0 auto 0 0; width:290px; padding:24px 18px; background:rgba(255,253,249,.93); backdrop-filter:blur(18px); border-right:1px solid var(--line); z-index:20; display:flex; flex-direction:column; overflow:hidden; }
.sidebar:before { content:""; position:absolute; width:170px; height:170px; border-radius:50%; background:var(--yellow-soft); left:-90px; bottom:110px; opacity:.9; }
.sidebar:after { content:""; position:absolute; width:110px; height:110px; background:repeating-linear-gradient(45deg, rgba(110,159,232,.14) 0 6px, transparent 6px 12px); transform:rotate(18deg); right:-58px; top:85px; border-radius:28px; }
.logo { display:flex; gap:12px; align-items:center; font-weight:900; letter-spacing:.05em; font-size:22px; padding:8px 10px 24px; position:relative; z-index:2; }
.logo-mark { width:40px; height:40px; border-radius:14px 14px 14px 6px; display:grid; place-items:center; background:linear-gradient(145deg,var(--coral),#f0a75f); color:white; box-shadow:0 9px 24px rgba(233,120,97,.25); transform:rotate(-3deg); }
.nav { display:grid; gap:7px; position:relative; z-index:2; }
.nav-btn { width:100%; border:0; background:transparent; color:var(--muted); padding:12px 14px; border-radius:15px; display:flex; gap:12px; align-items:center; text-align:left; font-weight:720; }
.nav-btn:hover { background:#fff4e9; color:var(--ink); }
.nav-btn.active { background:linear-gradient(90deg,var(--primary-soft),#f3fbf8); color:var(--primary-deep); box-shadow:inset 3px 0 0 var(--primary); }
.nav-icon { width:22px; text-align:center; }
.sidebar-foot { margin-top:auto; padding:15px; border-radius:20px; background:linear-gradient(145deg,#f6eee9,#efe3da); color:#6f655e; font-size:13px; line-height:1.45; position:relative; z-index:2; overflow:hidden; }
.sidebar-foot:after { content:"•••"; position:absolute; right:10px; bottom:-8px; font-size:36px; letter-spacing:5px; color:rgba(199,160,142,.30); }
.main { grid-column:2; min-width:0; }
.content { width:min(1050px, calc(100% - 48px)); margin:0 auto; padding:30px 0 100px; }
.topbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:28px; }
.location { display:flex; align-items:center; gap:8px; color:var(--muted); font-size:14px; padding:8px 12px; background:rgba(255,253,249,.76); border:1px solid rgba(234,223,213,.9); border-radius:999px; }
.icon-btn { width:44px; height:44px; border-radius:15px; border:1px solid var(--line); background:var(--surface); color:var(--ink); position:relative; box-shadow:0 7px 20px rgba(79,61,48,.05); }
.badge-dot { position:absolute; width:10px; height:10px; border-radius:50%; background:var(--coral); top:8px; right:8px; border:2px solid var(--surface); }
.hero { background:
  radial-gradient(circle at 87% 17%, rgba(242,195,92,.62) 0 52px, transparent 53px),
  radial-gradient(circle at 76% 87%, rgba(157,132,215,.22) 0 82px, transparent 83px),
  radial-gradient(circle at 8% 100%, rgba(110,159,232,.22) 0 95px, transparent 96px),
  linear-gradient(135deg,#fffdf9 0%,#fff0e7 48%,#eef8f4 100%);
  border:1px solid rgba(234,223,213,.95); border-radius:34px; padding:36px; box-shadow:var(--shadow); position:relative; overflow:hidden; isolation:isolate;
}
.hero:before { content:""; position:absolute; width:170px; height:65px; right:8%; top:23%; background:repeating-linear-gradient(90deg, transparent 0 10px, rgba(233,120,97,.16) 10px 14px); transform:rotate(-14deg); border-radius:50%; z-index:-1; }
.hero:after { content:"✦  ✦  ✦"; position:absolute; right:32px; bottom:24px; color:rgba(199,160,142,.28); font-size:22px; letter-spacing:12px; }
.hero h1 { font-size:clamp(36px,5vw,60px); margin:0 0 10px; letter-spacing:-.05em; line-height:1.02; max-width:720px; }
.hero p { margin:0 0 24px; color:var(--muted); font-size:17px; max-width:650px; }
.need-input-wrap { display:flex; gap:10px; position:relative; z-index:2; }
.need-input { flex:1; border:1px solid #e4d7cc; border-radius:19px; background:rgba(255,255,255,.95); padding:18px; outline:none; font-size:17px; box-shadow:0 7px 22px rgba(70,53,43,.06); }
.need-input:focus,.input:focus,.textarea:focus,.select:focus { border-color:#82aaa4; box-shadow:0 0 0 4px rgba(47,129,119,.12); }
.primary-btn,.secondary-btn,.ghost-btn,.danger-btn { border:0; border-radius:16px; padding:14px 18px; font-weight:800; transition:.18s ease; }
.primary-btn { background:linear-gradient(145deg,var(--primary),var(--primary-deep)); color:white; box-shadow:0 10px 26px rgba(35,38,45,.22); }
.primary-btn:hover { transform:translateY(-1px) scale(1.005); box-shadow:0 12px 24px rgba(47,129,119,.22); }
.secondary-btn { background:linear-gradient(145deg,var(--coral-soft),#fff2e9); color:#a34f3f; }
.secondary-btn:hover { background:#ffdfd3; }
.ghost-btn { background:rgba(255,255,255,.72); color:var(--muted); border:1px solid var(--line); }
.danger-btn { background:#fae6e5; color:#9c4e4b; }
.quick-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:15px; position:relative; z-index:2; }
.chip { border:1px solid #e8dcd2; background:rgba(255,255,255,.78); color:#6e6f72; border-radius:999px; padding:8px 11px; font-size:13px; box-shadow:0 3px 12px rgba(76,58,46,.035); }
.chip:nth-child(3n+1){ border-color:#e5d8f5; }
.chip:nth-child(3n+2){ border-color:#d6e7f8; }
.chip:nth-child(3n){ border-color:#f0dfb0; }
.chip:hover { color:var(--ink); transform:translateY(-1px); }
.section { margin-top:30px; }
.section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; }
.section-head h2 { margin:0; font-size:23px; letter-spacing:-.025em; }
.section-actions { display:flex; gap:8px; align-items:center; }
.text-link { border:0; background:transparent; color:var(--primary-deep); font-weight:800; }
.grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg); padding:18px; box-shadow:0 9px 28px rgba(78,60,49,.055); position:relative; overflow:hidden; }
.card:before { content:""; position:absolute; width:88px; height:22px; right:-9px; top:-7px; border-radius:0 0 0 22px; background:repeating-linear-gradient(135deg,rgba(242,195,92,.22) 0 7px,rgba(233,120,97,.10) 7px 14px); }
.card.interactive { transition:.18s ease; }
.card.interactive:hover { border-color:#dcccbf; transform:translateY(-2px); box-shadow:0 13px 32px rgba(78,60,49,.08); }
.card-top { display:flex; justify-content:space-between; gap:12px; align-items:flex-start; position:relative; z-index:1; }
.type-badge { display:inline-flex; align-items:center; gap:6px; border-radius:999px; padding:6px 9px; font-size:11px; font-weight:850; letter-spacing:.035em; text-transform:uppercase; }
.type-purchase { background:var(--blue-soft); color:#496eab; }
.type-rental { background:var(--purple-soft); color:#735eb1; }
.type-service { background:var(--yellow-soft); color:#8a6818; }
.card h3 { margin:12px 0 6px; font-size:18px; line-height:1.25; }
.meta { display:flex; flex-wrap:wrap; gap:10px; color:var(--muted); font-size:13px; margin-top:10px; }
.meta span { display:inline-flex; gap:5px; align-items:center; }
.card-actions { display:flex; gap:9px; margin-top:16px; }
.card-actions button { flex:1; }
.active-card { background:linear-gradient(145deg,#fffdf9,#eef9f5); border-color:#cfe5de; }
.offer-count { min-width:36px; height:36px; border-radius:13px; display:grid; place-items:center; background:linear-gradient(145deg,var(--coral),#ee9b6a); color:white; font-weight:900; box-shadow:0 8px 20px rgba(233,120,97,.20); }
.panel { width:min(720px,100%); margin:0 auto; }
.panel-wide { width:min(920px,100%); margin:0 auto; }
.page-title { margin:0 0 7px; font-size:34px; letter-spacing:-.04em; }
.page-sub { color:var(--muted); margin:0 0 24px; line-height:1.5; }
.back-btn { border:0; background:transparent; color:var(--muted); padding:8px 0; margin-bottom:14px; font-weight:750; }
.eyebrow { display:inline-flex; align-items:center; gap:6px; color:#a25543; background:var(--coral-soft); padding:6px 10px; border-radius:999px; font-weight:850; font-size:11px; letter-spacing:.08em; text-transform:uppercase; margin-bottom:10px; }
.interpret-box { border-radius:28px; padding:25px; background:
  radial-gradient(circle at 92% 10%,rgba(157,132,215,.20) 0 48px,transparent 49px),
  linear-gradient(145deg,var(--surface),#f1f8f4); border:1px solid var(--line); box-shadow:0 9px 30px rgba(70,55,45,.045); }
.interpret-object { font-size:30px; font-weight:900; letter-spacing:-.035em; margin:8px 0; }
.kv { display:grid; gap:9px; margin-top:18px; }
.kv-row { display:flex; justify-content:space-between; gap:18px; padding:12px 0; border-top:1px solid var(--line); }
.kv-row span:first-child { color:var(--muted); }
.form-card { background:var(--surface); border:1px solid var(--line); border-radius:27px; padding:24px; box-shadow:0 9px 30px rgba(75,57,45,.045); }
.field { display:grid; gap:8px; margin-bottom:18px; }
.field label { font-weight:800; font-size:14px; }
.field small { color:var(--muted); }
.input,.textarea,.select { width:100%; border:1px solid #e5d8ce; background:white; border-radius:15px; padding:13px 14px; color:var(--ink); outline:none; }
.textarea { min-height:95px; resize:vertical; }
.segment { display:flex; flex-wrap:wrap; gap:8px; }
.segment button { border:1px solid var(--line); border-radius:999px; padding:9px 12px; background:white; color:var(--muted); }
.segment button.selected { background:var(--primary-soft); color:var(--primary-deep); border-color:#b9d9d1; font-weight:800; }
.switch-row { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:14px 0; border-top:1px solid var(--line); }
.switch { width:48px; height:28px; background:#d9d2cb; border-radius:999px; padding:3px; border:0; }
.switch:after { content:""; display:block; width:22px; height:22px; border-radius:50%; background:white; box-shadow:0 2px 6px rgba(0,0,0,.12); transition:.2s; }
.switch.on { background:var(--primary); }
.switch.on:after { transform:translateX(20px); }
.action-row { display:flex; gap:10px; margin-top:22px; }
.action-row > * { flex:1; }
.success-panel { text-align:center; padding:36px 24px; background:
  radial-gradient(circle at 16% 16%,rgba(242,195,92,.30) 0 45px,transparent 46px),
  radial-gradient(circle at 87% 80%,rgba(110,159,232,.19) 0 65px,transparent 66px),
  var(--surface); border:1px solid var(--line); border-radius:30px; box-shadow:var(--shadow); }
.success-icon { width:74px; height:74px; border-radius:25px; display:grid; place-items:center; margin:0 auto 18px; background:linear-gradient(145deg,var(--primary-soft),#cde9e1); color:var(--primary-deep); font-size:30px; transform:rotate(-3deg); }
.radar { height:180px; display:grid; place-items:center; position:relative; overflow:hidden; margin:18px 0; }
.radar:before,.radar:after { content:""; position:absolute; border:2px solid rgba(47,129,119,.22); border-radius:50%; animation:pulse 2.3s infinite; }
.radar:before { width:110px; height:110px; }
.radar:after { width:170px; height:170px; animation-delay:.45s; }
.radar-core { width:46px; height:46px; border-radius:50%; background:linear-gradient(145deg,var(--coral),#ef9c66); color:white; display:grid; place-items:center; z-index:2; font-weight:900; }
@keyframes pulse { 0%{transform:scale(.7);opacity:.8} 100%{transform:scale(1.15);opacity:0} }
.offer-list { display:grid; gap:12px; }
.offer-card { display:grid; grid-template-columns:auto 1fr auto; gap:14px; align-items:center; background:var(--surface); border:1px solid var(--line); border-radius:21px; padding:16px; box-shadow:0 8px 24px rgba(71,54,43,.045); }
.avatar { width:49px; height:49px; border-radius:17px; display:grid; place-items:center; background:linear-gradient(145deg,var(--blue-soft),var(--purple-soft)); color:#5d5f88; font-weight:900; }
.offer-main strong { display:block; }
.offer-main small { color:var(--muted); }
.offer-price { text-align:right; font-weight:900; font-size:18px; }
.offer-price small { display:block; color:var(--muted); font-size:12px; font-weight:500; margin-top:4px; }
.filterbar { display:flex; gap:8px; overflow:auto; padding-bottom:4px; }
.filterbar button,.view-switch button { white-space:nowrap; border:1px solid var(--line); background:var(--surface); border-radius:999px; padding:9px 12px; color:var(--muted); }
.filterbar button.selected,.view-switch button.selected { background:var(--primary-deep); color:white; border-color:var(--primary-deep); }
.view-switch { display:flex; gap:5px; background:#f5ece3; padding:4px; border-radius:999px; }
.view-switch button { border:0; background:transparent; padding:8px 12px; }
.chat-shell { background:var(--surface); border:1px solid var(--line); border-radius:27px; overflow:hidden; min-height:650px; display:flex; flex-direction:column; box-shadow:0 10px 35px rgba(73,55,44,.055); }
.chat-head { padding:16px 18px; border-bottom:1px solid var(--line); display:flex; align-items:center; gap:12px; }
.chat-body { flex:1; padding:20px; display:flex; flex-direction:column; gap:10px; background:
  radial-gradient(circle at 1px 1px,rgba(110,159,232,.10) 1px,transparent 1px) 0 0/22px 22px,
  linear-gradient(#fffaf5,#f5fbf8); }
.msg { max-width:72%; border-radius:18px; padding:11px 13px; line-height:1.4; }
.msg.me { align-self:flex-end; background:linear-gradient(145deg,var(--primary),var(--primary-deep)); color:white; border-bottom-right-radius:6px; }
.msg.them { align-self:flex-start; background:white; border:1px solid var(--line); border-bottom-left-radius:6px; }
.msg.system { align-self:center; max-width:90%; background:transparent; color:var(--muted); font-size:12px; text-align:center; }
.chat-compose { padding:14px; border-top:1px solid var(--line); display:flex; gap:8px; }
.chat-compose input { flex:1; border:1px solid var(--line); border-radius:14px; padding:12px 13px; }
.progress-steps { display:flex; gap:6px; margin:18px 0 24px; }
.progress-steps div { flex:1; height:6px; border-radius:999px; background:#e4ddd6; }
.progress-steps div.done { background:linear-gradient(90deg,var(--primary),#59a48f); }
.timer { font-size:48px; font-weight:900; text-align:center; letter-spacing:-.04em; margin:24px 0 8px; }

/* Interactive privacy map */
.map-title-row { align-items:flex-start; }
.map-layout { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(260px,.75fr); gap:16px; align-items:start; }
.city-map { min-height:520px; border-radius:28px; border:1px solid #e5d7c8; position:relative; overflow:hidden; box-shadow:0 14px 38px rgba(77,60,46,.09); background:#f7f0df; }
.map-art { position:absolute; inset:0; width:100%; height:100%; }
.road { fill:none; stroke:#fffdf7; stroke-width:24; stroke-linecap:round; filter:drop-shadow(0 1px 0 rgba(173,148,120,.20)); }
.main-road { stroke-width:34; }
.minor-road { stroke-width:15; stroke-dasharray:0; }
.block { fill:#eadfcd; opacity:.62; stroke:#d8c9b6; stroke-width:2; }
.park { fill:#d9ecc8; stroke:#bfdba9; stroke-width:2; }
.water { fill:none; stroke:#c9e7ef; stroke-width:38; opacity:.82; }
.map-label { position:absolute; font-size:11px; font-weight:800; letter-spacing:.04em; color:#7d7a6e; background:rgba(255,253,249,.72); padding:4px 7px; border-radius:999px; pointer-events:none; }
.label-park { left:6%; top:8%; }
.label-center { left:47%; top:47%; }
.label-river { right:7%; bottom:7%; }
.map-marker { position:absolute; width:42px; height:42px; transform:translate(-50%,-50%); border:0; background:transparent; padding:0; z-index:5; }
.map-marker .privacy-zone { position:absolute; left:50%; top:50%; width:88px; height:88px; transform:translate(-50%,-50%); border-radius:50%; background:rgba(110,159,232,.13); border:1px dashed rgba(110,159,232,.42); transition:.18s; }
.map-marker.type-rental .privacy-zone { background:rgba(157,132,215,.13); border-color:rgba(157,132,215,.42); }
.map-marker.type-service .privacy-zone { background:rgba(242,195,92,.18); border-color:rgba(205,153,41,.44); }
.map-marker:hover .privacy-zone,.map-marker:focus .privacy-zone { width:104px; height:104px; }
.marker-core { position:absolute; left:50%; top:50%; width:36px; height:36px; transform:translate(-50%,-50%); border-radius:50%; display:grid; place-items:center; background:var(--blue); color:white; box-shadow:0 9px 20px rgba(68,74,92,.22); border:3px solid rgba(255,255,255,.9); font-weight:900; }
.type-rental .marker-core { background:var(--purple); }
.type-service .marker-core { background:var(--yellow); color:#735b1b; }
.map-marker .marker-core { line-height:1; }
.map-marker .marker-core { text-indent:0; }
.you-location { position:absolute; left:49%; top:57%; transform:translate(-50%,-50%); display:flex; align-items:center; gap:7px; z-index:6; color:var(--primary-deep); font-size:12px; }
.you-location span { width:20px; height:20px; border-radius:50%; background:white; border:6px solid var(--primary); box-shadow:0 0 0 9px rgba(47,129,119,.15); }
.map-controls { position:absolute; right:14px; top:14px; display:grid; gap:6px; z-index:8; }
.map-controls button { width:38px; height:38px; border-radius:12px; border:1px solid #e4d7ca; background:rgba(255,253,249,.94); color:var(--ink); font-weight:900; font-size:18px; box-shadow:0 6px 16px rgba(77,60,48,.08); }
.map-privacy-note { position:absolute; left:14px; bottom:14px; background:rgba(255,253,249,.92); border:1px solid #e3d6c8; padding:9px 11px; border-radius:14px; z-index:8; font-size:12px; color:var(--muted); display:flex; align-items:center; gap:7px; }
.privacy-sample { width:18px; height:18px; border-radius:50%; background:rgba(110,159,232,.14); border:1px dashed rgba(110,159,232,.5); }
.map-side { display:grid; gap:12px; }
.map-selected-card .card { box-shadow:0 10px 30px rgba(79,59,45,.08); }
.approx-location { margin-top:9px; padding:11px 13px; border-radius:14px; background:var(--blue-soft); color:#55729d; font-size:13px; }
.privacy-explain { border-radius:20px; padding:16px; background:linear-gradient(145deg,#fff1ce,#ffe9df); color:#6f6258; }
.privacy-explain p { margin:7px 0 0; font-size:13px; line-height:1.45; }

.profile-head { display:flex; gap:18px; align-items:center; }
.profile-avatar { width:86px; height:86px; border-radius:29px; display:grid; place-items:center; background:linear-gradient(145deg,var(--coral-soft),var(--blue-soft)); color:#7a5c63; font-weight:900; font-size:28px; box-shadow:inset -8px -8px 20px rgba(255,255,255,.55); }
.stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:18px; }
.stat { border-radius:17px; background:linear-gradient(145deg,#fff3df,#f5f1fb); padding:14px; }
.stat:nth-child(2){background:linear-gradient(145deg,#eaf5ff,#f4effd)}
.stat:nth-child(3){background:linear-gradient(145deg,#ecf8f4,#fff8e5)}
.stat:nth-child(4){background:linear-gradient(145deg,#ffe9e3,#fff5df)}
.stat strong { display:block; font-size:22px; }
.stat span { color:var(--muted); font-size:12px; }
.list { display:grid; gap:10px; }
.list-row { background:var(--surface); border:1px solid var(--line); border-radius:17px; padding:14px 16px; display:flex; align-items:center; justify-content:space-between; gap:14px; box-shadow:0 5px 18px rgba(75,56,44,.035); }
.list-row .sub { color:var(--muted); font-size:13px; margin-top:3px; }
.toast { position:fixed; right:24px; bottom:24px; z-index:100; background:#2f3d36; color:white; padding:13px 16px; border-radius:14px; box-shadow:var(--shadow); animation:toastin .2s ease; }
@keyframes toastin { from{transform:translateY(8px);opacity:0} }
.bottom-nav { display:none; }
.mobile-top-logo { display:none; }
.empty { padding:40px 20px; text-align:center; color:var(--muted); border:1px dashed #d8c8ba; border-radius:22px; background:rgba(255,253,249,.54); }
.file-pill { display:flex; align-items:center; justify-content:space-between; gap:8px; background:#f5efe9; border-radius:12px; padding:10px 12px; font-size:13px; }
.review-stars { display:flex; gap:8px; font-size:34px; justify-content:center; margin:22px 0; }
.review-stars button { border:0; background:transparent; font-size:inherit; color:#c5bbae; }
.review-stars button.on { color:var(--yellow); }
.onboarding-screen { min-height:100vh; display:grid; place-items:center; padding:24px; position:relative; overflow:hidden; background:linear-gradient(145deg,#fff7ee,#eff9f5 62%,#f2edfb); }
.onboarding-pattern { position:absolute; pointer-events:none; }
.onboarding-pattern.p1 { width:360px; height:360px; border-radius:50%; left:-120px; top:-100px; background:repeating-radial-gradient(circle,rgba(233,120,97,.17) 0 4px,transparent 5px 18px); }
.onboarding-pattern.p2 { width:300px; height:180px; right:-80px; bottom:4%; transform:rotate(-15deg); background:repeating-linear-gradient(120deg,rgba(110,159,232,.16) 0 8px,transparent 8px 19px); border-radius:80px; }

@media(max-width: 900px){
  .app-shell { display:block; }
  .sidebar { display:none; }
  .main { grid-column:auto; }
  .content { width:min(100% - 28px,760px); padding-top:18px; padding-bottom:104px; }
  .mobile-top-logo { display:flex; align-items:center; gap:9px; font-weight:900; letter-spacing:.04em; }
  .topbar { margin-bottom:18px; }
  .bottom-nav { display:grid; position:fixed; left:0; right:0; bottom:0; z-index:30; grid-template-columns:repeat(4,1fr); background:rgba(255,253,249,.94); backdrop-filter:blur(16px); border-top:1px solid var(--line); padding:8px 8px calc(8px + env(safe-area-inset-bottom)); }
  .bottom-nav button { border:0; background:transparent; color:var(--muted); display:grid; gap:3px; place-items:center; font-size:10px; min-height:53px; border-radius:13px; }
  .bottom-nav button.active { color:var(--primary-deep); background:var(--primary-soft); }
  .grid { grid-template-columns:1fr 1fr; }
  .map-layout { grid-template-columns:1fr; }
  .city-map { min-height:480px; }
}
@media(max-width: 620px){
  body { background-size:24px 24px; }
  .hero { padding:25px 18px; border-radius:26px; }
  .hero h1 { font-size:39px; }
  .hero:before { right:-15%; }
  .need-input-wrap { display:grid; }
  .need-input-wrap .primary-btn { min-height:53px; }
  .grid { grid-template-columns:1fr; }
  .page-title { font-size:29px; }
  .form-card,.interpret-box { padding:18px; border-radius:23px; }
  .action-row { flex-direction:column; }
  .offer-card { grid-template-columns:auto 1fr; }
  .offer-price { grid-column:2; text-align:left; }
  .stat-grid { grid-template-columns:1fr 1fr; }
  .chat-shell { min-height:calc(100vh - 150px); border-radius:20px; }
  .msg { max-width:84%; }
  .topbar .location span { display:none; }
  .section-head { align-items:flex-start; }
  .section-actions { flex-direction:column; align-items:flex-end; gap:2px; }
  .map-title-row { display:grid; }
  .view-switch { width:max-content; }
  .city-map { min-height:430px; }
  .map-marker .privacy-zone { width:72px; height:72px; }
  .map-privacy-note { max-width:180px; }
}


/* v0.6.9 selectable modern themes — Guest First UX stays unchanged */
:root[data-theme="teal-coral"]{
  --bg:#fffaf5;--surface:#fffefd;--surface-2:#f6f1eb;--ink:#10283a;--muted:#697881;--line:#e9dfd8;
  --primary:#0f9c95;--primary-deep:#087a75;--primary-soft:#ddf6f2;--coral:#ff6b5b;--coral-soft:#ffe6df;
  --blue:#58a9e8;--blue-soft:#e7f3ff;--yellow:#f6bd4b;--yellow-soft:#fff2c9;--purple:#826dd8;--purple-soft:#eeeaff;--pink:#f58b9f;
  --accent:#ff6b5b;--accent-soft:#ffe6df;--info:#58a9e8;--success:#248c69;--warning:#cc8c32;--danger:#c95755;
}
:root[data-theme="blue-cyan-mango"]{
  --bg:#f7fbff;--surface:#ffffff;--surface-2:#eef5ff;--ink:#0d2250;--muted:#68758a;--line:#dce7f4;
  --primary:#1657d8;--primary-deep:#0c3e9f;--primary-soft:#e4edff;--coral:#ff9d17;--coral-soft:#fff0d4;
  --blue:#14b8e6;--blue-soft:#def8ff;--yellow:#ffb42d;--yellow-soft:#fff2cf;--purple:#7467df;--purple-soft:#eceaff;--pink:#ff6f86;
  --accent:#ff9d17;--accent-soft:#fff0d4;--info:#14b8e6;--success:#158b77;--warning:#d28b00;--danger:#d8565a;
}
:root[data-theme="mint-lime-graphite"]{
  --bg:#fbfdf9;--surface:#ffffff;--surface-2:#eff8f3;--ink:#172528;--muted:#6e7977;--line:#dce9e1;
  --primary:#43b89e;--primary-deep:#258d79;--primary-soft:#e0f7ef;--coral:#b7df52;--coral-soft:#eff9d2;
  --blue:#70a9c8;--blue-soft:#e8f4fa;--yellow:#c7e968;--yellow-soft:#f2fad9;--purple:#7c8c91;--purple-soft:#edf1f2;--pink:#e88b7a;
  --accent:#9fcf35;--accent-soft:#eef8d2;--info:#5f9fbf;--success:#3c9a71;--warning:#b58b24;--danger:#cf5a57;
}
:root[data-theme="coral-violet-sky"]{
  --bg:#fbfaff;--surface:#ffffff;--surface-2:#f5f2ff;--ink:#102349;--muted:#74758a;--line:#e5e0f2;
  --primary:#ff675d;--primary-deep:#e14843;--primary-soft:#ffe6e2;--coral:#765be7;--coral-soft:#ece7ff;
  --blue:#52aaf2;--blue-soft:#e4f3ff;--yellow:#ffc76f;--yellow-soft:#fff3d9;--purple:#7558e5;--purple-soft:#ece7ff;--pink:#ef80b3;
  --accent:#7558e5;--accent-soft:#ece7ff;--info:#52aaf2;--success:#3e9b7b;--warning:#c58d37;--danger:#d95155;
}
:root[data-theme="neon-mint-coral-aqua"]{
  --bg:#f7fffd;--surface:#ffffff;--surface-2:#eafbf7;--ink:#11282f;--muted:#687a80;--line:#d4eee8;
  --primary:#08c4b2;--primary-deep:#009486;--primary-soft:#d9fff7;--coral:#ff6b5f;--coral-soft:#ffe4df;
  --blue:#39bce8;--blue-soft:#e0f7ff;--yellow:#ffbe58;--yellow-soft:#fff2d2;--purple:#7668df;--purple-soft:#eceaff;--pink:#f5749a;
  --accent:#ff6b5f;--accent-soft:#ffe4df;--info:#39bce8;--success:#05a879;--warning:#d3952b;--danger:#d85158;
}

html[data-theme="teal-coral"] body{
  background-image:radial-gradient(circle at 1px 1px,rgba(15,156,149,.10) 1.1px,transparent 1.2px),linear-gradient(115deg,rgba(255,107,91,.035),transparent 38%);background-size:28px 28px,100% 100%;
}
html[data-theme="blue-cyan-mango"] body{
  background-image:radial-gradient(circle at 1px 1px,rgba(22,87,216,.095) 1.1px,transparent 1.2px),linear-gradient(130deg,transparent 0 72%,rgba(255,157,23,.06) 72% 100%);background-size:30px 30px,100% 100%;
}
html[data-theme="mint-lime-graphite"] body{
  background-image:radial-gradient(circle at 1px 1px,rgba(67,184,158,.09) 1.1px,transparent 1.2px),linear-gradient(150deg,rgba(183,223,82,.045),transparent 42%);background-size:29px 29px,100% 100%;
}
html[data-theme="coral-violet-sky"] body{
  background-image:radial-gradient(circle at 1px 1px,rgba(117,88,229,.085) 1.1px,transparent 1.2px),linear-gradient(135deg,rgba(255,103,93,.055),transparent 35%,rgba(82,170,242,.04));background-size:29px 29px,100% 100%;
}
html[data-theme="neon-mint-coral-aqua"] body{
  background-image:radial-gradient(circle at 1px 1px,rgba(8,196,178,.10) 1.1px,transparent 1.2px),linear-gradient(135deg,rgba(255,107,95,.04),transparent 38%,rgba(57,188,232,.045));background-size:27px 27px,100% 100%;
}

html[data-theme="teal-coral"] .hero{background:radial-gradient(circle at 91% 13%,rgba(255,107,91,.25) 0 62px,transparent 63px),radial-gradient(circle at 77% 88%,rgba(15,156,149,.18) 0 92px,transparent 93px),linear-gradient(135deg,#fffefa 0%,#fff8f1 52%,#edf9f6 100%)}
html[data-theme="blue-cyan-mango"] .hero{background:radial-gradient(circle at 91% 14%,rgba(255,157,23,.27) 0 58px,transparent 59px),radial-gradient(circle at 77% 88%,rgba(20,184,230,.16) 0 92px,transparent 93px),linear-gradient(135deg,#fff 0%,#f2f7ff 54%,#eafcff 100%)}
html[data-theme="mint-lime-graphite"] .hero{background:radial-gradient(circle at 91% 14%,rgba(183,223,82,.28) 0 58px,transparent 59px),radial-gradient(circle at 77% 88%,rgba(67,184,158,.14) 0 92px,transparent 93px),linear-gradient(135deg,#fff 0%,#f7fcf8 56%,#edf8f2 100%)}
html[data-theme="coral-violet-sky"] .hero{background:radial-gradient(circle at 91% 14%,rgba(117,88,229,.18) 0 62px,transparent 63px),radial-gradient(circle at 77% 88%,rgba(82,170,242,.15) 0 92px,transparent 93px),linear-gradient(135deg,#fff 0%,#fff5f5 48%,#f2f0ff 100%)}
html[data-theme="neon-mint-coral-aqua"] .hero{background:radial-gradient(circle at 91% 14%,rgba(255,107,95,.24) 0 58px,transparent 59px),radial-gradient(circle at 77% 88%,rgba(57,188,232,.17) 0 92px,transparent 93px),linear-gradient(135deg,#fff 0%,#effffb 52%,#eafaff 100%)}

/* Give the five themes recognisably different modern pattern language without touching the v0.6.8 layout. */
html[data-theme="teal-coral"] .hero:before{background:repeating-linear-gradient(90deg,transparent 0 10px,rgba(255,107,91,.17) 10px 14px)}
html[data-theme="blue-cyan-mango"] .hero:before{background:repeating-linear-gradient(135deg,rgba(20,184,230,.12) 0 6px,transparent 6px 13px)}
html[data-theme="mint-lime-graphite"] .hero:before{background:radial-gradient(circle,rgba(183,223,82,.28) 0 3px,transparent 4px);background-size:16px 16px}
html[data-theme="coral-violet-sky"] .hero:before{background:repeating-linear-gradient(110deg,rgba(117,88,229,.12) 0 4px,transparent 4px 13px)}
html[data-theme="neon-mint-coral-aqua"] .hero:before{background:radial-gradient(circle,rgba(8,196,178,.24) 0 2.5px,transparent 3.5px);background-size:14px 14px}
html[data-theme="coral-violet-sky"] .primary-btn{background:linear-gradient(120deg,#ff675d,#ff7669);box-shadow:0 10px 28px rgba(255,103,93,.22)}
html[data-theme="blue-cyan-mango"] .primary-btn{background:linear-gradient(120deg,#174fc8,#136be4 70%,#13b8e3);box-shadow:0 10px 28px rgba(22,87,216,.22)}
html[data-theme="neon-mint-coral-aqua"] .primary-btn{background:linear-gradient(120deg,#09b9a9,#07cbbb 65%,#25badb);box-shadow:0 10px 28px rgba(8,196,178,.22)}
html[data-theme="mint-lime-graphite"] .primary-btn{background:linear-gradient(120deg,#43b89e,#34aa91);box-shadow:0 10px 28px rgba(67,184,158,.20)}
html[data-theme="teal-coral"] .primary-btn{background:linear-gradient(120deg,#0f9c95,#087a75);box-shadow:0 10px 28px rgba(15,156,149,.20)}

html[data-theme="teal-coral"] .benefit-card:nth-child(1){box-shadow:inset 0 3px 0 rgba(255,107,91,.72),0 8px 22px rgba(30,45,40,.06)}
html[data-theme="blue-cyan-mango"] .benefit-card:nth-child(1){box-shadow:inset 0 3px 0 rgba(255,157,23,.78),0 8px 22px rgba(30,45,40,.06)}
html[data-theme="mint-lime-graphite"] .benefit-card:nth-child(3){box-shadow:inset 0 3px 0 rgba(183,223,82,.82),0 8px 22px rgba(30,45,40,.06)}
html[data-theme="coral-violet-sky"] .benefit-card:nth-child(2){box-shadow:inset 0 3px 0 rgba(117,88,229,.75),0 8px 22px rgba(30,45,40,.06)}
html[data-theme="neon-mint-coral-aqua"] .benefit-card:nth-child(2){box-shadow:inset 0 3px 0 rgba(255,107,95,.72),0 8px 22px rgba(30,45,40,.06)}

/* Theme selector */
.theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.theme-card{border:1px solid var(--line);background:var(--surface);border-radius:20px;padding:12px;display:grid;grid-template-columns:72px 1fr auto;gap:12px;align-items:center;text-align:left;color:var(--ink);box-shadow:0 7px 22px rgba(60,50,70,.05);transition:.18s ease}
.theme-card:hover{transform:translateY(-1px);box-shadow:0 12px 25px rgba(60,50,70,.09)}
.theme-card.selected{border:2px solid var(--primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 12%,transparent)}
.theme-preview{width:72px;height:52px;border-radius:15px;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid rgba(0,0,0,.04);box-shadow:inset 0 0 0 2px rgba(255,255,255,.45)}
.theme-preview i{display:block}
.theme-preview.teal-coral i:nth-child(1){background:#0f9c95}.theme-preview.teal-coral i:nth-child(2){background:#ff6b5b}.theme-preview.teal-coral i:nth-child(3){background:#fffaf5}.theme-preview.teal-coral i:nth-child(4){background:#58a9e8}
.theme-preview.blue-cyan-mango i:nth-child(1){background:#1657d8}.theme-preview.blue-cyan-mango i:nth-child(2){background:#14b8e6}.theme-preview.blue-cyan-mango i:nth-child(3){background:#ff9d17}.theme-preview.blue-cyan-mango i:nth-child(4){background:#f7fbff}
.theme-preview.mint-lime-graphite i:nth-child(1){background:#43b89e}.theme-preview.mint-lime-graphite i:nth-child(2){background:#b7df52}.theme-preview.mint-lime-graphite i:nth-child(3){background:#172528}.theme-preview.mint-lime-graphite i:nth-child(4){background:#fbfdf9}
.theme-preview.coral-violet-sky i:nth-child(1){background:#ff675d}.theme-preview.coral-violet-sky i:nth-child(2){background:#7558e5}.theme-preview.coral-violet-sky i:nth-child(3){background:#52aaf2}.theme-preview.coral-violet-sky i:nth-child(4){background:#fbfaff}
.theme-preview.neon-mint-coral-aqua i:nth-child(1){background:#08c4b2}.theme-preview.neon-mint-coral-aqua i:nth-child(2){background:#ff6b5f}.theme-preview.neon-mint-coral-aqua i:nth-child(3){background:#39bce8}.theme-preview.neon-mint-coral-aqua i:nth-child(4){background:#ffbe58}
.theme-copy{display:flex;flex-direction:column;gap:3px}.theme-copy b{font-size:14px}.theme-copy small{color:var(--muted);font-size:11px;line-height:1.2}.theme-check{font-size:20px;color:var(--primary);font-weight:900}
@media(max-width:720px){.theme-grid{grid-template-columns:1fr}.theme-card{grid-template-columns:64px 1fr auto}.theme-preview{width:64px;height:46px}}

/* v0.4 real city map */
.map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0 10px;padding:12px 14px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.map-toolbar>div{display:grid;gap:3px}.map-toolbar span{font-size:12px;color:var(--muted)}.map-toolbar span.ok{color:var(--success);font-weight:700}.map-locate{white-space:nowrap;padding:10px 13px}
.map-filterbar{margin:0 0 12px}.real-map-wrap{position:relative;min-width:0}.real-map{height:560px;border-radius:28px;border:1px solid var(--line);overflow:hidden;background:#eaf0ea;box-shadow:0 14px 38px rgba(52,65,58,.10);z-index:1}
.map-loading,.map-error{height:100%;display:grid;place-items:center;text-align:center;color:var(--muted);padding:30px}.map-error{align-content:center;gap:7px}.map-error b{color:var(--ink)}

.need-map-pin-wrap,.you-map-icon-wrap,.needs-cluster-wrap{background:transparent!important;border:0!important}
.need-map-pin{width:42px;height:42px;border-radius:16px 16px 16px 5px;display:grid;place-items:center;background:var(--blue);border:3px solid rgba(255,255,255,.94);box-shadow:0 9px 22px rgba(20,32,48,.26);transform:rotate(-7deg)}
.need-map-pin span{transform:rotate(7deg);font-weight:900;color:white;font-size:17px}.need-map-pin.type-rental{background:var(--purple)}.need-map-pin.type-service{background:var(--yellow)}.need-map-pin.type-service span{color:#5e4c16}
.need-privacy-circle{stroke:var(--blue);fill:var(--blue)}.need-privacy-circle.type-rental{stroke:var(--purple);fill:var(--purple)}.need-privacy-circle.type-service{stroke:var(--yellow);fill:var(--yellow)}
.needs-cluster{width:58px;height:58px;border-radius:21px 21px 21px 7px;display:grid;place-items:center;align-content:center;background:linear-gradient(145deg,var(--primary),var(--primary-deep));border:3px solid rgba(255,255,255,.96);color:white;box-shadow:0 10px 25px rgba(24,40,48,.28);transform:rotate(-4deg)}.needs-cluster b,.needs-cluster small{transform:rotate(4deg)}.needs-cluster b{font-size:18px;line-height:1}.needs-cluster small{font-size:8px;opacity:.92;margin-top:2px}
.you-map-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;position:relative}.you-map-icon i{width:21px;height:21px;border-radius:50%;background:var(--primary);border:5px solid white;box-shadow:0 0 0 10px color-mix(in srgb,var(--primary) 22%,transparent),0 6px 18px rgba(20,50,45,.22)}.you-map-icon b{position:absolute;top:42px;background:var(--surface);border:1px solid var(--line);padding:3px 7px;border-radius:999px;color:var(--primary-deep);font-size:10px;white-space:nowrap}
.map-legend{position:absolute;left:12px;bottom:12px;z-index:500;display:flex;gap:7px;flex-wrap:wrap;max-width:calc(100% - 24px);background:rgba(255,255,255,.91);backdrop-filter:blur(8px);padding:7px 9px;border-radius:13px;border:1px solid rgba(255,255,255,.92);box-shadow:0 7px 20px rgba(40,52,47,.12)}.map-legend span{display:flex;align-items:center;gap:5px;font-size:10px;color:#44535a}.legend-dot{width:9px;height:9px;border-radius:50%;background:var(--blue)}.legend-dot.rental{background:var(--purple)}.legend-dot.service{background:var(--yellow)}.legend-zone{width:14px;height:14px;border-radius:50%;border:1px dashed var(--blue);background:color-mix(in srgb,var(--blue) 12%,transparent)}
.map-demo-note{border:1px dashed var(--line);border-radius:18px;padding:13px;color:var(--muted);font-size:12px;line-height:1.45;background:color-mix(in srgb,var(--surface) 80%,transparent)}
.real-map .marker-cluster-small,.real-map .marker-cluster-medium,.real-map .marker-cluster-large{background:transparent}.real-map .marker-cluster div{background:transparent}
@media(max-width:900px){.real-map{height:520px}.map-toolbar{align-items:flex-start}.map-layout{grid-template-columns:1fr}.map-side{margin-top:4px}}
@media(max-width:620px){.real-map{height:470px;border-radius:22px}.map-toolbar{display:grid}.map-locate{width:100%}.map-legend{right:10px;left:10px;bottom:10px}}

/* v0.4.2 multi-request home + complete history */
.history-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px;scrollbar-width:thin}.history-tabs button{white-space:nowrap;flex:0 0 auto}.history-row{align-items:flex-start}.history-row b{overflow-wrap:anywhere}
@media(max-width:620px){.history-row{display:grid;grid-template-columns:1fr auto}.history-row>div:last-child{font-size:12px}.history-tabs{margin-left:-2px;margin-right:-2px}}

/* v0.4.3 — map of responses to my request */
.compact-map-btn{padding:10px 12px;font-size:12px}
.offer-map-need{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;border:1px solid var(--line);border-radius:18px;background:var(--surface);margin:12px 0 0}.offer-map-need>b{font-size:15px}.offer-map-need>span:last-child{margin-left:auto;color:var(--muted);font-size:13px}
.offer-map-pin{width:42px;height:42px;border-radius:50% 50% 50% 12px;display:grid;place-items:center;background:linear-gradient(145deg,var(--primary),var(--primary-deep));border:3px solid rgba(255,255,255,.96);box-shadow:0 9px 22px rgba(20,32,48,.28);transform:rotate(-8deg)}
.offer-map-pin span{transform:rotate(8deg);font-weight:900;color:var(--on-primary,#fff);font-size:15px}.offer-map-pin.business{background:linear-gradient(145deg,var(--blue),var(--purple))}
.offer-privacy-circle{stroke:var(--primary);fill:var(--primary)}
.offer-cluster{background:linear-gradient(145deg,var(--primary),var(--blue))}
.offer-map-selected .offer-card{grid-template-columns:auto minmax(0,1fr);align-items:start}.offer-map-selected .offer-price{grid-column:2;text-align:left;margin-top:4px}.offer-map-selected .offer-price small{display:inline;margin-left:8px}
.legend-dot.response{background:var(--primary)}.legend-you{width:10px;height:10px;border-radius:50%;background:#fff;border:3px solid var(--primary-deep);box-sizing:content-box}
@media(max-width:620px){.offer-map-need>span:last-child{width:100%;margin-left:0}.compact-map-btn{width:100%}.offer-map-selected .offer-card{grid-template-columns:auto minmax(0,1fr)} }

/* v0.5 backend foundation + authentication */
.auth-screen{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-panel{max-width:620px;width:100%;position:relative;z-index:2}.auth-card{margin-top:24px}.auth-switch{border:1px solid var(--line)}.privacy-note{margin-top:16px;padding:12px 14px;border-radius:16px;background:var(--primary-soft);color:var(--muted);font-size:12px;line-height:1.45}.privacy-note b{color:var(--primary-deep)}.server-badge{font-size:10px;font-weight:900;letter-spacing:.08em;color:var(--success);background:color-mix(in srgb,var(--success) 11%,var(--surface));border:1px solid color-mix(in srgb,var(--success) 28%,var(--line));padding:5px 8px;border-radius:999px}

/* v0.5.1 home outgoing responses */
.my-response-card{background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--blue-soft) 38%,var(--surface)));border-color:color-mix(in srgb,var(--blue) 20%,var(--line))}
.response-status{font-size:11px;font-weight:850;letter-spacing:.02em;color:var(--primary-deep);background:var(--primary-soft);padding:6px 9px;border-radius:999px;white-space:nowrap}
.response-price{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:10px 12px;border-radius:14px;background:color-mix(in srgb,var(--surface) 72%,var(--primary-soft));border:1px solid color-mix(in srgb,var(--primary) 14%,var(--line))}
.response-price span{color:var(--muted);font-size:12px}.response-price b{color:var(--ink);font-size:16px}
.home-response-empty{padding:22px}.home-response-empty .text-link{margin-top:8px}

/* v0.6 location controls */
.location-warning{margin-top:16px;padding:14px 16px;border-radius:18px;background:color-mix(in srgb,var(--warning) 12%,white);display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px solid color-mix(in srgb,var(--warning) 28%,transparent)}
.location-warning span{color:var(--muted);flex:1;min-width:220px}.location-ok{margin-top:12px;color:var(--success);font-weight:700;font-size:13px}
.manual-map-panel{margin:10px 0 14px;padding:14px 16px;border:1px solid color-mix(in srgb,var(--primary) 35%,var(--line));border-radius:18px;background:color-mix(in srgb,var(--primary) 8%,var(--surface));display:flex;align-items:center;justify-content:space-between;gap:14px}
.manual-map-panel[hidden]{display:none}.manual-map-panel>div:first-child{display:grid;gap:4px}.manual-map-panel span{font-size:13px;color:var(--muted)}.manual-map-panel .primary-btn:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:720px){.manual-map-panel{display:grid}.manual-map-panel .section-actions{display:grid}.manual-map-panel .section-actions button{width:100%}.map-toolbar .section-actions{width:100%}.map-toolbar .section-actions button{flex:1}}

.real-map.manual-map-selecting,.real-map.manual-map-selecting .leaflet-grab{cursor:crosshair!important}

.manual-map-live-hint{position:absolute;left:50%;top:16px;transform:translateX(-50%);z-index:900;background:rgba(23,37,31,.92);color:#fff;padding:10px 14px;border-radius:999px;font-size:13px;font-weight:800;box-shadow:0 8px 24px rgba(20,30,25,.18);pointer-events:none;white-space:nowrap}
@media(max-width:620px){.manual-map-live-hint{top:12px;max-width:calc(100% - 24px);white-space:normal;text-align:center}}


/* v0.6.7 registration feedback, request modal, public profiles, request editing */
.field-error{min-height:18px;margin-top:6px;color:var(--danger);font-size:12px;font-weight:750;line-height:1.35}
.input.has-error,.textarea.has-error{border-color:var(--danger)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--danger) 12%,transparent)!important}

.modal-backdrop{position:fixed;inset:0;z-index:4000;background:rgba(20,27,31,.38);backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px}
.mini-modal{position:relative;width:min(520px,100%);max-height:min(82vh,720px);overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:24px;box-shadow:0 28px 80px rgba(23,32,39,.28)}
.modal-close{position:absolute;right:14px;top:14px;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:25px;line-height:1;cursor:pointer}
.request-modal h2,.profile-modal h2{font-size:25px;line-height:1.16;margin:15px 44px 12px 0}
.modal-author{display:flex;align-items:center;gap:10px;margin:12px 0;padding:11px 12px;border-radius:16px;background:var(--bg);color:var(--ink)}
.modal-author.self{color:var(--primary-deep);font-weight:850;width:max-content}
.modal-author.profile-link{width:100%;border:1px solid var(--line);cursor:pointer;text-align:left}
.modal-author.profile-link>span:nth-child(2){display:grid;gap:2px;flex:1}.modal-author.profile-link small{color:var(--muted)}
.avatar.mini{width:38px;height:38px;min-width:38px}
.modal-meta{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.modal-meta span{padding:7px 10px;border-radius:999px;background:var(--bg);font-size:12px;color:var(--muted)}
.modal-description{padding:13px 14px;border-radius:16px;background:var(--bg);color:var(--muted);line-height:1.5;white-space:pre-wrap}
.modal-line{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:13px}.modal-line span{color:var(--muted)}
.modal-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.modal-actions>*{flex:1;min-width:150px}

.public-profile-head{display:flex;align-items:center;gap:15px;padding-right:38px}.public-profile-head h2{margin:0 0 5px}.public-rating{color:var(--muted);font-size:13px}.verified-line{color:var(--success);font-size:12px;font-weight:800;margin-top:5px}
.public-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:22px 0}.public-stats>div{background:var(--bg);border-radius:17px;padding:14px 10px;text-align:center}.public-stats b{display:block;font-size:22px}.public-stats span{display:block;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.25}
.profile-since{color:var(--muted);font-size:13px}.profile-loading{min-height:180px;display:grid;place-items:center;color:var(--muted)}

.avatar-button{border:0;cursor:pointer;padding:0}.profile-name-link{display:inline;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.profile-name-link:hover,.profile-name-link:focus{color:var(--primary-deep)}.profile-name-link.large{display:block}
.edit-check{display:flex;gap:12px;align-items:flex-start;padding:13px 14px;border:1px solid var(--line);border-radius:16px;background:var(--bg);margin:4px 0 18px;cursor:pointer}.edit-check input{width:19px;height:19px;margin-top:2px;accent-color:var(--primary)}.edit-check span{display:grid;gap:3px}.edit-check small{color:var(--muted);line-height:1.35}
.card[data-action="open-need-modal"]{cursor:pointer}.card[data-action="open-need-modal"]:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(32,46,40,.11)}

@media(max-width:620px){
  .modal-backdrop{padding:12px;align-items:end}.mini-modal{width:100%;max-height:88vh;border-radius:24px 24px 18px 18px;padding:21px}
  .modal-actions{display:grid}.modal-actions>*{width:100%;min-width:0}
  .public-stats{grid-template-columns:repeat(3,1fr)}.public-stats b{font-size:19px}.public-stats span{font-size:10px}
}

.closed-request-label{display:inline-flex;align-items:center;padding:10px 12px;border-radius:14px;background:var(--bg);color:var(--muted);font-size:12px;font-weight:800}
.auth-general-error{text-align:center;margin-top:6px}

/* v0.6.8 guest-first onboarding and value explanation */
.hero-kicker{display:inline-flex;align-items:center;gap:7px;margin-bottom:12px;padding:7px 11px;border-radius:999px;background:var(--primary-soft);color:var(--primary-deep);font-size:12px;font-weight:900;letter-spacing:.03em}
.guest-no-signup{display:inline-flex;align-items:center;gap:7px;margin-top:12px;padding:8px 11px;border-radius:999px;background:color-mix(in srgb,var(--success) 10%,var(--surface));color:var(--success);font-size:12px;font-weight:800}
.guest-explainer{position:relative}.benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.benefit-card{position:relative;overflow:hidden;min-height:190px;padding:20px;border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 8px 22px rgba(30,45,40,.06)}.benefit-card>span{display:grid;place-items:center;width:45px;height:45px;border-radius:15px;margin-bottom:18px;font-size:24px;font-weight:900}.benefit-card b{display:block;font-size:18px;margin-bottom:8px}.benefit-card p{margin:0 0 12px;color:var(--muted);font-size:13px;line-height:1.5}.benefit-card small{display:block;padding-top:11px;border-top:1px solid var(--line);color:var(--ink);font-size:12px;font-weight:750}.benefit-card.purchase>span{background:var(--primary-soft);color:var(--primary-deep)}.benefit-card.rental>span{background:var(--accent-soft);color:var(--accent)}.benefit-card.service>span{background:color-mix(in srgb,var(--info) 12%,var(--surface));color:var(--info)}
.how-strip{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:14px;padding:14px 16px;border-radius:20px;background:linear-gradient(120deg,var(--primary-soft),var(--bg));border:1px solid var(--line)}.how-strip>b{margin-right:auto}.how-strip>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:750;color:var(--muted)}.how-strip i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--primary);color:white;font-style:normal;font-size:11px}
.guest-login-btn{border:1px solid var(--line);background:var(--surface);color:var(--primary-deep);border-radius:14px;padding:9px 14px;font-weight:850;cursor:pointer}.guest-login-btn:hover{background:var(--primary-soft)}
.guest-account-card{padding:28px;border:1px solid var(--line);border-radius:28px;background:linear-gradient(145deg,var(--surface),var(--primary-soft));text-align:center}.guest-account-icon{display:grid;place-items:center;width:64px;height:64px;margin:0 auto 16px;border-radius:20px;background:var(--surface);box-shadow:0 8px 26px rgba(30,45,40,.10);color:var(--primary-deep);font-size:34px}.guest-account-card h2{margin:0 0 8px;font-size:24px}.guest-account-card p{max-width:580px;margin:0 auto 20px;color:var(--muted);line-height:1.6}.auth-back{margin-bottom:18px}.onboarding-panel{max-width:760px}.onboarding-icon{font-size:50px;margin-bottom:14px}.onboarding-example{margin:22px auto 4px;max-width:560px;padding:17px 18px;border-radius:18px;background:var(--surface);border:1px solid var(--line);font-size:15px;font-weight:800;line-height:1.5}.onboarding-dots{display:flex;gap:7px;justify-content:center;margin:24px 0}.onboarding-dots span{width:8px;height:8px;border-radius:99px;background:#cdd6cf;transition:.2s}.onboarding-dots span.active{width:28px;background:var(--primary-deep)}.onboarding-skip{display:block;margin:13px auto 0}
@media(max-width:780px){.benefit-grid{grid-template-columns:1fr}.benefit-card{min-height:0}.how-strip{display:grid;grid-template-columns:1fr}.how-strip>b{margin:0 0 3px}.guest-login-btn{padding:8px 11px}.topbar .location{max-width:48%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.onboarding-card{padding:30px 18px!important}}


/* v0.7 visual refresh */
.logo{gap:10px}
.brand-word{font-weight:900;letter-spacing:.05em}
.needs-logo-mark{background:linear-gradient(180deg,#f5fbff,#eef7fa);border:1px solid rgba(18,53,103,.08);box-shadow:0 10px 24px rgba(18,53,103,.08);transform:none;border-radius:14px;width:42px;height:42px;display:grid;place-items:center;padding:5px}
.needs-logo-mark svg{width:100%;height:100%;display:block}
.compact-logo{padding:0;font-size:20px}.compact-logo .needs-logo-mark{width:34px;height:34px;border-radius:12px}
.mobile-top-logo .logo{padding:0;font-size:19px}
.benefit-media{width:100%;height:112px;border-radius:20px;background:linear-gradient(145deg,#fff,#f8fbfb);display:grid;place-items:center;margin:0 0 16px;border:1px solid var(--line);overflow:hidden}
.benefit-media svg{width:100%;height:100%;display:block}
.request-card{padding:18px}
.request-card-head{display:flex;gap:16px;align-items:flex-start}
.request-card-head.compact{gap:12px}
.request-thumb{flex:0 0 132px;width:132px;height:92px;border-radius:22px;overflow:hidden;background:#f7fbfb;border:1px solid rgba(18,53,103,.08);display:grid;place-items:center;box-shadow:inset 0 1px 0 rgba(255,255,255,.85)}
.request-thumb.large{width:156px;height:108px;flex-basis:156px}
.request-thumb.mini{width:96px;height:68px;flex-basis:96px}
.request-thumb svg{width:100%;height:100%;display:block}
.request-main{min-width:0;flex:1}
.request-pill-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:8px}
.type-badge{padding:7px 11px;font-size:11px;letter-spacing:.05em}
.status-badge,.response-status,.offer-inline{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 11px;font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}
.status-active{background:#e7f5ee;color:#2f7a59}.status-progress{background:#fff2de;color:#966126}.status-completed{background:#eaf1ff;color:#4765a5}.status-cancelled{background:#fde9e7;color:#b45b57}
.response-status{background:#eef3ff;color:#526ea5}.offer-inline{background:#fff3ea;color:#a35e49}
.request-submeta{display:flex;flex-wrap:wrap;gap:10px;color:var(--muted);font-size:13px;margin-top:4px}
.request-desc{color:var(--muted);font-size:14px;line-height:1.45;margin:10px 0 0}
.card-status-line{margin-top:12px;padding-top:12px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.card-status-line b{color:var(--ink)}
.modal-hero{display:flex;gap:14px;align-items:flex-start;margin-bottom:10px;padding-right:26px}
.request-modal h2{margin:8px 0 0}
@media(max-width:780px){.request-card-head,.modal-hero{flex-direction:column}.request-thumb,.request-thumb.large{width:100%;max-width:220px}.request-card{padding:16px}}


/* v0.7.3 local raster assets */
.logo{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:4px 0 12px}
.brand-image{display:block;width:320px;height:auto;max-width:100%}
.brand-image.compact{width:165px}
.brand-tagline{display:none !important}
.mobile-top-logo .logo{padding:0}
.benefit-card{padding:18px}
.benefit-card-row{display:flex;align-items:center;gap:16px}
.benefit-copy{flex:1;min-width:0}
.benefit-card b{display:block;font-size:18px;margin-bottom:8px;line-height:1.15}
.benefit-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}
.benefit-card small{display:block;margin-top:12px;padding-top:10px;border-top:1px solid var(--line);font-weight:700;color:var(--ink)}
.benefit-media{width:124px;min-width:124px;height:96px;border:none;background:transparent;margin:0;overflow:hidden;display:flex;align-items:center;justify-content:center}
.benefit-media img,.benefit-asset{display:block;width:100%;height:100%;object-fit:contain}
.request-thumb{background:#fff;overflow:hidden}
.request-thumb img,.request-asset{display:block;width:100%;height:100%;object-fit:cover}
.request-thumb.large img{object-fit:cover}
.request-thumb.mini img{object-fit:cover}
@media (max-width:900px){.benefit-card-row{flex-direction:column;align-items:flex-start}.benefit-media{width:100%;max-width:160px;height:110px}}


/* v0.7.5 Guided First Action */
.location-button{font:inherit;cursor:pointer}.location-button.is-missing{color:#8a665c;border-color:#edd4c8;background:#fff8f3}.location-button.is-set{color:var(--primary-deep);border-color:#cfe5de;background:#f4fbf8}.location-button:hover{transform:translateY(-1px)}
.guided-hero{padding-bottom:30px}.guided-hero>p{margin-bottom:18px}
.guide-progress{display:flex;align-items:center;gap:8px;margin:16px 0 22px;max-width:690px}.guide-progress.compact{margin:0 auto 24px;justify-content:center}.guide-progress-step{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:800;color:var(--muted);white-space:nowrap}.guide-progress-step i{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-style:normal;background:#edf0f1;color:#89949a}.guide-progress-step.current{color:var(--primary-deep)}.guide-progress-step.current i{background:var(--primary);color:#fff;box-shadow:0 6px 16px rgba(47,129,119,.22)}.guide-progress-step.done{color:var(--success)}.guide-progress-step.done i{background:#e1f3e9;color:var(--success)}.guide-progress-line{height:2px;flex:1;min-width:28px;background:#e5e8e8}.guide-progress-line.done{background:#b9ddcc}.guide-progress-step.locked{opacity:.72}
.guided-location-card{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;padding:20px;border-radius:22px;background:linear-gradient(135deg,#fff8ed,#fff4ef);border:1px solid #efd7bf;box-shadow:0 9px 24px rgba(119,84,50,.05);position:relative;z-index:2}.guide-step-label{display:inline-flex;align-items:center;justify-content:center;width:max-content;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:900;letter-spacing:.08em;background:var(--primary-soft);color:var(--primary-deep)}.guided-location-copy h2,.guided-request-step h2{font-size:20px;margin:0 0 6px;letter-spacing:-.02em}.guided-location-copy p{font-size:14px;margin:0 0 8px;color:var(--muted);line-height:1.4}.privacy-inline{font-size:12px;color:#5f746e}.guided-location-actions{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:220px}.guided-location-primary{padding:15px 18px}.guided-auto-locate{font-size:12px;padding:6px}.guided-location-card.attention-pulse{animation:guideAttention .95s ease}.guided-location-done{display:flex;align-items:center;gap:12px;padding:12px 15px;border:1px solid #cae6d7;background:#f1fbf6;border-radius:17px;margin-bottom:14px;position:relative;z-index:2}.guided-location-done>div{display:grid;gap:2px;flex:1}.guided-location-done span{font-size:12px;color:var(--muted)}.guided-done-icon{width:32px;height:32px;border-radius:50%;display:grid!important;place-items:center;background:#dff2e7;color:var(--success)!important;font-weight:900;font-size:17px!important}
.guided-request-step{margin-top:14px;padding:16px;border-radius:20px;position:relative;z-index:2}.guided-request-step.ready{background:rgba(255,255,255,.50);border:1px solid rgba(207,229,222,.8)}.guided-request-step.locked{background:rgba(244,243,241,.62);border:1px dashed #ddd4cc}.guided-request-step .guide-step-label{margin-bottom:8px}.guided-request-step.locked h2{color:#68767b}.need-input.is-locked{background:#f2f2f1;color:#90999c;cursor:not-allowed;box-shadow:none}.primary-btn.is-disabled{background:#d8dcdd;color:#879194;box-shadow:none;cursor:not-allowed;transform:none}.guided-lock-note,.guided-ready-note{font-size:12px;margin-top:10px}.guided-lock-note{color:#8a6e64}.guided-ready-note{color:var(--success);font-weight:700}.need-input.just-unlocked{animation:inputUnlock 1.5s ease;box-shadow:0 0 0 5px rgba(47,129,119,.15)}
.guide-how{margin-top:16px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(90deg,var(--primary-soft),rgba(255,255,255,.88));padding:18px}.guide-how-head{display:flex;align-items:baseline;gap:12px;margin-bottom:14px}.guide-how-head h3{margin:0;font-size:18px}.guide-how-head p{margin:0;color:var(--muted);font-size:13px}.guide-how-grid{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:12px;align-items:center}.guide-how-grid>div:not(.guide-how-arrow){display:grid;grid-template-columns:34px 1fr;column-gap:10px;align-items:center}.guide-how-grid i{grid-row:1/3;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:#fff;font-style:normal;font-weight:900}.guide-how-grid b{font-size:14px}.guide-how-grid span{font-size:12px;color:var(--muted)}.guide-how-arrow{font-size:20px;color:var(--primary);font-weight:900}.guided-nearby-empty{border-style:dashed}
.guided-map-progress{display:flex;align-items:center;gap:10px;margin:0 0 15px;font-size:13px;color:var(--muted)}.guided-map-progress span{display:flex;align-items:center;gap:5px}.guided-map-progress i{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#edf0f1;font-style:normal;font-weight:900}.guided-map-progress .current{color:var(--primary-deep);font-weight:800}.guided-map-progress .current i{background:var(--primary);color:#fff}.guided-map-side h3{margin:5px 0 8px}.guided-map-side>p{color:var(--muted);line-height:1.5}.guided-map-tip{display:grid;gap:8px;padding:14px;border-radius:16px;background:var(--primary-soft);margin-top:16px}.guided-map-tip span{font-size:13px}.guided-map-layout .real-map{min-height:500px}.guided-published .guide-step-label{margin:0 auto 14px}
@keyframes guideAttention{0%,100%{transform:translateX(0);box-shadow:0 9px 24px rgba(119,84,50,.05)}25%{transform:translateX(-4px)}50%{transform:translateX(4px);box-shadow:0 0 0 5px rgba(233,120,97,.12)}75%{transform:translateX(-2px)}}
@keyframes inputUnlock{0%{background:#e6f7f1}100%{background:#fff}}
@media(max-width:820px){.guided-location-card{grid-template-columns:1fr}.guided-location-actions{min-width:0}.guide-progress{gap:5px}.guide-progress-step span{font-size:11px}.guide-progress-line{min-width:10px}.guide-how-head{display:block}.guide-how-head p{margin-top:4px}.guide-how-grid{grid-template-columns:1fr;gap:8px}.guide-how-grid>div:not(.guide-how-arrow){grid-template-columns:36px 1fr}.guide-how-arrow{transform:rotate(90deg);justify-self:center}.guided-map-layout .real-map{min-height:430px}}
@media(max-width:560px){.guide-progress-step span{display:none}.guide-progress{justify-content:center}.guide-progress-line{max-width:50px}.guided-location-card{padding:17px}.guided-request-step{padding:14px}.guided-map-progress{justify-content:center}.guided-map-progress span:not(.current){font-size:11px}}

/* v0.7.6 Nearby + multi-location + direct publish */
.nearby-combined{width:min(1040px,100%)}
.nearby-location-strip{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0 14px}
.nearby-location-chip{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:16px;padding:10px 13px;display:flex;gap:8px;align-items:center;box-shadow:0 5px 16px rgba(40,55,60,.04)}
.nearby-location-chip b{font-size:13px}.nearby-location-chip span{font-size:12px;color:var(--muted)}
.nearby-location-chip.active{border-color:color-mix(in srgb,var(--primary) 52%,var(--line));background:var(--primary-soft);color:var(--primary-deep)}
.nearby-location-chip.add{border-style:dashed;color:var(--primary-deep);font-weight:800}
.nearby-map-block{border:1px solid var(--line);border-radius:26px;background:var(--surface);padding:12px;box-shadow:0 10px 30px rgba(60,72,76,.05)}
.nearby-real-map{height:390px;border-radius:20px;overflow:hidden}
.nearby-feed{margin-top:24px}
.locations-list{display:grid;gap:14px;margin-top:18px}
.location-snapshot-note{margin:16px 0 18px}
.location-manage-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:18px;box-shadow:0 8px 24px rgba(60,72,76,.045)}
.location-manage-card.active{border-color:color-mix(in srgb,var(--primary) 48%,var(--line));box-shadow:0 10px 28px color-mix(in srgb,var(--primary) 11%,transparent)}
.location-manage-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px}
.location-manage-head h3{margin:0 0 4px}.location-manage-head p{margin:0;color:var(--muted);font-size:13px}
.location-radio{width:38px;height:38px;border:0;border-radius:12px;background:var(--primary-soft);color:var(--primary-deep);font-size:19px}
.location-radius-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:15px;margin-top:15px;border-top:1px solid var(--line)}
.location-radius-row>span{font-weight:750;font-size:13px;color:var(--muted)}
.mini-radius{justify-content:flex-end}.mini-radius button{padding:7px 10px;font-size:12px}
.location-manage-actions{display:flex;gap:8px;margin-top:14px}.location-manage-actions button{flex:1}
.danger-link{color:var(--danger)}
.location-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.location-choice{border:1px solid var(--line);background:white;border-radius:15px;padding:12px;text-align:left;display:grid;gap:4px;color:var(--ink)}
.location-choice span{font-size:12px;color:var(--muted)}
.location-choice.selected{border-color:var(--primary);background:var(--primary-soft);color:var(--primary-deep)}
.demo-badge{display:inline-flex;align-items:center;border-radius:999px;padding:7px 9px;background:#fff2cf;color:#8b6717;font-size:10px;font-weight:900;letter-spacing:.06em}
.request-card.active-card{cursor:pointer}
.request-card.active-card:hover{transform:translateY(-3px)}
@media(max-width:780px){
  .nearby-real-map{height:330px}.location-radius-row{align-items:flex-start;flex-direction:column}.mini-radius{justify-content:flex-start}.location-choice-grid{grid-template-columns:1fr}.location-manage-head{grid-template-columns:auto 1fr}.location-manage-head>.switch{grid-column:2;justify-self:start}.location-manage-actions{flex-direction:column}
}


/* v0.7.7.3 - editable saved locations */
.location-name-edit{flex:1;min-width:0}
.location-name-edit label{display:block;font-size:12px;font-weight:800;color:var(--muted);margin-bottom:5px;text-transform:uppercase;letter-spacing:.04em}
.location-name-input{max-width:360px;font-weight:800}
.location-name-edit p{margin:6px 0 0;color:var(--muted);font-size:13px}
.location-manage-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.location-confirm-btn{width:auto;min-width:210px}
@media(max-width:680px){.location-manage-actions .ghost-btn,.location-confirm-btn{width:100%}.location-name-input{max-width:none}}

/* v0.7.7.5 response status clarity */
.response-status{font-weight:800}
.response-status.sent{color:#816500;background:#fff5c7;border:1px solid #f2dc7b}
.response-status.accepted{color:#137654;background:#e8f8f0;border:1px solid #bdebd8}
.response-status.rejected{color:#9a3d46;background:#fff0f1;border:1px solid #f3c9cd}

.response-status-note{margin:10px 0 2px;font-size:13px;font-weight:700}
.response-status-note.sent{color:#816500}
.response-status-note.accepted{color:#137654}
.response-status-note.rejected{color:#9a3d46}


/* v0.7.7.6 - request location selector, split nearby map/feed, visible search radii */
.need-location-radius-row{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr);gap:18px;align-items:start;margin-bottom:2px}
.need-location-radius-row>.field{margin-bottom:18px}
.draft-location-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.draft-new-location{white-space:nowrap;padding:13px 14px}
.nearby-combined{width:min(1320px,100%)}
.content:has(.nearby-combined){width:min(1380px,calc(100% - 48px))}
.nearby-filterbar{margin:0 0 16px}
.nearby-workspace{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(360px,.9fr);gap:18px;align-items:start}
.nearby-map-block{position:sticky;top:18px;padding:12px}
.nearby-real-map{height:650px}
.nearby-feed{margin:0;min-width:0;background:rgba(255,253,249,.66);border:1px solid var(--line);border-radius:26px;padding:16px;max-height:690px;overflow:auto}
.nearby-feed .section-head{position:sticky;top:-16px;z-index:3;background:var(--surface);margin:-16px -16px 14px;padding:16px;border-bottom:1px solid var(--line);border-radius:26px 26px 0 0}
.nearby-feed #nearbyFeedBody.grid{grid-template-columns:1fr;gap:12px}
.nearby-feed .request-card{padding:14px}
.nearby-feed .request-thumb{width:88px;height:72px;min-width:88px}
.nearby-feed .request-card h3{font-size:16px}
.nearby-radius-note{padding:9px 10px 2px;color:var(--muted);font-size:12px;line-height:1.4}
.search-radius-circle{pointer-events:auto}
@media(max-width:1120px){
  .nearby-workspace{grid-template-columns:minmax(0,1.35fr) minmax(330px,.9fr)}
  .nearby-real-map{height:590px}.nearby-feed{max-height:630px}
}
@media(max-width:900px){
  .need-location-radius-row{grid-template-columns:1fr}
  .nearby-workspace{grid-template-columns:1fr}
  .nearby-map-block{position:relative;top:auto}
  .nearby-real-map{height:430px}
  .nearby-feed{max-height:none;overflow:visible}
  .nearby-feed .section-head{position:static;margin:0 0 14px;padding:0;border:0;background:transparent}
}
@media(max-width:620px){.draft-location-control{grid-template-columns:1fr}.draft-new-location{width:100%}}


/* v0.7.7.7 profile/reviews/history cards */
.help-author-card{width:100%;border:1px solid var(--line);background:linear-gradient(135deg,var(--surface),rgba(112,198,205,.10));border-radius:20px;padding:15px 17px;margin:0 0 16px;display:flex;align-items:center;gap:13px;text-align:left;color:var(--ink);cursor:pointer;transition:.18s ease}
.help-author-card:hover{transform:translateY(-1px);border-color:rgba(20,155,151,.45);box-shadow:0 8px 24px rgba(28,61,74,.08)}
.help-author-avatar{width:54px;height:54px;min-width:54px;font-size:17px}
.help-author-copy{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.help-author-copy small{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.04em}.help-author-copy strong{font-size:17px}.help-author-copy span{font-size:13px;color:var(--muted)}
.help-author-link{font-size:13px;font-weight:800;color:var(--primary-deep);white-space:nowrap}
.profile-stat-actions{gap:9px}.profile-stat-button{appearance:none;width:100%;border:1px solid transparent;text-align:left;cursor:pointer;color:inherit;font:inherit;transition:.18s ease;position:relative}.profile-stat-button:hover{transform:translateY(-2px);border-color:rgba(20,155,151,.4);box-shadow:0 8px 22px rgba(22,58,69,.08)}.profile-stat-button:focus-visible{outline:3px solid rgba(20,155,151,.22);outline-offset:2px}.profile-stat-button small{display:block;margin-top:5px;font-size:10px;color:var(--primary-deep);font-weight:800}
.profile-history-modal{width:min(780px,calc(100vw - 28px));max-height:min(80vh,760px);overflow:auto}.profile-history-modal h2{margin:0 36px 4px 0}.profile-history-sub{margin-bottom:16px}.profile-history-list{gap:8px}
.profile-modal-reviews{width:min(650px,calc(100vw - 28px));max-height:min(86vh,820px);overflow:auto}.public-reviews-head{display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.public-reviews-head h3{margin:0;font-size:18px}.public-reviews-head h3 span{color:var(--muted);font-weight:500}.public-rating-big{font-weight:900;color:var(--ink)}.public-reviews-list{display:grid;gap:9px;margin-top:10px}.public-review{border:1px solid var(--line);border-radius:14px;padding:12px 13px;background:var(--surface)}.public-review-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.review-stars-static{color:#f5a623;white-space:nowrap;letter-spacing:1px}.public-review-date{font-size:11px;color:var(--muted);margin-top:2px}.public-review p{margin:7px 0 0;font-size:13px;line-height:1.45}.compact-empty{padding:18px}.demo-line{color:var(--primary-deep)!important}.review-tags .chip{border:1px solid var(--line);cursor:pointer}.review-tags .chip.selected{border-color:var(--primary);background:rgba(20,155,151,.12);color:var(--primary-deep)}
@media(max-width:720px){.help-author-card{align-items:flex-start;flex-wrap:wrap}.help-author-link{width:100%;padding-left:67px}.profile-stat-actions{grid-template-columns:1fr 1fr}.public-review-top{align-items:flex-start;flex-direction:column;gap:4px}}


/* v0.7.7.8 - offer cards, active request map, nearby map-feed sync, help heading */
.active-offers-workspace{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:18px;align-items:start}
.active-offer-map-block{position:sticky;top:18px;padding:12px;border:1px solid var(--line);border-radius:24px;background:rgba(255,253,249,.72)}
.active-offer-map{height:520px;border-radius:18px}
.active-offer-map-note{padding:9px 4px 0;color:var(--muted);font-size:12px;line-height:1.4}
.active-offer-list{max-height:560px;overflow:auto;padding-right:3px}
.offer-clickable{cursor:pointer;transition:.16s ease}
.offer-clickable:hover{transform:translateY(-1px);border-color:rgba(13,153,148,.42);box-shadow:0 10px 28px rgba(35,72,84,.08)}
.offer-clickable.selected{border-color:var(--primary);box-shadow:0 0 0 3px rgba(13,153,148,.12)}
.nearby-feed .request-card.nearby-selected{border-color:var(--primary);box-shadow:0 0 0 3px rgba(13,153,148,.10)}
.need-map-pin-wrap .need-map-pin.selected{transform:scale(1.16);box-shadow:0 0 0 5px rgba(13,153,148,.16)}
.help-form-heading{margin:6px 0 16px}
.help-form-label{font-size:13px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;margin-bottom:7px}
.help-request-title{font-size:25px;line-height:1.2;margin:0;color:var(--ink);font-weight:650}
.help-request-title strong{font-weight:900;color:var(--primary-dark);background:rgba(112,198,205,.15);padding:2px 7px;border-radius:8px;box-decoration-break:clone;-webkit-box-decoration-break:clone}
@media(max-width:900px){.active-offers-workspace{grid-template-columns:1fr}.active-offer-map-block{position:relative;top:auto}.active-offer-map{height:390px}.active-offer-list{max-height:none;overflow:visible}}


/* v0.7.7.9 modal map */
.request-modal-wide{width:min(860px,100%)}
.request-modal-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:18px;align-items:start;margin-top:8px}
.request-modal-main{min-width:0}
.request-modal-map-card{padding:12px;border:1px solid var(--line);border-radius:20px;background:var(--bg)}
.request-modal-map-head{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:10px}
.request-modal-map-head b{font-size:14px}
.request-modal-map-head span{font-size:12px;color:var(--muted)}
.request-modal-map{height:210px;border-radius:18px;overflow:hidden;border:1px solid var(--line);background:#eaf0ea}
.request-modal-map .leaflet-control-attribution{display:none}
.request-modal-map-note{margin-top:10px;font-size:12px;line-height:1.4;color:var(--muted)}
@media(max-width:860px){.request-modal-grid{grid-template-columns:1fr}.request-modal-map{height:220px}}


/* v0.7.8 single welcome + profile-name navigation */
.nearby-topbar{justify-content:flex-end}
.inline-author-name{font-size:inherit;font-weight:800;vertical-align:baseline}
.modal-profile-name{display:block}
.modal-author>span:last-child{display:grid;gap:3px;min-width:0}
.help-author-card{cursor:default}
.help-author-name{display:block;font-size:16px}
.welcome-panel{width:min(1060px,calc(100% - 32px));margin:0 auto;padding:26px 0 42px}
.welcome-brand{display:flex;justify-content:center;margin-bottom:8px}
.welcome-card{max-width:980px;margin:0 auto;padding:42px;border:1px solid var(--line);border-radius:32px;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--primary-soft) 48%,var(--surface)));box-shadow:0 20px 60px rgba(30,45,40,.10);text-align:center}
.welcome-title{font-size:clamp(30px,3.6vw,46px);line-height:1.08;margin:12px 0 16px;color:var(--ink);letter-spacing:-.025em}
.welcome-lead{max-width:820px;margin:0 auto 28px;padding:16px 20px;border-radius:18px;background:color-mix(in srgb,var(--primary-soft) 62%,var(--surface));color:var(--ink);font-size:20px;font-weight:750;line-height:1.5;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primary) 16%,transparent)}
.welcome-use-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;text-align:left;margin:24px 0}
.welcome-use-card{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:22px;background:var(--surface)}
.welcome-use-media{width:96px;height:88px;display:grid;place-items:center;overflow:hidden}.welcome-use-media img{width:100%;height:100%;object-fit:contain}
.welcome-use-card b{display:block;font-size:18px;margin-bottom:5px}.welcome-use-card span{display:block;color:var(--muted);font-size:13px;line-height:1.42}
.welcome-how{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:12px;margin:28px 0 20px;padding:18px;border:1px solid var(--line);border-radius:22px;background:var(--bg);text-align:left}
.welcome-how>div{display:grid;grid-template-columns:38px 1fr;align-items:center;gap:10px}.welcome-how i{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:#fff;font-style:normal;font-weight:900}.welcome-how span{display:grid;gap:2px}.welcome-how b{font-size:14px}.welcome-how small{color:var(--muted);font-size:12px}.welcome-how em{font-style:normal;color:var(--primary-deep);font-size:22px;font-weight:900}
.welcome-privacy{display:inline-flex;max-width:760px;padding:10px 14px;border-radius:999px;background:color-mix(in srgb,var(--success) 10%,var(--surface));color:var(--success);font-size:12px;font-weight:800;line-height:1.35}
.welcome-start{display:block;min-width:300px;margin:24px auto 0}
@media(max-width:900px){.welcome-card{padding:28px 20px}.welcome-use-grid{grid-template-columns:1fr}.welcome-use-card{grid-template-columns:86px 1fr}.welcome-use-media{width:86px;height:78px}.welcome-how{grid-template-columns:1fr;gap:8px}.welcome-how em{transform:rotate(90deg);justify-self:center}.welcome-title{font-size:34px}.welcome-lead{font-size:18px}}
@media(max-width:520px){.welcome-panel{width:100%;padding:12px}.welcome-card{border-radius:24px;padding:24px 16px}.welcome-title{font-size:29px}.welcome-lead{font-size:17px;padding:14px}.welcome-start{min-width:0;width:100%}.welcome-privacy{border-radius:18px}}

.existing-response-note{margin:14px 0 4px;padding:11px 13px;border-radius:14px;background:var(--primary-soft);color:var(--primary-deep);font-size:13px;font-weight:750}


/* v0.7.8.2 compact home/nearby, validation, navigation sizing */
.back-btn{font-size:15px;font-weight:850;padding:10px 6px;margin-left:-6px;cursor:pointer;border-radius:10px}
.back-btn:hover{background:var(--primary-soft);color:var(--primary-deep)}

.guided-hero{padding:22px 26px 20px;border-radius:28px}
.guided-hero .hero-kicker{margin-bottom:7px;padding:5px 9px;font-size:11px}
.guided-hero h1{font-size:clamp(30px,3.5vw,42px);margin-bottom:5px}
.guided-hero>p{font-size:14px;margin-bottom:10px;max-width:760px}
.guided-hero .guide-progress{margin:9px 0 12px;max-width:620px}
.guided-hero .guide-progress-step{font-size:11px;gap:6px}
.guided-hero .guide-progress-step i{width:23px;height:23px;font-size:11px}
.guided-hero .guided-request-step{margin-top:8px;padding:10px 12px;border-radius:16px}
.guided-hero .guided-request-step .guide-step-label{margin-bottom:5px;padding:4px 8px;font-size:9px}
.guided-hero .guided-request-step h2{font-size:16px;margin-bottom:5px}
.guided-hero .need-input{padding:12px 14px;font-size:15px;border-radius:15px}
.guided-hero .need-input-wrap .primary-btn{padding:11px 16px;border-radius:14px}
.guided-hero .guided-ready-note,.guided-hero .guided-lock-note{margin-top:6px;font-size:11px}
.guided-hero.location-ready:after{bottom:12px;font-size:16px}
.guided-hero.location-ready:before{height:48px;opacity:.7}
.guided-hero.location-missing .guided-location-card{padding:14px 16px;gap:12px}
.guided-hero.location-missing .guided-location-copy h2{font-size:17px}
.guided-hero.location-missing .guided-location-primary{padding:11px 14px}

.nearby-feed .request-card.nearby-compact-card{padding:9px 10px;border-radius:18px}
.nearby-feed .nearby-compact-card .request-card-head{gap:9px}
.nearby-feed .nearby-compact-card .request-thumb{width:70px;height:56px;min-width:70px;flex-basis:70px;border-radius:14px}
.nearby-feed .nearby-compact-card .request-pill-row{margin-bottom:4px;gap:5px}
.nearby-feed .nearby-compact-card .type-badge,.nearby-feed .nearby-compact-card .demo-badge{padding:4px 7px;font-size:9px}
.nearby-feed .nearby-compact-card h3{font-size:15px;line-height:1.15;margin:2px 0 4px}
.nearby-feed .nearby-compact-card .request-submeta{gap:6px;font-size:11px;margin-top:2px}
.nearby-feed .nearby-compact-card .request-desc{font-size:11px;line-height:1.25;margin:5px 0 0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}
.nearby-feed .nearby-card-actions{margin-top:6px;justify-content:flex-end}
.nearby-feed .nearby-help-btn{flex:0 0 auto!important;width:auto;padding:7px 11px;border-radius:11px;font-size:11px;box-shadow:none}

.required-mark{color:var(--danger)}
.help-price-options{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}
.help-price-options .chip{cursor:pointer;padding:7px 10px;font-size:12px}
.input.has-error{border-color:var(--danger)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--danger) 15%,transparent)!important}

@media(max-width:700px){
  .guided-hero{padding:18px}
  .guided-hero h1{font-size:29px}
  .guided-hero .guide-progress{margin-bottom:10px}
  .guided-hero .need-input-wrap{flex-direction:column}
  .guided-hero .need-input-wrap .primary-btn{width:100%}
}


/* v0.7.8.4 messages, avatars, calmer map selection, tighter home */
.guided-hero{padding:14px 20px 13px}
.guided-hero .hero-kicker{margin-bottom:5px}
.guided-hero .home-main-lead{margin:2px 0 7px;max-width:850px;font-size:17px;line-height:1.38;font-weight:760;color:var(--ink)}
.guided-hero .guide-progress{margin:5px 0 7px}
.guided-hero .guided-request-step{margin-top:4px;padding:6px 8px;border-radius:13px}
.guided-hero .guided-request-step .need-input-wrap{gap:7px}
.guided-hero .guided-request-step .need-input{padding:10px 12px;font-size:14px}
.guided-hero .guided-request-step .primary-btn{padding:9px 13px;font-size:12px}
.guided-hero .guided-ready-note,.guided-hero .guided-lock-note{margin-top:4px;font-size:10px;line-height:1.25}
.guided-hero.location-ready:before{height:34px}.guided-hero.location-ready:after{display:none}

.need-map-pin-wrap .need-map-pin.selected{transform:scale(1.10);box-shadow:0 0 0 4px rgba(13,153,148,.14)}

.avatar,.profile-avatar{overflow:hidden}
.avatar-photo{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.avatar-emoji{display:grid;width:100%;height:100%;place-items:center;font-size:1.45em;line-height:1}
.profile-avatar .avatar-emoji{font-size:1.65em}
.profile-avatar-own{width:76px;height:76px;min-width:76px}
.avatar-settings{display:grid;gap:16px}
.avatar-standard-grid{display:grid;grid-template-columns:repeat(10,minmax(46px,1fr));gap:9px}
.avatar-choice{aspect-ratio:1;border:1px solid var(--line);border-radius:16px;background:var(--bg);font-size:25px;cursor:pointer;transition:.15s ease;display:grid;place-items:center}
.avatar-choice:hover{transform:translateY(-1px);border-color:var(--primary)}
.avatar-choice.selected{border-color:var(--primary);box-shadow:0 0 0 3px color-mix(in srgb,var(--primary) 15%,transparent);background:var(--primary-soft)}
.avatar-upload-button{width:max-content;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.avatar-upload-note{color:var(--muted);font-size:12px}

.message-response-list{display:grid;gap:12px;margin-top:18px}
.message-response-card{padding:16px 18px;border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:0 7px 22px rgba(30,45,40,.05)}
.message-response-top,.message-response-footer{display:flex;justify-content:space-between;align-items:center;gap:10px}
.message-response-top time{font-size:11px;color:var(--muted)}
.message-direction{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.message-direction.out{background:var(--primary-soft);color:var(--primary-deep)}
.message-direction.in{background:var(--accent-soft);color:var(--accent)}
.message-response-person{margin-top:10px;font-size:15px}
.message-response-request{margin-top:3px;color:var(--muted);font-size:12px}
.message-response-card p{margin:11px 0 12px;padding:11px 13px;border-radius:14px;background:var(--bg);font-size:14px;line-height:1.45;white-space:pre-wrap}
.message-response-footer{padding-top:10px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
.active-chat-row{margin-bottom:14px}

.response-history-status{display:grid;gap:3px;margin:12px 0;padding:12px 14px;border-radius:15px;background:var(--primary-soft)}
.response-history-status b{color:var(--primary-deep)}.response-history-status span{font-size:12px;color:var(--muted)}
.response-history-timeline{display:grid;gap:12px;margin:18px 0}
.response-history-timeline>div{display:grid;grid-template-columns:12px 1fr;gap:10px;align-items:start;position:relative}
.response-history-timeline i{width:10px;height:10px;margin-top:4px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 4px var(--primary-soft)}
.response-history-timeline span{display:grid;gap:2px}.response-history-timeline small{color:var(--muted)}
.response-history-message{padding:13px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}
.response-history-message>span{font-size:11px;font-weight:800;color:var(--muted);text-transform:uppercase}
.response-history-message p{margin:6px 0 0;line-height:1.45;white-space:pre-wrap}

@media(max-width:820px){.avatar-standard-grid{grid-template-columns:repeat(5,1fr)}.guided-hero .home-main-lead{font-size:16px}}
@media(max-width:520px){.guided-hero{padding:12px 14px}.guided-hero .home-main-lead{font-size:15px}.message-response-top,.message-response-footer{align-items:flex-start;flex-direction:column}.avatar-standard-grid{grid-template-columns:repeat(4,1fr)}}


/* v0.7.8.4 cleaner home */
.guest-how-only{margin-top:12px}
.guest-how-only .guide-how{margin-top:0}


/* v0.7.8.5 responded markers + avatar modal */
.my-response-badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:color-mix(in srgb,var(--success) 14%,var(--surface));color:var(--success);font-size:10px;font-weight:900;letter-spacing:.035em;text-transform:uppercase}
.already-responded-card{border-color:color-mix(in srgb,var(--success) 32%,var(--line))}
.profile-avatar-edit{position:relative;border:0;cursor:pointer;padding:0;overflow:visible;background:var(--primary-soft);color:var(--primary-deep)}
.profile-avatar-edit:hover{box-shadow:0 0 0 4px color-mix(in srgb,var(--primary) 14%,transparent)}
.avatar-edit-badge{position:absolute;right:-4px;bottom:-4px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:var(--primary);color:#fff;border:3px solid var(--surface);font-size:12px;font-weight:900}
.avatar-picker-modal{width:min(570px,100%)}
.avatar-picker-head{display:flex;align-items:center;gap:16px;padding-right:36px;margin-bottom:18px}.avatar-picker-head h2{margin:3px 0 5px;font-size:24px}.avatar-picker-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.45}
.avatar-picker-current{width:72px;height:72px;min-width:72px}
.avatar-modal-grid{margin:8px 0 18px}
.avatar-modal-upload{width:100%;justify-content:center}
@media(max-width:620px){.avatar-picker-head{align-items:flex-start}.avatar-picker-current{width:62px;height:62px;min-width:62px}.avatar-modal-grid{grid-template-columns:repeat(5,1fr)}}


/* v0.7.8.6 inline response in request modal */
.request-modal-wide{width:min(1000px,100%)}
.request-modal-grid{grid-template-columns:minmax(0,1fr) 340px;gap:22px}
.request-modal-map-card{padding:14px;border-radius:22px}
.request-modal-map{height:300px;border-radius:20px}
.request-modal-map-note{font-size:12px}
.inline-response-form{margin-top:18px;padding:17px;border:1px solid var(--line);border-radius:20px;background:color-mix(in srgb,var(--primary-soft) 42%,var(--surface));box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
.inline-response-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.inline-response-head>div{display:grid;gap:3px}.inline-response-head span{font-size:12px;color:var(--muted);font-weight:800}.inline-response-head b{font-size:17px;color:var(--ink)}
.inline-response-fields{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(180px,.8fr);gap:12px}.inline-response-form .field{margin:0 0 12px}.inline-response-comment{min-height:88px}.inline-response-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}.inline-response-actions .ghost-btn{min-width:110px}.inline-response-actions .primary-btn{min-width:190px}
@media(max-width:900px){.request-modal-grid{grid-template-columns:1fr}.request-modal-map{height:270px}.inline-response-fields{grid-template-columns:1fr}}
@media(max-width:620px){.request-modal-wide{max-height:91vh}.request-modal-map{height:240px}.inline-response-actions{display:grid;grid-template-columns:1fr}.inline-response-actions>*{width:100%;min-width:0}}


/* v0.7.8.7 compact modal, nav notifications, tighter page spacing */
.content{padding-top:18px}
.topbar{margin-bottom:14px;min-height:34px}
.location{padding:5px 10px;font-size:13px}
.section{margin-top:24px}
.panel,.panel-wide{margin-top:0}
.nav-btn{position:relative}
.nav-label{flex:1}
.nav-count{display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:var(--coral-soft);color:#a34f3f;font-size:10px;font-weight:900}
.nearby-topbar{min-height:6px;margin-bottom:8px}

.home .location-button,.location-button{min-height:30px}

/* Cards in home Nearby now open the response modal directly, no extra CTA button */
.section .request-card[data-action="help"]{cursor:pointer}

/* Compact request + response modal */
.compact-request-modal{padding:20px;width:min(1000px,calc(100vw - 34px));max-height:min(90vh,780px)}
.request-modal-topline{display:grid;grid-template-columns:112px minmax(0,1fr) auto;gap:14px;align-items:start;padding-right:42px;margin-bottom:12px}
.modal-request-thumb{width:112px;height:82px;min-width:112px;flex-basis:112px;border-radius:18px}
.request-modal-titleblock{min-width:0}
.request-modal-titleblock .request-pill-row{margin-bottom:4px}
.compact-request-modal .request-modal-titleblock h2{font-size:20px;line-height:1.15;margin:2px 0 6px;padding:0}
.compact-author{margin:0;padding:0;background:transparent;border:0;border-radius:0;gap:8px;min-height:36px;width:auto!important}
.compact-author .avatar.mini{width:34px;height:34px;min-width:34px}
.compact-author>span:nth-child(2){display:grid;gap:1px}
.compact-author small{font-size:11px;color:var(--muted)}
.modal-meta-top{justify-content:flex-end;align-content:flex-start;margin:0;max-width:300px;gap:6px}
.modal-meta-top span{padding:6px 8px;font-size:11px;white-space:nowrap}
.compact-request-modal .request-modal-grid{grid-template-columns:minmax(0,1fr) 370px;gap:18px;margin-top:0}
.compact-request-modal .request-modal-map-card{padding:10px;border-radius:18px}
.compact-request-modal .request-modal-map-head{margin-bottom:7px}
.compact-request-modal .request-modal-map{height:320px;border-radius:16px}
.compact-request-modal .request-modal-map-note{margin-top:7px;font-size:11px}
.compact-request-modal .modal-description{margin:0 0 10px;padding:10px 12px;font-size:13px;line-height:1.4}
.compact-request-modal .modal-line{padding:8px 0;font-size:12px}
.compact-request-modal .inline-response-form{margin-top:10px;padding:12px 13px;border-radius:16px}
.compact-request-modal .inline-response-head{margin-bottom:9px}
.compact-request-modal .inline-response-head b{font-size:14px}
.compact-request-modal .inline-response-fields{gap:9px}
.compact-request-modal .inline-response-form .field{margin-bottom:8px}
.compact-request-modal .field label{font-size:12px}
.compact-request-modal .input,.compact-request-modal .select{padding:10px 11px}
.compact-request-modal .inline-response-comment{min-height:58px;padding:10px 11px}
.compact-request-modal .help-price-options{margin-top:5px}
.compact-request-modal .help-price-options .chip{padding:5px 8px;font-size:10px}
.compact-request-modal .inline-response-actions{margin-top:2px;gap:7px}
.compact-request-modal .inline-response-actions .ghost-btn,.compact-request-modal .inline-response-actions .primary-btn{padding:10px 12px;font-size:11px;min-width:0}
.compact-request-modal .modal-actions{margin-top:10px}

@media(max-width:900px){
  .request-modal-topline{grid-template-columns:92px 1fr;padding-right:36px}
  .modal-request-thumb{width:92px;height:70px;min-width:92px;flex-basis:92px}
  .modal-meta-top{grid-column:1/-1;justify-content:flex-start;max-width:none}
  .compact-request-modal .request-modal-grid{grid-template-columns:1fr}
  .compact-request-modal .request-modal-map{height:270px}
}
@media(max-width:620px){
  .content{padding-top:10px}
  .topbar{margin-bottom:9px}
  .request-modal-topline{grid-template-columns:72px 1fr;gap:10px}
  .modal-request-thumb{width:72px;height:60px;min-width:72px;flex-basis:72px}
  .compact-request-modal{padding:16px;width:100%;max-height:92vh}
  .compact-request-modal .request-modal-titleblock h2{font-size:18px}
  .compact-request-modal .request-modal-map{height:235px}
}


/* v0.7.8.9 clickable notification cards */
.notification-list{display:grid;gap:10px;margin-top:16px}
.notification-card{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:start;text-align:left;padding:14px 15px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:var(--ink);cursor:pointer;box-shadow:0 5px 18px rgba(75,56,44,.035);transition:.15s ease}
.notification-card:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--primary) 38%,var(--line));box-shadow:0 10px 24px rgba(31,54,48,.08)}
.notification-avatar,.notification-system-icon{width:42px;height:42px;min-width:42px;border-radius:14px;overflow:hidden;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary-deep);font-weight:900}
.notification-avatar img{width:100%;height:100%;object-fit:cover}
.notification-body{min-width:0}
.notification-head{display:flex;gap:10px;justify-content:space-between;align-items:flex-start}
.notification-head b{font-size:14px;line-height:1.3}
.notification-head time{white-space:nowrap;color:var(--muted);font-size:11px;font-weight:600}
.notification-person,.notification-request-title{margin-top:4px;font-size:13px;font-weight:800}
.notification-offer-meta{display:flex;flex-wrap:wrap;gap:7px;margin-top:7px}
.notification-offer-meta span{padding:5px 8px;border-radius:999px;background:var(--bg);color:var(--muted);font-size:11px;font-weight:750}
.notification-card p{margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.4}
.notification-arrow{align-self:center;color:var(--muted);font-size:26px;line-height:1}
@media(max-width:620px){.notification-card{padding:12px}.notification-head{display:grid;gap:3px}.notification-head time{order:-1}.notification-avatar,.notification-system-icon{width:38px;height:38px;min-width:38px}}


/* v0.7.9.8 refined start screen */
.compact-start-screen{padding:20px;background:linear-gradient(145deg,#fff8f1 0%,#f7faf8 62%,#f7f3ff 100%)}
.compact-start-panel{width:min(1180px,calc(100% - 28px));padding:14px 0 24px;margin:0 auto}
.compact-start-brand{display:flex;justify-content:center;margin:0 0 12px}
.start-brand-lockup{display:flex;align-items:center;justify-content:center;gap:26px}
.start-brand-icon{width:172px;height:172px;object-fit:contain;filter:drop-shadow(0 10px 22px rgba(38,34,36,.14))}
.start-brand-word{font-size:76px;line-height:1;font-weight:900;letter-spacing:-.04em;color:#1f2430}
.compact-start-card{display:grid;grid-template-columns:minmax(340px,.86fr) minmax(510px,1.14fr);gap:22px;align-items:stretch;padding:26px;border:1px solid #ece6dc;border-radius:34px;background:linear-gradient(135deg,rgba(255,254,251,.98),rgba(248,251,249,.95));box-shadow:0 20px 60px rgba(44,42,42,.08);min-height:560px}
.compact-start-copy{display:flex;flex-direction:column;justify-content:center;padding:14px 8px 14px 12px}
.compact-start-copy h1{margin:0 0 20px;font-size:clamp(44px,4.4vw,62px);line-height:1.05;letter-spacing:-.05em;color:#173149}
.compact-start-copy p{margin:0 0 24px;max-width:430px;font-size:17px;line-height:1.56;color:#6a7d86}
.compact-start-chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.start-chip{display:inline-flex;align-items:center;padding:11px 16px;border-radius:999px;font-size:15px;font-weight:850;border:1px solid var(--line);background:#fff;box-shadow:0 2px 10px rgba(20,25,28,.03)}
.start-chip.purchase{background:#edf8f5;color:#218a7f;border-color:#d4ece4}
.start-chip.rental{background:#fff4d9;color:#b17d15;border-color:#f4e0aa}
.start-chip.service{background:#f2edfb;color:#745fb2;border-color:#e1d8f7}
.compact-start-cta{width:100%;max-width:390px;min-height:62px;border-radius:18px;font-size:16px;display:flex;align-items:center;justify-content:center;gap:12px;background:linear-gradient(180deg,#3b3c43 0%,#1f2229 100%);border:1px solid #262931;color:#e6bea4;box-shadow:0 12px 28px rgba(28,30,34,.18)}
.compact-start-cta:hover{background:linear-gradient(180deg,#43444c 0%,#252831 100%)}
.compact-start-cta span{font-size:21px;color:#e6bea4}
.compact-start-note{margin-top:18px;font-size:13px;font-weight:750;color:#7a8f88}
.compact-start-map{position:relative;overflow:hidden;border-radius:28px;border:1px solid #ece6dc;background:
  linear-gradient(0deg,rgba(255,255,255,.74),rgba(255,255,255,.74)),
  linear-gradient(90deg,rgba(215,222,215,.38) 1px,transparent 1px),
  linear-gradient(rgba(215,222,215,.38) 1px,transparent 1px),
  linear-gradient(135deg,rgba(231,236,231,.28) 0%,rgba(229,236,243,.18) 100%);
background-size:auto,52px 52px,52px 52px,auto;
min-height:504px}
.compact-start-map:before{content:"";position:absolute;inset:0;background:linear-gradient(32deg,transparent 0 18%,rgba(196,215,204,.25) 18% 21%,transparent 21% 40%,rgba(206,216,223,.26) 40% 43%,transparent 43% 64%,rgba(196,215,204,.20) 64% 67%,transparent 67% 100%);opacity:.9}
.compact-map-search{position:absolute;top:28px;left:50%;transform:translateX(-50%);width:min(380px,72%);display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border:1px solid rgba(224,229,228,.95);border-radius:18px;background:rgba(255,255,255,.96);color:#8b9398;font-size:16px;z-index:2;box-shadow:0 8px 20px rgba(34,41,40,.06)}
.compact-map-radius{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border-radius:50%;border:1px solid rgba(71,167,155,.18);z-index:1}.compact-map-radius.r1{width:228px;height:228px;background:rgba(99,215,201,.07)}.compact-map-radius.r2{width:308px;height:308px}
.compact-map-me{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;justify-items:center;gap:10px;z-index:3}.compact-map-me .home{width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#2bb6ae;color:#fff;font-size:29px;box-shadow:0 0 0 10px rgba(58,193,176,.12), 0 10px 26px rgba(45,154,144,.26)}.compact-map-me span{padding:8px 14px;border-radius:999px;background:#26b6a7;color:#fff;font-size:14px;font-weight:850;box-shadow:0 6px 18px rgba(38,182,167,.22)}
.compact-map-pin{position:absolute;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:900;z-index:2;box-shadow:0 10px 20px rgba(26,30,31,.14)}.compact-map-pin.p1{background:#2bb6ae;left:70%;top:22%}.compact-map-pin.p2{background:#f0b01c;right:18%;top:45%}.compact-map-pin.p3{background:#8f66db;right:14%;bottom:26%}
.compact-map-card{position:absolute;display:grid;grid-template-columns:72px 1fr;gap:12px;align-items:center;min-width:230px;padding:12px 14px;border-radius:20px;border:1px solid #ece6dc;background:rgba(255,255,255,.97);box-shadow:0 14px 30px rgba(39,35,33,.10);z-index:3}.compact-map-card .media{width:72px;height:64px;display:grid;place-items:center}.compact-map-card .media img{width:100%;height:100%;object-fit:contain}.compact-map-card small{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:850;margin-bottom:6px}.compact-map-card.m1 small{background:#edf8f5;color:#218a7f}.compact-map-card.m2 small{background:#fff4d9;color:#b17d15}.compact-map-card.m3 small{background:#f2edfb;color:#745fb2}.compact-map-card b{display:block;font-size:15px;line-height:1.25;color:#26323b;margin-bottom:4px}.compact-map-card em{display:block;font-style:normal;font-size:13px;color:#7f8a90}
.compact-map-card.m1{left:18px;top:86px}.compact-map-card.m2{right:18px;top:148px}.compact-map-card.m3{left:18px;bottom:108px}.compact-map-card.m4{right:18px;bottom:46px;grid-template-columns:72px 1fr}.compact-map-card.m4 b{margin-bottom:2px}
.compact-map-radius-label{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);padding:9px 16px;border-radius:999px;border:1px solid #ece6dc;background:rgba(255,255,255,.96);font-size:13px;color:#81898f;z-index:3}
@media(max-width:920px){.start-brand-icon{width:132px;height:132px}.start-brand-word{font-size:58px}.compact-start-card{grid-template-columns:1fr;min-height:0}.compact-start-copy{text-align:center;align-items:center}.compact-start-copy p{max-width:650px}.compact-start-chips{justify-content:center}.compact-start-map{min-height:500px}}
@media(max-width:620px){.compact-start-screen{padding:10px}.compact-start-panel{width:100%;padding:8px 0 16px}.start-brand-lockup{gap:12px}.start-brand-icon{width:92px;height:92px}.start-brand-word{font-size:40px}.compact-start-card{padding:16px;border-radius:24px;gap:18px}.compact-start-copy h1{font-size:38px}.compact-start-copy p{font-size:16px}.compact-start-map{min-height:620px}.compact-map-card{width:190px;min-width:190px}.compact-map-card.m1{left:8px}.compact-map-card.m2{right:8px;top:160px}.compact-map-card.m3{left:8px;bottom:100px}.compact-map-card.m4{right:8px;bottom:34px}}

/* v0.7.9.3 response edit + rich map hover preview */
.my-response-card[data-action="edit-response"]{cursor:pointer}
.my-response-card[data-action="edit-response"]:hover{border-color:color-mix(in srgb,var(--primary) 35%,var(--line));box-shadow:0 13px 32px rgba(47,129,119,.10)}
.my-response-card .card-actions{justify-content:flex-end}
.my-response-card .card-actions .ghost-btn{flex:0 0 auto;min-width:104px}
.need-map-preview-tooltip.leaflet-tooltip{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:18px!important}
.need-map-preview-tooltip.leaflet-tooltip:before{display:none!important}
.map-hover-request{width:230px;padding:13px 14px;border:1px solid rgba(216,226,222,.98);border-radius:18px;background:rgba(255,255,255,.98);box-shadow:0 14px 34px rgba(30,48,45,.18);color:var(--ink);cursor:pointer;text-align:left;display:grid;gap:7px;backdrop-filter:blur(12px)}
.map-hover-request:hover{border-color:color-mix(in srgb,var(--primary) 45%,var(--line));transform:translateY(-1px)}
.map-hover-request-top,.map-hover-request-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}
.map-hover-request-top>span:last-child{font-size:12px;color:var(--muted);font-weight:750;white-space:nowrap}
.map-hover-request>b{font-size:15px;line-height:1.25;color:#183149}
.map-hover-request-bottom{font-size:12px;color:var(--muted)}
.map-hover-request-bottom span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:135px}
.map-hover-request-bottom strong{color:var(--primary-deep);white-space:nowrap}
.map-hover-request>small{font-size:11px;color:var(--primary-deep);font-weight:850;text-align:right}
.need-map-preview-popup .leaflet-popup-content-wrapper{padding:0!important;border-radius:18px!important;background:transparent!important;box-shadow:none!important}
.need-map-preview-popup .leaflet-popup-content{margin:0!important;width:auto!important}
.need-map-preview-popup .leaflet-popup-tip-container{display:none!important}


/* v0.7.9.4 response form alignment + modal map stability */
.inline-response-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
.inline-response-fields>.field{min-width:0}
.inline-response-fields>.field>label{min-height:20px;display:flex;align-items:center}
.inline-response-fields .input,.inline-response-fields .select{height:46px;min-height:46px;padding-top:0;padding-bottom:0}
.inline-response-price .help-price-options{min-height:31px}
.compact-request-modal .inline-response-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
.compact-request-modal .inline-response-fields .input,.compact-request-modal .inline-response-fields .select{height:42px;min-height:42px}
@media(max-width:760px){.inline-response-fields,.compact-request-modal .inline-response-fields{grid-template-columns:1fr}}

/* v0.7.9.5 compact "Уточним пару деталей" */
.need-details-panel{max-width:760px}
.need-details-panel>.back-btn{margin-bottom:6px}
.need-details-head .page-title{font-size:30px;margin-bottom:2px}
.need-details-head .page-sub{margin-bottom:10px;font-size:13px}
.need-details-form{padding:16px 18px 17px;border-radius:22px}
.need-details-form .field{gap:5px;margin-bottom:10px}
.need-details-form .field label{font-size:13px}
.need-details-form .field small{font-size:11px;line-height:1.25}
.need-details-form .input,.need-details-form .select{min-height:40px;height:40px;padding:9px 11px;border-radius:12px}
.need-details-form .segment{gap:4px}
.need-details-form .segment button{min-height:36px;padding:7px 9px;font-size:12px}
.need-details-form .need-location-radius-row{gap:12px;margin-bottom:0}
.need-details-form .need-location-radius-row>.field{margin-bottom:10px}
.need-details-form .draft-location-control{gap:6px}
.need-details-form .draft-new-location{min-height:40px;padding:9px 12px;border-radius:12px;font-size:12px;white-space:nowrap}
.need-details-two-col{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(150px,.7fr);gap:12px;align-items:start}
.need-details-two-col .field{min-width:0}
.urgency-duration-row.has-duration{grid-template-columns:minmax(0,1.7fr) minmax(160px,.7fr)}
.urgency-duration-row.single{grid-template-columns:1fr}
.need-details-form .comment-field label span{font-weight:500;color:var(--muted);font-size:11px}
.need-details-form .comment-field .textarea{min-height:62px;height:62px;padding:9px 11px;border-radius:12px}
.need-details-form .compact-file-field{margin-bottom:8px}
.need-details-form .compact-expand-row{min-height:48px;padding:9px 11px;margin-top:0;border-radius:14px}
.need-details-form .compact-expand-row b{font-size:13px}
.need-details-form .compact-expand-row div div{color:var(--muted);font-size:11px;margin-top:1px}
.need-details-form .compact-publish-btn{width:100%;margin-top:10px;min-height:44px;padding:11px 16px;border-radius:13px}
@media(max-width:700px){
  .need-details-form{padding:14px}
  .need-details-two-col,.urgency-duration-row.has-duration{grid-template-columns:1fr}
  .need-details-form .need-location-radius-row{grid-template-columns:1fr}
  .need-details-head .page-title{font-size:27px}
}


/* v0.7.9.12 main logo stack + force intro build */
.sidebar .logo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:8px 0 18px;width:100%}
.brand-icon{display:block;width:112px;height:112px;object-fit:contain;filter:drop-shadow(0 10px 18px rgba(38,34,36,.12))}
.brand-word{display:block;font-size:28px;line-height:1;font-weight:900;letter-spacing:.03em;color:#23252b;text-align:center}
.brand-image{display:none!important}
.compact-logo{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;padding:0}
.brand-icon.compact{width:34px;height:34px;filter:none}
.brand-word.compact{font-size:18px;letter-spacing:.02em}
.mobile-top-logo .logo{padding:0}
@media (max-width: 900px){.sidebar .logo{padding-bottom:12px}.brand-icon{width:92px;height:92px}.brand-word{font-size:24px}}


/* v0.7.9.13 start button + larger clean home logo + aligned nearby status */
.compact-start-cta{
  background:linear-gradient(180deg,#3b3d44 0%,#202329 100%) !important;
  border:1px solid #282a30 !important;
  color:#e2b79c !important;
  box-shadow:0 14px 30px rgba(29,31,37,.20) !important;
}
.compact-start-cta:hover{
  background:linear-gradient(180deg,#444650 0%,#262932 100%) !important;
}
.compact-start-cta span{color:#e2b79c !important}

.sidebar .logo{
  gap:10px;
  padding:10px 0 18px;
}
.sidebar .brand-icon{
  width:172px;
  height:172px;
  background:transparent !important;
  border-radius:0 !important;
  box-shadow:none !important;
  filter:drop-shadow(0 10px 20px rgba(34,30,31,.12));
}
.sidebar .brand-word{
  font-size:23px;
  line-height:1;
  letter-spacing:.08em;
}
@media (max-width: 900px){
  .sidebar .brand-icon{width:138px;height:138px}
  .sidebar .brand-word{font-size:21px}
}

.request-card{display:flex;flex-direction:column;height:100%}
.request-card-head{flex:1}
.card-status-line{margin-top:auto}


/* v0.7.9.14 clean map attribution overlay */
.leaflet-control-attribution{display:none!important}
.osm-credit{display:block;margin-top:8px;padding-top:7px;border-top:1px solid rgba(130,120,112,.16);font-size:9px;line-height:1.25;color:rgba(103,96,91,.62);font-weight:600}


/* MOBILE_NAV_V1 */
@media(max-width:900px){
  .bottom-nav{
    grid-template-columns:repeat(5,1fr);
  }

  .bottom-nav button{
    position:relative;
    min-width:0;
  }

  .mobile-nav-icon{
    font-size:19px;
    line-height:1;
  }

  .mobile-nav-count{
    position:absolute;
    top:4px;
    left:calc(50% + 7px);
    min-width:17px;
    height:17px;
    padding:0 4px;
    border-radius:999px;
    display:grid;
    place-items:center;
    background:var(--coral);
    color:white;
    font-style:normal;
    font-size:9px;
    font-weight:900;
    line-height:1;
    box-shadow:0 0 0 2px rgba(255,253,249,.95);
  }
}

@media(max-width:430px){
  .bottom-nav{
    padding-left:4px;
    padding-right:4px;
  }

  .bottom-nav button{
    font-size:9px;
    min-height:52px;
    padding-left:2px;
    padding-right:2px;
  }

  .bottom-nav button small{
    font-size:9px;
    max-width:100%;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}


/* MOBILE_UI_V1 */

/* ---------------------------------------------------------
   Общая защита узких экранов
--------------------------------------------------------- */
@media(max-width:700px){

  html,
  body{
    max-width:100%;
    overflow-x:hidden;
  }

  .content{
    width:calc(100% - 20px);
    max-width:100%;
    padding-left:0;
    padding-right:0;
    padding-bottom:calc(96px + env(safe-area-inset-bottom));
  }

  .panel,
  .panel-wide{
    width:100%;
    min-width:0;
    max-width:100%;
  }

  .form-card,
  .card,
  .list-row{
    min-width:0;
    max-width:100%;
  }

  /* Важно для iPhone:
     font-size <16px может вызывать zoom при фокусе */
  input,
  textarea,
  select{
    font-size:16px !important;
  }

  button,
  input,
  textarea,
  select{
    max-width:100%;
  }

  /* -------------------------------------------------------
     Форма новой заявки
  ------------------------------------------------------- */

  .need-details-panel{
    width:100%;
    max-width:100%;
  }

  .need-details-head{
    margin-bottom:10px;
  }

  .need-details-head .page-title{
    font-size:25px;
    line-height:1.12;
  }

  .need-details-head .page-sub{
    font-size:13px;
    line-height:1.4;
  }

  .need-details-form{
    width:100%;
    padding:14px 12px 15px;
    border-radius:20px;
  }

  .need-details-form .field{
    width:100%;
    min-width:0;
    margin-bottom:13px;
  }

  .need-details-form .field label{
    font-size:13px;
    margin-bottom:2px;
  }

  .need-details-form .input,
  .need-details-form .select{
    width:100%;
    height:46px;
    min-height:46px;
    padding:10px 12px;
    border-radius:13px;
  }

  .need-details-form .textarea,
  .need-details-form .comment-field .textarea{
    width:100%;
    min-height:92px;
    height:auto;
    padding:11px 12px;
    border-radius:13px;
    resize:vertical;
  }

  .need-details-two-col,
  .urgency-duration-row.has-duration,
  .need-location-radius-row{
    grid-template-columns:1fr !important;
    gap:4px !important;
  }

  .draft-location-control{
    display:grid !important;
    grid-template-columns:1fr;
    gap:8px !important;
    width:100%;
  }

  .draft-location-control .select{
    width:100%;
  }

  .draft-new-location{
    width:100%;
    min-height:44px !important;
    white-space:normal !important;
  }

  /* Радиусы запроса */
  .need-radius-field .segment{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:6px !important;
    width:100%;
  }

  .need-radius-field .segment button{
    width:100%;
    min-width:0;
    min-height:42px;
    padding:8px 4px;
    font-size:12px;
  }

  /* Срочность */
  .urgency-field .segment{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px !important;
    width:100%;
  }

  .urgency-field .segment button{
    width:100%;
    min-width:0;
    min-height:43px;
    padding:8px 6px;
    white-space:normal;
    line-height:1.2;
  }

  .urgency-field .segment button:last-child{
    grid-column:1 / -1;
  }

  .compact-expand-row{
    gap:10px;
  }

  .compact-expand-row > div:first-child{
    min-width:0;
    padding-right:4px;
  }

  .compact-expand-row .switch{
    flex:0 0 auto;
  }

  .need-details-form .compact-publish-btn{
    width:100%;
    min-height:50px;
    font-size:14px;
    margin-top:12px;
  }

  /* -------------------------------------------------------
     Карточки запросов
  ------------------------------------------------------- */

  .request-card{
    width:100%;
    min-width:0;
    padding:14px;
    border-radius:20px;
  }

  .request-card-head{
    min-width:0;
    gap:12px;
  }

  .request-thumb{
    flex:0 0 auto;
    width:70px;
    height:70px;
    min-width:70px;
    border-radius:17px;
  }

  .request-main{
    min-width:0;
    width:100%;
  }

  .request-main h3,
  .request-card h3{
    max-width:100%;
    overflow-wrap:anywhere;
    word-break:normal;
    font-size:18px !important;
    line-height:1.25;
  }

  .request-pill-row{
    display:flex;
    flex-wrap:wrap;
    gap:5px;
    min-width:0;
  }

  .request-submeta{
    display:flex;
    flex-wrap:wrap;
    gap:6px 10px;
    min-width:0;
    margin-top:8px;
  }

  .request-submeta span{
    min-width:0;
    max-width:100%;
    overflow-wrap:anywhere;
  }

  .request-desc{
    font-size:13px;
    line-height:1.45;
    overflow-wrap:anywhere;
  }

  .card-status-line{
    margin-top:12px;
    padding-top:10px;
    font-size:12px;
    line-height:1.4;
    overflow-wrap:anywhere;
  }

  /* Карточки откликов */
  .offer-card{
    min-width:0;
    width:100%;
    gap:10px;
    padding:12px;
  }

  .offer-main{
    min-width:0;
  }

  .offer-main strong,
  .offer-main div,
  .offer-main small{
    overflow-wrap:anywhere;
  }

  .offer-price{
    max-width:100%;
    overflow-wrap:anywhere;
  }

  /* -------------------------------------------------------
     Нижнее меню
  ------------------------------------------------------- */

  .bottom-nav{
    padding-bottom:calc(7px + env(safe-area-inset-bottom));
  }
}


/* Совсем узкие телефоны */
@media(max-width:390px){

  .content{
    width:calc(100% - 14px);
  }

  .need-details-form{
    padding:12px 10px 14px;
  }

  .need-radius-field .segment{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .urgency-field .segment{
    grid-template-columns:1fr;
  }

  .urgency-field .segment button:last-child{
    grid-column:auto;
  }

  .request-thumb{
    width:60px;
    height:60px;
    min-width:60px;
  }

  .request-main h3,
  .request-card h3{
    font-size:17px !important;
  }
}


/* HOME_NEARBY_FEED_V1 */


/* =========================================================
   КОМПАКТНАЯ ГЛАВНАЯ
========================================================= */

.home-feed-page{
  max-width:1040px;
}

.home-compact-request{
  padding:20px 22px;
  border:1px solid var(--line);
  border-radius:24px;
  background:var(--surface);
  box-shadow:0 8px 28px rgba(40,45,44,.045);
}

.home-compact-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:15px;
}

.home-compact-top h1{
  margin:2px 0 4px;
  font-size:28px;
  line-height:1.08;
  letter-spacing:-.025em;
}

.home-compact-top p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.4;
}

.home-location-mini{
  flex:0 0 auto;
  max-width:310px;
  min-height:38px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface-2);
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.home-location-mini.is-set{
  color:var(--primary-deep);
  background:var(--primary-soft);
}


.home-search-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:9px;
}

.home-main-input{
  min-height:48px;
  height:48px;
  padding:11px 14px;
  border-radius:14px;
}

.home-main-search{
  min-width:165px;
  min-height:48px;
  border-radius:14px;
}


/* =========================================================
   ЛЕНТА
========================================================= */

.home-feed-section{
  margin-top:20px;
}

.home-feed-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:11px;
}

.home-feed-title{
  display:flex;
  align-items:baseline;
  gap:9px;
}

.home-feed-title h2{
  margin:0;
  font-size:23px;
  line-height:1.1;
}

.home-feed-title span{
  color:var(--muted);
  font-size:12px;
}

.home-map-button{
  min-height:38px;
  padding:8px 12px;
  border-radius:12px;
  font-size:11px;
}

.home-nearby-filter{
  margin-bottom:11px;
}


/* =========================================================
   ПЛОТНЫЕ КАРТОЧКИ
========================================================= */

.dense-nearby-feed{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}

.dense-nearby-feed .request-card{
  height:auto !important;
  min-height:0 !important;
  padding:11px 12px !important;
  border-radius:17px;
}

.dense-nearby-feed .request-card-head{
  flex:0 0 auto;
  gap:10px;
}

.dense-nearby-feed .request-thumb{
  width:58px !important;
  height:58px !important;
  min-width:58px !important;
  flex-basis:58px !important;
  border-radius:14px;
}

.dense-nearby-feed .request-main{
  min-width:0;
}

.dense-nearby-feed .request-pill-row{
  margin-bottom:3px;
  gap:4px;
}

.dense-nearby-feed .type-badge,
.dense-nearby-feed .status-badge{
  padding:4px 7px;
  font-size:9px;
}

.dense-nearby-feed .request-main h3,
.dense-nearby-feed .request-card h3{
  margin:2px 0 5px !important;
  font-size:16px !important;
  line-height:1.2 !important;

  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

.dense-nearby-feed .request-submeta{
  margin-top:4px;
  gap:4px 8px;
  font-size:11px;
  line-height:1.25;
}

.dense-nearby-feed .request-desc{
  margin:6px 0 0;
  font-size:11px;
  line-height:1.35;

  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

.dense-nearby-feed .card-status-line{
  margin-top:7px !important;
  padding-top:6px !important;
  font-size:10px;
  line-height:1.25;
}

.dense-nearby-feed .card-actions{
  margin-top:7px;
  gap:5px;
}

.dense-nearby-feed .card-actions button{
  min-height:34px;
  padding:7px 9px;
  font-size:10px;
}


/* После удаления "Рядом" снова четыре пункта */
@media(max-width:900px){
  .bottom-nav{
    grid-template-columns:repeat(4,1fr) !important;
  }
}


/* =========================================================
   ТЕЛЕФОН
========================================================= */

@media(max-width:700px){

  .home-feed-page{
    width:100%;
  }

  .home-compact-request{
    padding:14px 12px;
    border-radius:19px;
  }

  .home-compact-top{
    display:grid;
    gap:9px;
    margin-bottom:11px;
  }

  .home-compact-top h1{
    font-size:23px;
  }

  .home-compact-top p{
    font-size:12px;
  }

  .home-location-mini{
    max-width:100%;
    width:max-content;
    min-height:34px;
    padding:6px 9px;
    font-size:11px;
  }

  .home-search-row{
    grid-template-columns:1fr;
    gap:7px;
  }

  .home-main-input{
    width:100%;
    min-height:46px;
    height:46px;
    font-size:16px !important;
  }

  .home-main-search{
    width:100%;
    min-width:0;
    min-height:45px;
  }


  .home-feed-section{
    margin-top:17px;
  }

  .home-feed-toolbar{
    align-items:flex-end;
    gap:8px;
  }

  .home-feed-title{
    display:grid;
    gap:2px;
  }

  .home-feed-title h2{
    font-size:20px;
  }

  .home-map-button{
    min-height:36px;
    padding:7px 9px;
    font-size:10px;
    white-space:nowrap;
  }

  .home-nearby-filter{
    display:flex;
    gap:5px;
    overflow-x:auto;
    scrollbar-width:none;
    padding-bottom:2px;
  }

  .home-nearby-filter::-webkit-scrollbar{
    display:none;
  }

  .home-nearby-filter button{
    flex:0 0 auto;
    min-height:36px;
    padding:7px 11px;
    font-size:11px;
  }


  .dense-nearby-feed{
    grid-template-columns:1fr;
    gap:7px;
  }

  .dense-nearby-feed .request-card{
    padding:9px 10px !important;
    border-radius:15px;
  }

  .dense-nearby-feed .request-card-head{
    gap:9px;
  }

  .dense-nearby-feed .request-thumb{
    width:54px !important;
    height:54px !important;
    min-width:54px !important;
    flex-basis:54px !important;
  }

  .dense-nearby-feed .request-main h3,
  .dense-nearby-feed .request-card h3{
    font-size:15px !important;
    margin-bottom:4px !important;
  }

  .dense-nearby-feed .request-submeta{
    font-size:10px;
  }

  .dense-nearby-feed .request-desc{
    -webkit-line-clamp:1;
    font-size:10px;
  }

  .dense-nearby-feed .card-status-line{
    margin-top:5px !important;
    padding-top:5px !important;
  }

}


@media(max-width:390px){

  .home-map-button{
    padding-left:7px;
    padding-right:7px;
  }

  .home-map-button{
    font-size:9px;
  }

  .dense-nearby-feed .request-thumb{
    width:50px !important;
    height:50px !important;
    min-width:50px !important;
    flex-basis:50px !important;
  }

}


/* HOME_FEED_V2_MENU_MAP */


/* =========================================================
   ЕЩЁ БОЛЕЕ ПЛОТНАЯ ЛЕНТА
========================================================= */

.dense-nearby-feed .request-card{
  padding:8px 10px !important;
}

.dense-nearby-feed .request-card-head{
  gap:8px !important;
}

.dense-nearby-feed .request-thumb{
  width:52px !important;
  height:52px !important;
  min-width:52px !important;
  flex-basis:52px !important;
}

.dense-nearby-feed .request-main h3,
.dense-nearby-feed .request-card h3{
  margin:1px 0 3px !important;
  font-size:15px !important;
}

.dense-nearby-feed .request-submeta{
  margin-top:2px !important;
  gap:3px 7px !important;
}

.dense-nearby-feed .request-desc{
  margin-top:4px !important;
  -webkit-line-clamp:1 !important;
}

/*
  В компактной ленте статус уже присутствует бейджем.
  Отдельная нижняя строка создавала лишнюю высоту.
*/
.dense-nearby-feed .card-status-line{
  display:none !important;
}


/* =========================================================
   6 ПУНКТОВ МОБИЛЬНОЙ НАВИГАЦИИ
========================================================= */

@media(max-width:900px){

  .bottom-nav{
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    padding-left:3px;
    padding-right:3px;
  }

  .bottom-nav button{
    min-width:0;
    padding-left:1px;
    padding-right:1px;
  }

  .bottom-nav button small{
    max-width:100%;
    font-size:8px;
    line-height:1.05;
    white-space:normal;
    text-align:center;
  }

  .mobile-nav-icon{
    font-size:18px;
  }
}


@media(max-width:430px){

  .bottom-nav button{
    min-height:52px;
  }

  .bottom-nav button small{
    font-size:7.5px;
  }

  .mobile-nav-icon{
    font-size:17px;
  }

  .dense-nearby-feed .request-card{
    padding:7px 8px !important;
  }

  .dense-nearby-feed .request-thumb{
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    flex-basis:48px !important;
  }
}



/* UI_REFINEMENT_V3 */


/* =========================================================
   ГЛАВНАЯ — КОМПАКТНЫЙ ВЕРХ
========================================================= */

.home-main-promise{
  max-width:720px !important;
  margin:0 !important;
  color:var(--ink) !important;
  font-size:16px !important;
  line-height:1.45 !important;
  font-weight:500 !important;
}

.home-compact-top{
  align-items:center;
}

.home-compact-request{
  padding-top:16px;
  padding-bottom:16px;
}


/* =========================================================
   ЛОГОТИП / МЕНЮ
========================================================= */

.sidebar-tagline{
  margin:-8px 0 16px;
  padding:0 12px;
  text-align:center;
  color:var(--muted);
  font-size:12px;
  line-height:1.3;
  font-weight:500;
  letter-spacing:.01em;
}

.nav-btn,
.nav-label{
  font-weight:500 !important;
}

.bottom-nav button,
.bottom-nav button small{
  font-weight:500 !important;
}


/* =========================================================
   КАРТА — КОМПАКТНАЯ ВЕРХНЯЯ ЧАСТЬ
========================================================= */

.nearby-map-feed-page{
  padding-top:0;
}

.nearby-controls-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 12px;
  min-width:0;
}

.nearby-location-strip-compact{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px;
  min-width:0;
  margin:0 !important;
}

.nearby-filterbar-compact{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:5px;
  flex:0 0 auto;
  margin:0 !important;
}

.nearby-location-strip-compact .nearby-location-chip{
  min-height:36px;
  padding:6px 10px;
  border-radius:11px;
}

.nearby-location-strip-compact .nearby-location-chip b{
  font-size:11px;
  font-weight:600;
}

.nearby-location-strip-compact .nearby-location-chip span{
  font-size:10px;
}

.nearby-filterbar-compact button{
  min-height:36px;
  padding:7px 10px;
  font-size:11px;
  white-space:nowrap;
}

.nearby-feed-head{
  margin-bottom:8px;
}

.nearby-feed-head h2{
  margin:0;
  font-size:18px;
}

.nearby-feed-head .sub{
  margin-top:2px;
  font-size:11px;
}


/* =========================================================
   УВЕДОМЛЕНИЯ — ВЕРХ СТРАНИЦЫ
========================================================= */

.notifications-page > .back-btn{
  margin-bottom:3px;
}

.notifications-page > .page-title{
  margin:2px 0 3px;
  font-size:25px;
  line-height:1.1;
}

.notifications-page > .page-sub{
  margin:0 0 8px;
  font-size:12px;
  line-height:1.35;
}

.notifications-page .notification-list{
  margin-top:9px;
  gap:7px;
}


/* =========================================================
   УВЕДОМЛЕНИЯ — КАРТОЧКИ
========================================================= */

.notifications-page .notification-card{
  grid-template-columns:38px minmax(0,1fr) 26px;
  gap:10px;
  align-items:center;

  min-height:0;
  padding:9px 11px;

  border-radius:15px;
}

.notifications-page .notification-avatar,
.notifications-page .notification-system-icon{
  width:36px;
  height:36px;
  min-width:36px;

  border-radius:11px;
  font-size:13px;
}

.notifications-page .notification-body{
  min-width:0;
}

.notifications-page .notification-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
}

.notifications-page .notification-head b{
  min-width:0;
  font-size:13px;
  line-height:1.25;
  font-weight:600;
}

.notifications-page .notification-head time{
  justify-self:end;
  font-size:10px;
  text-align:right;
  color:var(--muted);
}

.notifications-page .notification-person,
.notifications-page .notification-request-title{
  margin-top:2px;
  font-size:12px;
  line-height:1.25;
}

.notifications-page .notification-offer-meta{
  display:flex;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:4px;

  margin-top:4px;
}

.notifications-page .notification-offer-meta span{
  padding:3px 6px;
  font-size:9px;
}

.notifications-page .notification-card p{
  margin:3px 0 0;
  font-size:11px;
  line-height:1.3;
}

.notifications-page .notification-arrow{
  width:26px;
  text-align:center;
  font-size:21px;
  color:var(--muted);
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:700px){

  .home-main-promise{
    font-size:14px !important;
    line-height:1.4 !important;
  }

  .home-compact-request{
    padding-top:12px;
    padding-bottom:12px;
  }


  /*
    Район слева, фильтры справа.
    Если экран совсем узкий — строка может горизонтально
    прокручиваться вместо переноса на несколько этажей.
  */
  .nearby-controls-row{
    width:100%;
    overflow-x:auto;
    gap:12px;
    margin-bottom:9px;
    padding-bottom:2px;
    scrollbar-width:none;
  }

  .nearby-controls-row::-webkit-scrollbar{
    display:none;
  }

  .nearby-location-strip-compact{
    flex-wrap:nowrap;
    flex:0 0 auto;
  }

  .nearby-filterbar-compact{
    margin-left:auto !important;
  }


  .notifications-page > .page-title{
    font-size:22px;
  }

  .notifications-page > .page-sub{
    font-size:11px;
  }

  .notifications-page .notification-card{
    grid-template-columns:34px minmax(0,1fr) 20px;
    gap:8px;
    padding:8px 9px;
  }

  .notifications-page .notification-avatar,
  .notifications-page .notification-system-icon{
    width:32px;
    height:32px;
    min-width:32px;
    border-radius:10px;
  }

  .notifications-page .notification-head{
    grid-template-columns:minmax(0,1fr) auto;
    gap:7px;
  }

  .notifications-page .notification-head b{
    font-size:12px;
  }

  .notifications-page .notification-head time{
    font-size:9px;
  }

  .notifications-page .notification-arrow{
    width:20px;
    font-size:18px;
  }

}


/* START_DESKTOP_V1 */

@media(min-width:921px){

  .compact-start-screen{
    min-height:100vh;
    padding:14px 24px;
    display:grid;
    align-items:center;
    background:
      radial-gradient(circle at 10% 12%,rgba(234,191,160,.14),transparent 27%),
      radial-gradient(circle at 87% 82%,rgba(65,162,150,.10),transparent 30%),
      linear-gradient(145deg,#fffaf5 0%,#f8fbf9 58%,#f8f5fb 100%);
  }


  .compact-start-panel{
    width:min(1180px,calc(100% - 30px));
    margin:0 auto;
    padding:4px 0 12px;
  }


  /* ===== BRAND ===== */

  .compact-start-brand{
    margin:0 0 10px;
  }

  .start-brand-lockup{
    gap:16px;
  }

  .start-brand-icon{
    width:112px;
    height:112px;
    filter:drop-shadow(0 8px 18px rgba(38,34,36,.11));
  }

  .start-brand-copy{
    display:grid;
    gap:7px;
    align-content:center;
  }

  .start-brand-word{
    font-size:53px;
    line-height:.9;
    letter-spacing:.01em;
    font-weight:800;
  }

  .start-brand-tagline{
    color:#7a7d82;
    font-size:13px;
    font-weight:500;
    letter-spacing:.015em;
  }


  /* ===== MAIN CARD ===== */

  .compact-start-card{
    display:grid;
    grid-template-columns:minmax(330px,.88fr) minmax(520px,1.12fr);
    gap:24px;
    align-items:stretch;

    min-height:475px;
    padding:22px;

    border:1px solid rgba(223,218,211,.92);
    border-radius:30px;

    background:
      linear-gradient(
        135deg,
        rgba(255,255,253,.98),
        rgba(249,252,250,.96)
      );

    box-shadow:
      0 22px 65px rgba(46,42,39,.075);
  }


  /* ===== COPY ===== */

  .compact-start-copy{
    justify-content:center;
    padding:18px 14px 18px 18px;
  }

  .start-eyebrow{
    margin-bottom:13px;

    color:#34877d;
    font-size:12px;
    font-weight:700;
    letter-spacing:.07em;
    text-transform:uppercase;
  }

  .compact-start-copy h1{
    margin:0 0 17px;

    max-width:440px;

    font-size:clamp(39px,3.6vw,52px);
    line-height:1.03;
    letter-spacing:-.045em;

    color:#173149;
  }

  .compact-start-copy p{
    max-width:465px;
    margin:0 0 20px;

    color:#657780;
    font-size:16px;
    line-height:1.52;
  }


  .compact-start-chips{
    gap:8px;
    margin-bottom:20px;
  }

  .start-chip{
    padding:8px 13px;

    border-radius:999px;

    font-size:13px;
    font-weight:600;
  }


  /* ===== CTA ===== */

  .compact-start-cta{
    width:100%;
    max-width:405px;

    min-height:54px;

    border-radius:15px;

    font-size:14px;
    font-weight:650;

    box-shadow:
      0 11px 25px rgba(28,30,34,.16);
  }

  .compact-start-cta span{
    font-size:19px;
  }

  .compact-start-note{
    margin-top:12px;

    color:#7a8b87;
    font-size:11px;
    font-weight:500;
  }


  /* ===== RIGHT PREVIEW ===== */

  .start-nearby-preview{
    min-height:430px;

    border-radius:24px;
    border:1px solid #e5e7e3;

    background:
      radial-gradient(circle at 50% 53%,rgba(55,183,167,.10),transparent 27%),
      linear-gradient(90deg,rgba(205,214,209,.23) 1px,transparent 1px),
      linear-gradient(rgba(205,214,209,.23) 1px,transparent 1px),
      linear-gradient(145deg,#f8fbf9,#f6f8f7);

    background-size:auto,46px 46px,46px 46px,auto;
  }

  .start-nearby-preview:before{
    opacity:.55;
  }


  .start-map-topline{
    position:absolute;
    top:17px;
    left:18px;
    right:18px;

    z-index:5;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
  }

  .start-map-topline > div:first-child{
    display:grid;
    gap:2px;
  }

  .start-map-topline b{
    color:#263840;
    font-size:14px;
    font-weight:700;
  }

  .start-map-topline span{
    color:#82908e;
    font-size:10px;
  }


  .start-radius-pill{
    flex:0 0 auto;

    padding:7px 11px;

    border:1px solid #dde4e0;
    border-radius:999px;

    background:rgba(255,255,255,.92);

    color:#558b84;
    font-size:11px;
    font-weight:650;

    box-shadow:0 5px 15px rgba(45,59,55,.05);
  }


  .compact-map-radius.r1{
    width:205px;
    height:205px;
  }

  .compact-map-radius.r2{
    width:300px;
    height:300px;
  }


  .compact-map-me{
    top:52%;
    gap:7px;
  }

  .compact-map-me .home{
    width:60px;
    height:60px;

    overflow:hidden;

    background:white;

    box-shadow:
      0 0 0 9px rgba(58,193,176,.11),
      0 9px 24px rgba(45,154,144,.20);
  }

  .compact-map-me .home img{
    width:100%;
    height:100%;
    object-fit:contain;
  }

  .compact-map-me span{
    padding:6px 11px;

    font-size:11px;
    font-weight:650;
  }


  .compact-map-pin{
    width:37px;
    height:37px;

    font-size:12px;

    box-shadow:
      0 8px 17px rgba(26,30,31,.12);
  }

  .compact-map-pin.p1{
    left:69%;
    top:28%;
  }

  .compact-map-pin.p2{
    right:18%;
    top:52%;
  }

  .compact-map-pin.p3{
    right:16%;
    bottom:22%;
  }


  .compact-map-card{
    grid-template-columns:54px minmax(0,1fr);
    gap:9px;

    min-width:205px;

    padding:9px 11px;

    border-radius:16px;

    box-shadow:
      0 10px 25px rgba(39,35,33,.08);
  }

  .compact-map-card .media{
    width:54px;
    height:48px;
  }

  .compact-map-card small{
    margin-bottom:3px;
    padding:3px 7px;

    font-size:9px;
    font-weight:650;
  }

  .compact-map-card b{
    margin-bottom:2px;

    font-size:12px;
    line-height:1.2;
  }

  .compact-map-card em{
    font-size:10px;
  }


  .compact-map-card.m1{
    left:17px;
    top:88px;
  }

  .compact-map-card.m2{
    right:17px;
    top:135px;
  }

  .compact-map-card.m3{
    left:22px;
    bottom:61px;
  }

  .compact-map-card.m4{
    display:none;
  }


  .compact-map-radius-label{
    display:none;
  }


  .start-map-foot{
    position:absolute;
    left:18px;
    right:18px;
    bottom:14px;

    z-index:4;

    text-align:center;

    color:#89918f;
    font-size:9px;
    font-weight:500;
  }

}


/* Ноутбуки с небольшой высотой */
@media(min-width:921px) and (max-height:760px){

  .compact-start-screen{
    padding-top:8px;
    padding-bottom:8px;
  }

  .start-brand-icon{
    width:86px;
    height:86px;
  }

  .start-brand-word{
    font-size:44px;
  }

  .compact-start-brand{
    margin-bottom:6px;
  }

  .compact-start-card{
    min-height:425px;
  }

  .start-nearby-preview{
    min-height:390px;
  }

  .compact-start-copy h1{
    font-size:41px;
  }

}


/* START_DESKTOP_V2_BALANCE */


/*
   Только ПК.
   Мобильная версия будет прорабатываться отдельно.
*/
@media(min-width:921px){

  /* -----------------------------------------------------
     1. Оптическое центрирование бренда
  ----------------------------------------------------- */

  .compact-start-brand .start-brand-lockup{
    transform:translateX(-30px);
  }


  /* -----------------------------------------------------
     2. Баланс текст / карта

     Делаем левую колонку немного уже,
     карту немного шире,
     а центральное пространство заметнее.
  ----------------------------------------------------- */

  .compact-start-card{
    grid-template-columns:
      minmax(340px,.82fr)
      minmax(540px,1.18fr);

    gap:38px;
  }

  .compact-start-copy p{
    max-width:480px;
  }


  /* -----------------------------------------------------
     3. Современные SVG-иконки категорий
  ----------------------------------------------------- */

  .start-chip{
    gap:7px;
  }

  .start-chip-icon{
    width:18px;
    height:18px;

    display:inline-grid;
    place-items:center;

    flex:0 0 18px;

    color:currentColor;
  }

  .start-chip-icon svg{
    display:block;

    width:18px;
    height:18px;

    overflow:visible;

    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;

    fill:none;
  }

}


/*
   На относительно узком ноутбуке немного уменьшаем
   центральный зазор, чтобы карта не упиралась в край.
*/
@media(min-width:921px) and (max-width:1100px){

  .compact-start-card{
    grid-template-columns:
      minmax(315px,.86fr)
      minmax(475px,1.14fr);

    gap:28px;
  }

  .compact-start-brand .start-brand-lockup{
    transform:translateX(-22px);
  }

}


/* START_DESKTOP_V3_BRAND_ICONS */

@media(min-width:921px){

  .start-chip{
    min-height:38px;
    padding:5px 12px 5px 6px !important;
    gap:8px !important;
  }

  .start-chip-icon{
    width:27px !important;
    height:27px !important;
    flex:0 0 27px !important;

    display:grid;
    place-items:center;

    border-radius:9px;

    border:1px solid rgba(255,255,255,.78);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.72),
      0 2px 6px rgba(30,35,38,.05);
  }

  .start-chip-icon svg{
    width:21px !important;
    height:21px !important;

    stroke-width:1.65 !important;
  }

  .start-chip-icon .icon-main,
  .start-chip-icon .icon-accent{
    fill:none;
    stroke-linecap:round;
    stroke-linejoin:round;
  }


  /* Купить */

  .start-chip-buy{
    background:
      linear-gradient(
        145deg,
        rgba(255,255,255,.92),
        rgba(213,244,237,.92)
      );
  }

  .start-chip-buy .icon-main{
    stroke:#28766f;
  }

  .start-chip-buy .icon-accent{
    stroke:#3db8a7;
  }


  /* На время */

  .start-chip-time{
    background:
      linear-gradient(
        145deg,
        rgba(255,255,255,.94),
        rgba(255,236,185,.96)
      );
  }

  .start-chip-time .icon-main{
    stroke:#8c681b;
  }

  .start-chip-time .icon-accent{
    stroke:#d99a17;
  }


  /* Помощь */

  .start-chip-help{
    background:
      linear-gradient(
        145deg,
        rgba(255,255,255,.94),
        rgba(231,220,251,.96)
      );
  }

  .start-chip-help .icon-main{
    stroke:#665392;
  }

  .start-chip-help .icon-accent{
    stroke:#936bd2;
  }

}


/* START_DESKTOP_APPROVED_V1 */

@media(min-width:921px){

  /* =====================================================
     КАТЕГОРИИ — НЕ КНОПКИ, А ЛЁГКИЕ МАРКЕРЫ
  ===================================================== */

  .compact-start-chips{
    display:flex;
    align-items:center;
    gap:24px !important;
    margin-bottom:22px !important;
  }

  .compact-start-chips .start-chip{
    min-height:0 !important;

    display:inline-flex;
    align-items:center;
    gap:8px !important;

    padding:0 !important;

    border:0 !important;
    border-radius:0 !important;

    background:transparent !important;

    box-shadow:none !important;

    font-size:13px !important;
    font-weight:600 !important;

    white-space:nowrap;
  }

  .compact-start-chips .start-chip-icon{
    width:30px !important;
    height:30px !important;
    flex:0 0 30px !important;

    display:grid;
    place-items:center;

    border:1px solid rgba(255,255,255,.85) !important;
    border-radius:10px !important;

    box-shadow:
      0 4px 12px rgba(34,40,41,.055),
      inset 0 1px 0 rgba(255,255,255,.9) !important;
  }

  .compact-start-chips .start-chip-icon svg{
    width:18px !important;
    height:18px !important;

    stroke-width:1.7 !important;
  }


  .compact-start-chips .purchase{
    color:#25847b !important;
  }

  .compact-start-chips .purchase .start-chip-icon{
    background:
      linear-gradient(
        145deg,
        rgba(255,255,255,.98),
        rgba(214,244,238,.96)
      ) !important;
  }


  .compact-start-chips .rental{
    color:#ad7715 !important;
  }

  .compact-start-chips .rental .start-chip-icon{
    background:
      linear-gradient(
        145deg,
        rgba(255,255,255,.98),
        rgba(255,239,196,.97)
      ) !important;
  }


  .compact-start-chips .service{
    color:#6c579c !important;
  }

  .compact-start-chips .service .start-chip-icon{
    background:
      linear-gradient(
        145deg,
        rgba(255,255,255,.98),
        rgba(233,224,251,.97)
      ) !important;
  }



  /* =====================================================
     ФОН ПРАВОГО БЛОКА — СТИЛИЗОВАННАЯ ГОРОДСКАЯ КАРТА
  ===================================================== */

  .start-nearby-preview{
    position:relative;

    background-color:#f5f5f0 !important;

    background-image:
      linear-gradient(
        rgba(255,255,255,.25),
        rgba(255,255,255,.25)
      ),
      url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI3ODAiIHZpZXdCb3g9IjAgMCAxMjAwIDc4MCI+CiAgPHJlY3Qgd2lkdGg9IjEyMDAiIGhlaWdodD0iNzgwIiBmaWxsPSIjZjVmNGVmIi8+CgogIDwhLS0g0LrQstCw0YDRgtCw0LvRiyAtLT4KICA8ZyBmaWxsPSIjZWJlOWUyIiBvcGFjaXR5PSIuNzIiPgogICAgPHBhdGggZD0iTTIwIDQwaDE4MHYxMDVIMjB6Ii8+CiAgICA8cGF0aCBkPSJNMjM1IDMwaDE2MHYxMjVIMjM1eiIvPgogICAgPHBhdGggZD0iTTQzMCAzNWgyMDV2MTA1SDQzMHoiLz4KICAgIDxwYXRoIGQ9Ik02ODAgMjhoMTc1djEyNUg2ODB6Ii8+CiAgICA8cGF0aCBkPSJNODkwIDQwaDI2NXYxMTBIODkweiIvPgoKICAgIDxwYXRoIGQ9Ik0zNSAxOTBoMTM1djEzNUgzNXoiLz4KICAgIDxwYXRoIGQ9Ik0yMDUgMTg1aDIwNXYxMjBIMjA1eiIvPgogICAgPHBhdGggZD0iTTQ1NSAxNzVoMTQ1djE0NUg0NTV6Ii8+CiAgICA8cGF0aCBkPSJNNjUwIDE4NWgxOTB2MTI1SDY1MHoiLz4KICAgIDxwYXRoIGQ9Ik04ODUgMTg1aDI1MHYxMzBIODg1eiIvPgoKICAgIDxwYXRoIGQ9Ik0yMCAzNjVoMTgwdjEyNUgyMHoiLz4KICAgIDxwYXRoIGQ9Ik0yNDUgMzUwaDE2NXYxNTBIMjQ1eiIvPgogICAgPHBhdGggZD0iTTQ1NSAzNjVoMjEwdjEyMEg0NTV6Ii8+CiAgICA8cGF0aCBkPSJNNzA1IDM1NWgxNTV2MTQ1SDcwNXoiLz4KICAgIDxwYXRoIGQ9Ik05MDAgMzU1aDI0NXYxMjVIOTAweiIvPgoKICAgIDxwYXRoIGQ9Ik0zNSA1NDBoMTU1djE1MEgzNXoiLz4KICAgIDxwYXRoIGQ9Ik0yMzAgNTQwaDIwNXYxMzVIMjMweiIvPgogICAgPHBhdGggZD0iTTQ3NSA1MzBoMTQ1djE2MEg0NzV6Ii8+CiAgICA8cGF0aCBkPSJNNjYwIDU0NWgyMDV2MTMwSDY2MHoiLz4KICAgIDxwYXRoIGQ9Ik05MDUgNTMwaDIxNXYxNDVIOTA1eiIvPgogIDwvZz4KCiAgPCEtLSDQv9Cw0YDQutC4IC0tPgogIDxnIGZpbGw9IiNkZmVhZDMiIG9wYWNpdHk9Ii45Ij4KICAgIDxwYXRoIGQ9Ik02OTAgNDVoMTUwdjk1SDY5MHoiLz4KICAgIDxwYXRoIGQ9Ik05MTAgMjAwaDE4MHY5Mkg5MTB6Ii8+CiAgICA8cGF0aCBkPSJNOTAgNTYwaDExMHYxMTVIOTB6Ii8+CiAgICA8cGF0aCBkPSJNNDY1IDM3MmgxMjB2OTVINDY1eiIvPgogIDwvZz4KCiAgPCEtLSDQstC+0LTQsCAtLT4KICA8cGF0aAogICAgZD0iTTkxMCA3ODAKICAgICAgIEM5NTAgNjkwIDEwMTAgNjQwIDEwODAgNTkwCiAgICAgICBDMTEzMCA1NTUgMTE3MCA1MjAgMTIwMCA0NzUKICAgICAgIEwxMjAwIDc4MFoiCiAgICBmaWxsPSIjZGNlY2YwIi8+CgogIDxwYXRoCiAgICBkPSJNOTI1IDc4MAogICAgICAgQzk2NSA3MDAgMTAyMCA2NTUgMTA5MCA2MDUKICAgICAgIEMxMTQwIDU3MCAxMTc4IDUzNSAxMjAwIDUwNSIKICAgIGZpbGw9Im5vbmUiCiAgICBzdHJva2U9IiNjOWUwZTYiCiAgICBzdHJva2Utd2lkdGg9IjI4IgogICAgb3BhY2l0eT0iLjY1Ii8+CgogIDwhLS0g0LLRgtC+0YDQvtGB0YLQtdC/0LXQvdC90YvQtSDRg9C70LjRhtGLIC0tPgogIDxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxMiIgb3BhY2l0eT0iLjk4Ij4KICAgIDxwYXRoIGQ9Ik0wIDE3MEgxMjAwIi8+CiAgICA8cGF0aCBkPSJNMCAzMzVIMTIwMCIvPgogICAgPHBhdGggZD0iTTAgNTE1SDExODAiLz4KICAgIDxwYXRoIGQ9Ik0yMTUgMFY3ODAiLz4KICAgIDxwYXRoIGQ9Ik00MjAgMFY3ODAiLz4KICAgIDxwYXRoIGQ9Ik02MzUgMFY3ODAiLz4KICAgIDxwYXRoIGQ9Ik04NzAgMFY3NTAiLz4KICA8L2c+CgogIDwhLS0g0LzQtdC70LrQuNC1INGD0LvQuNGG0YsgLS0+CiAgPGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjYiIG9wYWNpdHk9Ii44MiI+CiAgICA8cGF0aCBkPSJNMCA5NUgxMjAwIi8+CiAgICA8cGF0aCBkPSJNMCAyNTBIMTIwMCIvPgogICAgPHBhdGggZD0iTTAgNDMwSDEyMDAiLz4KICAgIDxwYXRoIGQ9Ik0wIDYxMEgxMTMwIi8+CgogICAgPHBhdGggZD0iTTEwNSAwVjc4MCIvPgogICAgPHBhdGggZD0iTTMyMCAwVjc4MCIvPgogICAgPHBhdGggZD0iTTUzMCAwVjc4MCIvPgogICAgPHBhdGggZD0iTTc2MCAwVjc4MCIvPgogICAgPHBhdGggZD0iTTEwMTAgMFY2NzAiLz4KCiAgICA8cGF0aCBkPSJNMCA3MDBMNzYwIDAiLz4KICAgIDxwYXRoIGQ9Ik0yNjAgNzgwTDEwNTAgMCIvPgogICAgPHBhdGggZD0iTTAgNDAwTDQ4MCAwIi8+CiAgICA8cGF0aCBkPSJNNjEwIDc4MEwxMjAwIDI1MCIvPgogIDwvZz4KCiAgPCEtLSDQvtGB0L3QvtCy0L3Ri9C1INC00L7RgNC+0LPQuCAtLT4KICA8ZyBmaWxsPSJub25lIiBzdHJva2U9IiNmYWZhZmEiIHN0cm9rZS13aWR0aD0iMjIiIG9wYWNpdHk9Ii45OCI+CiAgICA8cGF0aCBkPSJNLTQwIDY2NQogICAgICAgICAgICAgQzE3NSA1NjUgMjg1IDQ4MCA0MjAgMzc1CiAgICAgICAgICAgICBTNzIwIDE2MCAxMjQwIDkwIi8+CiAgICA8cGF0aCBkPSJNNzUgLTMwCiAgICAgICAgICAgICBDMTU1IDE1NSAyNzUgMjYwIDQzMCAzNTAKICAgICAgICAgICAgIFM3NzAgNTIwIDExNzAgNzMwIi8+CiAgPC9nPgoKICA8ZyBmaWxsPSJub25lIiBzdHJva2U9IiNlN2U1ZGYiIHN0cm9rZS13aWR0aD0iMiIgb3BhY2l0eT0iLjcyIj4KICAgIDxwYXRoIGQ9Ik0tNDAgNjY1CiAgICAgICAgICAgICBDMTc1IDU2NSAyODUgNDgwIDQyMCAzNzUKICAgICAgICAgICAgIFM3MjAgMTYwIDEyNDAgOTAiLz4KICAgIDxwYXRoIGQ9Ik03NSAtMzAKICAgICAgICAgICAgIEMxNTUgMTU1IDI3NSAyNjAgNDMwIDM1MAogICAgICAgICAgICAgUzc3MCA1MjAgMTE3MCA3MzAiLz4KICA8L2c+CgogIDwhLS0g0L3QtdCx0L7Qu9GM0YjQuNC1INC60LLQsNGA0YLQsNC70YzQvdGL0LUg0LTQtdGC0LDQu9C4IC0tPgogIDxnIGZpbGw9IiNkZWRkZDciIG9wYWNpdHk9Ii4zOCI+CiAgICA8cmVjdCB4PSI1MiIgeT0iNTgiIHdpZHRoPSI5NiIgaGVpZ2h0PSIxMiIgcng9IjQiLz4KICAgIDxyZWN0IHg9IjI3MiIgeT0iNjIiIHdpZHRoPSI4OCIgaGVpZ2h0PSIxMiIgcng9IjQiLz4KICAgIDxyZWN0IHg9IjQ3MCIgeT0iNjQiIHdpZHRoPSIxMDgiIGhlaWdodD0iMTIiIHJ4PSI0Ii8+CiAgICA8cmVjdCB4PSI5MzAiIHk9IjcwIiB3aWR0aD0iMTQ1IiBoZWlnaHQ9IjEyIiByeD0iNCIvPgoKICAgIDxyZWN0IHg9IjU1IiB5PSIyMTUiIHdpZHRoPSI3NiIgaGVpZ2h0PSIxMCIgcng9IjQiLz4KICAgIDxyZWN0IHg9IjI2MCIgeT0iMjE1IiB3aWR0aD0iMTA0IiBoZWlnaHQ9IjEwIiByeD0iNCIvPgogICAgPHJlY3QgeD0iOTMwIiB5PSIyMTUiIHdpZHRoPSIxMjgiIGhlaWdodD0iMTAiIHJ4PSI0Ii8+CgogICAgPHJlY3QgeD0iMjcwIiB5PSIzOTAiIHdpZHRoPSI4NSIgaGVpZ2h0PSIxMCIgcng9IjQiLz4KICAgIDxyZWN0IHg9IjczNSIgeT0iMzkwIiB3aWR0aD0iODQiIGhlaWdodD0iMTAiIHJ4PSI0Ii8+CgogICAgPHJlY3QgeD0iMjc1IiB5PSI1NzUiIHdpZHRoPSIxMTIiIGhlaWdodD0iMTAiIHJ4PSI0Ii8+CiAgICA8cmVjdCB4PSI5NDUiIHk9IjU2NSIgd2lkdGg9IjEwNSIgaGVpZ2h0PSIxMCIgcng9IjQiLz4KICA8L2c+Cjwvc3ZnPgo=") !important;

    background-size:
      100% 100%,
      cover !important;

    background-position:
      center,
      center !important;

    background-repeat:no-repeat !important;

    border-color:rgba(218,220,215,.88) !important;
  }


  /*
    Убираем старый абстрактный диагональный рисунок,
    чтобы он не конфликтовал с картой.
  */
  .start-nearby-preview::before{
    display:none !important;
  }


  /* Радиусы поверх карты */

  .start-nearby-preview .compact-map-radius{
    border-color:rgba(49,177,165,.24) !important;
  }

  .start-nearby-preview .compact-map-radius.r1{
    background:rgba(63,194,180,.085) !important;
  }

  .start-nearby-preview .compact-map-radius.r2{
    background:rgba(63,194,180,.025) !important;
  }


  /* Верхняя подпись читается поверх улиц */

  .start-map-topline > div:first-child{
    padding:5px 8px;

    border-radius:10px;

    background:rgba(250,251,248,.75);

    backdrop-filter:blur(3px);
  }


  /* Нижняя подпись */

  .start-map-foot{
    width:max-content;
    max-width:calc(100% - 36px);

    left:50% !important;
    right:auto !important;

    transform:translateX(-50%);

    padding:4px 8px;

    border-radius:8px;

    background:rgba(250,251,248,.72);

    backdrop-filter:blur(3px);
  }

}


/* START_BATTERY_CARD_FIX_V1 */

.compact-map-card.m1{
  overflow:hidden !important;
}

.compact-map-card.m1 .media{
  overflow:hidden !important;
  display:grid !important;
  place-items:center !important;
}

.compact-map-card.m1 .media img,
.compact-map-card.m1 .media .benefit-asset{
  display:block !important;

  width:82% !important;
  height:82% !important;

  max-width:100% !important;
  max-height:100% !important;

  object-fit:contain !important;
  object-position:center !important;

  transform:none !important;
}



/* START_MOBILE_V1 */

@media(max-width:620px){

  /* =====================================================
     ОБЩИЙ ЭКРАН
  ===================================================== */

  .compact-start-screen{
    min-height:100svh !important;

    padding:
      max(8px,env(safe-area-inset-top))
      8px
      18px !important;

    overflow-x:hidden !important;
  }

  .compact-start-panel{
    width:100% !important;
    max-width:none !important;

    margin:0 auto !important;
    padding:4px 0 10px !important;
  }



  /* =====================================================
     ЛОГОТИП
  ===================================================== */

  .compact-start-brand{
    margin:0 0 10px !important;
  }

  .start-brand-lockup{
    gap:10px !important;
    transform:none !important;
  }

  .start-brand-icon{
    width:76px !important;
    height:76px !important;

    flex:0 0 76px !important;
  }

  .start-brand-copy{
    display:grid !important;
    gap:3px !important;
  }

  .start-brand-word{
    font-size:39px !important;
    line-height:.92 !important;

    font-weight:800 !important;
    letter-spacing:.01em !important;
  }

  .start-brand-tagline{
    font-size:11px !important;
    line-height:1.15 !important;

    font-weight:500 !important;

    white-space:nowrap;
  }



  /* =====================================================
     ГЛАВНАЯ КАРТОЧКА
  ===================================================== */

  .compact-start-card{
    display:grid !important;
    grid-template-columns:1fr !important;

    min-height:0 !important;

    gap:18px !important;

    padding:17px 14px 14px !important;

    border-radius:24px !important;
  }

  .compact-start-copy{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;

    padding:0 !important;

    text-align:center !important;
  }



  /* =====================================================
     ТЕКСТ
  ===================================================== */

  .start-eyebrow{
    margin:0 0 8px !important;

    font-size:10px !important;
    line-height:1.2 !important;

    font-weight:700 !important;
    letter-spacing:.045em !important;

    color:#34877d !important;
  }

  .compact-start-copy h1{
    max-width:390px !important;

    margin:0 0 14px !important;

    font-size:clamp(36px,9.6vw,42px) !important;
    line-height:.99 !important;

    letter-spacing:-.045em !important;
  }

  .compact-start-copy p{
    max-width:350px !important;

    margin:0 0 17px !important;

    font-size:14px !important;
    line-height:1.43 !important;
  }



  /* =====================================================
     КУПИТЬ / НА ВРЕМЯ / ПОМОЩЬ

     Не выглядят как три большие кнопки.
  ===================================================== */

  .compact-start-chips{
    width:100% !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    gap:18px !important;

    margin:0 0 18px !important;
  }

  .compact-start-chips .start-chip{
    min-height:0 !important;

    display:inline-flex !important;
    align-items:center !important;

    gap:6px !important;

    padding:0 !important;

    border:0 !important;
    border-radius:0 !important;

    background:transparent !important;

    box-shadow:none !important;

    font-size:11px !important;
    line-height:1 !important;

    font-weight:600 !important;

    white-space:nowrap !important;
  }

  .compact-start-chips .start-chip-icon{
    width:25px !important;
    height:25px !important;

    flex:0 0 25px !important;

    display:grid !important;
    place-items:center !important;

    border-radius:8px !important;

    box-shadow:
      0 3px 10px rgba(34,40,41,.055),
      inset 0 1px 0 rgba(255,255,255,.9) !important;
  }

  .compact-start-chips .start-chip-icon svg{
    width:16px !important;
    height:16px !important;

    stroke-width:1.7 !important;
  }


  .compact-start-chips .purchase{
    color:#25847b !important;
  }

  .compact-start-chips .purchase .start-chip-icon{
    background:
      linear-gradient(
        145deg,
        #fff,
        #d9f2ed
      ) !important;
  }


  .compact-start-chips .rental{
    color:#a87517 !important;
  }

  .compact-start-chips .rental .start-chip-icon{
    background:
      linear-gradient(
        145deg,
        #fff,
        #ffedc4
      ) !important;
  }


  .compact-start-chips .service{
    color:#6d589c !important;
  }

  .compact-start-chips .service .start-chip-icon{
    background:
      linear-gradient(
        145deg,
        #fff,
        #e9e0fa
      ) !important;
  }



  /* =====================================================
     ОСНОВНАЯ КНОПКА
  ===================================================== */

  .compact-start-cta{
    width:100% !important;
    max-width:100% !important;

    min-height:52px !important;

    margin:0 !important;

    border-radius:15px !important;

    font-size:13px !important;
    line-height:1.1 !important;

    font-weight:650 !important;
  }

  .compact-start-cta span{
    font-size:18px !important;
  }

  .compact-start-note{
    max-width:330px !important;

    margin:10px auto 0 !important;

    font-size:10px !important;
    line-height:1.25 !important;

    font-weight:500 !important;

    text-align:center !important;
  }



  /* =====================================================
     КОМПАКТНОЕ ПРЕВЬЮ КАРТЫ
  ===================================================== */

  .compact-start-map,
  .start-nearby-preview{
    position:relative !important;

    width:100% !important;

    min-height:330px !important;
    height:330px !important;

    overflow:hidden !important;

    border-radius:20px !important;

    background-color:#f5f5f0 !important;

    background-image:
      linear-gradient(
        rgba(255,255,255,.28),
        rgba(255,255,255,.28)
      ),
      url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMTIwMCIgaGVpZ2h0PSI3ODAiIHZpZXdCb3g9IjAgMCAxMjAwIDc4MCI+CiAgPHJlY3Qgd2lkdGg9IjEyMDAiIGhlaWdodD0iNzgwIiBmaWxsPSIjZjVmNGVmIi8+CgogIDwhLS0g0LrQstCw0YDRgtCw0LvRiyAtLT4KICA8ZyBmaWxsPSIjZWJlOWUyIiBvcGFjaXR5PSIuNzIiPgogICAgPHBhdGggZD0iTTIwIDQwaDE4MHYxMDVIMjB6Ii8+CiAgICA8cGF0aCBkPSJNMjM1IDMwaDE2MHYxMjVIMjM1eiIvPgogICAgPHBhdGggZD0iTTQzMCAzNWgyMDV2MTA1SDQzMHoiLz4KICAgIDxwYXRoIGQ9Ik02ODAgMjhoMTc1djEyNUg2ODB6Ii8+CiAgICA8cGF0aCBkPSJNODkwIDQwaDI2NXYxMTBIODkweiIvPgoKICAgIDxwYXRoIGQ9Ik0zNSAxOTBoMTM1djEzNUgzNXoiLz4KICAgIDxwYXRoIGQ9Ik0yMDUgMTg1aDIwNXYxMjBIMjA1eiIvPgogICAgPHBhdGggZD0iTTQ1NSAxNzVoMTQ1djE0NUg0NTV6Ii8+CiAgICA8cGF0aCBkPSJNNjUwIDE4NWgxOTB2MTI1SDY1MHoiLz4KICAgIDxwYXRoIGQ9Ik04ODUgMTg1aDI1MHYxMzBIODg1eiIvPgoKICAgIDxwYXRoIGQ9Ik0yMCAzNjVoMTgwdjEyNUgyMHoiLz4KICAgIDxwYXRoIGQ9Ik0yNDUgMzUwaDE2NXYxNTBIMjQ1eiIvPgogICAgPHBhdGggZD0iTTQ1NSAzNjVoMjEwdjEyMEg0NTV6Ii8+CiAgICA8cGF0aCBkPSJNNzA1IDM1NWgxNTV2MTQ1SDcwNXoiLz4KICAgIDxwYXRoIGQ9Ik05MDAgMzU1aDI0NXYxMjVIOTAweiIvPgoKICAgIDxwYXRoIGQ9Ik0zNSA1NDBoMTU1djE1MEgzNXoiLz4KICAgIDxwYXRoIGQ9Ik0yMzAgNTQwaDIwNXYxMzVIMjMweiIvPgogICAgPHBhdGggZD0iTTQ3NSA1MzBoMTQ1djE2MEg0NzV6Ii8+CiAgICA8cGF0aCBkPSJNNjYwIDU0NWgyMDV2MTMwSDY2MHoiLz4KICAgIDxwYXRoIGQ9Ik05MDUgNTMwaDIxNXYxNDVIOTA1eiIvPgogIDwvZz4KCiAgPCEtLSDQv9Cw0YDQutC4IC0tPgogIDxnIGZpbGw9IiNkZmVhZDMiIG9wYWNpdHk9Ii45Ij4KICAgIDxwYXRoIGQ9Ik02OTAgNDVoMTUwdjk1SDY5MHoiLz4KICAgIDxwYXRoIGQ9Ik05MTAgMjAwaDE4MHY5Mkg5MTB6Ii8+CiAgICA8cGF0aCBkPSJNOTAgNTYwaDExMHYxMTVIOTB6Ii8+CiAgICA8cGF0aCBkPSJNNDY1IDM3MmgxMjB2OTVINDY1eiIvPgogIDwvZz4KCiAgPCEtLSDQstC+0LTQsCAtLT4KICA8cGF0aAogICAgZD0iTTkxMCA3ODAKICAgICAgIEM5NTAgNjkwIDEwMTAgNjQwIDEwODAgNTkwCiAgICAgICBDMTEzMCA1NTUgMTE3MCA1MjAgMTIwMCA0NzUKICAgICAgIEwxMjAwIDc4MFoiCiAgICBmaWxsPSIjZGNlY2YwIi8+CgogIDxwYXRoCiAgICBkPSJNOTI1IDc4MAogICAgICAgQzk2NSA3MDAgMTAyMCA2NTUgMTA5MCA2MDUKICAgICAgIEMxMTQwIDU3MCAxMTc4IDUzNSAxMjAwIDUwNSIKICAgIGZpbGw9Im5vbmUiCiAgICBzdHJva2U9IiNjOWUwZTYiCiAgICBzdHJva2Utd2lkdGg9IjI4IgogICAgb3BhY2l0eT0iLjY1Ii8+CgogIDwhLS0g0LLRgtC+0YDQvtGB0YLQtdC/0LXQvdC90YvQtSDRg9C70LjRhtGLIC0tPgogIDxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZmZmZiIgc3Ryb2tlLXdpZHRoPSIxMiIgb3BhY2l0eT0iLjk4Ij4KICAgIDxwYXRoIGQ9Ik0wIDE3MEgxMjAwIi8+CiAgICA8cGF0aCBkPSJNMCAzMzVIMTIwMCIvPgogICAgPHBhdGggZD0iTTAgNTE1SDExODAiLz4KICAgIDxwYXRoIGQ9Ik0yMTUgMFY3ODAiLz4KICAgIDxwYXRoIGQ9Ik00MjAgMFY3ODAiLz4KICAgIDxwYXRoIGQ9Ik02MzUgMFY3ODAiLz4KICAgIDxwYXRoIGQ9Ik04NzAgMFY3NTAiLz4KICA8L2c+CgogIDwhLS0g0LzQtdC70LrQuNC1INGD0LvQuNGG0YsgLS0+CiAgPGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjYiIG9wYWNpdHk9Ii44MiI+CiAgICA8cGF0aCBkPSJNMCA5NUgxMjAwIi8+CiAgICA8cGF0aCBkPSJNMCAyNTBIMTIwMCIvPgogICAgPHBhdGggZD0iTTAgNDMwSDEyMDAiLz4KICAgIDxwYXRoIGQ9Ik0wIDYxMEgxMTMwIi8+CgogICAgPHBhdGggZD0iTTEwNSAwVjc4MCIvPgogICAgPHBhdGggZD0iTTMyMCAwVjc4MCIvPgogICAgPHBhdGggZD0iTTUzMCAwVjc4MCIvPgogICAgPHBhdGggZD0iTTc2MCAwVjc4MCIvPgogICAgPHBhdGggZD0iTTEwMTAgMFY2NzAiLz4KCiAgICA8cGF0aCBkPSJNMCA3MDBMNzYwIDAiLz4KICAgIDxwYXRoIGQ9Ik0yNjAgNzgwTDEwNTAgMCIvPgogICAgPHBhdGggZD0iTTAgNDAwTDQ4MCAwIi8+CiAgICA8cGF0aCBkPSJNNjEwIDc4MEwxMjAwIDI1MCIvPgogIDwvZz4KCiAgPCEtLSDQvtGB0L3QvtCy0L3Ri9C1INC00L7RgNC+0LPQuCAtLT4KICA8ZyBmaWxsPSJub25lIiBzdHJva2U9IiNmYWZhZmEiIHN0cm9rZS13aWR0aD0iMjIiIG9wYWNpdHk9Ii45OCI+CiAgICA8cGF0aCBkPSJNLTQwIDY2NQogICAgICAgICAgICAgQzE3NSA1NjUgMjg1IDQ4MCA0MjAgMzc1CiAgICAgICAgICAgICBTNzIwIDE2MCAxMjQwIDkwIi8+CiAgICA8cGF0aCBkPSJNNzUgLTMwCiAgICAgICAgICAgICBDMTU1IDE1NSAyNzUgMjYwIDQzMCAzNTAKICAgICAgICAgICAgIFM3NzAgNTIwIDExNzAgNzMwIi8+CiAgPC9nPgoKICA8ZyBmaWxsPSJub25lIiBzdHJva2U9IiNlN2U1ZGYiIHN0cm9rZS13aWR0aD0iMiIgb3BhY2l0eT0iLjcyIj4KICAgIDxwYXRoIGQ9Ik0tNDAgNjY1CiAgICAgICAgICAgICBDMTc1IDU2NSAyODUgNDgwIDQyMCAzNzUKICAgICAgICAgICAgIFM3MjAgMTYwIDEyNDAgOTAiLz4KICAgIDxwYXRoIGQ9Ik03NSAtMzAKICAgICAgICAgICAgIEMxNTUgMTU1IDI3NSAyNjAgNDMwIDM1MAogICAgICAgICAgICAgUzc3MCA1MjAgMTE3MCA3MzAiLz4KICA8L2c+CgogIDwhLS0g0L3QtdCx0L7Qu9GM0YjQuNC1INC60LLQsNGA0YLQsNC70YzQvdGL0LUg0LTQtdGC0LDQu9C4IC0tPgogIDxnIGZpbGw9IiNkZWRkZDciIG9wYWNpdHk9Ii4zOCI+CiAgICA8cmVjdCB4PSI1MiIgeT0iNTgiIHdpZHRoPSI5NiIgaGVpZ2h0PSIxMiIgcng9IjQiLz4KICAgIDxyZWN0IHg9IjI3MiIgeT0iNjIiIHdpZHRoPSI4OCIgaGVpZ2h0PSIxMiIgcng9IjQiLz4KICAgIDxyZWN0IHg9IjQ3MCIgeT0iNjQiIHdpZHRoPSIxMDgiIGhlaWdodD0iMTIiIHJ4PSI0Ii8+CiAgICA8cmVjdCB4PSI5MzAiIHk9IjcwIiB3aWR0aD0iMTQ1IiBoZWlnaHQ9IjEyIiByeD0iNCIvPgoKICAgIDxyZWN0IHg9IjU1IiB5PSIyMTUiIHdpZHRoPSI3NiIgaGVpZ2h0PSIxMCIgcng9IjQiLz4KICAgIDxyZWN0IHg9IjI2MCIgeT0iMjE1IiB3aWR0aD0iMTA0IiBoZWlnaHQ9IjEwIiByeD0iNCIvPgogICAgPHJlY3QgeD0iOTMwIiB5PSIyMTUiIHdpZHRoPSIxMjgiIGhlaWdodD0iMTAiIHJ4PSI0Ii8+CgogICAgPHJlY3QgeD0iMjcwIiB5PSIzOTAiIHdpZHRoPSI4NSIgaGVpZ2h0PSIxMCIgcng9IjQiLz4KICAgIDxyZWN0IHg9IjczNSIgeT0iMzkwIiB3aWR0aD0iODQiIGhlaWdodD0iMTAiIHJ4PSI0Ii8+CgogICAgPHJlY3QgeD0iMjc1IiB5PSI1NzUiIHdpZHRoPSIxMTIiIGhlaWdodD0iMTAiIHJ4PSI0Ii8+CiAgICA8cmVjdCB4PSI5NDUiIHk9IjU2NSIgd2lkdGg9IjEwNSIgaGVpZ2h0PSIxMCIgcng9IjQiLz4KICA8L2c+Cjwvc3ZnPgo=") !important;

    background-size:
      100% 100%,
      cover !important;

    background-position:
      center,
      center !important;

    background-repeat:no-repeat !important;
  }

  .start-nearby-preview::before{
    display:none !important;
  }



  /* =====================================================
     ВЕРХ КАРТЫ
  ===================================================== */

  .start-map-topline{
    position:absolute !important;

    top:10px !important;
    left:11px !important;
    right:11px !important;

    z-index:8 !important;

    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;

    gap:8px !important;
  }

  .start-map-topline > div:first-child{
    display:block !important;

    padding:5px 7px !important;

    border-radius:9px !important;

    background:rgba(255,255,255,.80) !important;

    backdrop-filter:blur(4px);
  }

  .start-map-topline b{
    display:block !important;

    font-size:11px !important;
    line-height:1 !important;

    font-weight:700 !important;
  }

  .start-map-topline span{
    display:none !important;
  }

  .start-radius-pill{
    flex:0 0 auto !important;

    padding:6px 9px !important;

    border:1px solid rgba(220,225,221,.9) !important;
    border-radius:999px !important;

    background:rgba(255,255,255,.88) !important;

    color:#548d85 !important;

    font-size:9px !important;
    line-height:1 !important;

    font-weight:650 !important;
  }



  /* =====================================================
     РАДИУС
  ===================================================== */

  .compact-map-radius{
    left:50% !important;
    top:54% !important;

    transform:translate(-50%,-50%) !important;

    border-color:rgba(49,177,165,.22) !important;
  }

  .compact-map-radius.r1{
    width:150px !important;
    height:150px !important;

    background:rgba(63,194,180,.085) !important;
  }

  .compact-map-radius.r2{
    width:228px !important;
    height:228px !important;

    background:rgba(63,194,180,.025) !important;
  }



  /* =====================================================
     ВЫ ЗДЕСЬ

     Одновременно исправляет огромный чёрный фрагмент,
     который сейчас вылезает за карту.
  ===================================================== */

  .compact-map-me{
    left:50% !important;
    top:55% !important;

    transform:translate(-50%,-50%) !important;

    gap:5px !important;
  }

  .compact-map-me .home{
    width:46px !important;
    height:46px !important;

    overflow:hidden !important;

    border-radius:50% !important;

    display:grid !important;
    place-items:center !important;

    background:white !important;
  }

  .compact-map-me .home img{
    display:block !important;

    width:100% !important;
    height:100% !important;

    max-width:100% !important;
    max-height:100% !important;

    object-fit:contain !important;

    transform:none !important;
  }

  .compact-map-me span{
    padding:5px 9px !important;

    font-size:10px !important;
    line-height:1 !important;

    font-weight:650 !important;
  }



  /* =====================================================
     МАРКЕРЫ
  ===================================================== */

  .compact-map-pin{
    width:28px !important;
    height:28px !important;

    font-size:9px !important;

    box-shadow:
      0 6px 14px rgba(26,30,31,.12) !important;
  }

  .compact-map-pin.p1{
    left:70% !important;
    top:27% !important;
  }

  .compact-map-pin.p2{
    right:17% !important;
    top:54% !important;
  }

  .compact-map-pin.p3{
    right:15% !important;
    bottom:18% !important;
  }



  /* =====================================================
     ДЕМО-ЗАЯВКИ
  ===================================================== */

  .compact-map-card{
    grid-template-columns:40px minmax(0,1fr) !important;

    gap:6px !important;

    width:142px !important;
    min-width:142px !important;

    padding:6px 7px !important;

    border-radius:13px !important;

    box-shadow:
      0 7px 17px rgba(39,35,33,.09) !important;
  }

  .compact-map-card .media{
    width:40px !important;
    height:38px !important;

    overflow:hidden !important;

    display:grid !important;
    place-items:center !important;
  }

  .compact-map-card .media img{
    display:block !important;

    width:90% !important;
    height:90% !important;

    max-width:100% !important;
    max-height:100% !important;

    object-fit:contain !important;

    transform:none !important;
  }

  .compact-map-card small{
    margin-bottom:2px !important;

    padding:2px 5px !important;

    font-size:7px !important;
    line-height:1 !important;

    font-weight:650 !important;
  }

  .compact-map-card b{
    margin:0 0 2px !important;

    font-size:9px !important;
    line-height:1.12 !important;
  }

  .compact-map-card em{
    font-size:8px !important;
    line-height:1 !important;
  }


  .compact-map-card.m1{
    left:7px !important;
    top:48px !important;
  }

  .compact-map-card.m2{
    right:7px !important;
    top:88px !important;
  }

  .compact-map-card.m3{
    left:8px !important;
    bottom:27px !important;
  }


  /*
     Если старый четвёртый демонстрационный элемент
     каким-либо образом сохранился — на телефоне не показываем.
  */
  .compact-map-card.m4{
    display:none !important;
  }



  /* =====================================================
     ПОДПИСЬ КАРТЫ
  ===================================================== */

  .compact-map-radius-label{
    display:none !important;
  }

  .start-map-foot{
    position:absolute !important;

    left:50% !important;
    right:auto !important;
    bottom:5px !important;

    z-index:7 !important;

    transform:translateX(-50%) !important;

    width:max-content !important;
    max-width:90% !important;

    padding:3px 6px !important;

    border-radius:7px !important;

    background:rgba(255,255,255,.70) !important;

    color:#858e8c !important;

    font-size:7px !important;
    line-height:1 !important;

    white-space:nowrap !important;
  }

}



/* Совсем узкие телефоны */

@media(max-width:390px){

  .start-brand-icon{
    width:68px !important;
    height:68px !important;

    flex-basis:68px !important;
  }

  .start-brand-word{
    font-size:35px !important;
  }

  .start-brand-tagline{
    font-size:10px !important;
  }

  .compact-start-copy h1{
    font-size:35px !important;
  }

  .compact-start-chips{
    gap:12px !important;
  }

  .compact-start-chips .start-chip{
    font-size:10px !important;
  }

  .compact-start-map,
  .start-nearby-preview{
    min-height:310px !important;
    height:310px !important;
  }

}


/* NAV_WORKFLOW_V1 */


/* =========================================================
   СОВРЕМЕННЫЕ ИКОНКИ ГЛАВНОГО МЕНЮ
========================================================= */

.nav-icon,
.mobile-nav-icon{
  display:grid;
  place-items:center;
}

.menu-icon-svg{
  display:block;

  width:21px;
  height:21px;

  fill:none;

  stroke:currentColor;
  stroke-width:1.75;
  stroke-linecap:round;
  stroke-linejoin:round;

  vector-effect:non-scaling-stroke;
}

.nav-btn .menu-icon-svg{
  width:20px;
  height:20px;
}

.bottom-nav .menu-icon-svg{
  width:19px;
  height:19px;
}


/*
   Иконка активного раздела остаётся цвета темы,
   без тяжёлой заливки и жирных символов.
*/

.nav-btn,
.bottom-nav button{
  font-weight:500 !important;
}

.nav-btn .nav-label,
.bottom-nav button small{
  font-weight:500 !important;
}



/* =========================================================
   АВАТАРЫ НА КАРТЕ ОТКЛИКОВ
========================================================= */

.offer-map-avatar{
  width:100%;
  height:100%;

  display:grid;
  place-items:center;

  overflow:hidden;

  border-radius:50%;
}

.offer-map-avatar .avatar-emoji{
  display:grid;
  place-items:center;

  width:100%;
  height:100%;

  font-size:19px;
  line-height:1;
}

.offer-map-avatar .avatar-photo{
  display:block;

  width:100%;
  height:100%;

  object-fit:cover;

  border-radius:50%;
}



/* =========================================================
   СПИСКИ МОИХ ЗАПРОСОВ / ОТКЛИКОВ
========================================================= */

.profile-history-modal > h2{
  margin-bottom:12px;
}

.profile-history-list{
  margin-top:0 !important;
}



/* DESKTOP_MENU_V2 */


/*
   Только боковое меню ПК.
   Нижнюю мобильную навигацию пока не меняем.
*/

@media(min-width:901px){

  /* =====================================================
     ОБЩАЯ КОМПОЗИЦИЯ
  ===================================================== */

  .sidebar .nav{
    display:grid;
    gap:4px;

    margin-top:8px;
  }


  /* =====================================================
     ПУНКТ МЕНЮ
  ===================================================== */

  .sidebar .nav-btn{
    position:relative;

    width:100%;
    min-height:44px;

    display:grid;
    grid-template-columns:32px minmax(0,1fr) auto;
    align-items:center;

    gap:8px;

    padding:7px 11px;

    border:1px solid transparent;
    border-radius:13px;

    background:transparent;

    color:var(--muted);

    font-family:inherit;
    font-size:14px;
    font-weight:450 !important;

    text-align:left;

    transition:
      background .16s ease,
      color .16s ease,
      border-color .16s ease,
      transform .16s ease;
  }


  .sidebar .nav-btn:hover{
    background:rgba(255,255,255,.58);

    border-color:
      color-mix(
        in srgb,
        var(--line) 72%,
        transparent
      );

    color:var(--ink);

    transform:translateX(2px);
  }


  /* =====================================================
     АКТИВНЫЙ ПУНКТ
  ===================================================== */

  .sidebar .nav-btn.active{
    background:
      linear-gradient(
        90deg,
        color-mix(
          in srgb,
          var(--primary-soft) 82%,
          white
        ),
        color-mix(
          in srgb,
          var(--primary-soft) 35%,
          transparent
        )
      );

    border-color:
      color-mix(
        in srgb,
        var(--primary) 18%,
        transparent
      );

    color:var(--primary-deep);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.68);
  }


  /*
     Тонкий фирменный индикатор слева.
     Не тяжёлая заливка всей кнопки.
  */

  .sidebar .nav-btn.active::before{
    content:"";

    position:absolute;

    left:0;
    top:10px;
    bottom:10px;

    width:3px;

    border-radius:0 4px 4px 0;

    background:var(--primary);
  }


  /* =====================================================
     ИКОНКИ
  ===================================================== */

  .sidebar .nav-icon{
    width:30px;
    height:30px;

    display:grid;
    place-items:center;

    border-radius:9px;

    color:inherit;

    transition:
      background .16s ease,
      transform .16s ease;
  }


  .sidebar .nav-btn:hover .nav-icon{
    background:rgba(255,255,255,.55);
  }


  .sidebar .nav-btn.active .nav-icon{
    background:rgba(255,255,255,.68);

    box-shadow:
      0 2px 8px rgba(30,50,48,.045);
  }


  .sidebar .nav-btn:hover .nav-icon{
    transform:scale(1.04);
  }


  .sidebar .nav-icon .menu-icon-svg{
    width:20px !important;
    height:20px !important;

    stroke-width:1.65 !important;
  }


  /* =====================================================
     ТЕКСТ
  ===================================================== */

  .sidebar .nav-label{
    min-width:0;

    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;

    font-size:14px;
    line-height:1.15;

    font-weight:450 !important;

    letter-spacing:0;
  }


  .sidebar .nav-btn.active .nav-label{
    font-weight:520 !important;
  }


  /* =====================================================
     СЧЁТЧИК УВЕДОМЛЕНИЙ
  ===================================================== */

  .sidebar .nav-count{
    min-width:20px;
    height:20px;

    display:inline-grid;
    place-items:center;

    padding:0 5px;

    border:2px solid
      color-mix(
        in srgb,
        var(--surface) 90%,
        transparent
      );

    border-radius:999px;

    background:var(--danger);

    color:white;

    font-size:9px;
    line-height:1;
    font-weight:700;

    box-shadow:
      0 3px 8px rgba(55,35,38,.10);
  }


  /* =====================================================
     ЛОГОТИП / СЛОГАН В БОКОВОМ МЕНЮ
  ===================================================== */

  .sidebar-tagline{
    margin-top:-5px !important;
    margin-bottom:14px !important;

    color:var(--muted);

    font-size:11px !important;
    line-height:1.3;

    font-weight:450 !important;

    letter-spacing:.01em;
  }


  /* =====================================================
     НИЖНЯЯ СЛУЖЕБНАЯ НАДПИСЬ
  ===================================================== */

  .sidebar-foot{
    font-weight:400 !important;
  }

  .sidebar-foot b{
    font-weight:550 !important;
  }

}


/* ACCOUNT_PAGES_THEMES_V1 */


/* =========================================================
   NEW THEME: CLASSIC STEEL
========================================================= */

:root[data-theme="classic-steel"]{
  --bg:#f3f5f7;
  --surface:#ffffff;
  --surface-2:#e9edf1;

  --ink:#18212b;
  --muted:#68727e;
  --line:#d7dde3;

  --primary:#3e5368;
  --primary-deep:#263746;
  --primary-soft:#e5ebf0;

  --coral:#7e8994;
  --coral-soft:#edf0f3;

  --blue:#426f91;
  --blue-soft:#e4eef5;

  --yellow:#b59657;
  --yellow-soft:#f5eddc;

  --purple:#666b7d;
  --purple-soft:#ebecf0;

  --pink:#96727a;

  --accent:#53697c;
  --accent-soft:#e6ebef;

  --info:#426f91;
  --success:#3d745e;
  --warning:#9c782f;
  --danger:#a95353;
}


/* =========================================================
   NEW THEME: SOSED LOGO
========================================================= */

:root[data-theme="logo-graphite"]{
  --bg:#fbf7f4;
  --surface:#fffdfb;
  --surface-2:#f4ebe6;

  --ink:#27282d;
  --muted:#756d69;
  --line:#eadbd3;

  --primary:#a76050;
  --primary-deep:#7e473b;
  --primary-soft:#f4dfd8;

  --coral:#d47c6c;
  --coral-soft:#f9e5df;

  --blue:#687888;
  --blue-soft:#e9eef2;

  --yellow:#d2a05f;
  --yellow-soft:#f7eddc;

  --purple:#735d69;
  --purple-soft:#eee7eb;

  --pink:#c78382;

  --accent:#d2a05f;
  --accent-soft:#f7eddc;

  --info:#687f91;
  --success:#657d65;
  --warning:#b27b3c;
  --danger:#a95651;
}


.theme-preview.classic-steel i:nth-child(1){
  background:#263746;
}

.theme-preview.classic-steel i:nth-child(2){
  background:#68727e;
}

.theme-preview.classic-steel i:nth-child(3){
  background:#426f91;
}

.theme-preview.classic-steel i:nth-child(4){
  background:#f3f5f7;
}


.theme-preview.logo-graphite i:nth-child(1){
  background:#27282d;
}

.theme-preview.logo-graphite i:nth-child(2){
  background:#a76050;
}

.theme-preview.logo-graphite i:nth-child(3){
  background:#d2a05f;
}

.theme-preview.logo-graphite i:nth-child(4){
  background:#fbf7f4;
}


html[data-theme="classic-steel"] .primary-btn{
  background:
    linear-gradient(
      120deg,
      #33495d,
      #263746
    );

  box-shadow:
    0 10px 26px rgba(38,55,70,.16);
}


html[data-theme="logo-graphite"] .primary-btn{
  background:
    linear-gradient(
      120deg,
      #965344,
      #b96e5c
    );

  box-shadow:
    0 10px 26px rgba(145,79,65,.17);
}


html[data-theme="classic-steel"] .hero{
  background:
    linear-gradient(
      135deg,
      #ffffff 0%,
      #f4f6f8 55%,
      #e9eef2 100%
    );
}


html[data-theme="logo-graphite"] .hero{
  background:
    radial-gradient(
      circle at 88% 15%,
      rgba(210,160,95,.16) 0 62px,
      transparent 63px
    ),
    linear-gradient(
      135deg,
      #fffdfb 0%,
      #faf4f0 56%,
      #f1e4de 100%
    );
}



/* =========================================================
   COLOURED MAIN MENU ICONS
========================================================= */

.sidebar .nav-btn[data-route="home"] .nav-icon,
.bottom-nav button[data-route="home"] .mobile-nav-icon{
  color:#2675d8 !important;
  background:#e8f2ff !important;
}


.sidebar .nav-btn[data-route="my-requests"] .nav-icon,
.bottom-nav button[data-route="my-requests"] .mobile-nav-icon{
  color:#159681 !important;
  background:#e3f7f1 !important;
}


.sidebar .nav-btn[data-route="my-responses"] .nav-icon,
.bottom-nav button[data-route="my-responses"] .mobile-nav-icon{
  color:#d88620 !important;
  background:#fff1dc !important;
}


.sidebar .nav-btn[data-route="messages"] .nav-icon,
.bottom-nav button[data-route="messages"] .mobile-nav-icon{
  color:#765ecb !important;
  background:#efebff !important;
}


.sidebar .nav-btn[data-route="notifications"] .nav-icon,
.bottom-nav button[data-route="notifications"] .mobile-nav-icon{
  color:#d46668 !important;
  background:#ffeaea !important;
}


.sidebar .nav-btn[data-route="profile"] .nav-icon,
.bottom-nav button[data-route="profile"] .mobile-nav-icon{
  color:#3481a4 !important;
  background:#e6f4fa !important;
}


.sidebar .nav-icon,
.bottom-nav .mobile-nav-icon{
  transition:
    transform .16s ease,
    background .16s ease,
    color .16s ease !important;
}



/* =========================================================
   COMPACT MESSAGES
========================================================= */

.message-response-list{
  gap:8px !important;
  margin-top:14px !important;
}


.message-response-card{
  padding:11px 13px !important;

  border-radius:16px !important;

  box-shadow:
    0 4px 14px rgba(40,47,51,.035) !important;
}


.message-response-top{
  min-height:20px;
}


.message-response-top time{
  font-size:10px !important;
}


.message-direction{
  padding:3px 6px !important;

  font-size:8px !important;
  font-weight:750 !important;

  letter-spacing:.035em !important;
}


.message-response-person{
  margin-top:5px !important;

  font-size:13px !important;
  line-height:1.2 !important;
}


.message-response-request{
  margin-top:2px !important;

  font-size:11px !important;
}


.message-response-card p{
  margin:6px 0 7px !important;

  padding:0 !important;

  border-radius:0 !important;

  background:transparent !important;

  color:var(--ink);

  font-size:12px !important;
  line-height:1.35 !important;
}


.message-response-footer{
  padding-top:6px !important;

  border-top:
    1px solid
    color-mix(
      in srgb,
      var(--line) 72%,
      transparent
    ) !important;

  font-size:10px !important;
}


.active-chat-row{
  margin-bottom:9px !important;
  padding:12px 14px !important;

  border-radius:16px !important;
}


@media(max-width:520px){

  .message-response-top,
  .message-response-footer{
    flex-direction:row !important;
    align-items:center !important;
  }

}



/* =========================================================
   MY REQUESTS / MY RESPONSES PAGES
========================================================= */

.account-history-page{
  max-width:980px;
}


.account-history-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;

  gap:20px;

  margin-bottom:16px;
}


.account-history-head .page-title{
  margin-bottom:5px;
}


.account-history-total{
  min-width:38px;
  height:38px;

  display:grid;
  place-items:center;

  padding:0 10px;

  border-radius:13px;

  background:var(--primary-soft);
  color:var(--primary-deep);

  font-size:15px;
  font-weight:700;
}


.account-history-list{
  display:grid !important;
  gap:8px !important;

  margin-top:0 !important;
}


.account-history-list .history-row{
  padding:13px 15px;

  border-radius:16px;

  background:var(--surface);

  transition:
    transform .14s ease,
    border-color .14s ease,
    box-shadow .14s ease;
}


.account-history-list .history-row:hover{
  transform:translateY(-1px);

  border-color:
    color-mix(
      in srgb,
      var(--primary) 28%,
      var(--line)
    );

  box-shadow:
    0 7px 18px rgba(35,46,52,.055);
}



/* =========================================================
   NEED TYPE CHOICE
========================================================= */

.need-type-field{
  margin-top:3px;
}


.need-type-choice{
  display:grid;

  grid-template-columns:
    repeat(3,minmax(0,1fr));

  gap:8px;
}


.need-type-option{
  min-width:0;
  min-height:62px;

  display:grid;

  grid-template-columns:
    13px minmax(0,1fr);

  align-items:center;

  gap:9px;

  padding:10px 12px;

  border:1px solid var(--line);
  border-radius:15px;

  background:var(--surface);

  color:var(--ink);

  text-align:left;

  cursor:pointer;

  transition:
    border-color .15s ease,
    background .15s ease,
    transform .15s ease,
    box-shadow .15s ease;
}


.need-type-option:hover{
  transform:translateY(-1px);

  border-color:
    color-mix(
      in srgb,
      var(--primary) 32%,
      var(--line)
    );
}


.need-type-option.selected{
  border-color:
    color-mix(
      in srgb,
      var(--primary) 45%,
      var(--line)
    );

  background:
    color-mix(
      in srgb,
      var(--primary-soft) 62%,
      var(--surface)
    );

  box-shadow:
    0 0 0 2px
    color-mix(
      in srgb,
      var(--primary) 8%,
      transparent
    );
}


.need-type-option > span:last-child{
  min-width:0;

  display:grid;

  gap:2px;
}


.need-type-option b{
  font-size:12px;
  line-height:1.15;

  font-weight:650;
}


.need-type-option small{
  overflow:hidden;

  color:var(--muted);

  font-size:9px;
  line-height:1.2;

  text-overflow:ellipsis;
}


.need-type-dot{
  width:10px;
  height:10px;

  border-radius:50%;

  box-shadow:
    0 0 0 4px
    color-mix(
      in srgb,
      currentColor 12%,
      transparent
    );
}


.need-type-option.purchase{
  color:#168c80;
}

.need-type-option.purchase b,
.need-type-option.rental b,
.need-type-option.service b{
  color:var(--ink);
}


.need-type-option.purchase .need-type-dot{
  background:#25a99a;
}


.need-type-option.rental{
  color:#c58a28;
}


.need-type-option.rental .need-type-dot{
  background:#e0a53d;
}


.need-type-option.service{
  color:#725fb1;
}


.need-type-option.service .need-type-dot{
  background:#806cc3;
}


@media(max-width:620px){

  .need-type-choice{
    gap:6px;
  }

  .need-type-option{
    min-height:58px;

    grid-template-columns:
      9px minmax(0,1fr);

    gap:6px;

    padding:8px 7px;

    border-radius:13px;
  }

  .need-type-dot{
    width:8px;
    height:8px;

    box-shadow:
      0 0 0 3px
      color-mix(
        in srgb,
        currentColor 12%,
        transparent
      );
  }

  .need-type-option b{
    font-size:10px;
  }

  .need-type-option small{
    display:none;
  }

  .account-history-head{
    gap:10px;
  }

}



/* MOBILE_NAV_V2_FIVE_ITEMS */


/* =========================================================
   DESKTOP
========================================================= */

.mobile-top-notifications{
  display:none;
}

.mobile-top-actions{
  display:contents;
}



/* =========================================================
   MOBILE
========================================================= */

@media(max-width:900px){

  /* -------------------------------------------------------
     ВЕРХНЯЯ ПАНЕЛЬ
  ------------------------------------------------------- */

  .topbar{
    display:flex !important;
    align-items:center !important;

    gap:8px !important;
  }


  .mobile-top-logo{
    flex:0 0 auto;
    min-width:0;
  }


  .mobile-top-actions{
    display:flex !important;
    align-items:center;
    justify-content:flex-end;

    gap:8px;

    margin-left:auto;
  }


  /* Колокольчик */

  .mobile-top-notifications{
    width:44px;
    height:44px;

    flex:0 0 44px;

    display:grid;
    place-items:center;

    padding:0;

    border:
      1px solid
      color-mix(
        in srgb,
        #d46668 25%,
        var(--line)
      );

    border-radius:50%;

    background:
      color-mix(
        in srgb,
        #ffeaea 72%,
        var(--surface)
      );

    color:#d46668;

    cursor:pointer;

    box-shadow:
      0 4px 13px rgba(40,48,57,.045);

    transition:
      transform .15s ease,
      border-color .15s ease,
      box-shadow .15s ease;
  }


  .mobile-top-notifications .menu-icon-svg{
    width:20px;
    height:20px;

    stroke-width:1.7;
  }


  .mobile-top-notifications:active{
    transform:scale(.96);
  }


  .mobile-top-notifications.active{
    border-color:#d46668;

    box-shadow:
      0 0 0 3px
      color-mix(
        in srgb,
        #d46668 11%,
        transparent
      );
  }


  /* Кнопка района */

  .mobile-top-actions .location-button{
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    min-height:44px !important;

    flex:0 0 44px !important;

    display:grid !important;
    place-items:center !important;

    padding:0 !important;

    border-radius:50% !important;
  }


  .mobile-top-actions .location-button span{
    display:none !important;
  }



  /* -------------------------------------------------------
     НИЖНЕЕ МЕНЮ — 5 РАВНЫХ ПУНКТОВ
  ------------------------------------------------------- */

  .bottom-nav{
    display:grid !important;

    grid-template-columns:
      repeat(5,minmax(0,1fr)) !important;

    align-items:stretch !important;

    gap:3px !important;

    padding:
      7px
      6px
      calc(7px + env(safe-area-inset-bottom))
      !important;
  }


  .bottom-nav > button{
    position:relative !important;

    min-width:0 !important;
    min-height:64px !important;

    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;

    gap:5px !important;

    margin:0 !important;
    padding:6px 2px !important;

    border:0 !important;
    border-radius:16px !important;

    background:transparent !important;

    color:var(--muted) !important;

    box-shadow:none !important;
  }


  /* Активный раздел */

  .bottom-nav > button.active{
    background:
      color-mix(
        in srgb,
        var(--primary-soft) 68%,
        var(--surface)
      ) !important;

    color:var(--primary-deep) !important;
  }



  /* -------------------------------------------------------
     ИКОНКИ
  ------------------------------------------------------- */

  .bottom-nav .mobile-nav-icon{
    width:31px !important;
    height:31px !important;

    flex:0 0 31px !important;

    display:grid !important;
    place-items:center !important;

    border-radius:10px !important;

    transition:
      transform .15s ease,
      box-shadow .15s ease;
  }


  .bottom-nav .mobile-nav-icon .menu-icon-svg{
    width:19px !important;
    height:19px !important;

    stroke-width:1.7 !important;
  }


  .bottom-nav > button.active .mobile-nav-icon{
    transform:translateY(-1px);

    box-shadow:
      0 4px 11px rgba(40,55,70,.08);
  }



  /* -------------------------------------------------------
     ПОДПИСИ
  ------------------------------------------------------- */

  .bottom-nav > button small{
    display:block !important;

    width:100%;

    overflow:hidden;

    color:inherit !important;

    font-size:10px !important;
    line-height:1.05 !important;

    font-weight:500 !important;

    letter-spacing:0 !important;

    text-align:center !important;

    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }


  .bottom-nav > button.active small{
    font-weight:650 !important;
  }



  /* -------------------------------------------------------
     СЧЁТЧИКИ МОИ ЗАПРОСЫ / МОИ ОТКЛИКИ
  ------------------------------------------------------- */

  .bottom-nav .mobile-nav-count{
    position:absolute !important;

    top:3px !important;
    left:50% !important;

    margin-left:10px !important;

    min-width:19px !important;
    height:19px !important;

    display:grid !important;
    place-items:center !important;

    padding:0 5px !important;

    border:2px solid var(--surface) !important;
    border-radius:999px !important;

    background:#f39a31 !important;
    color:white !important;

    font-size:9px !important;
    line-height:1 !important;

    font-style:normal !important;
    font-weight:750 !important;

    box-shadow:
      0 3px 8px rgba(73,54,34,.12) !important;
  }

}



/* =========================================================
   SMALL IPHONES
========================================================= */

@media(max-width:390px){

  .bottom-nav{
    gap:1px !important;

    padding-left:3px !important;
    padding-right:3px !important;
  }


  .bottom-nav > button{
    min-height:61px !important;

    padding-left:1px !important;
    padding-right:1px !important;
  }


  .bottom-nav > button small{
    font-size:9px !important;
  }


  .bottom-nav .mobile-nav-icon{
    width:29px !important;
    height:29px !important;

    flex-basis:29px !important;
  }


  .mobile-top-notifications,
  .mobile-top-actions .location-button{
    width:41px !important;
    height:41px !important;
    min-width:41px !important;

    flex-basis:41px !important;
  }

}



/* MOBILE_NEARBY_CARDS_V1 */


/*
   Только мобильная лента "Рядом сейчас".
   Карточки на ПК и на отдельной странице карты не меняем.
*/

@media(max-width:620px){

  /* =====================================================
     ЛЕНТА
  ===================================================== */

  .home-feed-section .dense-nearby-feed{
    display:grid !important;

    gap:8px !important;

    margin-top:0 !important;
  }



  /* =====================================================
     КАРТОЧКА
  ===================================================== */

  .home-feed-section
  .dense-nearby-feed
  .request-card{

    position:relative !important;

    min-height:0 !important;

    padding:10px 11px !important;

    border-radius:17px !important;

    overflow:hidden !important;

    box-shadow:
      0 4px 14px rgba(30,45,55,.04) !important;

    transition:
      transform .14s ease,
      border-color .14s ease,
      box-shadow .14s ease !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .request-card:active{

    transform:scale(.995);

    border-color:
      color-mix(
        in srgb,
        var(--primary) 28%,
        var(--line)
      ) !important;
  }



  /* =====================================================
     ОСНОВНАЯ СЕТКА:
     КАРТИНКА СЛЕВА + ВСЁ ОСТАЛЬНОЕ СПРАВА
  ===================================================== */

  .home-feed-section
  .dense-nearby-feed
  .request-card-head{

    width:100% !important;

    display:grid !important;

    grid-template-columns:
      62px
      minmax(0,1fr) !important;

    align-items:start !important;

    gap:10px !important;

    margin:0 !important;
  }



  /* =====================================================
     КАРТИНКА
  ===================================================== */

  .home-feed-section
  .dense-nearby-feed
  .request-thumb{

    width:62px !important;
    height:62px !important;

    min-width:62px !important;
    min-height:62px !important;

    margin:0 !important;
    padding:3px !important;

    border-radius:14px !important;

    overflow:hidden !important;

    align-self:start !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .request-thumb img,
  .home-feed-section
  .dense-nearby-feed
  .request-thumb .request-asset{

    display:block !important;

    width:100% !important;
    height:100% !important;

    max-width:100% !important;
    max-height:100% !important;

    object-fit:contain !important;

    transform:none !important;
  }



  /* =====================================================
     ПРАВАЯ ЧАСТЬ
  ===================================================== */

  .home-feed-section
  .dense-nearby-feed
  .request-main{

    min-width:0 !important;

    display:block !important;

    padding:0 !important;
    margin:0 !important;
  }



  /* =====================================================
     БЕЙДЖИ
  ===================================================== */

  .home-feed-section
  .dense-nearby-feed
  .request-pill-row{

    display:flex !important;

    align-items:center !important;

    flex-wrap:wrap !important;

    gap:4px !important;

    margin:0 0 4px !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .type-badge,

  .home-feed-section
  .dense-nearby-feed
  .demo-badge,

  .home-feed-section
  .dense-nearby-feed
  .status-badge,

  .home-feed-section
  .dense-nearby-feed
  .my-response-badge{

    min-height:0 !important;

    padding:3px 6px !important;

    border-radius:999px !important;

    font-size:8px !important;
    line-height:1.05 !important;

    font-weight:750 !important;

    letter-spacing:.035em !important;

    white-space:nowrap !important;
  }



  /* =====================================================
     ЗАГОЛОВОК
  ===================================================== */

  .home-feed-section
  .dense-nearby-feed
  .request-main h3{

    margin:0 0 4px !important;

    padding:0 !important;

    color:var(--ink) !important;

    font-size:15px !important;
    line-height:1.14 !important;

    font-weight:700 !important;

    letter-spacing:-.015em !important;
  }



  /* =====================================================
     РАССТОЯНИЕ / ВРЕМЯ / ЦЕНА / АВТОР
  ===================================================== */

  .home-feed-section
  .dense-nearby-feed
  .request-submeta{

    display:flex !important;

    align-items:center !important;

    flex-wrap:wrap !important;

    gap:2px 7px !important;

    margin:0 !important;

    color:var(--muted) !important;

    font-size:9px !important;
    line-height:1.25 !important;

    font-weight:450 !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .request-submeta > span{

    display:inline-flex !important;

    align-items:center !important;

    min-width:0 !important;

    gap:2px !important;

    white-space:nowrap !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .inline-author-name{

    max-width:115px !important;

    overflow:hidden !important;

    font-size:inherit !important;

    font-weight:650 !important;

    text-overflow:ellipsis !important;

    white-space:nowrap !important;
  }



  /* =====================================================
     ОПИСАНИЕ — НЕ БОЛЕЕ ОДНОЙ СТРОКИ
  ===================================================== */

  .home-feed-section
  .dense-nearby-feed
  .request-desc{

    display:-webkit-box !important;

    overflow:hidden !important;

    margin:4px 0 0 !important;

    padding:0 !important;

    color:var(--muted) !important;

    font-size:9px !important;
    line-height:1.25 !important;

    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:1 !important;
  }



  /* =====================================================
     СТАРАЯ НИЖНЯЯ СТРОКА СТАТУСА
     В ЛЕНТЕ ОНА ДУБЛИРУЕТ БЕЙДЖ "АКТИВНО"
  ===================================================== */

  .home-feed-section
  .dense-nearby-feed
  .card-status-line{

    display:none !important;
  }



  /* =====================================================
     ЕСЛИ ВНУТРИ КАРТОЧКИ ОСТАЛСЯ БЛОК КНОПОК —
     В ГЛАВНОЙ ЛЕНТЕ ОН НЕ НУЖЕН:
     ВСЯ КАРТОЧКА УЖЕ КЛИКАБЕЛЬНАЯ.
  ===================================================== */

  .home-feed-section
  .dense-nearby-feed
  .card-actions{

    display:none !important;
  }

}



/* =========================================================
   СОВСЕМ УЗКИЕ ТЕЛЕФОНЫ
========================================================= */

@media(max-width:390px){

  .home-feed-section
  .dense-nearby-feed
  .request-card{

    padding:9px 10px !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .request-card-head{

    grid-template-columns:
      57px
      minmax(0,1fr) !important;

    gap:9px !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .request-thumb{

    width:57px !important;
    height:57px !important;

    min-width:57px !important;
    min-height:57px !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .request-main h3{

    font-size:14px !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .request-submeta{

    font-size:8.5px !important;
  }

}



/* DESKTOP_NEARBY_CARDS_V1 */

@media(min-width:901px){

  /* =====================================================
     КАРТА + ЛЕНТА
  ===================================================== */

  .nearby-map-feed-page .nearby-workspace{
    grid-template-columns:
      minmax(0,1fr)
      minmax(390px,420px) !important;

    gap:16px !important;
  }


  /* =====================================================
     ПРАВАЯ ЛЕНТА
  ===================================================== */

  .nearby-map-feed-page .nearby-feed{
    border-radius:20px !important;

    overflow:hidden !important;
  }


  .nearby-map-feed-page .nearby-feed-head{
    padding:
      13px
      15px
      11px !important;

    margin:0 !important;
  }


  .nearby-map-feed-page .nearby-feed-head h2{
    margin:0 0 2px !important;

    font-size:17px !important;
    line-height:1.15 !important;
  }


  .nearby-map-feed-page .nearby-feed-head .sub{
    font-size:10px !important;
    line-height:1.2 !important;
  }


  /* =====================================================
     СПИСОК
  ===================================================== */

  .nearby-map-feed-page #nearbyFeedBody.grid{
    display:grid !important;

    grid-template-columns:1fr !important;

    gap:8px !important;

    padding:10px !important;
  }



  /* =====================================================
     КАРТОЧКА
  ===================================================== */

  .nearby-map-feed-page
  .nearby-compact-card{

    min-height:0 !important;

    padding:10px 11px !important;

    border-radius:16px !important;

    box-shadow:
      0 3px 12px rgba(35,45,50,.035) !important;

    transition:
      transform .14s ease,
      border-color .14s ease,
      box-shadow .14s ease !important;
  }


  .nearby-map-feed-page
  .nearby-compact-card:hover{

    transform:translateY(-1px) !important;

    border-color:
      color-mix(
        in srgb,
        var(--primary) 28%,
        var(--line)
      ) !important;

    box-shadow:
      0 7px 18px rgba(35,45,50,.065) !important;
  }



  /* =====================================================
     КАРТИНКА + СОДЕРЖИМОЕ
  ===================================================== */

  .nearby-map-feed-page
  .nearby-compact-card
  .request-card-head{

    display:grid !important;

    grid-template-columns:
      60px
      minmax(0,1fr) !important;

    align-items:start !important;

    gap:10px !important;

    margin:0 !important;
  }


  .nearby-map-feed-page
  .nearby-compact-card
  .request-thumb{

    width:60px !important;
    height:60px !important;

    min-width:60px !important;
    min-height:60px !important;

    margin:0 !important;
    padding:3px !important;

    border-radius:13px !important;

    overflow:hidden !important;
  }


  .nearby-map-feed-page
  .nearby-compact-card
  .request-thumb img,

  .nearby-map-feed-page
  .nearby-compact-card
  .request-thumb .request-asset{

    display:block !important;

    width:100% !important;
    height:100% !important;

    max-width:100% !important;
    max-height:100% !important;

    object-fit:contain !important;

    transform:none !important;
  }



  /* =====================================================
     БЕЙДЖИ
  ===================================================== */

  .nearby-map-feed-page
  .nearby-compact-card
  .request-pill-row{

    display:flex !important;

    flex-wrap:wrap !important;
    align-items:center !important;

    gap:4px !important;

    margin:0 0 3px !important;
  }


  .nearby-map-feed-page
  .nearby-compact-card
  .type-badge,

  .nearby-map-feed-page
  .nearby-compact-card
  .demo-badge,

  .nearby-map-feed-page
  .nearby-compact-card
  .my-response-badge,

  .nearby-map-feed-page
  .nearby-compact-card
  .status-badge{

    min-height:0 !important;

    padding:3px 6px !important;

    border-radius:999px !important;

    font-size:8px !important;
    line-height:1 !important;

    font-weight:750 !important;

    letter-spacing:.025em !important;

    white-space:nowrap !important;
  }



  /* =====================================================
     ЗАГОЛОВОК
  ===================================================== */

  .nearby-map-feed-page
  .nearby-compact-card
  .request-main h3{

    margin:0 0 4px !important;

    color:var(--ink) !important;

    font-size:14px !important;
    line-height:1.16 !important;

    font-weight:700 !important;

    letter-spacing:-.01em !important;
  }



  /* =====================================================
     РАССТОЯНИЕ / ВРЕМЯ / ЦЕНА / АВТОР
  ===================================================== */

  .nearby-map-feed-page
  .nearby-compact-card
  .request-submeta{

    display:flex !important;

    align-items:center !important;

    flex-wrap:wrap !important;

    gap:2px 6px !important;

    margin:0 !important;

    color:var(--muted) !important;

    font-size:9px !important;
    line-height:1.25 !important;
  }


  .nearby-map-feed-page
  .nearby-compact-card
  .request-submeta > span{

    display:inline-flex !important;

    align-items:center !important;

    gap:2px !important;

    white-space:nowrap !important;
  }


  .nearby-map-feed-page
  .nearby-compact-card
  .inline-author-name{

    max-width:125px !important;

    overflow:hidden !important;

    font-size:inherit !important;

    font-weight:650 !important;

    text-overflow:ellipsis !important;

    white-space:nowrap !important;
  }



  /* =====================================================
     ОПИСАНИЕ
  ===================================================== */

  .nearby-map-feed-page
  .nearby-compact-card
  .request-desc{

    display:-webkit-box !important;

    overflow:hidden !important;

    margin:4px 0 0 !important;

    padding:0 !important;

    color:var(--muted) !important;

    font-size:9px !important;
    line-height:1.25 !important;

    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:1 !important;
  }



  /* =====================================================
     КНОПКА ДЕЙСТВИЯ

     Оставляем, поскольку в этой ленте карточка ещё
     участвует в синхронизации с картой.
  ===================================================== */

  .nearby-map-feed-page
  .nearby-card-actions{

    display:flex !important;

    justify-content:flex-end !important;

    gap:5px !important;

    margin:5px 0 0 !important;

    padding:0 !important;
  }


  .nearby-map-feed-page
  .nearby-card-actions
  .secondary-btn,

  .nearby-map-feed-page
  .nearby-card-actions
  .ghost-btn,

  .nearby-map-feed-page
  .nearby-help-btn{

    width:auto !important;

    min-width:0 !important;
    min-height:28px !important;

    flex:0 0 auto !important;

    padding:5px 9px !important;

    border-radius:10px !important;

    font-size:9px !important;
    line-height:1 !important;

    font-weight:650 !important;
  }



  /* =====================================================
     ВЫДЕЛЕННАЯ КАРТОЧКА С КАРТЫ
  ===================================================== */

  .nearby-map-feed-page
  .nearby-compact-card.nearby-selected{

    border-color:
      color-mix(
        in srgb,
        var(--primary) 68%,
        var(--line)
      ) !important;

    box-shadow:
      0 0 0 2px
        color-mix(
          in srgb,
          var(--primary) 10%,
          transparent
        ),
      0 7px 20px
        rgba(35,45,50,.07) !important;
  }



  /* =====================================================
     УЖЕ ОТКЛИКНУЛИСЬ
  ===================================================== */

  .nearby-map-feed-page
  .nearby-compact-card.already-responded-card{

    border-color:
      color-mix(
        in srgb,
        var(--success) 28%,
        var(--line)
      ) !important;
  }

}





/* DESKTOP_NEARBY_BUTTONS_V2 */

@media(min-width:901px){

  .nearby-map-feed-page .nearby-card-actions{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;

    gap:6px !important;

    margin:6px 0 0 !important;
    padding:0 !important;
  }


  /*
     Одна и та же типографика для обеих кнопок.
     Не используем 9px и синтетический weight 650.
  */

  .nearby-map-feed-page
  .nearby-card-actions
  .nearby-help-btn{

    box-sizing:border-box !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:auto !important;

    height:32px !important;
    min-height:32px !important;
    max-height:32px !important;

    min-width:96px !important;

    margin:0 !important;
    padding:0 12px !important;

    border-radius:10px !important;

    font-family:
      Inter,
      ui-sans-serif,
      system-ui,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      sans-serif !important;

    font-size:11px !important;
    font-weight:600 !important;
    font-style:normal !important;

    line-height:1.2 !important;

    letter-spacing:0 !important;

    text-align:center !important;
    text-indent:0 !important;

    white-space:nowrap !important;

    font-synthesis:none !important;

    -webkit-font-smoothing:antialiased;
    text-rendering:geometricPrecision;
  }


  /*
     Только длина кнопки различается.
     Шрифт, высота и вертикальное положение одинаковые.
  */

  .nearby-map-feed-page
  .nearby-card-actions
  [data-action="edit-response"]{

    min-width:148px !important;

    padding-left:14px !important;
    padding-right:14px !important;
  }


  .nearby-map-feed-page
  .nearby-card-actions
  [data-action="help"]{

    min-width:96px !important;
  }

}



/* NEARBY_SCROLL_THEME_BUTTONS_V1 */

@media(min-width:901px){

  /* =====================================================
     ВОЗВРАЩАЕМ ПРОКРУТКУ ЛЕНТЫ

     В DESKTOP_NEARBY_CARDS_V1 было overflow:hidden,
     из-за чего правый список перестал прокручиваться.
  ===================================================== */

  .nearby-map-feed-page .nearby-workspace{
    min-height:0 !important;
  }


  .nearby-map-feed-page .nearby-feed{

    min-height:0 !important;

    overflow-x:hidden !important;
    overflow-y:auto !important;

    overscroll-behavior:contain;

    -webkit-overflow-scrolling:touch;

    scrollbar-gutter:stable;
  }


  /*
     Шапка ленты остаётся на месте при прокрутке карточек.
  */

  .nearby-map-feed-page .nearby-feed-head{

    position:sticky !important;
    top:0 !important;

    z-index:4 !important;

    background:
      color-mix(
        in srgb,
        var(--surface) 96%,
        transparent
      ) !important;

    backdrop-filter:blur(8px);

    border-bottom:
      1px solid
      color-mix(
        in srgb,
        var(--line) 82%,
        transparent
      );
  }



  /* =====================================================
     КНОПКИ МЕНЯЮТ ЦВЕТ ВМЕСТЕ С ТЕМОЙ
  ===================================================== */

  .nearby-map-feed-page
  .nearby-card-actions
  .nearby-help-btn{

    border:
      1px solid
      color-mix(
        in srgb,
        var(--primary) 24%,
        var(--line)
      ) !important;

    background:
      color-mix(
        in srgb,
        var(--primary-soft) 72%,
        var(--surface)
      ) !important;

    color:
      var(--primary-deep) !important;

    box-shadow:none !important;

    transition:
      background .15s ease,
      border-color .15s ease,
      color .15s ease,
      transform .15s ease !important;
  }


  .nearby-map-feed-page
  .nearby-card-actions
  .nearby-help-btn:hover{

    border-color:
      color-mix(
        in srgb,
        var(--primary) 55%,
        var(--line)
      ) !important;

    background:
      var(--primary) !important;

    color:#fff !important;

    transform:translateY(-1px);
  }


  .nearby-map-feed-page
  .nearby-card-actions
  .nearby-help-btn:active{

    transform:translateY(0);
  }



  /*
     "Редактировать отклик" можно слегка отличить,
     но он всё равно полностью следует текущей теме.
  */

  .nearby-map-feed-page
  .nearby-card-actions
  [data-action="edit-response"]{

    background:
      color-mix(
        in srgb,
        var(--primary-soft) 88%,
        var(--surface)
      ) !important;

    border-color:
      color-mix(
        in srgb,
        var(--primary) 32%,
        var(--line)
      ) !important;

    color:
      var(--primary-deep) !important;
  }


  .nearby-map-feed-page
  .nearby-card-actions
  [data-action="edit-response"]:hover{

    background:
      var(--primary) !important;

    border-color:
      var(--primary) !important;

    color:#fff !important;
  }

}



/* PUBLIC_PROFILE_V2 */


/* =========================================================
   ОБЩЕЕ ОКНО
========================================================= */

.public-profile-v2{
  width:min(640px,calc(100vw - 28px)) !important;

  max-width:640px !important;
  max-height:min(88vh,760px) !important;

  padding:22px !important;

  overflow-x:hidden !important;
  overflow-y:auto !important;

  border-radius:26px !important;

  background:var(--surface) !important;

  box-shadow:
    0 24px 70px rgba(28,35,42,.16) !important;
}


.public-profile-v2 .modal-close{
  position:sticky !important;

  top:0 !important;

  float:right;

  z-index:10;

  margin:
    -8px
    -8px
    -38px
    0 !important;

  backdrop-filter:blur(8px);
}



/* =========================================================
   ШАПКА
========================================================= */

.public-profile-hero{
  display:grid;

  grid-template-columns:
    92px
    minmax(0,1fr);

  align-items:center;

  gap:18px;

  padding:
    4px
    46px
    18px
    2px;

  border-bottom:
    1px solid var(--line);
}


.public-profile-avatar-wrap{
  position:relative;

  width:92px;
  height:92px;
}


.public-profile-avatar{
  width:92px !important;
  height:92px !important;

  min-width:92px !important;

  border:
    3px solid var(--surface);

  border-radius:25px !important;

  background:var(--primary-soft);

  box-shadow:
    0 8px 22px rgba(32,43,48,.12);
}


.public-profile-avatar .avatar-emoji{
  font-size:39px !important;
}


.public-profile-verified-mark{
  position:absolute;

  right:-3px;
  bottom:-3px;

  width:28px;
  height:28px;

  display:grid;
  place-items:center;

  border:
    3px solid var(--surface);

  border-radius:50%;

  background:var(--success);

  color:#fff;

  font-size:13px;
  font-weight:800;

  box-shadow:
    0 4px 10px rgba(30,50,40,.12);
}


.public-profile-identity{
  min-width:0;
}


.public-profile-kicker{
  margin-bottom:5px;

  color:var(--muted);

  font-size:10px;
  line-height:1;

  font-weight:650;

  letter-spacing:.08em;

  text-transform:uppercase;
}


.public-profile-identity h2{
  margin:0 !important;

  color:var(--ink);

  font-size:27px !important;
  line-height:1.05 !important;

  font-weight:750 !important;

  letter-spacing:-.025em;
}


.public-profile-badges{
  display:flex;
  align-items:center;

  flex-wrap:wrap;

  gap:6px;

  margin-top:10px;
}


.public-profile-rating-pill,
.public-profile-trust-pill,
.public-profile-demo-pill{
  display:inline-flex;
  align-items:center;

  gap:5px;

  min-height:28px;

  padding:5px 9px;

  border-radius:999px;

  font-size:10px;
  line-height:1;
}


.public-profile-rating-pill{
  background:
    color-mix(
      in srgb,
      var(--accent-soft) 70%,
      var(--surface)
    );

  color:var(--ink);
}


.public-profile-rating-pill strong{
  color:var(--warning);

  font-size:11px;
}


.public-profile-rating-pill small{
  color:var(--muted);

  font-size:9px;
}


.public-profile-trust-pill{
  background:
    color-mix(
      in srgb,
      var(--success) 10%,
      var(--surface)
    );

  color:var(--success);

  font-weight:650;
}


.public-profile-demo-pill{
  background:var(--primary-soft);

  color:var(--primary-deep);

  font-weight:750;

  letter-spacing:.05em;
}


.public-profile-since-inline{
  margin-top:8px;

  color:var(--muted);

  font-size:11px;
  line-height:1.25;
}



/* =========================================================
   СТАТИСТИКА
========================================================= */

.public-stats-v2{
  display:grid !important;

  grid-template-columns:
    repeat(3,minmax(0,1fr)) !important;

  gap:8px !important;

  margin:
    14px
    0
    18px !important;
}


.public-stats-v2 > div{
  position:relative;

  min-height:75px;

  display:flex;
  flex-direction:column;

  align-items:flex-start;
  justify-content:center;

  padding:12px 14px !important;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--line) 82%,
      transparent
    );

  border-radius:17px !important;

  background:
    color-mix(
      in srgb,
      var(--bg) 72%,
      var(--surface)
    ) !important;

  text-align:left !important;
}


.public-stats-v2 b{
  display:block !important;

  margin-bottom:2px;

  color:var(--ink);

  font-size:21px !important;
  line-height:1 !important;

  font-weight:720 !important;
}


.public-stats-v2 small{
  color:var(--muted);

  font-size:10px;
  line-height:1.15;
}


.public-stat-icon{
  position:absolute;

  top:12px;
  right:12px;

  width:7px;
  height:7px;

  border-radius:50%;
}


.public-stat-icon.active{
  background:var(--success);
}


.public-stat-icon.requests{
  background:var(--primary);
}


.public-stat-icon.responses{
  background:var(--warning);
}



/* =========================================================
   ОТЗЫВЫ
========================================================= */

.public-profile-reviews-section{
  margin:0;
}


.public-reviews-head{
  display:flex !important;

  align-items:center !important;
  justify-content:space-between !important;

  gap:15px;

  margin:
    0
    0
    10px !important;
}


.public-reviews-head h3{
  display:flex;

  align-items:center;

  gap:7px;

  margin:0 !important;

  color:var(--ink);

  font-size:17px !important;
  line-height:1.15 !important;
}


.public-reviews-head h3 span{
  min-width:22px;
  height:22px;

  display:inline-grid;
  place-items:center;

  padding:0 6px;

  border-radius:999px;

  background:var(--primary-soft);

  color:var(--primary-deep);

  font-size:9px;
  font-weight:750;
}


.public-reviews-head p{
  margin:3px 0 0;

  color:var(--muted);

  font-size:10px;
  line-height:1.2;
}


.public-rating-big{
  display:flex !important;

  align-items:center;

  gap:4px;

  color:var(--ink) !important;

  font-size:21px !important;
  line-height:1 !important;

  font-weight:750;
}


.public-rating-big span{
  color:var(--warning);

  font-size:17px;
}


.public-reviews-list{
  display:grid;

  gap:7px;
}


.public-review{
  display:grid;

  grid-template-columns:
    36px
    minmax(0,1fr);

  gap:10px;

  padding:10px 11px;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--line) 80%,
      transparent
    );

  border-radius:15px;

  background:
    color-mix(
      in srgb,
      var(--bg) 52%,
      var(--surface)
    );
}


.public-review-avatar{
  width:36px;
  height:36px;

  display:grid;
  place-items:center;

  border-radius:11px;

  background:var(--primary-soft);

  color:var(--primary-deep);

  font-size:10px;
  font-weight:750;
}


.public-review-content{
  min-width:0;
}


.public-review-top{
  display:flex !important;

  align-items:flex-start !important;
  justify-content:space-between !important;

  gap:10px;
}


.public-review-author{
  min-width:0;

  display:grid;

  gap:2px;
}


.public-review-author b{
  overflow:hidden;

  color:var(--ink);

  font-size:11px;

  text-overflow:ellipsis;
  white-space:nowrap;
}


.public-review-author span{
  color:var(--muted);

  font-size:8px;
}


.review-stars-static{
  flex:0 0 auto;

  color:var(--warning) !important;

  font-size:10px !important;
  line-height:1;
}


.public-review p{
  margin:
    6px
    0
    0 !important;

  color:var(--muted) !important;

  font-size:10px !important;
  line-height:1.35 !important;
}


.public-reviews-empty{
  min-height:100px;

  display:flex;
  flex-direction:column;

  align-items:center;
  justify-content:center;

  gap:4px;

  padding:18px;

  border:
    1px dashed var(--line);

  border-radius:16px;

  color:var(--muted);

  text-align:center;
}


.public-reviews-empty-icon{
  margin-bottom:2px;

  color:var(--warning);

  font-size:23px;
}


.public-reviews-empty b{
  color:var(--ink);

  font-size:12px;
}


.public-reviews-empty span{
  font-size:9px;
}



/* =========================================================
   ПРИВАТНОСТЬ
========================================================= */

.public-profile-privacy{
  display:grid;

  grid-template-columns:
    31px
    minmax(0,1fr);

  align-items:center;

  gap:10px;

  margin-top:14px;

  padding:10px 11px;

  border-radius:14px;

  background:
    color-mix(
      in srgb,
      var(--primary-soft) 38%,
      var(--surface)
    );
}


.public-profile-privacy-icon{
  width:31px;
  height:31px;

  display:grid;
  place-items:center;

  border-radius:10px;

  background:var(--surface);

  color:var(--success);

  font-size:12px;
  font-weight:800;
}


.public-profile-privacy b{
  display:block;

  color:var(--ink);

  font-size:10px;
}


.public-profile-privacy p{
  margin:2px 0 0;

  color:var(--muted);

  font-size:9px;
  line-height:1.3;
}



/* =========================================================
   MOBILE
========================================================= */

@media(max-width:620px){

  .public-profile-v2{
    width:
      calc(100vw - 16px)
      !important;

    max-height:
      calc(100svh - 20px)
      !important;

    padding:
      17px
      14px
      15px
      !important;

    border-radius:22px !important;
  }


  .public-profile-hero{
    grid-template-columns:
      72px
      minmax(0,1fr);

    gap:12px;

    padding:
      1px
      35px
      14px
      0;
  }


  .public-profile-avatar-wrap{
    width:72px;
    height:72px;
  }


  .public-profile-avatar{
    width:72px !important;
    height:72px !important;

    min-width:72px !important;

    border-radius:20px !important;
  }


  .public-profile-avatar .avatar-emoji{
    font-size:31px !important;
  }


  .public-profile-verified-mark{
    width:24px;
    height:24px;

    border-width:2px;

    font-size:11px;
  }


  .public-profile-kicker{
    font-size:8px;
  }


  .public-profile-identity h2{
    font-size:21px !important;
  }


  .public-profile-badges{
    gap:4px;

    margin-top:7px;
  }


  .public-profile-rating-pill,
  .public-profile-trust-pill,
  .public-profile-demo-pill{
    min-height:24px;

    padding:4px 7px;

    font-size:8px;
  }


  .public-profile-rating-pill small{
    display:none;
  }


  .public-profile-since-inline{
    margin-top:6px;

    font-size:9px;
  }


  .public-stats-v2{
    gap:6px !important;

    margin:
      10px
      0
      14px
      !important;
  }


  .public-stats-v2 > div{
    min-height:61px;

    padding:
      9px
      10px
      !important;

    border-radius:14px !important;
  }


  .public-stats-v2 b{
    font-size:18px !important;
  }


  .public-stats-v2 small{
    font-size:8px;
  }


  .public-stat-icon{
    top:9px;
    right:9px;

    width:6px;
    height:6px;
  }


  .public-reviews-head h3{
    font-size:15px !important;
  }


  .public-reviews-head p{
    display:none;
  }


  .public-rating-big{
    font-size:18px !important;
  }


  .public-review{
    grid-template-columns:
      32px
      minmax(0,1fr);

    gap:8px;

    padding:9px;

    border-radius:13px;
  }


  .public-review-avatar{
    width:32px;
    height:32px;

    border-radius:10px;

    font-size:9px;
  }


  .public-review p{
    font-size:9px !important;
  }


  .public-profile-privacy{
    margin-top:10px;

    padding:9px;
  }

}



/* WITHDRAW_RESPONSE_V1 */

.response-withdraw-btn{
  min-height:40px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:9px 14px;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--danger,#c75050) 42%,
      var(--line)
    );

  border-radius:12px;

  background:
    color-mix(
      in srgb,
      var(--danger,#c75050) 7%,
      var(--surface)
    );

  color:
    var(--danger,#b94343);

  font:inherit;
  font-size:11px;
  line-height:1;

  font-weight:700;

  letter-spacing:.015em;

  cursor:pointer;

  transition:
    background .15s ease,
    border-color .15s ease,
    color .15s ease,
    transform .15s ease;
}


.response-withdraw-btn:hover{
  border-color:
    var(--danger,#c75050);

  background:
    var(--danger,#c75050);

  color:#fff;

  transform:translateY(-1px);
}


.response-withdraw-btn:active{
  transform:none;
}


@media(max-width:620px){

  .inline-response-actions
  .response-withdraw-btn{

    width:100%;

    flex:
      1
      0
      100%;

    margin-top:2px;
  }

}



/* OWN_PROFILE_V2 */


/* =========================================================
   PAGE
========================================================= */

.own-profile-v2{
  width:100%;
  max-width:1120px;

  margin:
    0
    auto;

  padding-bottom:28px;
}


.own-profile-v2 .section{
  margin-top:18px;
}


.own-profile-v2 .section-head{
  margin-bottom:8px;
}


.own-profile-v2 .section-head h2{
  margin:0;

  color:var(--ink);

  font-size:16px;
  line-height:1.15;

  font-weight:720;

  letter-spacing:-.015em;
}


.own-profile-v2 .section-link{
  color:var(--muted);

  font-size:10px;
}



/* =========================================================
   HERO
========================================================= */

.own-profile-hero-card{
  position:relative;

  overflow:hidden;

  padding:20px !important;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--primary) 13%,
      var(--line)
    ) !important;

  border-radius:24px !important;

  background:
    linear-gradient(
      135deg,
      color-mix(
        in srgb,
        var(--primary-soft) 62%,
        var(--surface)
      ),
      var(--surface) 48%,
      color-mix(
        in srgb,
        var(--accent-soft) 28%,
        var(--surface)
      )
    ) !important;

  box-shadow:
    0 10px 34px rgba(25,35,43,.07);
}


.own-profile-hero-card:after{
  content:"";

  position:absolute;

  width:190px;
  height:190px;

  right:-85px;
  top:-100px;

  border-radius:50%;

  background:
    color-mix(
      in srgb,
      var(--primary) 8%,
      transparent
    );

  pointer-events:none;
}


.own-profile-head{
  position:relative;

  z-index:1;

  display:grid !important;

  grid-template-columns:
    86px
    minmax(0,1fr);

  align-items:center !important;

  gap:17px !important;
}


.own-profile-head
.profile-avatar-own{
  width:86px !important;
  height:86px !important;

  min-width:86px !important;

  border:
    3px solid var(--surface);

  border-radius:24px !important;

  background:var(--primary-soft);

  box-shadow:
    0 8px 22px rgba(25,35,43,.12);
}


.own-profile-head
.profile-avatar-own
.avatar-emoji{
  font-size:37px !important;
}


.own-profile-head
.avatar-edit-badge{
  width:25px;
  height:25px;

  display:grid;
  place-items:center;

  right:-3px;
  bottom:-3px;

  border:
    2px solid var(--surface);

  border-radius:50%;

  background:var(--primary);

  color:#fff;

  font-size:11px;

  box-shadow:
    0 3px 9px rgba(20,30,38,.13);
}


.own-profile-head h1{
  color:var(--ink);

  font-size:27px !important;
  line-height:1.05 !important;

  font-weight:760 !important;

  letter-spacing:-.028em;
}


.own-profile-head
> div
> div:nth-child(2){
  font-size:12px !important;
}


.own-profile-account-meta{
  display:flex;

  align-items:center;

  flex-wrap:wrap;

  gap:6px;

  margin-top:9px;
}


.own-profile-account-pill,
.own-profile-verified-pill{
  min-height:26px;

  display:inline-flex;
  align-items:center;

  padding:4px 8px;

  border-radius:999px;

  font-size:9px;
  line-height:1;

  font-weight:680;
}


.own-profile-account-pill{
  background:
    color-mix(
      in srgb,
      var(--success) 10%,
      var(--surface)
    );

  color:var(--success);
}


.own-profile-verified-pill{
  background:var(--primary-soft);

  color:var(--primary-deep);
}


.own-profile-member-since{
  color:var(--muted);

  font-size:9px;
}



/* =========================================================
   STATS
========================================================= */

.own-profile-v2
.profile-stat-actions{
  position:relative;

  z-index:1;

  display:grid !important;

  grid-template-columns:
    repeat(4,minmax(0,1fr)) !important;

  gap:8px !important;

  margin-top:17px !important;
}


.own-profile-v2
.profile-stat-button{
  position:relative;

  min-height:82px;

  display:flex !important;
  flex-direction:column;

  align-items:flex-start !important;
  justify-content:center !important;

  padding:
    13px
    14px
    11px
    !important;

  overflow:hidden;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--line) 80%,
      transparent
    ) !important;

  border-radius:16px !important;

  background:
    color-mix(
      in srgb,
      var(--surface) 84%,
      transparent
    ) !important;

  text-align:left !important;

  box-shadow:none !important;

  transition:
    transform .15s ease,
    border-color .15s ease,
    box-shadow .15s ease;
}


.own-profile-v2
.profile-stat-button:after{
  content:"";

  position:absolute;

  left:0;
  top:0;

  width:100%;
  height:3px;

  background:var(--primary);
}


.own-profile-v2
.profile-stat-button:nth-child(2):after{
  background:var(--warning);
}


.own-profile-v2
.profile-stat-button:nth-child(3):after{
  background:
    color-mix(
      in srgb,
      var(--primary) 62%,
      var(--success)
    );
}


.own-profile-v2
.profile-stat-button:nth-child(4):after{
  background:var(--success);
}


.own-profile-v2
.profile-stat-button:hover{
  transform:translateY(-1px);

  border-color:
    color-mix(
      in srgb,
      var(--primary) 30%,
      var(--line)
    ) !important;

  box-shadow:
    0 6px 15px rgba(25,35,43,.055)
    !important;
}


.own-profile-v2
.profile-stat-button strong{
  margin:0 0 4px;

  color:var(--ink);

  font-size:24px !important;
  line-height:1 !important;

  font-weight:740 !important;
}


.own-profile-v2
.profile-stat-button span{
  color:var(--ink);

  font-size:10px;

  font-weight:680;
}


.own-profile-v2
.profile-stat-button small{
  margin-top:4px;

  color:var(--muted);

  font-size:8px;
  line-height:1.1;
}



/* =========================================================
   HELP / AVAILABILITY
========================================================= */

.own-profile-help
.form-card{
  padding:
    6px
    15px
    10px
    !important;

  border-radius:19px !important;
}


.own-profile-help
.switch-row{
  min-height:64px;

  padding:
    10px
    0
    !important;
}


.own-profile-help
.switch-row b{
  font-size:12px;
}


.own-profile-help
.switch-row
div div{
  font-size:10px !important;
}


.own-profile-help
.field{
  margin-top:4px;
}


.own-profile-help
.field label{
  font-size:10px;
}


.own-profile-help
.quick-chips{
  gap:5px;
}


.own-profile-help
.quick-chips:empty:after{
  content:"Возможности пока не указаны";

  color:var(--muted);

  font-size:10px;
}


.own-profile-help
.list-row{
  padding:
    10px
    0;

  border-radius:0;

  font-size:10px;
}



/* =========================================================
   THEMES
========================================================= */

.own-profile-theme
.theme-grid{
  display:grid !important;

  grid-template-columns:
    repeat(3,minmax(0,1fr))
    !important;

  gap:8px !important;
}


.own-profile-theme
.theme-card{
  min-height:69px;

  padding:9px !important;

  border-radius:15px !important;
}


.own-profile-theme
.theme-preview{
  min-width:42px;

  transform:scale(.88);

  transform-origin:left center;
}


.own-profile-theme
.theme-copy b{
  font-size:10px;
}


.own-profile-theme
.theme-copy small{
  margin-top:2px;

  font-size:8px;
  line-height:1.15;
}


.own-profile-theme
.theme-check{
  font-size:11px;
}



/* =========================================================
   SECURITY
========================================================= */

.own-profile-security
.form-card{
  display:grid !important;

  grid-template-columns:
    repeat(2,minmax(0,1fr));

  gap:8px;

  padding:14px !important;

  border-radius:19px !important;
}


.own-profile-security
.list-row{
  grid-column:
    1 / -1;

  min-height:62px;

  margin-bottom:2px;

  padding:
    10px
    12px !important;

  border:
    1px solid var(--line);

  border-radius:14px;

  background:
    color-mix(
      in srgb,
      var(--bg) 65%,
      var(--surface)
    );
}


.own-profile-security
.list-row b{
  color:var(--ink);

  font-size:11px;
}


.own-profile-security
.list-row .sub{
  margin-top:3px;

  max-width:560px;

  font-size:9px;
  line-height:1.25;
}


.own-profile-security
.list-row > span{
  color:var(--success);

  font-size:9px;

  font-weight:700;
}


.own-profile-security
.secondary-btn,
.own-profile-security
.ghost-btn{
  width:auto !important;

  min-height:39px;

  margin:0 !important;

  padding:
    9px
    11px !important;

  border-radius:12px !important;

  font-size:9px !important;

  line-height:1 !important;
}


.own-profile-security
[data-action="profile-sessions-open"]{
  grid-column:
    1 / -1;

  background:
    color-mix(
      in srgb,
      var(--primary-soft) 55%,
      var(--surface)
    ) !important;

  border-color:
    color-mix(
      in srgb,
      var(--primary) 22%,
      var(--line)
    ) !important;

  color:var(--primary-deep) !important;
}


.own-profile-security
[data-action="profile-change-email"],
.own-profile-security
[data-action="profile-change-password"]{
  background:var(--surface) !important;
}


.own-profile-security
[data-action="auth-logout"]{
  grid-column:
    1 / -1;

  margin-top:2px !important;

  color:
    var(--danger,#b94a4a) !important;

  border-color:
    color-mix(
      in srgb,
      var(--danger,#b94a4a) 24%,
      var(--line)
    ) !important;

  background:
    color-mix(
      in srgb,
      var(--danger,#b94a4a) 4%,
      var(--surface)
    ) !important;
}



/* =========================================================
   LOCAL SETTINGS
========================================================= */

.own-profile-local{
  margin-top:12px !important;
}


.own-profile-local
.list{
  border:
    1px solid
    color-mix(
      in srgb,
      var(--line) 74%,
      transparent
    );

  border-radius:15px;

  overflow:hidden;
}


.own-profile-local
.list-row{
  min-height:51px;

  padding:
    10px
    13px;

  background:
    color-mix(
      in srgb,
      var(--bg) 38%,
      var(--surface)
    );

  cursor:pointer;
}


.own-profile-local
.list-row b{
  font-size:10px;
}


.own-profile-local
.list-row .sub{
  font-size:8px;
}



/* =========================================================
   WIDE DESKTOP
========================================================= */

@media(min-width:1200px){

  .own-profile-theme
  .theme-grid{
    grid-template-columns:
      repeat(4,minmax(0,1fr))
      !important;
  }

}



/* =========================================================
   TABLET
========================================================= */

@media(max-width:900px){

  .own-profile-v2{
    max-width:760px;
  }


  .own-profile-theme
  .theme-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr))
      !important;
  }

}



/* =========================================================
   MOBILE
========================================================= */

@media(max-width:620px){

  .own-profile-v2{
    width:100%;

    padding:
      0
      0
      90px;
  }


  .own-profile-v2
  .section{
    margin-top:13px;
  }


  .own-profile-v2
  .section-head{
    padding:
      0
      2px;

    margin-bottom:6px;
  }


  .own-profile-v2
  .section-head h2{
    font-size:14px;
  }


  .own-profile-hero-card{
    padding:
      15px
      13px
      13px
      !important;

    border-radius:20px !important;
  }


  .own-profile-head{
    grid-template-columns:
      69px
      minmax(0,1fr);

    gap:11px !important;
  }


  .own-profile-head
  .profile-avatar-own{
    width:69px !important;
    height:69px !important;

    min-width:69px !important;

    border-radius:19px !important;
  }


  .own-profile-head
  .profile-avatar-own
  .avatar-emoji{
    font-size:29px !important;
  }


  .own-profile-head h1{
    font-size:20px !important;
  }


  .own-profile-account-meta{
    gap:4px;

    margin-top:7px;
  }


  .own-profile-account-pill,
  .own-profile-verified-pill{
    min-height:22px;

    padding:
      3px
      6px;

    font-size:7px;
  }


  .own-profile-member-since{
    width:100%;

    margin-top:1px;

    font-size:8px;
  }


  .own-profile-v2
  .profile-stat-actions{
    grid-template-columns:
      repeat(2,minmax(0,1fr))
      !important;

    gap:6px !important;

    margin-top:12px !important;
  }


  .own-profile-v2
  .profile-stat-button{
    min-height:66px;

    padding:
      10px
      11px
      9px
      !important;

    border-radius:14px !important;
  }


  .own-profile-v2
  .profile-stat-button strong{
    font-size:20px !important;
  }


  .own-profile-v2
  .profile-stat-button span{
    font-size:9px;
  }


  .own-profile-v2
  .profile-stat-button small{
    font-size:7px;
  }


  .own-profile-help
  .form-card{
    padding:
      5px
      12px
      8px
      !important;

    border-radius:16px !important;
  }


  .own-profile-theme
  .theme-grid{
    grid-template-columns:
      repeat(2,minmax(0,1fr))
      !important;

    gap:6px !important;
  }


  .own-profile-theme
  .theme-card{
    min-height:61px;

    padding:
      7px
      !important;

    border-radius:13px !important;
  }


  .own-profile-theme
  .theme-preview{
    min-width:34px;

    transform:scale(.75);
  }


  .own-profile-theme
  .theme-copy b{
    font-size:9px;
  }


  .own-profile-theme
  .theme-copy small{
    font-size:7px;
  }


  .own-profile-security
  .form-card{
    grid-template-columns:
      1fr;

    gap:6px;

    padding:
      10px
      !important;

    border-radius:16px !important;
  }


  .own-profile-security
  .list-row,
  .own-profile-security
  [data-action="profile-sessions-open"],
  .own-profile-security
  [data-action="profile-change-email"],
  .own-profile-security
  [data-action="profile-change-password"],
  .own-profile-security
  [data-action="auth-logout"]{
    grid-column:
      1 / -1;
  }


  .own-profile-security
  .list-row{
    min-height:56px;

    padding:
      9px
      10px
      !important;

    border-radius:12px;
  }


  .own-profile-security
  .secondary-btn,
  .own-profile-security
  .ghost-btn{
    min-height:37px;

    font-size:8px !important;
  }


  .own-profile-local{
    margin-top:9px !important;
  }

}



/* MY_ACCOUNT_PAGES_V2 */


/* =========================================================
   PAGE
========================================================= */

.my-account-v2{
  width:100%;
  max-width:1080px;

  margin:
    0
    auto;

  padding-bottom:30px;
}


.account-v2-hero{
  display:flex;

  align-items:center;
  justify-content:space-between;

  gap:20px;

  margin-top:12px;
  margin-bottom:12px;

  padding:
    18px
    20px;

  overflow:hidden;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--primary) 13%,
      var(--line)
    );

  border-radius:22px;

  background:
    linear-gradient(
      135deg,
      color-mix(
        in srgb,
        var(--primary-soft) 58%,
        var(--surface)
      ),
      var(--surface) 60%
    );
}


.account-v2-hero
.page-title{
  margin:
    2px
    0
    4px !important;

  font-size:27px !important;

  letter-spacing:-.025em;
}


.account-v2-hero
.page-sub{
  max-width:600px;

  margin:0 !important;

  font-size:11px;
  line-height:1.4;
}


.account-v2-kicker{
  color:var(--primary-deep);

  font-size:9px;
  line-height:1;

  font-weight:720;

  letter-spacing:.09em;

  text-transform:uppercase;
}


.account-v2-hero-icon{
  width:54px;
  height:54px;

  flex:0 0 54px;

  display:grid;
  place-items:center;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--primary) 18%,
      var(--line)
    );

  border-radius:17px;

  background:
    color-mix(
      in srgb,
      var(--primary-soft) 72%,
      var(--surface)
    );

  color:var(--primary);
}


.account-v2-hero-icon
.menu-icon-svg{
  width:27px;
  height:27px;
}



/* =========================================================
   SUMMARY
========================================================= */

.account-v2-summary{
  display:grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap:7px;

  margin-bottom:12px;
}


.my-requests-v2
.account-v2-summary{
  grid-template-columns:
    repeat(3,minmax(0,1fr));
}


.account-v2-summary-card{
  position:relative;

  min-height:69px;

  display:flex;
  flex-direction:column;

  justify-content:center;

  padding:
    11px
    13px;

  overflow:hidden;

  border:
    1px solid var(--line);

  border-radius:15px;

  background:var(--surface);
}


.account-v2-summary-card:before{
  content:"";

  position:absolute;

  left:0;
  top:0;

  width:3px;
  height:100%;

  background:var(--primary);
}


.account-v2-summary-card.active:before,
.account-v2-summary-card.accepted:before{
  background:var(--success);
}


.account-v2-summary-card.offers:before,
.account-v2-summary-card.waiting:before{
  background:var(--warning);
}


.account-v2-summary-card.declined:before{
  background:
    var(--muted);
}


.account-v2-summary-card strong{
  color:var(--ink);

  font-size:21px;
  line-height:1;

  font-weight:740;
}


.account-v2-summary-card span{
  margin-top:4px;

  color:var(--muted);

  font-size:9px;
  line-height:1.15;
}



/* =========================================================
   LIST
========================================================= */

.account-v2-list{
  display:grid;

  grid-template-columns:
    1fr;

  gap:8px;
}



/* =========================================================
   CARD
========================================================= */

.account-v2-card{
  display:grid;

  grid-template-columns:
    minmax(0,1fr)
    175px;

  gap:
    10px
    18px;

  padding:
    13px
    14px
    10px;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--line) 88%,
      transparent
    );

  border-radius:17px;

  background:var(--surface);

  box-shadow:
    0 3px 13px rgba(25,35,42,.035);

  transition:
    border-color .14s ease,
    box-shadow .14s ease,
    transform .14s ease;
}


.account-v2-card:hover{
  transform:translateY(-1px);

  border-color:
    color-mix(
      in srgb,
      var(--primary) 25%,
      var(--line)
    );

  box-shadow:
    0 7px 20px rgba(25,35,42,.055);
}


.account-v2-main{
  min-width:0;
}


.account-v2-topline{
  display:flex;

  align-items:center;

  flex-wrap:wrap;

  gap:5px;

  margin-bottom:7px;
}


.account-v2-card
.type-badge{
  min-height:22px;

  padding:
    4px
    7px;

  font-size:8px !important;

  line-height:1;
}


.account-v2-status{
  display:inline-flex;

  align-items:center;

  gap:5px;

  min-height:22px;

  padding:
    4px
    8px;

  border-radius:999px;

  background:
    color-mix(
      in srgb,
      var(--bg) 72%,
      var(--surface)
    );

  color:var(--muted);

  font-size:8px;
  line-height:1;

  font-weight:700;
}


.account-v2-status i{
  width:6px;
  height:6px;

  flex:0 0 6px;

  border-radius:50%;

  background:currentColor;
}


.account-v2-status.active,
.account-v2-status.accepted{
  background:
    color-mix(
      in srgb,
      var(--success) 9%,
      var(--surface)
    );

  color:var(--success);
}


.account-v2-status.waiting{
  background:
    color-mix(
      in srgb,
      var(--warning) 11%,
      var(--surface)
    );

  color:
    color-mix(
      in srgb,
      var(--warning) 78%,
      var(--ink)
    );
}


.account-v2-status.declined,
.account-v2-status.cancelled,
.account-v2-status.expired{
  background:
    color-mix(
      in srgb,
      var(--muted) 9%,
      var(--surface)
    );

  color:var(--muted);
}


.account-v2-status.completed{
  background:var(--primary-soft);

  color:var(--primary-deep);
}


.account-v2-title{
  margin:
    0
    0
    6px;

  overflow-wrap:anywhere;

  color:var(--ink);

  font-size:15px;
  line-height:1.18;

  font-weight:720;

  letter-spacing:-.015em;
}


.account-v2-meta{
  display:flex;

  align-items:center;

  flex-wrap:wrap;

  gap:
    4px
    10px;

  color:var(--muted);

  font-size:9px;
  line-height:1.25;
}


.account-v2-meta span{
  position:relative;
}


.account-v2-meta
span + span:before{
  content:"·";

  position:absolute;

  left:-7px;

  color:
    color-mix(
      in srgb,
      var(--muted) 55%,
      transparent
    );
}


.account-v2-description{
  max-width:650px;

  display:-webkit-box;

  overflow:hidden;

  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;

  margin:
    7px
    0
    0;

  color:var(--muted);

  font-size:9px;
  line-height:1.3;
}



/* =========================================================
   SIDE
========================================================= */

.account-v2-side{
  min-width:0;

  display:flex;
  flex-direction:column;

  align-items:flex-end;
  justify-content:center;

  text-align:right;
}


.account-v2-number{
  display:flex;

  align-items:baseline;

  gap:5px;
}


.account-v2-number strong{
  color:var(--ink);

  font-size:22px;
  line-height:1;

  font-weight:750;
}


.account-v2-number span{
  color:var(--muted);

  font-size:8px;
}


.account-v2-price{
  display:grid;

  gap:3px;

  justify-items:end;
}


.account-v2-price span{
  color:var(--muted);

  font-size:8px;
}


.account-v2-price strong{
  max-width:175px;

  overflow:hidden;

  color:var(--ink);

  font-size:13px;
  line-height:1.2;

  text-overflow:ellipsis;
  white-space:nowrap;
}


.account-v2-status-hint{
  max-width:170px;

  margin-top:5px;

  color:var(--muted);

  font-size:8px;
  line-height:1.2;
}



/* =========================================================
   AUTHOR
========================================================= */

.account-v2-response-author{
  display:flex;

  align-items:center;

  flex-wrap:wrap;

  gap:5px;

  margin-bottom:5px;

  color:var(--muted);

  font-size:9px;
}


.account-v2-response-author
> span:first-child{
  font-size:8px;
}


.account-v2-author{
  color:var(--primary-deep) !important;

  font-size:9px !important;

  font-weight:680 !important;
}



/* =========================================================
   ACTIONS
========================================================= */

.account-v2-actions{
  grid-column:
    1 / -1;

  display:flex;

  align-items:center;
  justify-content:flex-end;

  flex-wrap:wrap;

  gap:5px;

  padding-top:8px;

  border-top:
    1px solid
    color-mix(
      in srgb,
      var(--line) 72%,
      transparent
    );
}


.account-v2-btn{
  min-height:29px;

  display:inline-flex;

  align-items:center;
  justify-content:center;

  padding:
    0
    10px;

  border:
    1px solid transparent;

  border-radius:9px;

  font-family:inherit;

  font-size:9px;
  line-height:1;

  font-weight:650;

  white-space:nowrap;

  cursor:pointer;

  transition:
    background .14s ease,
    border-color .14s ease,
    color .14s ease,
    transform .14s ease;
}


.account-v2-btn:hover{
  transform:translateY(-1px);
}


.account-v2-btn.primary{
  border-color:
    color-mix(
      in srgb,
      var(--primary) 76%,
      transparent
    );

  background:var(--primary);

  color:#fff;
}


.account-v2-btn.primary:hover{
  background:var(--primary-deep);

  border-color:var(--primary-deep);
}


.account-v2-btn.secondary{
  border-color:
    color-mix(
      in srgb,
      var(--primary) 20%,
      var(--line)
    );

  background:
    color-mix(
      in srgb,
      var(--primary-soft) 62%,
      var(--surface)
    );

  color:var(--primary-deep);
}


.account-v2-btn.secondary:hover{
  border-color:
    color-mix(
      in srgb,
      var(--primary) 42%,
      var(--line)
    );

  background:var(--primary-soft);
}


.account-v2-btn.danger{
  border-color:
    color-mix(
      in srgb,
      var(--danger,#c65353) 24%,
      var(--line)
    );

  background:
    color-mix(
      in srgb,
      var(--danger,#c65353) 5%,
      var(--surface)
    );

  color:
    var(--danger,#b94444);
}


.account-v2-btn.danger:hover{
  border-color:
    var(--danger,#c65353);

  background:
    var(--danger,#c65353);

  color:#fff;
}


.account-v2-closed-note{
  grid-column:
    1 / -1;

  padding-top:7px;

  border-top:
    1px solid
    color-mix(
      in srgb,
      var(--line) 70%,
      transparent
    );

  color:var(--muted);

  font-size:8px;
}



/* =========================================================
   EMPTY
========================================================= */

.account-v2-empty{
  min-height:180px;

  display:flex;
  flex-direction:column;

  align-items:center;
  justify-content:center;

  gap:5px;

  padding:25px;

  border:
    1px dashed var(--line);

  border-radius:18px;

  color:var(--muted);

  text-align:center;
}


.account-v2-empty-icon{
  width:43px;
  height:43px;

  display:grid;
  place-items:center;

  margin-bottom:3px;

  border-radius:14px;

  background:var(--primary-soft);

  color:var(--primary);
}


.account-v2-empty-icon
.menu-icon-svg{
  width:22px;
  height:22px;
}


.account-v2-empty b{
  color:var(--ink);

  font-size:12px;
}


.account-v2-empty span{
  font-size:9px;
}



/* =========================================================
   MOBILE
========================================================= */

@media(max-width:620px){

  .my-account-v2{
    width:100%;

    padding-bottom:90px;
  }


  .account-v2-hero{
    margin-top:8px;
    margin-bottom:8px;

    padding:
      13px
      14px;

    border-radius:18px;
  }


  .account-v2-hero
  .page-title{
    font-size:21px !important;
  }


  .account-v2-hero
  .page-sub{
    max-width:260px;

    font-size:9px;
    line-height:1.3;
  }


  .account-v2-kicker{
    font-size:7px;
  }


  .account-v2-hero-icon{
    width:43px;
    height:43px;

    flex-basis:43px;

    border-radius:14px;
  }


  .account-v2-hero-icon
  .menu-icon-svg{
    width:22px;
    height:22px;
  }


  .account-v2-summary,
  .my-requests-v2
  .account-v2-summary{
    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:5px;

    margin-bottom:8px;
  }


  .my-requests-v2
  .account-v2-summary
  .account-v2-summary-card:first-child{
    grid-column:
      1 / -1;
  }


  .account-v2-summary-card{
    min-height:56px;

    padding:
      9px
      10px;

    border-radius:13px;
  }


  .account-v2-summary-card strong{
    font-size:18px;
  }


  .account-v2-summary-card span{
    margin-top:3px;

    font-size:8px;
  }


  .account-v2-list{
    gap:6px;
  }


  .account-v2-card{
    grid-template-columns:
      minmax(0,1fr);

    gap:8px;

    padding:
      11px
      11px
      9px;

    border-radius:15px;
  }


  .account-v2-topline{
    margin-bottom:6px;
  }


  .account-v2-title{
    margin-bottom:5px;

    font-size:14px;
  }


  .account-v2-meta{
    gap:
      3px
      9px;

    font-size:8px;
  }


  .account-v2-description{
    margin-top:5px;

    font-size:8px;
  }


  .account-v2-side{
    flex-direction:row;

    align-items:center;
    justify-content:space-between;

    gap:10px;

    padding-top:7px;

    border-top:
      1px solid
      color-mix(
        in srgb,
        var(--line) 70%,
        transparent
      );

    text-align:left;
  }


  .account-v2-number strong{
    font-size:19px;
  }


  .account-v2-price{
    justify-items:start;
  }


  .account-v2-price strong{
    max-width:210px;

    font-size:12px;
  }


  .account-v2-status-hint{
    max-width:150px;

    margin:
      0
      0
      0
      auto;

    text-align:right;
  }


  .account-v2-actions{
    display:grid;

    grid-template-columns:
      repeat(2,minmax(0,1fr));

    gap:5px;

    padding-top:7px;
  }


  .account-v2-btn{
    width:100%;

    min-height:34px;

    padding:
      0
      8px;

    font-size:8px;
  }


  .account-response-card
  .account-v2-btn.danger{
    grid-column:
      1 / -1;
  }


  .account-v2-closed-note{
    font-size:8px;
  }


  .account-v2-response-author{
    font-size:8px;
  }


  .account-v2-author{
    font-size:8px !important;
  }

}



/* MOBILE_HOME_FEED_V3_PRO */

@media(max-width:620px){

  /* ==============================
     ЛЕНТА
  ============================== */

  .home-feed-section
  .dense-nearby-feed{
    display:grid !important;

    gap:7px !important;

    padding:0 !important;
  }


  /* ==============================
     КАРТОЧКА
  ============================== */

  .home-feed-section
  .dense-nearby-feed
  .request-card{
    min-height:0 !important;

    padding:
      9px
      10px
      8px
      !important;

    border:
      1px solid
      color-mix(
        in srgb,
        var(--line) 88%,
        transparent
      ) !important;

    border-radius:
      16px
      !important;

    background:
      var(--surface)
      !important;

    box-shadow:
      0 3px 12px
      rgba(25,35,42,.045)
      !important;

    overflow:hidden !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .request-card:hover{
    transform:none !important;
  }


  /* ==============================
     КАРТИНКА + КОНТЕНТ
  ============================== */

  .home-feed-section
  .dense-nearby-feed
  .request-card-head{
    display:grid !important;

    grid-template-columns:
      56px
      minmax(0,1fr)
      !important;

    align-items:start !important;

    gap:
      9px
      !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .request-thumb{
    width:56px !important;
    height:56px !important;

    min-width:56px !important;

    margin:0 !important;

    border-radius:
      13px
      !important;

    overflow:hidden !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .request-thumb img{
    width:100% !important;
    height:100% !important;

    object-fit:cover !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .request-main{
    min-width:0 !important;

    padding:0 !important;
  }


  /* ==============================
     БЕЙДЖИ
  ============================== */

  .home-feed-section
  .dense-nearby-feed
  .request-pill-row{
    display:flex !important;

    align-items:center !important;

    flex-wrap:wrap !important;

    gap:
      4px
      !important;

    margin:
      0
      0
      4px
      !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .type-badge,

  .home-feed-section
  .dense-nearby-feed
  .demo-badge,

  .home-feed-section
  .dense-nearby-feed
  .my-response-badge,

  .home-feed-section
  .dense-nearby-feed
  .status-badge{

    min-height:
      19px
      !important;

    padding:
      3px
      6px
      !important;

    border-radius:
      999px
      !important;

    font-size:
      7.5px
      !important;

    line-height:
      1
      !important;

    font-weight:
      700
      !important;

    letter-spacing:
      .04em
      !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .my-response-badge{
    background:
      color-mix(
        in srgb,
        var(--success) 11%,
        var(--surface)
      )
      !important;

    color:
      var(--success)
      !important;
  }


  /* ==============================
     НАЗВАНИЕ
  ============================== */

  .home-feed-section
  .dense-nearby-feed
  .request-main h3{
    display:-webkit-box !important;

    overflow:hidden !important;

    -webkit-line-clamp:
      2;

    -webkit-box-orient:
      vertical;

    margin:
      0
      0
      4px
      !important;

    color:
      var(--ink)
      !important;

    font-size:
      15px
      !important;

    line-height:
      1.14
      !important;

    font-weight:
      720
      !important;

    letter-spacing:
      -.015em
      !important;
  }


  /* ==============================
     МЕТАДАННЫЕ
  ============================== */

  .home-feed-section
  .dense-nearby-feed
  .request-submeta{
    display:flex !important;

    align-items:center !important;

    flex-wrap:wrap !important;

    gap:
      2px
      8px
      !important;

    margin:0 !important;

    color:
      var(--muted)
      !important;

    font-size:
      8.5px
      !important;

    line-height:
      1.25
      !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .request-submeta span{
    margin:0 !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .inline-author-name{
    font-size:
      8.5px
      !important;

    font-weight:
      650
      !important;
  }


  /* ==============================
     ОПИСАНИЕ
  ============================== */

  .home-feed-section
  .dense-nearby-feed
  .request-desc{
    display:-webkit-box !important;

    overflow:hidden !important;

    -webkit-line-clamp:
      1;

    -webkit-box-orient:
      vertical;

    margin:
      5px
      0
      0
      !important;

    color:
      var(--muted)
      !important;

    font-size:
      8.5px
      !important;

    line-height:
      1.25
      !important;
  }


  /* лишняя служебная строка */
  .home-feed-section
  .dense-nearby-feed
  .card-status-line{
    display:none !important;
  }


  /* ==============================
     КНОПКИ
  ============================== */

  .home-feed-section
  .dense-nearby-feed
  .card-actions{

    display:flex !important;

    align-items:center !important;
    justify-content:flex-end !important;

    gap:
      5px
      !important;

    margin:
      6px
      0
      0
      !important;

    padding:0 !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .card-actions button{

    width:auto !important;

    min-width:0 !important;

    min-height:
      29px
      !important;

    height:
      29px
      !important;

    margin:0 !important;

    padding:
      0
      10px
      !important;

    border:
      1px solid
      color-mix(
        in srgb,
        var(--primary) 20%,
        var(--line)
      )
      !important;

    border-radius:
      9px
      !important;

    background:
      color-mix(
        in srgb,
        var(--primary-soft) 62%,
        var(--surface)
      )
      !important;

    color:
      var(--primary-deep)
      !important;

    font-size:
      8.5px
      !important;

    line-height:
      1
      !important;

    font-weight:
      650
      !important;

    white-space:
      nowrap
      !important;

    box-shadow:none !important;
  }


  /* ==============================
     УЖЕ ОТКЛИКНУЛИСЬ
  ============================== */

  .home-feed-section
  .dense-nearby-feed
  .already-responded-card{

    border-color:
      color-mix(
        in srgb,
        var(--primary) 42%,
        var(--line)
      )
      !important;

    box-shadow:
      0 0 0 1px
      color-mix(
        in srgb,
        var(--primary) 8%,
        transparent
      ),
      0 3px 12px
      rgba(25,35,42,.045)
      !important;
  }

}


/* совсем узкие телефоны */

@media(max-width:390px){

  .home-feed-section
  .dense-nearby-feed
  .request-card-head{

    grid-template-columns:
      52px
      minmax(0,1fr)
      !important;

    gap:
      8px
      !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .request-thumb{

    width:52px !important;
    height:52px !important;

    min-width:52px !important;
  }


  .home-feed-section
  .dense-nearby-feed
  .request-main h3{

    font-size:
      14px
      !important;
  }

}



/* MOBILE_NEARBY_FEED_V4 */


@media(max-width:620px){


  /* =============================================
     САМ БЛОК ЛЕНТЫ ПОД КАРТОЙ
  ============================================= */

  .nearby-feed{
    border-radius:18px !important;
  }


  .nearby-feed-head{
    padding:
      13px
      14px
      8px
      !important;
  }


  .nearby-feed-head h2,
  .nearby-feed-head h3{
    margin:0 !important;

    font-size:18px !important;
    line-height:1.1 !important;
  }


  .nearby-feed-head p{
    margin:
      3px
      0
      0
      !important;

    font-size:10px !important;
    line-height:1.2 !important;
  }


  #nearbyFeedBody{
    display:grid !important;

    grid-template-columns:
      1fr
      !important;

    gap:7px !important;

    padding:
      8px
      10px
      12px
      !important;
  }



  /* =============================================
     КАРТОЧКА
  ============================================= */

  #nearbyFeedBody
  .nearby-compact-card{

    width:100% !important;

    min-height:0 !important;

    display:block !important;

    margin:0 !important;

    padding:
      9px
      10px
      8px
      !important;

    border-radius:
      15px
      !important;

    border:
      1px solid
      color-mix(
        in srgb,
        var(--line) 88%,
        transparent
      )
      !important;

    background:
      var(--surface)
      !important;

    box-shadow:
      0 3px 11px
      rgba(25,35,42,.04)
      !important;

    overflow:hidden !important;
  }


  #nearbyFeedBody
  .nearby-compact-card:hover{
    transform:none !important;
  }



  /* =============================================
     КАРТИНКА СЛЕВА + ТЕКСТ СПРАВА
  ============================================= */

  #nearbyFeedBody
  .nearby-compact-card
  .request-card-head{

    display:grid !important;

    grid-template-columns:
      54px
      minmax(0,1fr)
      !important;

    grid-template-rows:auto !important;

    align-items:start !important;

    gap:
      9px
      !important;

    min-height:0 !important;

    margin:0 !important;
  }


  #nearbyFeedBody
  .nearby-compact-card
  .request-thumb{

    grid-column:1 !important;
    grid-row:1 !important;

    width:
      54px
      !important;

    height:
      54px
      !important;

    min-width:
      54px
      !important;

    min-height:
      54px
      !important;

    max-width:
      54px
      !important;

    max-height:
      54px
      !important;

    margin:0 !important;

    padding:0 !important;

    border-radius:
      12px
      !important;

    overflow:hidden !important;
  }


  #nearbyFeedBody
  .nearby-compact-card
  .request-thumb img{

    width:100% !important;
    height:100% !important;

    max-width:100% !important;
    max-height:100% !important;

    object-fit:cover !important;

    display:block !important;
  }


  #nearbyFeedBody
  .nearby-compact-card
  .request-main{

    grid-column:2 !important;
    grid-row:1 !important;

    min-width:0 !important;

    width:auto !important;

    margin:0 !important;

    padding:0 !important;
  }



  /* =============================================
     БЕЙДЖИ — СРАЗУ СПРАВА ОТ КАРТИНКИ
  ============================================= */

  #nearbyFeedBody
  .nearby-compact-card
  .request-pill-row{

    display:flex !important;

    align-items:center !important;

    flex-wrap:wrap !important;

    gap:
      4px
      !important;

    margin:
      0
      0
      4px
      !important;

    padding:0 !important;
  }


  #nearbyFeedBody
  .nearby-compact-card
  .type-badge,

  #nearbyFeedBody
  .nearby-compact-card
  .demo-badge,

  #nearbyFeedBody
  .nearby-compact-card
  .my-response-badge,

  #nearbyFeedBody
  .nearby-compact-card
  .status-badge{

    min-height:
      18px
      !important;

    padding:
      3px
      6px
      !important;

    border-radius:
      999px
      !important;

    font-size:
      7px
      !important;

    line-height:
      1
      !important;

    font-weight:
      720
      !important;

    letter-spacing:
      .045em
      !important;

    white-space:
      nowrap
      !important;
  }



  /* =============================================
     НАЗВАНИЕ
  ============================================= */

  #nearbyFeedBody
  .nearby-compact-card
  .request-main h3{

    display:-webkit-box !important;

    overflow:hidden !important;

    -webkit-box-orient:
      vertical;

    -webkit-line-clamp:
      2;

    margin:
      0
      0
      4px
      !important;

    padding:0 !important;

    color:
      var(--ink)
      !important;

    font-size:
      14px
      !important;

    line-height:
      1.13
      !important;

    font-weight:
      720
      !important;

    letter-spacing:
      -.012em
      !important;
  }



  /* =============================================
     ПАРАМЕТРЫ
  ============================================= */

  #nearbyFeedBody
  .nearby-compact-card
  .request-submeta{

    display:flex !important;

    align-items:center !important;

    flex-wrap:wrap !important;

    gap:
      2px
      7px
      !important;

    margin:0 !important;

    padding:0 !important;

    color:
      var(--muted)
      !important;

    font-size:
      8px
      !important;

    line-height:
      1.2
      !important;
  }


  #nearbyFeedBody
  .nearby-compact-card
  .request-submeta span{

    margin:0 !important;
    padding:0 !important;
  }


  #nearbyFeedBody
  .nearby-compact-card
  .inline-author-name{

    font-size:
      8px
      !important;

    line-height:
      1.2
      !important;

    font-weight:
      650
      !important;
  }



  /* =============================================
     ОПИСАНИЕ — МАКСИМУМ ОДНА СТРОКА
  ============================================= */

  #nearbyFeedBody
  .nearby-compact-card
  .request-desc{

    display:-webkit-box !important;

    overflow:hidden !important;

    -webkit-box-orient:
      vertical;

    -webkit-line-clamp:
      1;

    margin:
      5px
      0
      0
      !important;

    padding:0 !important;

    color:
      var(--muted)
      !important;

    font-size:
      8px
      !important;

    line-height:
      1.25
      !important;
  }



  /* =============================================
     УБИРАЕМ ЛИШНЮЮ СТРОКУ СТАТУСА
  ============================================= */

  #nearbyFeedBody
  .nearby-compact-card
  .card-status-line{

    display:none !important;
  }



  /* =============================================
     КНОПКА В ОДНУ КОМПАКТНУЮ СТРОКУ
  ============================================= */

  #nearbyFeedBody
  .nearby-compact-card
  .nearby-card-actions,

  #nearbyFeedBody
  .nearby-compact-card
  .card-actions{

    display:flex !important;

    align-items:center !important;

    justify-content:flex-end !important;

    gap:
      5px
      !important;

    margin:
      6px
      0
      0
      63px
      !important;

    padding:0 !important;

    border:0 !important;
  }


  #nearbyFeedBody
  .nearby-compact-card
  .nearby-help-btn,

  #nearbyFeedBody
  .nearby-compact-card
  .card-actions button{

    width:auto !important;

    min-width:0 !important;

    max-width:100% !important;

    min-height:
      28px
      !important;

    height:
      28px
      !important;

    margin:0 !important;

    padding:
      0
      10px
      !important;

    border-radius:
      9px
      !important;

    border:
      1px solid
      color-mix(
        in srgb,
        var(--primary) 22%,
        var(--line)
      )
      !important;

    background:
      color-mix(
        in srgb,
        var(--primary-soft) 65%,
        var(--surface)
      )
      !important;

    color:
      var(--primary-deep)
      !important;

    font-family:
      Inter,
      ui-sans-serif,
      system-ui,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      sans-serif
      !important;

    font-size:
      8px
      !important;

    line-height:
      1
      !important;

    font-weight:
      650
      !important;

    white-space:
      nowrap
      !important;

    box-shadow:none !important;
  }



  /* =============================================
     МОЙ ОТКЛИК
  ============================================= */

  #nearbyFeedBody
  .nearby-compact-card
  .my-response-badge{

    background:
      color-mix(
        in srgb,
        var(--success) 10%,
        var(--surface)
      )
      !important;

    color:
      var(--success)
      !important;
  }


  #nearbyFeedBody
  .already-responded-card{

    border-color:
      color-mix(
        in srgb,
        var(--primary) 50%,
        var(--line)
      )
      !important;

    box-shadow:
      0 0 0 1px
      color-mix(
        in srgb,
        var(--primary) 7%,
        transparent
      ),
      0 3px 11px
      rgba(25,35,42,.04)
      !important;
  }

}



/* =============================================
   УЗКИЕ ТЕЛЕФОНЫ
============================================= */

@media(max-width:390px){

  #nearbyFeedBody
  .nearby-compact-card
  .request-card-head{

    grid-template-columns:
      50px
      minmax(0,1fr)
      !important;

    gap:
      8px
      !important;
  }


  #nearbyFeedBody
  .nearby-compact-card
  .request-thumb{

    width:
      50px
      !important;

    height:
      50px
      !important;

    min-width:
      50px
      !important;

    min-height:
      50px
      !important;

    max-width:
      50px
      !important;

    max-height:
      50px
      !important;
  }


  #nearbyFeedBody
  .nearby-compact-card
  .nearby-card-actions,

  #nearbyFeedBody
  .nearby-compact-card
  .card-actions{

    margin-left:
      58px
      !important;
  }

}



/* SOSED_WEB_PUSH_V1_UI */


.push-nearby-card{
  display:grid;

  grid-template-columns:
    42px
    minmax(0,1fr)
    auto;

  align-items:center;

  gap:11px;

  margin:
    0
    0
    12px;

  padding:
    11px
    12px;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--primary) 18%,
      var(--line)
    );

  border-radius:15px;

  background:
    color-mix(
      in srgb,
      var(--primary-soft) 38%,
      var(--surface)
    );
}


.push-nearby-icon{
  width:42px;
  height:42px;

  display:grid;
  place-items:center;

  border-radius:13px;

  background:var(--surface);

  color:var(--primary);
}


.push-nearby-icon
.menu-icon-svg{
  width:21px;
  height:21px;
}


.push-nearby-copy{
  min-width:0;

  display:grid;

  gap:3px;
}


.push-nearby-copy b{
  color:var(--ink);

  font-size:11px;
  line-height:1.2;
}


.push-nearby-copy span{
  color:var(--muted);

  font-size:9px;
  line-height:1.3;
}


.push-nearby-card.enabled{
  border-color:
    color-mix(
      in srgb,
      var(--success) 26%,
      var(--line)
    );

  background:
    color-mix(
      in srgb,
      var(--success) 5%,
      var(--surface)
    );
}


.push-nearby-card.enabled
.push-nearby-icon{
  color:var(--success);
}


.push-nearby-card.denied,
.push-nearby-card.unavailable{
  background:
    color-mix(
      in srgb,
      var(--bg) 65%,
      var(--surface)
    );

  border-color:var(--line);
}


.push-nearby-card.denied
.push-nearby-icon,
.push-nearby-card.unavailable
.push-nearby-icon{
  color:var(--muted);
}


.push-nearby-action{
  min-height:34px;

  padding:
    0
    11px;

  border:
    1px solid var(--primary);

  border-radius:10px;

  background:var(--primary);

  color:#fff;

  font:inherit;

  font-size:9px;
  line-height:1;

  font-weight:700;

  cursor:pointer;
}


.push-nearby-action.off{
  border-color:
    color-mix(
      in srgb,
      var(--line) 88%,
      var(--primary)
    );

  background:var(--surface);

  color:var(--muted);
}


@media(max-width:620px){

  .push-nearby-card{
    grid-template-columns:
      38px
      minmax(0,1fr);

    gap:
      8px
      9px;

    padding:
      10px;

    border-radius:14px;
  }


  .push-nearby-icon{
    width:38px;
    height:38px;

    border-radius:12px;
  }


  .push-nearby-action{
    grid-column:
      1 / -1;

    width:100%;

    min-height:38px;

    margin-top:1px;
  }

}



/* IOS_BOTTOM_NAV_FIXED_V1 */

@media(max-width:900px){

  /*
    На iOS Home Screen нижнее меню должно
    принадлежать viewport, а не прокручиваемой
    оболочке приложения.
  */

  .app-shell{
    transform:none !important;
    filter:none !important;
    perspective:none !important;
    contain:none !important;
    will-change:auto !important;
  }


  .bottom-nav{
    position:fixed !important;

    left:0 !important;
    right:0 !important;
    top:auto !important;
    bottom:0 !important;

    width:100% !important;
    max-width:none !important;

    margin:0 !important;

    z-index:10000 !important;

    transform:none !important;

    padding-bottom:
      max(
        6px,
        env(safe-area-inset-bottom)
      )
      !important;

    box-sizing:border-box !important;
  }


  /*
    Чтобы последний контент страницы
    не уходил под зафиксированное меню.
  */

  .main{
    padding-bottom:
      calc(
        76px +
        env(safe-area-inset-bottom)
      )
      !important;
  }

}


@supports(padding-bottom:env(safe-area-inset-bottom)){

  @media(max-width:900px){

    .bottom-nav{
      padding-bottom:
        calc(
          6px +
          env(safe-area-inset-bottom)
        )
        !important;
    }

  }

}



/* TWO_WAY_OFFER_CHAT_V1_UI */


.two-way-chat-section{
  margin:
    14px
    0
    18px;
}


.two-way-chat-section-head{
  display:flex;

  align-items:center;
  justify-content:space-between;

  gap:10px;

  margin-bottom:8px;
}


.two-way-chat-section-head b{
  font-size:13px;
  color:var(--ink);
}


.two-way-chat-section-head span{
  padding:
    4px
    8px;

  border-radius:999px;

  background:var(--coral-soft);
  color:#a34f3f;

  font-size:9px;
  font-weight:800;
}


.two-way-chat-thread-list{
  display:grid;
  gap:7px;
}


.two-way-chat-thread{
  width:100%;

  display:grid;

  grid-template-columns:
    42px
    minmax(0,1fr)
    auto;

  align-items:center;

  gap:10px;

  padding:
    10px
    11px;

  border:
    1px solid var(--line);

  border-radius:15px;

  background:var(--surface);

  color:var(--ink);

  text-align:left;

  font:inherit;

  cursor:pointer;
}


.two-way-chat-thread.has-unread{
  border-color:
    color-mix(
      in srgb,
      var(--primary) 30%,
      var(--line)
    );

  background:
    color-mix(
      in srgb,
      var(--primary-soft) 24%,
      var(--surface)
    );
}


.two-way-chat-avatar{
  width:42px;
  height:42px;

  overflow:hidden;

  border-radius:13px;

  background:var(--primary-soft);

  display:grid;
  place-items:center;

  font-weight:800;
}


.two-way-chat-avatar img{
  width:100%;
  height:100%;

  object-fit:cover;
}


.two-way-chat-main{
  min-width:0;
}


.two-way-chat-top{
  display:flex;

  align-items:center;
  justify-content:space-between;

  gap:9px;
}


.two-way-chat-top b{
  overflow:hidden;

  text-overflow:ellipsis;
  white-space:nowrap;

  font-size:12px;
}


.two-way-chat-top time{
  flex:none;

  color:var(--muted);

  font-size:9px;
}


.two-way-chat-request{
  margin-top:2px;

  color:var(--muted);

  font-size:9px;
  font-weight:700;

  overflow:hidden;

  text-overflow:ellipsis;
  white-space:nowrap;
}


.two-way-chat-main p{
  margin:
    4px
    0
    0;

  color:var(--ink);

  font-size:10px;
  line-height:1.3;

  overflow:hidden;

  text-overflow:ellipsis;
  white-space:nowrap;
}


.two-way-chat-main p span{
  color:var(--muted);
}


.two-way-chat-unread{
  min-width:21px;
  height:21px;

  padding:
    0
    6px;

  display:grid;
  place-items:center;

  border-radius:999px;

  background:var(--coral);
  color:#fff;

  font-size:9px;
  font-weight:900;
}


.response-chat-unread-label{
  padding:
    3px
    7px;

  border-radius:999px;

  background:var(--coral-soft);
  color:#a34f3f;

  font-size:8px;
  font-weight:800;
}


.history-response-actions{
  display:grid;

  justify-items:end;

  gap:2px;

  text-align:right;
  white-space:nowrap;
}


.response-chat-mini{
  margin-top:5px;

  min-height:28px;

  padding:
    0
    8px;

  border:
    1px solid var(--line);

  border-radius:9px;

  background:var(--surface);

  color:var(--primary-deep);

  font:inherit;

  font-size:8px;
  font-weight:800;

  cursor:pointer;
}


.response-chat-mini.has-unread{
  border-color:
    color-mix(
      in srgb,
      var(--coral) 40%,
      var(--line)
    );

  background:var(--coral-soft);

  color:#a34f3f;
}


.chat-notification.unread{
  border-color:
    color-mix(
      in srgb,
      var(--primary) 28%,
      var(--line)
    );
}


@media(max-width:620px){

  .two-way-chat-thread{
    grid-template-columns:
      38px
      minmax(0,1fr)
      auto;

    gap:8px;

    padding:
      9px
      10px;
  }


  .two-way-chat-avatar{
    width:38px;
    height:38px;

    border-radius:12px;
  }


  .history-response-actions{
    max-width:110px;
  }


  .response-chat-mini{
    max-width:110px;

    overflow:hidden;
    text-overflow:ellipsis;
  }

}



/* CHAT_QUICK_ACCESS_V1 */


.offer-quick-chat-preview{
  display:flex;

  align-items:center;

  gap:5px;

  margin-top:7px;

  min-width:0;

  color:var(--muted);

  font-size:9px;
  line-height:1.25;
}


.offer-quick-chat-preview span{
  flex:none;
}


.offer-quick-chat-preview b{
  min-width:0;

  overflow:hidden;

  text-overflow:ellipsis;
  white-space:nowrap;

  color:var(--ink);

  font-size:10px;
  font-weight:600;
}


.offer-quick-chat-btn{
  display:inline-flex;

  align-items:center;
  justify-content:center;

  min-height:30px;

  margin-top:8px;

  padding:
    0
    11px;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--primary) 35%,
      var(--line)
    );

  border-radius:9px;

  background:
    color-mix(
      in srgb,
      var(--primary-soft) 30%,
      var(--surface)
    );

  color:var(--primary-deep);

  font:inherit;

  font-size:9px;
  font-weight:800;

  cursor:pointer;
}


.offer-quick-chat-btn.has-unread{
  border-color:
    color-mix(
      in srgb,
      var(--coral) 45%,
      var(--line)
    );

  background:var(--coral-soft);

  color:#a34f3f;
}


.response-quick-row{
  cursor:default;
}


.response-quick-main{
  min-width:0;

  display:grid;

  gap:4px;
}


.response-quick-title{
  display:flex;

  align-items:center;

  gap:8px;

  flex-wrap:wrap;
}


.response-last-message{
  width:100%;

  display:flex;

  align-items:center;

  gap:8px;

  margin-top:6px;

  padding:
    7px
    9px;

  border:
    1px solid var(--line);

  border-radius:11px;

  background:
    color-mix(
      in srgb,
      var(--bg) 55%,
      var(--surface)
    );

  color:var(--ink);

  text-align:left;

  font:inherit;

  cursor:pointer;
}


.response-last-message.has-unread{
  border-color:
    color-mix(
      in srgb,
      var(--coral) 35%,
      var(--line)
    );

  background:
    color-mix(
      in srgb,
      var(--coral-soft) 45%,
      var(--surface)
    );
}


.response-last-message > span{
  flex:none;

  font-size:15px;
}


.response-last-message > div{
  min-width:0;

  display:grid;

  gap:1px;
}


.response-last-message small{
  color:var(--muted);

  font-size:8px;
  font-weight:700;
}


.response-last-message b{
  overflow:hidden;

  text-overflow:ellipsis;
  white-space:nowrap;

  font-size:10px;
  font-weight:600;
}


.response-edit-mini{
  margin-top:3px;

  padding:0;

  border:0;

  background:transparent;

  color:var(--muted);

  font:inherit;

  font-size:8px;
  font-weight:650;

  cursor:pointer;
}


.response-edit-mini:hover{
  color:var(--primary-deep);
}


@media(max-width:620px){

  .offer-card{
    position:relative;
  }


  .offer-quick-chat-btn{
    min-height:32px;

    padding:
      0
      10px;
  }


  .response-quick-row{
    align-items:flex-start;
  }


  .response-last-message{
    max-width:100%;
  }


  .history-response-actions{
    min-width:96px;
  }

}



/* CHAT_QUICK_ACCESS_V1 */


.offer-quick-chat-preview{
  display:flex;

  align-items:center;

  gap:5px;

  margin-top:7px;

  min-width:0;

  color:var(--muted);

  font-size:9px;
  line-height:1.25;
}


.offer-quick-chat-preview span{
  flex:none;
}


.offer-quick-chat-preview b{
  min-width:0;

  overflow:hidden;

  text-overflow:ellipsis;
  white-space:nowrap;

  color:var(--ink);

  font-size:10px;
  font-weight:600;
}


.offer-quick-chat-btn{
  display:inline-flex;

  align-items:center;
  justify-content:center;

  min-height:30px;

  margin-top:8px;

  padding:
    0
    11px;

  border:
    1px solid
    color-mix(
      in srgb,
      var(--primary) 35%,
      var(--line)
    );

  border-radius:9px;

  background:
    color-mix(
      in srgb,
      var(--primary-soft) 30%,
      var(--surface)
    );

  color:var(--primary-deep);

  font:inherit;

  font-size:9px;
  font-weight:800;

  cursor:pointer;
}


.offer-quick-chat-btn.has-unread{
  border-color:
    color-mix(
      in srgb,
      var(--coral) 45%,
      var(--line)
    );

  background:var(--coral-soft);

  color:#a34f3f;
}


.response-quick-row{
  cursor:default;
}


.response-quick-main{
  min-width:0;

  display:grid;

  gap:4px;
}


.response-quick-title{
  display:flex;

  align-items:center;

  gap:8px;

  flex-wrap:wrap;
}


.response-last-message{
  width:100%;

  display:flex;

  align-items:center;

  gap:8px;

  margin-top:6px;

  padding:
    7px
    9px;

  border:
    1px solid var(--line);

  border-radius:11px;

  background:
    color-mix(
      in srgb,
      var(--bg) 55%,
      var(--surface)
    );

  color:var(--ink);

  text-align:left;

  font:inherit;

  cursor:pointer;
}


.response-last-message.has-unread{
  border-color:
    color-mix(
      in srgb,
      var(--coral) 35%,
      var(--line)
    );

  background:
    color-mix(
      in srgb,
      var(--coral-soft) 45%,
      var(--surface)
    );
}


.response-last-message > span{
  flex:none;

  font-size:15px;
}


.response-last-message > div{
  min-width:0;

  display:grid;

  gap:1px;
}


.response-last-message small{
  color:var(--muted);

  font-size:8px;
  font-weight:700;
}


.response-last-message b{
  overflow:hidden;

  text-overflow:ellipsis;
  white-space:nowrap;

  font-size:10px;
  font-weight:600;
}


.response-edit-mini{
  margin-top:3px;

  padding:0;

  border:0;

  background:transparent;

  color:var(--muted);

  font:inherit;

  font-size:8px;
  font-weight:650;

  cursor:pointer;
}


.response-edit-mini:hover{
  color:var(--primary-deep);
}


@media(max-width:620px){

  .offer-card{
    position:relative;
  }


  .offer-quick-chat-btn{
    min-height:32px;

    padding:
      0
      10px;
  }


  .response-quick-row{
    align-items:flex-start;
  }


  .response-last-message{
    max-width:100%;
  }


  .history-response-actions{
    min-width:96px;
  }

}



/* MOBILE_CHAT_HEIGHT_REDUCE_V1 */

@media(max-width:620px){

  /*
    Только область истории сообщений.
    Примерно на 30% ниже прежней.
  */

  .chat-body{
    height:60vh !important;
    max-height:60vh !important;
    min-height:0 !important;

    overflow-y:auto !important;
    overscroll-behavior:contain;

    -webkit-overflow-scrolling:touch;
  }


  /*
    Никакой фиксации формы ввода.
    Оставляем рабочую механику как была.
  */

  .chat-compose{
    position:relative !important;
    bottom:auto !important;

    margin-top:8px !important;
  }

}



/* ACCOUNT_LIST_INTERACTION_V1 */

.account-v2-card-clickable{
  cursor:pointer;
  transition:
    transform .14s ease,
    box-shadow .14s ease,
    border-color .14s ease;
}

.account-v2-card-clickable:hover{
  transform:translateY(-1px);
}

.account-filter-clickable{
  cursor:pointer;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
}

.account-filter-clickable:hover{
  filter:brightness(.985);
}

.account-filter-selected{
  box-shadow:
    0 0 0 2px
    color-mix(
      in srgb,
      var(--primary) 55%,
      transparent
    )
    inset;
}

.account-filter-selected strong{
  color:var(--primary-deep);
}

@media(max-width:620px){

  .account-v2-card-clickable:hover{
    transform:none;
  }

  .account-filter-clickable{
    touch-action:manipulation;
  }

}


/* DEAL_LIFECYCLE_V1_SELECTION_UI_FIX */

.sosed-confirm-overlay{
  position:fixed;
  inset:0;
  z-index:100000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(15,23,42,.42);
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  opacity:0;
  transition:opacity .16s ease;
}

.sosed-confirm-overlay.visible{
  opacity:1;
}

.sosed-confirm-card{
  position:relative;
  width:min(100%,420px);
  padding:28px;
  border-radius:24px;
  background:var(--card,#fff);
  color:var(--text,#111827);
  box-shadow:0 24px 70px rgba(15,23,42,.24);
  transform:translateY(8px) scale(.985);
  transition:transform .16s ease;
}

.sosed-confirm-overlay.visible .sosed-confirm-card{
  transform:translateY(0) scale(1);
}

.sosed-confirm-close{
  position:absolute;
  top:14px;
  right:16px;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--muted,#64748b);
  font-size:28px;
  line-height:32px;
  cursor:pointer;
}

.sosed-confirm-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:52px;
  height:52px;
  margin-bottom:16px;
  border-radius:18px;
  background:rgba(34,197,94,.12);
  font-size:25px;
  font-weight:800;
}

.sosed-confirm-card h2{
  margin:0 42px 8px 0;
  font-size:24px;
  line-height:1.2;
}

.sosed-confirm-text{
  margin:0 0 20px;
  color:var(--muted,#64748b);
  line-height:1.45;
}

.sosed-confirm-person{
  display:flex;
  align-items:center;
  gap:13px;
  padding:14px;
  border:1px solid rgba(100,116,139,.18);
  border-radius:18px;
  background:rgba(148,163,184,.07);
}

.sosed-confirm-person .avatar{
  flex:0 0 auto;
}

.sosed-confirm-person > div:last-child{
  display:flex;
  flex-direction:column;
  min-width:0;
}

.sosed-confirm-person strong{
  font-size:16px;
}

.sosed-confirm-person span{
  margin-top:3px;
  font-weight:700;
}

.sosed-confirm-person small{
  margin-top:2px;
  color:var(--muted,#64748b);
}

.sosed-confirm-note{
  margin-top:14px;
  padding:11px 13px;
  border-radius:14px;
  background:rgba(148,163,184,.08);
  color:var(--muted,#64748b);
  font-size:13px;
  line-height:1.4;
}

.sosed-confirm-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:22px;
}

@media (max-width:640px){

  .sosed-confirm-overlay{
    align-items:flex-end;
    padding:12px;
  }

  .sosed-confirm-card{
    width:100%;
    padding:24px 20px 20px;
    border-radius:24px;
  }

  .sosed-confirm-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }

  .sosed-confirm-actions button{
    width:100%;
  }

}



/* MOBILE_BOTTOM_NAV_CLEARANCE_V1 */

/*
   Безопасная зона над фиксированным
   нижним мобильным меню.
*/

@media(max-width:900px){

  :root{
    --sosed-mobile-bottom-clearance:
      calc(
        96px +
        env(safe-area-inset-bottom)
      );
  }


  /*
     Нижнее меню остаётся фиксированным,
     но модальные окна должны быть выше него.
  */
  .bottom-nav{
    z-index:3000 !important;
  }


  /*
     Главный контент можно прокрутить
     выше нижнего меню.
  */
  .main{
    padding-bottom:
      var(--sosed-mobile-bottom-clearance)
      !important;

    scroll-padding-bottom:
      var(--sosed-mobile-bottom-clearance);
  }


  /*
     Обычные модальные окна выше меню.
  */
  .modal-backdrop{
    z-index:20000 !important;
  }


  /*
     Страница "Рядом" имеет собственную
     прокручиваемую область.
  */
  .nearby-map-feed-page
  .nearby-feed{

    padding-bottom:
      var(--sosed-mobile-bottom-clearance)
      !important;

    scroll-padding-bottom:
      var(--sosed-mobile-bottom-clearance)
      !important;

    box-sizing:border-box;
  }

}


/*
   Общий нижний запас теперь задаётся через .main.
   Старый большой padding .content убираем,
   чтобы не получить двойное пустое место.
*/
@media(max-width:700px){

  .content{
    padding-bottom:0 !important;

    scroll-padding-bottom:
      var(--sosed-mobile-bottom-clearance);
  }

}


/*
   Последние кнопки и блоки действий
   удобно прокручиваются над меню.
*/
@media(max-width:620px){

  .action-row,
  .inline-response-actions,
  .account-v2-actions,
  .modal-actions,
  .chat-compose{

    scroll-margin-bottom:
      var(--sosed-mobile-bottom-clearance);
  }


  /*
     Саму механику переписки не меняем.
  */
  .chat-compose{
    margin-bottom:12px !important;
  }


  .mini-modal,
  .request-modal-wide,
  .public-profile-v2{
    scroll-padding-bottom:24px;
  }

}



/* BUTTON_TACTILE_DEPTH_V1 */

/*
   Лёгкий тактильный объём кнопок.

   НЕ меняем:
   - размеры;
   - расположение;
   - фон тем;
   - структуру меню;
   - навигацию;
   - карточки.

   Только визуально показываем:
   "это можно нажать".
*/


/* =========================================================
   ОБЫЧНЫЕ КНОПКИ
========================================================= */

body button:not(.nav-btn):not(.modal-close):not(.sosed-confirm-close){

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.60),
    inset 0 -1px 0 rgba(20,32,48,.045),
    0 2px 0
      color-mix(
        in srgb,
        var(--ink) 12%,
        transparent
      ),
    0 5px 11px rgba(25,38,55,.075)
    !important;

  transition:
    transform .11s ease,
    box-shadow .14s ease,
    filter .14s ease,
    background .14s ease,
    border-color .14s ease
    !important;

}


/* =========================================================
   ГЛАВНЫЕ ЦВЕТНЫЕ КНОПКИ
========================================================= */

body .primary-btn:not(:disabled){

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.34),
    inset 0 -1px 0 rgba(12,34,65,.10),
    0 2px 0
      color-mix(
        in srgb,
        var(--primary-deep) 42%,
        transparent
      ),
    0 6px 13px
      color-mix(
        in srgb,
        var(--primary) 19%,
        transparent
      )
    !important;

}


/* =========================================================
   ОПАСНЫЕ / УДАЛЕНИЕ / ОТМЕНА
========================================================= */

body button.danger:not(:disabled),
body .danger-btn:not(:disabled),
body .response-withdraw-btn:not(:disabled){

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.42),
    inset 0 -1px 0 rgba(90,20,25,.08),
    0 2px 0 rgba(150,50,55,.16),
    0 5px 11px rgba(135,45,50,.09)
    !important;

}


/* =========================================================
   НАВЕДЕНИЕ — ТОЛЬКО УСТРОЙСТВА С МЫШЬЮ
========================================================= */

@media(hover:hover) and (pointer:fine){

  body button:not(.nav-btn):not(.modal-close):not(.sosed-confirm-close):not(:disabled):hover{

    transform:
      translateY(-1px);

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.68),
      inset 0 -1px 0 rgba(20,32,48,.05),
      0 3px 0
        color-mix(
          in srgb,
          var(--ink) 12%,
          transparent
        ),
      0 7px 15px rgba(25,38,55,.10)
      !important;

  }


  body .primary-btn:not(:disabled):hover{

    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.38),
      inset 0 -1px 0 rgba(12,34,65,.10),
      0 3px 0
        color-mix(
          in srgb,
          var(--primary-deep) 45%,
          transparent
        ),
      0 8px 17px
        color-mix(
          in srgb,
          var(--primary) 23%,
          transparent
        )
      !important;

  }

}


/* =========================================================
   НАЖАТИЕ

   Кнопка действительно визуально "уходит вниз".
========================================================= */

body button:not(.nav-btn):not(.modal-close):not(.sosed-confirm-close):not(:disabled):active{

  transform:
    translateY(1px)
    !important;

  box-shadow:
    inset 0 2px 4px rgba(20,32,48,.10),
    inset 0 1px 0 rgba(255,255,255,.30),
    0 1px 0 rgba(20,32,48,.10),
    0 2px 4px rgba(25,38,55,.06)
    !important;

  transition-duration:
    .04s
    !important;

}


/* =========================================================
   НИЖНЕЕ МОБИЛЬНОЕ МЕНЮ НЕ ТРОГАЕМ
========================================================= */

.bottom-nav > button{

  box-shadow:
    none
    !important;

}


/*
   И существующую анимацию активной иконки
   нижнего меню сохраняем.
*/

.bottom-nav > button:active{

  transform:
    none
    !important;

}


/* =========================================================
   БОКОВОЕ ГЛАВНОЕ МЕНЮ НЕ ТРОГАЕМ
========================================================= */

.sidebar .nav-btn{

  box-shadow:
    none
    !important;

}


/* =========================================================
   КНОПКИ ЗАКРЫТИЯ ОКОН НЕ ДЕЛАЕМ "3D"
========================================================= */

.modal-close,
.sosed-confirm-close{

  box-shadow:
    none
    !important;

}


/* LOCATIONS_GEOCODE_V1_UI */

/* The map page no longer spends a full row on the saved-area pill. */
.topbar.map-topbar{
  margin-bottom:8px;
}

.guided-map-page .location-map-compact-head{
  margin:0 0 6px;
  align-items:flex-start;
}

.location-map-title-line{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.location-map-title-line .back-btn{
  margin:0;
  flex:0 0 auto;
}

.location-map-title-line .page-title{
  margin:0;
  font-size:28px;
  line-height:1.08;
}

.location-map-compact-head .page-sub{
  margin:4px 0 0;
  font-size:12px;
  line-height:1.35;
  color:var(--muted);
}

.guided-map-page .guided-map-progress{
  margin-top:6px;
  margin-bottom:6px;
}

/* Search + GPS + map selection live in one compact control. */
.guided-map-page .location-picker-toolbar{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);
  align-items:start;
  gap:12px;
  margin:8px 0 8px;
  padding:10px 12px;
}

.location-address-search{
  min-width:0;
  display:grid !important;
  gap:6px !important;
}

.location-search-caption{
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
}

.location-search-caption b{
  font-size:13px;
}

.location-search-caption span{
  font-size:11px !important;
}

.location-search-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px;
}

.location-search-input{
  width:100%;
  height:40px;
  min-height:40px;
  padding:8px 11px;
  border-radius:12px;
}

.location-search-btn{
  min-height:40px;
  padding:8px 14px;
  border-radius:12px;
  white-space:nowrap;
}

.location-picker-side{
  min-width:0;
  display:grid !important;
  gap:7px !important;
}

.location-picker-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:7px;
}

/* Explicitly theme-aware: follows --primary/--primary-deep for every theme. */
.theme-auto-location-btn{
  background:linear-gradient(145deg,var(--primary),var(--primary-deep)) !important;
  color:var(--on-primary,#fff) !important;
  border-color:transparent !important;
}

.location-picker-side > #geoStatus{
  min-height:16px;
  line-height:1.3;
}

.location-geocode-results{
  display:grid;
  gap:5px;
  max-height:178px;
  overflow:auto;
  padding-right:2px;
}

.location-geocode-result{
  width:100%;
  border:1px solid color-mix(in srgb,var(--primary) 16%,var(--line));
  background:color-mix(in srgb,var(--primary-soft) 40%,var(--surface));
  color:var(--ink);
  border-radius:12px;
  padding:8px 10px;
  text-align:left;
  display:grid;
  gap:2px;
  transition:.14s ease;
}

.location-geocode-result:hover{
  border-color:color-mix(in srgb,var(--primary) 42%,var(--line));
  transform:translateY(-1px);
}

.location-geocode-result b{
  font-size:12px;
  color:var(--primary-deep);
}

.location-geocode-result span{
  font-size:10.5px !important;
  line-height:1.3;
  color:var(--muted);
}

.location-geocode-credit{
  display:block;
  margin-top:1px;
  font-size:9.5px;
  color:var(--muted);
  opacity:.8;
}

.guided-map-page .manual-map-panel{
  margin:7px 0 9px;
  padding:10px 12px;
}

@media(max-width:760px){
  .guided-map-page .location-picker-toolbar{
    grid-template-columns:1fr;
  }

  .location-picker-actions{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:620px){
  .topbar.map-topbar{
    margin-bottom:5px;
  }

  .location-map-title-line{
    gap:7px 10px;
  }

  .location-map-title-line .page-title{
    font-size:22px;
  }

  .location-map-compact-head .page-sub{
    font-size:11px;
  }

  .guided-map-page .location-picker-toolbar{
    margin-top:6px;
    padding:9px;
    border-radius:15px;
  }

  .location-search-row{
    grid-template-columns:minmax(0,1fr) auto;
  }

  .location-search-btn{
    padding-left:11px;
    padding-right:11px;
  }

  .location-picker-actions{
    grid-template-columns:1fr;
  }

  .location-picker-actions .map-locate{
    width:100%;
  }
}

/* =========================================================
   LOCATIONS_COMPACT_CARDS_V1
   Compact "Мои районы" cards only.
   No location/search/save logic changes.
========================================================= */

.locations-list{
  gap:10px;
  margin-top:12px;
}

.location-snapshot-note{
  margin:10px 0 12px;
  padding:9px 12px;
  border-radius:14px;
  line-height:1.35;
}

.location-manage-card{
  padding:11px 14px;
  border-radius:20px;
}

.location-manage-head{
  grid-template-columns:32px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
}

.location-radio{
  width:32px;
  height:32px;
  border-radius:10px;
  font-size:16px;
}

.location-name-edit{
  display:grid;
  grid-template-columns:minmax(220px,360px) minmax(0,1fr);
  grid-template-areas:
    "label label"
    "input note";
  column-gap:12px;
  row-gap:2px;
  align-items:center;
}

.location-name-edit label{
  grid-area:label;
  margin:0;
  font-size:10px;
  line-height:1.1;
}

.location-name-input{
  grid-area:input;
  max-width:360px;
  min-height:36px;
  height:36px;
  padding:7px 11px;
  border-radius:12px;
  font-size:14px;
}

.location-name-edit p{
  grid-area:note;
  margin:0;
  font-size:11px;
  line-height:1.25;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.location-manage-head > .switch{
  transform:scale(.88);
  transform-origin:right center;
}

.location-radius-row{
  gap:10px;
  padding-top:8px;
  margin-top:8px;
}

.location-radius-row > span{
  font-size:12px;
}

.mini-radius{
  gap:5px;
}

.mini-radius button{
  min-height:28px;
  padding:4px 9px;
  font-size:11px;
  border-radius:11px;
}

.location-manage-actions{
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  gap:7px;
  margin-top:8px;
}

.location-manage-actions button{
  flex:1;
  min-height:36px;
  padding:7px 11px;
  border-radius:12px;
  font-size:12px;
  line-height:1.15;
}

.location-confirm-btn{
  width:auto;
  min-width:190px;
}


/* Tablet / mobile */
@media(max-width:780px){

  .locations-list{
    gap:8px;
    margin-top:10px;
  }

  .location-manage-card{
    padding:10px 11px;
    border-radius:18px;
  }

  .location-manage-head{
    grid-template-columns:30px minmax(0,1fr) auto;
    gap:8px;
  }

  .location-radio{
    width:30px;
    height:30px;
    font-size:15px;
  }

  .location-manage-head > .switch{
    grid-column:3;
    justify-self:end;
    transform:scale(.84);
  }

  .location-name-edit{
    display:block;
  }

  .location-name-edit label{
    margin:0 0 3px;
  }

  .location-name-input{
    max-width:none;
    width:100%;
    min-height:35px;
    height:35px;
  }

  .location-name-edit p{
    margin:3px 0 0;
    font-size:10.5px;
    white-space:normal;
  }

  .location-radius-row{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:6px;
    padding-top:7px;
    margin-top:7px;
  }

  .mini-radius{
    justify-content:flex-start;
    gap:4px;
  }

  .mini-radius button{
    min-height:27px;
    padding:4px 8px;
  }

  .location-manage-actions{
    flex-direction:row;
    flex-wrap:wrap;
    gap:6px;
    margin-top:7px;
  }

  .location-manage-actions button,
  .location-manage-actions .ghost-btn,
  .location-confirm-btn{
    width:auto;
    min-width:0;
    flex:1 1 calc(50% - 3px);
    min-height:35px;
    padding:7px 9px;
  }

  .location-manage-actions .danger-link{
    flex:0 0 100%;
  }
}


/* Very narrow phones */
@media(max-width:430px){

  .location-radius-row > span{
    width:100%;
  }

  .mini-radius{
    width:100%;
    display:grid;
    grid-template-columns:repeat(5,1fr);
  }

  .mini-radius button{
    width:100%;
    padding-left:3px;
    padding-right:3px;
  }

  .location-manage-actions button,
  .location-manage-actions .ghost-btn,
  .location-confirm-btn{
    font-size:11px;
  }
}


/* =========================================================
   DEAL_TWO_PARTY_CONFIRMATION_V1_UI
========================================================= */

.deal-confirm-v1{
  margin:12px 0;
  padding:13px 15px;
  border:1px solid var(--line);
  border-radius:18px;
  background:
    color-mix(
      in srgb,
      var(--primary-soft) 38%,
      var(--surface)
    );
  display:grid;
  gap:9px;
}

.deal-confirm-v1-title{
  font-weight:850;
  font-size:14px;
  color:var(--ink);
}

.deal-confirm-v1-parties{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.deal-confirm-v1-parties span{
  padding:6px 9px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--muted);
  font-size:11px;
  font-weight:750;
}

.deal-confirm-v1-parties span.done{
  color:var(--success);
  border-color:
    color-mix(
      in srgb,
      var(--success) 35%,
      var(--line)
    );
}

.deal-confirm-v1-note{
  color:var(--muted);
  font-size:12px;
  line-height:1.4;
}

.deal-confirm-v1-button{
  justify-self:start;
  min-height:38px;
}

.deal-confirm-wait-v1{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:7px 10px;
  border-radius:12px;
  background:
    color-mix(
      in srgb,
      var(--success) 10%,
      var(--surface)
    );
  color:var(--success);
  font-size:11px;
  font-weight:800;
}

@media(max-width:620px){
  .deal-confirm-v1{
    padding:11px 12px;
    border-radius:16px;
  }

  .deal-confirm-v1-button{
    width:100%;
  }
}


/* =========================================================
   DEAL_TWO_PARTY_CONFIRMATION_V2_UI
   Provider confirmation visible directly in "Мои отклики".
========================================================= */

.provider-confirm-v2{
  margin:10px 0;
  padding:11px 12px;
  border-radius:15px;
  border:1px solid
    color-mix(
      in srgb,
      var(--primary) 28%,
      var(--line)
    );
  background:
    color-mix(
      in srgb,
      var(--primary-soft) 34%,
      var(--surface)
    );
  display:grid;
  gap:7px;
}

.provider-confirm-v2.compact{
  margin:9px 0 4px;
}

.provider-confirm-v2-head{
  font-size:12px;
  font-weight:850;
  color:var(--ink);
}

.provider-confirm-v2-note{
  font-size:11px;
  line-height:1.35;
  color:var(--muted);
}

.provider-confirm-v2-btn{
  justify-self:start;
  min-height:36px;
  padding:7px 12px;
  font-size:11px;
}

.provider-confirm-v2-done{
  border-color:
    color-mix(
      in srgb,
      var(--success) 28%,
      var(--line)
    );
}

.provider-confirm-v2-status{
  font-size:12px;
  font-weight:850;
  color:var(--success);
}

@media(max-width:620px){

  .provider-confirm-v2{
    padding:10px;
  }

  .provider-confirm-v2-btn{
    width:100%;
  }
}


/* =========================================================
   DEAL_CONFIRMATION_PLACEMENT_V1
   Confirmation belongs to selected responder, not map.
========================================================= */

.deal-confirm-side-v1{
  min-width:0;
  align-self:start;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.deal-confirm-side-v1 > .card{
  width:100%;
  margin:0;
}

.deal-confirm-side-v1 > .deal-confirm-v1{
  width:100%;
  margin:0;
  padding:12px 13px;
  border-radius:17px;
  box-sizing:border-box;
}

.deal-confirm-side-v1
.deal-confirm-v1-title{
  font-size:13px;
}

.deal-confirm-side-v1
.deal-confirm-v1-parties{
  gap:6px;
}

.deal-confirm-side-v1
.deal-confirm-v1-parties span{
  padding:5px 8px;
  font-size:10.5px;
}

.deal-confirm-side-v1
.deal-confirm-v1-note{
  font-size:11.5px;
  line-height:1.35;
}

.deal-confirm-side-v1
.deal-confirm-v1-button{
  width:100%;
  min-height:40px;
  margin-top:1px;
}

.deal-confirm-redundant-v1{
  display:none !important;
}


/*
  Once an executor has been selected, the map is supporting
  information. On desktop it should not dominate the deal.
*/
@media(min-width:781px){

  [data-active-need-id]
  .deal-confirm-side-v1{
    height:max-content;
  }

  [data-active-need-id]
  .deal-confirm-side-v1
  .deal-confirm-v1{
    box-shadow:
      0 8px 22px rgba(18,45,82,.06);
  }
}


/*
  Mobile order after runtime placement:
  selected responder -> confirmation -> map.
*/
@media(max-width:780px){

  .deal-confirm-side-v1{
    width:100%;
    gap:8px;
  }

  .deal-confirm-side-v1
  .deal-confirm-v1{
    padding:11px;
  }

  .deal-confirm-side-v1
  .deal-confirm-v1-button{
    width:100%;
  }
}


/* =========================================================
   DEAL_CONFIRMATION_STABLE_LAYOUT_V2
========================================================= */

.deal-confirm-side-v2{
  min-width:0;
  align-self:start;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.deal-confirm-side-v2 > .card,
.deal-confirm-side-v2 > .deal-confirm-v1{
  width:100%;
  margin:0;
}

.deal-confirm-side-v2 > .deal-confirm-v1{
  padding:14px 14px;
  border-radius:18px;
  box-sizing:border-box;
}

.deal-confirm-side-v2 .deal-confirm-v1-button{
  width:100%;
  min-height:42px;
}

.deal-confirm-redundant-v2{
  display:none !important;
}

/* компактнее верхний блок страницы активного запроса */
.active-need-compact-v2 .page-title{
  margin-bottom:6px !important;
}

.active-need-compact-v2 .page-sub{
  margin-top:0 !important;
  margin-bottom:10px !important;
}

.active-need-compact-v2 .card:first-of-type{
  padding-top:14px !important;
  padding-bottom:12px !important;
}

.active-need-compact-v2 .card:first-of-type img{
  max-height:92px;
}

/* фикс обрезания новых иконок заявок */
img[src*="purchase.png"],
img[src*="service.png"],
img[src*="rental.png"]{
  object-fit:contain !important;
  object-position:center center !important;
  box-sizing:border-box !important;
  padding:6px !important;
  background:transparent !important;
}

@media (min-width: 781px){
  .active-need-compact-v2 .card:first-of-type{
    margin-bottom:12px !important;
  }
}

@media (max-width: 780px){
  .deal-confirm-side-v2{
    width:100%;
    gap:9px;
  }

  .deal-confirm-side-v2 > .deal-confirm-v1{
    padding:12px;
  }

  .active-need-compact-v2 .page-title{
    margin-bottom:4px !important;
  }

  .active-need-compact-v2 .page-sub{
    margin-bottom:8px !important;
  }
}


/* =========================================================
   DEAL_CONFIRMATION_RENDER_PLACEMENT_V3
========================================================= */

/*
  The accepted offer + confirmation are one grid/list item.
*/
.deal-offer-stack-v3{
  width:100%;
  min-width:0;
  align-self:start;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.deal-offer-stack-v3 > .card{
  width:100%;
  margin:0;
  box-sizing:border-box;
}

.deal-offer-stack-v3 > .deal-confirm-v1{
  width:100%;
  margin:0;
  padding:12px 13px;
  border-radius:17px;
  box-sizing:border-box;
}

.deal-offer-stack-v3
.deal-confirm-v1-title{
  font-size:13px;
}

.deal-offer-stack-v3
.deal-confirm-v1-parties{
  gap:6px;
}

.deal-offer-stack-v3
.deal-confirm-v1-parties span{
  padding:5px 8px;
  font-size:10.5px;
}

.deal-offer-stack-v3
.deal-confirm-v1-note{
  font-size:11px;
  line-height:1.35;
}

.deal-offer-stack-v3
.deal-confirm-v1-button{
  width:100%;
  min-height:40px;
}


/* =========================================================
   ACTIVE REQUEST COMPACT V3
========================================================= */

[data-active-need-id] > .back-btn{
  margin-top:0 !important;
  margin-bottom:7px !important;
}

[data-active-need-id] > .section-head{
  margin-top:4px !important;
  margin-bottom:9px !important;
  min-height:0 !important;
}

[data-active-need-id]
.section-head .page-title{
  margin-top:0 !important;
  margin-bottom:3px !important;
  line-height:1.05 !important;
}

[data-active-need-id]
.section-head .page-sub{
  margin:0 !important;
  line-height:1.2 !important;
}


/*
  Own request summary card.
*/
[data-active-need-id]
.request-card.active-card{
  min-height:0 !important;
  padding:10px 14px !important;
  margin-top:6px !important;
  margin-bottom:12px !important;
}

[data-active-need-id]
.request-card.active-card
.request-card-head{
  gap:11px !important;
  align-items:center !important;
}

[data-active-need-id]
.request-card.active-card
.request-main h3{
  margin-top:3px !important;
  margin-bottom:4px !important;
  line-height:1.08 !important;
}

[data-active-need-id]
.request-card.active-card
.request-submeta{
  margin-top:2px !important;
}

[data-active-need-id]
.request-card.active-card
.card-status-line{
  margin-top:6px !important;
  padding-top:6px !important;
}


/* =========================================================
   REQUEST ICON CLIPPING FIX V3
========================================================= */

[data-active-need-id]
.request-card.active-card
.request-thumb{
  width:76px !important;
  min-width:76px !important;
  height:76px !important;
  min-height:76px !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}

[data-active-need-id]
.request-card.active-card
.request-thumb img,
[data-active-need-id]
img[src*="request_type_purchase_v3_exact.webp"],
[data-active-need-id]
img[src*="request_type_service_v3_exact.webp"],
[data-active-need-id]
img[src*="request_type_rental_v3_exact.webp"]{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  box-sizing:border-box !important;
  padding:5px !important;
  transform:none !important;
}


/*
  Previous relocation wrappers are not used after reload.
  Keep them neutral in case stale DOM survives until refresh.
*/
.deal-confirm-side-v1,
.deal-confirm-side-v2{
  min-width:0;
}


@media(max-width:780px){

  .deal-offer-stack-v3{
    gap:8px;
  }

  .deal-offer-stack-v3 > .deal-confirm-v1{
    padding:11px;
  }

  [data-active-need-id]
  .request-card.active-card{
    padding:9px 11px !important;
  }

  [data-active-need-id]
  .request-card.active-card
  .request-thumb{
    width:64px !important;
    min-width:64px !important;
    height:64px !important;
    min-height:64px !important;
  }
}


/* =========================================================
   ACTIVE_REQUEST_COMPACT_V4
   Active/deal request page only.
========================================================= */


/* ---------------------------------------------------------
   1. Compact page heading
--------------------------------------------------------- */

[data-active-need-id] > .back-btn{
  margin-bottom:5px !important;
}

[data-active-need-id] > .section-head{
  margin-top:0 !important;
  margin-bottom:7px !important;
  min-height:0 !important;
}

[data-active-need-id] > .section-head .page-title{
  margin:0 0 2px !important;
  line-height:1.02 !important;
}

[data-active-need-id] > .section-head .page-sub{
  margin:0 !important;
  line-height:1.15 !important;
}


/* ---------------------------------------------------------
   2. Compact own-request summary card
--------------------------------------------------------- */

[data-active-need-id]
.request-card.active-card{
  min-height:0 !important;
  height:auto !important;

  padding:
    8px
    13px
    7px
    !important;

  margin-top:4px !important;
  margin-bottom:6px !important;
}


[data-active-need-id]
.request-card.active-card
.request-card-head{
  min-height:0 !important;

  display:flex !important;

  align-items:center !important;

  gap:10px !important;

  margin:0 !important;
}


[data-active-need-id]
.request-card.active-card
.request-main{
  min-height:0 !important;
}


[data-active-need-id]
.request-card.active-card
.request-pill-row{
  margin:0 0 2px !important;
  gap:6px !important;
}


[data-active-need-id]
.request-card.active-card
.request-main h3{
  margin:
    1px
    0
    3px
    !important;

  line-height:1.04 !important;
}


[data-active-need-id]
.request-card.active-card
.request-submeta{
  margin:0 !important;
  line-height:1.15 !important;
}


[data-active-need-id]
.request-card.active-card
.request-desc{
  margin:
    4px
    0
    0
    !important;
}


/*
  Status should remain readable but not create
  another large row below the request.
*/
[data-active-need-id]
.request-card.active-card
.card-status-line{
  min-height:0 !important;

  margin-top:5px !important;

  padding-top:5px !important;

  padding-bottom:0 !important;

  line-height:1.2 !important;
}


/* ---------------------------------------------------------
   3. Exact request image — show the WHOLE illustration
--------------------------------------------------------- */

[data-active-need-id]
.request-card.active-card
.request-thumb{
  width:68px !important;
  min-width:68px !important;

  height:68px !important;
  min-height:68px !important;

  padding:0 !important;

  display:flex !important;

  align-items:center !important;
  justify-content:center !important;

  overflow:hidden !important;

  box-sizing:border-box !important;

  border-radius:18px !important;
}


/*
  Previous CSS made the WebP fill the whole thumbnail.
  The original artwork has decorative content near its
  edges, therefore it looked cropped.

  Make the actual artwork smaller INSIDE the thumbnail.
*/
[data-active-need-id]
.request-card.active-card
.request-thumb
img[src*="request_type_purchase_v3_exact.webp"],

[data-active-need-id]
.request-card.active-card
.request-thumb
img[src*="request_type_service_v3_exact.webp"],

[data-active-need-id]
.request-card.active-card
.request-thumb
img[src*="request_type_rental_v3_exact.webp"]{

  position:static !important;

  inset:auto !important;

  display:block !important;

  width:78% !important;
  height:78% !important;

  min-width:0 !important;
  min-height:0 !important;

  max-width:78% !important;
  max-height:78% !important;

  margin:auto !important;

  padding:0 !important;

  object-fit:contain !important;
  object-position:center center !important;

  transform:none !important;

  box-sizing:border-box !important;
}


/* ---------------------------------------------------------
   4. Lift "Отклики" + map upward
--------------------------------------------------------- */

/*
  Whatever section follows the own-request card
  starts closer to it.
*/
[data-active-need-id]
.request-card.active-card + *{
  margin-top:4px !important;
}


/*
  If the following block is a section heading,
  make it especially compact.
*/
[data-active-need-id]
.request-card.active-card + .section-head{
  margin-top:3px !important;
  margin-bottom:6px !important;
}


/*
  Common headings directly following the request card.
*/
[data-active-need-id]
.request-card.active-card + *
h1,

[data-active-need-id]
.request-card.active-card + *
h2,

[data-active-need-id]
.request-card.active-card + *
h3{
  margin-top:0 !important;
  margin-bottom:6px !important;
}


/* ---------------------------------------------------------
   5. Keep confirmation placement untouched
--------------------------------------------------------- */

[data-active-need-id]
.deal-offer-stack-v3{
  margin-top:0 !important;
}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media(max-width:780px){

  [data-active-need-id]
  .request-card.active-card{
    padding:
      7px
      10px
      6px
      !important;

    margin-bottom:5px !important;
  }


  [data-active-need-id]
  .request-card.active-card
  .request-thumb{
    width:58px !important;
    min-width:58px !important;

    height:58px !important;
    min-height:58px !important;

    border-radius:15px !important;
  }


  [data-active-need-id]
  .request-card.active-card
  .request-thumb
  img[src*="request_type_purchase_v3_exact.webp"],

  [data-active-need-id]
  .request-card.active-card
  .request-thumb
  img[src*="request_type_service_v3_exact.webp"],

  [data-active-need-id]
  .request-card.active-card
  .request-thumb
  img[src*="request_type_rental_v3_exact.webp"]{

    width:76% !important;
    height:76% !important;

    max-width:76% !important;
    max-height:76% !important;
  }

}


/* =========================================================
   ACTIVE_REQUEST_HEADER_COMPACT_V5
========================================================= */


/*
  Верхняя шапка раньше повторяла информацию,
  которая уже есть непосредственно в карточке запроса.
*/
[data-active-need-id] > .section-head{
  min-height:0 !important;

  margin:
    0
    0
    5px
    !important;

  padding:0 !important;

  align-items:center !important;
}


/*
  Оставляем только название раздела.
*/
[data-active-need-id]
> .section-head
.page-title{

  margin:0 !important;

  font-size:27px !important;

  line-height:1 !important;
}


/*
  Статус уже есть в карточке запроса.
*/
[data-active-need-id]
> .section-head
.page-sub{

  display:none !important;
}


/*
  Тип "Купить / Услуга / На время"
  тоже уже находится в карточке.
*/
[data-active-need-id]
> .section-head
> .type-badge{

  display:none !important;
}


/*
  Кнопка назад ближе к заголовку.
*/
[data-active-need-id]
> .back-btn{

  margin:
    0
    0
    7px
    !important;
}


/* =========================================================
   Ещё немного уменьшаем саму карточку.
========================================================= */

[data-active-need-id]
.request-card.active-card{

  padding:
    7px
    12px
    6px
    !important;

  margin:
    0
    0
    5px
    !important;

  border-radius:20px !important;
}


[data-active-need-id]
.request-card.active-card
.request-card-head{

  gap:9px !important;

  min-height:0 !important;
}


[data-active-need-id]
.request-card.active-card
.request-thumb{

  width:60px !important;
  min-width:60px !important;

  height:60px !important;
  min-height:60px !important;
}


/*
  Сохраняем уже исправленное отображение иллюстрации.
*/
[data-active-need-id]
.request-card.active-card
.request-thumb
img[src*="request_type_purchase_v3_exact.webp"],

[data-active-need-id]
.request-card.active-card
.request-thumb
img[src*="request_type_service_v3_exact.webp"],

[data-active-need-id]
.request-card.active-card
.request-thumb
img[src*="request_type_rental_v3_exact.webp"]{

  width:78% !important;
  height:78% !important;

  max-width:78% !important;
  max-height:78% !important;

  object-fit:contain !important;

  padding:0 !important;

  transform:none !important;
}


[data-active-need-id]
.request-card.active-card
.request-pill-row{

  margin-bottom:1px !important;
}


[data-active-need-id]
.request-card.active-card
.request-main h3{

  margin:
    0
    0
    2px
    !important;

  line-height:1.02 !important;
}


[data-active-need-id]
.request-card.active-card
.request-submeta{

  line-height:1.05 !important;
}


/*
  Нижняя строка статуса остаётся:
  она содержит полезную информацию о том,
  какая сторона уже подтвердила сделку.
*/
[data-active-need-id]
.request-card.active-card
.card-status-line{

  margin-top:4px !important;

  padding:
    4px
    0
    0
    !important;

  min-height:0 !important;

  line-height:1.1 !important;
}


/* =========================================================
   Поднимаем секцию "Отклики"
========================================================= */

[data-active-need-id]
.request-card.active-card + *{

  margin-top:0 !important;
}


/*
  Убираем лишний вертикальный воздух
  непосредственно перед картой/откликами.
*/
[data-active-need-id]
.request-card.active-card
~ .section-head{

  margin-top:6px !important;
  margin-bottom:5px !important;
}


/*
  Подтверждение сделки не меняем.
*/
[data-active-need-id]
.deal-offer-stack-v3{

  margin-top:0 !important;
}


@media(max-width:780px){

  [data-active-need-id]
  > .section-head
  .page-title{

    font-size:23px !important;
  }


  [data-active-need-id]
  .request-card.active-card{

    padding:
      6px
      9px
      5px
      !important;
  }


  [data-active-need-id]
  .request-card.active-card
  .request-thumb{

    width:54px !important;
    min-width:54px !important;

    height:54px !important;
    min-height:54px !important;
  }

}



/* =========================================================
   ACTIVE_OFFER_MAP_HEIGHT_85_V1
   Desktop active-request offer map = 85% of previous height.
========================================================= */

@media(min-width:901px){

  [data-active-need-id]
  .active-offer-map{
    height:442px !important;
    min-height:0 !important;
  }

}


/* =========================================================
   ACTIVE_REQUEST_HEADER_TWO_COLUMN_V6
   Desktop only:
   "Ваш запрос" left + request summary right.
========================================================= */

@media(min-width:1050px){

  /*
    section-head and request card are adjacent siblings.
    Turn them into two inline blocks on the same row.
  */

  [data-active-need-id]
  > .section-head{

    display:inline-flex !important;

    width:145px !important;

    min-width:145px !important;

    max-width:145px !important;

    min-height:0 !important;

    margin:
      4px
      13px
      5px
      0
      !important;

    padding:0 !important;

    vertical-align:top !important;

    align-items:flex-start !important;

    justify-content:flex-start !important;
  }


  [data-active-need-id]
  > .section-head
  > div{

    width:100% !important;
  }


  [data-active-need-id]
  > .section-head
  .page-title{

    font-size:25px !important;

    line-height:1.05 !important;

    white-space:nowrap !important;

    margin:4px 0 0 !important;
  }


  /*
    Already duplicated in the request card.
  */
  [data-active-need-id]
  > .section-head
  .page-sub,

  [data-active-need-id]
  > .section-head
  > .type-badge{

    display:none !important;
  }


  /*
    Request summary fills the previously empty
    upper-right portion of the page.
  */
  [data-active-need-id]
  > .request-card.active-card{

    display:inline-block !important;

    width:
      calc(
        100% - 163px
      )
      !important;

    max-width:
      calc(
        100% - 163px
      )
      !important;

    min-width:0 !important;

    vertical-align:top !important;

    margin:
      0
      0
      6px
      !important;

    box-sizing:border-box !important;
  }


  /*
    Ensure the next section starts on a clean new row.
  */
  [data-active-need-id]
  > .active-offers-section{

    display:block !important;

    clear:both !important;

    width:100% !important;

    margin-top:2px !important;
  }


  [data-active-need-id]
  > .active-offers-section
  > .section-head{

    margin-top:0 !important;

    margin-bottom:6px !important;
  }

}


/*
  Tablets/mobile keep the already approved stacked layout.
*/
@media(max-width:1049px){

  [data-active-need-id]
  > .section-head{

    width:auto !important;
    max-width:none !important;
  }


  [data-active-need-id]
  > .request-card.active-card{

    display:block !important;

    width:100% !important;
    max-width:none !important;
  }

}



/* =========================================================
   REQUEST_EDIT_LOCATION_COMPACT_V1
   Compact desktop edit-request layout.
   Mobile remains one column.
   ========================================================= */

.request-edit-page-v1{
  width:min(1080px,100%);
}


.request-edit-heading-v1{
  margin-bottom:14px;
}


.request-edit-heading-v1 .page-sub{
  margin-bottom:0;
}


.request-edit-form-v1{
  padding:20px 22px;
}


.request-edit-grid-v1{
  display:grid;
  grid-template-columns:
    minmax(0,1fr)
    minmax(0,1fr);
  gap:14px 18px;
  align-items:start;
}


.request-edit-grid-v1 > .field{
  margin-bottom:0;
}


.request-edit-wide-v1{
  grid-column:1 / -1;
}


.edit-request-location-v1{
  min-height:47px;

  display:flex;
  align-items:center;
  gap:10px;

  padding:10px 13px;

  border:1px solid
    color-mix(
      in srgb,
      var(--primary) 28%,
      var(--line)
    );

  border-radius:15px;

  background:
    color-mix(
      in srgb,
      var(--primary-soft) 45%,
      var(--surface)
    );

  color:var(--ink);
}


.edit-request-location-pin-v1{
  width:27px;
  height:27px;

  display:grid;
  place-items:center;

  flex:0 0 27px;

  border-radius:9px;

  background:var(--primary);
  color:white;

  font-size:14px;
  font-weight:900;
}


.edit-request-location-v1 strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}


.request-edit-form-v1 .textarea{
  min-height:74px;
}


.request-edit-form-v1 .edit-check{
  margin:0;
}


.request-edit-form-v1 .action-row{
  margin-top:0;
}


@media(max-width:900px){

  .request-edit-page-v1{
    width:100%;
  }


  .request-edit-grid-v1{
    grid-template-columns:1fr;
  }


  .request-edit-wide-v1{
    grid-column:auto;
  }

}


@media(max-width:620px){

  .request-edit-form-v1{
    padding:16px;
  }


  .request-edit-grid-v1{
    gap:12px;
  }

}


/* LOCATION_HEADER_ENABLED_FIX_V1
   JS marker is in app.js.
   No visual redesign of the topbar itself. */


/* SOSED_LEGAL_V1_CLIENT */

.legal-consent-v1{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:14px 0 10px;
  padding:12px 13px;
  border:1px solid var(--line);
  border-radius:14px;
  font-size:13px;
  line-height:1.45;
}

.legal-consent-v1 input{
  width:18px;
  height:18px;
  margin:1px 0 0;
  flex:0 0 auto;
}

.legal-consent-v1 a,
.auth-legal-privacy-v1 a,
.legal-privacy-link-v1 a{
  color:var(--primary-deep);
  text-decoration:underline;
  text-underline-offset:2px;
}

.auth-legal-privacy-v1{
  margin:0 0 14px;
  text-align:center;
  font-size:12px;
}

.legal-gate-backdrop-v1{
  position:fixed;
  inset:0;
  z-index:100000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(16,22,28,.52);
  backdrop-filter:blur(8px);
}

.legal-gate-v1{
  width:min(520px,100%);
  max-height:calc(100vh - 36px);
  overflow:auto;
  padding:26px;
  border:1px solid var(--line);
  border-radius:22px;
  background:var(--panel);
  box-shadow:0 24px 70px rgba(10,18,25,.24);
}

.legal-gate-mark-v1{
  margin-bottom:8px;
  color:var(--primary-deep);
  font-size:12px;
  font-weight:900;
  letter-spacing:.12em;
}

.legal-gate-v1 h2{
  margin:0 0 10px;
}

.legal-gate-v1 > p{
  color:var(--muted);
  line-height:1.5;
}

.legal-privacy-link-v1{
  margin:12px 0 16px;
  font-size:13px;
}

.legal-gate-v1 .primary-btn,
.legal-gate-v1 .ghost-btn{
  width:100%;
}

.legal-gate-v1 .ghost-btn{
  margin-top:9px;
}

.legal-profile-links-v1{
  display:grid;
  gap:9px;
}

.legal-profile-links-v1 a{
  display:flex;
  justify-content:center;
  align-items:center;
  text-decoration:none;
  text-align:center;
}


@media(max-width:600px){

  .legal-gate-backdrop-v1{
    align-items:flex-end;
    padding:10px;
  }

  .legal-gate-v1{
    max-height:88vh;
    padding:21px 17px;
    border-radius:22px 22px 16px 16px;
  }

  .legal-consent-v1{
    font-size:12px;
  }
}


/* SOSED_CHAT_PHOTO_V1 */

.chat-compose-photo-v1{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:9px;
  align-items:center;
}

.chat-photo-button-v1{
  width:42px;
  height:42px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1px solid var(--line);
  border-radius:13px;

  background:var(--panel);

  cursor:pointer;

  font-size:20px;

  transition:
    transform .12s ease,
    box-shadow .12s ease;
}

.chat-photo-button-v1:hover{
  box-shadow:0 4px 14px rgba(0,0,0,.07);
}

.chat-photo-button-v1:active{
  transform:
    translateY(1px)
    scale(.98);
}

.chat-photo-preview-v1{
  padding:0 12px 10px;
}

.chat-photo-preview-v1[hidden]{
  display:none;
}

.chat-photo-draft-card-v1{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) 34px;
  gap:10px;
  align-items:center;

  padding:9px;

  border:1px solid var(--line);
  border-radius:15px;

  background:var(--soft,#f5f7f8);
}

.chat-photo-draft-card-v1 img{
  width:58px;
  height:58px;

  display:block;

  object-fit:cover;

  border-radius:11px;
}

.chat-photo-draft-card-v1 > div{
  min-width:0;

  display:flex;
  flex-direction:column;
  gap:4px;
}

.chat-photo-draft-card-v1 b{
  font-size:13px;
}

.chat-photo-draft-card-v1 small{
  color:var(--muted);
  font-size:11px;
}

.chat-photo-remove-v1{
  width:30px;
  height:30px;

  padding:0;

  border:0;
  border-radius:50%;

  background:rgba(0,0,0,.06);

  cursor:pointer;

  font-size:21px;
  line-height:1;
}

.chat-photo-msg-v1{
  overflow:hidden;
}

.chat-photo-link-v1{
  display:block;
  text-decoration:none;
}

.chat-photo-message-v1{
  width:auto;
  max-width:min(310px,100%);
  max-height:360px;

  display:block;

  object-fit:cover;

  border-radius:13px;
}

.chat-message-text-v1{
  margin-top:7px;

  white-space:pre-wrap;
  overflow-wrap:anywhere;
}


@media(max-width:600px){

  .chat-compose-photo-v1{
    grid-template-columns:
      40px
      minmax(0,1fr)
      auto;

    gap:7px;
  }

  .chat-photo-button-v1{
    width:40px;
    height:40px;

    border-radius:12px;
  }

  .chat-photo-message-v1{
    max-width:min(260px,100%);
    max-height:320px;
  }
}

/* =========================================================
   SOSED_VISUAL_MAP_V1
   1. Лёгкий объёмный фон
   2. Тематическая кнопка карты
   3. Графические маркеры заявок
   ========================================================= */


/* ---------- 1. THEME-AWARE VOLUMETRIC BACKGROUND ---------- */

html[data-theme] body{
  background-color:var(--bg)!important;

  background-image:
    radial-gradient(
      900px 540px at 7% -7%,
      color-mix(in srgb,var(--primary) 15%,transparent),
      transparent 64%
    ),
    radial-gradient(
      760px 500px at 100% 12%,
      color-mix(in srgb,var(--accent) 11%,transparent),
      transparent 66%
    ),
    radial-gradient(
      760px 520px at 48% 112%,
      color-mix(in srgb,var(--info) 10%,transparent),
      transparent 68%
    ),
    linear-gradient(
      145deg,
      color-mix(in srgb,var(--surface) 86%,var(--bg)) 0%,
      var(--bg) 46%,
      color-mix(in srgb,var(--primary-soft) 33%,var(--bg)) 100%
    )!important;

  background-attachment:fixed!important;
}


html[data-theme] body::before{
  content:"";
  position:fixed;
  left:-155px;
  top:18vh;

  width:410px;
  height:410px;

  border-radius:50%;

  background:
    radial-gradient(
      circle at 38% 34%,
      color-mix(in srgb,#fff 48%,transparent) 0 10%,
      color-mix(in srgb,var(--primary) 8%,transparent) 37%,
      transparent 70%
    );

  box-shadow:
    75px 65px 120px
      color-mix(in srgb,var(--primary) 7%,transparent);

  opacity:.62;
  pointer-events:none;
  z-index:0;
}


html[data-theme] body::after{
  content:"";
  position:fixed;
  right:-180px;
  bottom:-115px;

  width:470px;
  height:470px;

  border-radius:50%;

  background:
    radial-gradient(
      circle at 36% 34%,
      color-mix(in srgb,#fff 42%,transparent) 0 9%,
      color-mix(in srgb,var(--accent) 7%,transparent) 38%,
      transparent 72%
    );

  box-shadow:
    -80px -55px 135px
      color-mix(in srgb,var(--accent) 6%,transparent);

  opacity:.58;
  pointer-events:none;
  z-index:0;
}


.app-shell,
.auth-screen,
.onboarding-screen{
  position:relative;
  z-index:1;
}



/* ---------- 2. HOME MAP BUTTON ---------- */

.home-map-button{
  border-color:
    color-mix(in srgb,var(--primary-deep) 45%,transparent)!important;

  background:
    linear-gradient(
      135deg,
      color-mix(in srgb,var(--primary) 88%,#fff) 0%,
      var(--primary) 48%,
      var(--primary-deep) 100%
    )!important;

  color:var(--on-primary,#fff)!important;

  font-weight:850;

  box-shadow:
    0 8px 18px
      color-mix(in srgb,var(--primary) 22%,transparent),
    inset 0 1px 0 rgba(255,255,255,.28);

  transition:
    transform .16s ease,
    box-shadow .16s ease,
    filter .16s ease;
}


.home-map-button:hover{
  transform:translateY(-1px);

  box-shadow:
    0 11px 24px
      color-mix(in srgb,var(--primary) 28%,transparent),
    inset 0 1px 0 rgba(255,255,255,.34);

  filter:saturate(1.04);
}


.home-map-button:active{
  transform:translateY(1px);

  box-shadow:
    0 4px 10px
      color-mix(in srgb,var(--primary) 20%,transparent),
    inset 0 2px 4px rgba(0,0,0,.08);
}



/* ---------- 3. REQUEST IMAGE MAP MARKERS ---------- */

.need-map-pin.visual-request-map-pin{
  position:relative;

  width:58px;
  height:64px;

  display:block;

  padding:0;
  border:0;
  border-radius:0;

  background:transparent;

  box-shadow:none;

  transform:none;

  transition:
    transform .16s ease,
    filter .16s ease;
}


.visual-request-map-pin-image{
  position:absolute;
  left:2px;
  top:1px;

  width:54px;
  height:54px;

  overflow:hidden;

  border:3px solid rgba(255,255,255,.98);
  border-radius:17px;

  background:#fff;

  box-shadow:
    0 10px 24px rgba(20,32,48,.24),
    0 2px 5px rgba(20,32,48,.14),
    inset 0 1px 0 rgba(255,255,255,.9);

  z-index:2;
}


.visual-request-map-pin-image img,
.visual-request-map-pin-image .request-asset{
  display:block;

  width:100%!important;
  height:100%!important;

  object-fit:cover!important;

  border:0!important;
  border-radius:13px;

  transform:none!important;
}


/* маленький хвост маркера */

.need-map-pin.visual-request-map-pin::after{
  content:"";

  position:absolute;
  left:22px;
  top:46px;

  width:17px;
  height:17px;

  border-radius:3px;

  background:#fff;

  transform:rotate(45deg);

  box-shadow:
    5px 5px 11px rgba(20,32,48,.16);

  z-index:1;
}


/* выбранная заявка */

.need-map-pin-wrap
.visual-request-map-pin.selected{
  transform:
    translateY(-3px)
    scale(1.12);

  box-shadow:none;
}


.need-map-pin-wrap
.visual-request-map-pin.selected
.visual-request-map-pin-image{
  border-color:
    color-mix(in srgb,var(--primary) 82%,#fff);

  box-shadow:
    0 0 0 4px
      color-mix(in srgb,var(--primary) 18%,transparent),
    0 13px 29px rgba(20,32,48,.27);
}


.leaflet-marker-icon:hover
.visual-request-map-pin{
  transform:translateY(-2px) scale(1.05);
}


.leaflet-marker-icon:hover
.visual-request-map-pin.selected{
  transform:translateY(-3px) scale(1.12);
}


@media(max-width:620px){

  .need-map-pin.visual-request-map-pin{
    width:54px;
    height:60px;
  }

  .visual-request-map-pin-image{
    width:50px;
    height:50px;
  }

  .need-map-pin.visual-request-map-pin::after{
    left:21px;
    top:43px;
    width:15px;
    height:15px;
  }

}


/* SOSED_VISUAL_MAP_V1_END */



/* =========================================================
   SOSED_DIAGONAL_BACKGROUND_V1
   Диагональные световые слои.
   Основная область — выраженнее.
   Меню — тот же рисунок, но спокойнее.
   Все оттенки связаны с текущей темой.
   ========================================================= */


/* ---------------------------------------------------------
   ОСНОВНОЙ ФОН ПРИЛОЖЕНИЯ
   --------------------------------------------------------- */

html[data-theme] body{

  background-color:
    color-mix(
      in srgb,
      var(--bg) 88%,
      var(--primary-soft)
    ) !important;

  background-image:

    /* мягкий верхний свет */
    radial-gradient(
      900px 520px at 55% -8%,
      rgba(255,255,255,.78) 0%,
      rgba(255,255,255,.30) 38%,
      transparent 72%
    ),

    /* лёгкий цвет темы слева */
    radial-gradient(
      820px 650px at 8% 45%,
      color-mix(
        in srgb,
        var(--primary) 10%,
        transparent
      ) 0%,
      transparent 68%
    ),

    /* мягкий тематический свет справа */
    radial-gradient(
      760px 620px at 100% 72%,
      color-mix(
        in srgb,
        var(--accent) 8%,
        transparent
      ) 0%,
      transparent 72%
    ),

    /* широкая диагональная световая полоса */
    linear-gradient(
      134deg,
      transparent 0%,
      transparent 17%,

      rgba(255,255,255,.34) 17.3%,
      rgba(255,255,255,.58) 20%,
      rgba(255,255,255,.22) 24%,

      transparent 24.4%,
      transparent 44%,

      rgba(255,255,255,.18) 44.3%,
      rgba(255,255,255,.48) 49%,
      rgba(255,255,255,.18) 53%,

      transparent 53.4%,
      transparent 72%,

      rgba(255,255,255,.12) 72.3%,
      rgba(255,255,255,.42) 77%,
      rgba(255,255,255,.16) 81%,

      transparent 81.4%,
      transparent 100%
    ),

    /* более тонкие тематические диагонали */
    linear-gradient(
      134deg,

      transparent 0%,
      transparent 31%,

      color-mix(
        in srgb,
        var(--primary) 7%,
        transparent
      ) 31.2%,

      color-mix(
        in srgb,
        var(--primary) 3%,
        transparent
      ) 36%,

      transparent 36.3%,

      transparent 65%,

      color-mix(
        in srgb,
        var(--accent) 6%,
        transparent
      ) 65.2%,

      transparent 73%
    ),

    /* базовая глубина */
    linear-gradient(
      145deg,
      color-mix(
        in srgb,
        var(--surface) 76%,
        var(--primary-soft)
      ) 0%,

      color-mix(
        in srgb,
        var(--bg) 90%,
        var(--surface)
      ) 46%,

      color-mix(
        in srgb,
        var(--primary-soft) 42%,
        var(--bg)
      ) 100%
    ) !important;

  background-attachment:
    fixed !important;
}


/* Контентная область должна показывать общий фон */

.app-shell{
  background:transparent !important;
}

.main{
  position:relative;
  background:transparent !important;
}

.content{
  position:relative;
  background:transparent !important;
}



/* ---------------------------------------------------------
   ЛЕВОЕ МЕНЮ
   Тот же визуальный язык, но примерно в 25% силы.
   --------------------------------------------------------- */

.sidebar{

  background-color:
    color-mix(
      in srgb,
      var(--surface) 91%,
      var(--primary-soft)
    ) !important;

  background-image:

    radial-gradient(
      420px 260px at 30% 3%,
      rgba(255,255,255,.68),
      transparent 72%
    ),

    linear-gradient(
      134deg,

      transparent 0%,
      transparent 24%,

      rgba(255,255,255,.18) 24.3%,
      rgba(255,255,255,.34) 29%,
      rgba(255,255,255,.13) 34%,

      transparent 34.3%,
      transparent 62%,

      color-mix(
        in srgb,
        var(--primary) 4.5%,
        transparent
      ) 62.2%,

      rgba(255,255,255,.18) 68%,

      transparent 74%
    ),

    linear-gradient(
      155deg,

      color-mix(
        in srgb,
        var(--surface) 94%,
        var(--primary-soft)
      ),

      color-mix(
        in srgb,
        var(--bg) 72%,
        var(--surface)
      )
    ) !important;

  box-shadow:
    inset -1px 0 0
      color-mix(
        in srgb,
        var(--primary) 8%,
        var(--line)
      ) !important;
}



/* ---------------------------------------------------------
   МОБИЛЬНАЯ ВЕРСИЯ
   Верх и низ продолжают ту же тему.
   --------------------------------------------------------- */

@media(max-width:900px){

  html[data-theme] body{

    background-image:

      radial-gradient(
        520px 330px at 52% -4%,
        rgba(255,255,255,.72),
        transparent 70%
      ),

      linear-gradient(
        134deg,

        transparent 0%,
        transparent 15%,

        rgba(255,255,255,.26) 15.3%,
        rgba(255,255,255,.46) 21%,
        rgba(255,255,255,.16) 26%,

        transparent 26.3%,
        transparent 52%,

        rgba(255,255,255,.16) 52.3%,
        rgba(255,255,255,.38) 59%,
        rgba(255,255,255,.12) 65%,

        transparent 65.3%
      ),

      linear-gradient(
        145deg,

        color-mix(
          in srgb,
          var(--surface) 72%,
          var(--primary-soft)
        ),

        color-mix(
          in srgb,
          var(--bg) 84%,
          var(--primary-soft)
        )
      ) !important;

    background-attachment:
      fixed !important;
  }


  .topbar{

    background:
      linear-gradient(
        134deg,

        color-mix(
          in srgb,
          var(--surface) 80%,
          var(--primary-soft)
        ) 0%,

        color-mix(
          in srgb,
          var(--bg) 79%,
          var(--primary-soft)
        ) 100%
      ) !important;
  }


  .bottom-nav{

    background:

      linear-gradient(
        134deg,

        rgba(255,255,255,.74),

        color-mix(
          in srgb,
          var(--primary-soft) 25%,
          rgba(255,255,255,.86)
        )
      ) !important;

    backdrop-filter:
      blur(16px);

    -webkit-backdrop-filter:
      blur(16px);
  }

}



/* ---------------------------------------------------------
   На очень узких экранах полосы делаем чуть спокойнее
   --------------------------------------------------------- */

@media(max-width:620px){

  html[data-theme] body{

    background-image:

      radial-gradient(
        440px 280px at 55% -2%,
        rgba(255,255,255,.68),
        transparent 72%
      ),

      linear-gradient(
        134deg,

        transparent 0%,
        transparent 18%,

        rgba(255,255,255,.22) 18.3%,
        rgba(255,255,255,.38) 25%,
        rgba(255,255,255,.12) 31%,

        transparent 31.3%,
        transparent 61%,

        rgba(255,255,255,.12) 61.3%,
        rgba(255,255,255,.31) 69%,

        transparent 76%
      ),

      linear-gradient(
        145deg,

        color-mix(
          in srgb,
          var(--surface) 68%,
          var(--primary-soft)
        ),

        color-mix(
          in srgb,
          var(--bg) 82%,
          var(--primary-soft)
        )
      ) !important;
  }

}


/* SOSED_DIAGONAL_BACKGROUND_V1_END */



/* =========================================================
   SOSED_DIAGONAL_BACKGROUND_V2
   Более заметные диагональные световые слои
   непосредственно на рабочей области.
   ========================================================= */


/* BODY теперь только базовый цвет */

html[data-theme] body{
  background:
    color-mix(
      in srgb,
      var(--bg) 84%,
      var(--primary-soft)
    ) !important;
}



/* =========================================================
   ОСНОВНАЯ РАБОЧАЯ ОБЛАСТЬ
   ========================================================= */

.main{

  background-color:
    color-mix(
      in srgb,
      var(--bg) 78%,
      var(--primary-soft)
    ) !important;


  background-image:

    /* яркий мягкий свет сверху справа */
    radial-gradient(
      900px 600px at 92% 5%,
      rgba(255,255,255,.82) 0%,
      rgba(255,255,255,.28) 44%,
      transparent 72%
    ),


    /* цвет темы слева */
    radial-gradient(
      800px 650px at 4% 72%,
      color-mix(
        in srgb,
        var(--primary) 15%,
        transparent
      ) 0%,
      transparent 72%
    ),


    /*
      ОСНОВНЫЕ ДИАГОНАЛЬНЫЕ СЛОИ
      значительно контрастнее V1
    */
    linear-gradient(
      132deg,

      transparent 0%,
      transparent 11%,

      rgba(255,255,255,.10) 11.2%,
      rgba(255,255,255,.82) 15%,
      rgba(255,255,255,.48) 20%,
      rgba(255,255,255,.08) 25%,

      transparent 25.3%,
      transparent 38%,

      rgba(255,255,255,.08) 38.2%,
      rgba(255,255,255,.66) 43%,
      rgba(255,255,255,.36) 49%,
      rgba(255,255,255,.06) 55%,

      transparent 55.3%,
      transparent 69%,

      rgba(255,255,255,.08) 69.2%,
      rgba(255,255,255,.72) 74%,
      rgba(255,255,255,.32) 80%,

      transparent 80.3%,
      transparent 100%
    ),


    /* цветные полупрозрачные диагонали */
    linear-gradient(
      132deg,

      transparent 0%,
      transparent 29%,

      color-mix(
        in srgb,
        var(--primary) 12%,
        transparent
      ) 29.2%,

      color-mix(
        in srgb,
        var(--primary) 5%,
        transparent
      ) 38%,

      transparent 38.3%,

      transparent 61%,

      color-mix(
        in srgb,
        var(--accent) 10%,
        transparent
      ) 61.2%,

      color-mix(
        in srgb,
        var(--accent) 3%,
        transparent
      ) 70%,

      transparent 70.3%
    ),


    /* базовый цвет */
    linear-gradient(
      145deg,

      color-mix(
        in srgb,
        var(--surface) 58%,
        var(--primary-soft)
      ) 0%,

      color-mix(
        in srgb,
        var(--bg) 72%,
        var(--primary-soft)
      ) 50%,

      color-mix(
        in srgb,
        var(--primary-soft) 58%,
        var(--bg)
      ) 100%
    ) !important;


  background-size:
    auto,
    auto,
    100% 100%,
    100% 100%,
    100% 100% !important;


  background-attachment:
    fixed,
    fixed,
    fixed,
    fixed,
    fixed !important;
}



/* контент поверх рисунка */

.content{
  position:relative;
  z-index:1;

  background:
    transparent !important;
}



/* =========================================================
   БОКОВОЕ МЕНЮ
   Та же геометрия, но слабее
   ========================================================= */

.sidebar{

  background-color:
    color-mix(
      in srgb,
      var(--surface) 86%,
      var(--primary-soft)
    ) !important;


  background-image:

    radial-gradient(
      360px 260px at 25% 4%,
      rgba(255,255,255,.82),
      transparent 72%
    ),

    linear-gradient(
      132deg,

      transparent 0%,
      transparent 20%,

      rgba(255,255,255,.14) 20.2%,
      rgba(255,255,255,.50) 25%,
      rgba(255,255,255,.17) 31%,

      transparent 31.3%,
      transparent 54%,

      rgba(255,255,255,.10) 54.2%,
      rgba(255,255,255,.38) 61%,

      transparent 68%
    ),

    linear-gradient(
      145deg,

      color-mix(
        in srgb,
        var(--surface) 91%,
        var(--primary-soft)
      ),

      color-mix(
        in srgb,
        var(--surface) 76%,
        var(--bg)
      )
    ) !important;


  box-shadow:
    inset -1px 0 0
      color-mix(
        in srgb,
        var(--primary) 10%,
        var(--line)
      ) !important;
}



/* =========================================================
   МОБИЛЬНЫЙ ЭКРАН
   диагонали должны быть реально видны между карточками
   ========================================================= */

@media(max-width:900px){

  .main{

    background-image:

      radial-gradient(
        520px 330px at 88% 0%,
        rgba(255,255,255,.78),
        transparent 72%
      ),

      linear-gradient(
        132deg,

        transparent 0%,
        transparent 10%,

        rgba(255,255,255,.10) 10.2%,
        rgba(255,255,255,.62) 16%,
        rgba(255,255,255,.28) 23%,

        transparent 23.3%,
        transparent 42%,

        rgba(255,255,255,.08) 42.2%,
        rgba(255,255,255,.53) 49%,
        rgba(255,255,255,.20) 57%,

        transparent 57.3%,
        transparent 74%,

        rgba(255,255,255,.06) 74.2%,
        rgba(255,255,255,.42) 81%,

        transparent 89%
      ),

      linear-gradient(
        145deg,

        color-mix(
          in srgb,
          var(--surface) 52%,
          var(--primary-soft)
        ),

        color-mix(
          in srgb,
          var(--bg) 68%,
          var(--primary-soft)
        )
      ) !important;


    background-attachment:
      fixed !important;
  }


  .topbar{

    background:

      linear-gradient(
        132deg,

        rgba(255,255,255,.48),

        color-mix(
          in srgb,
          var(--primary-soft) 42%,
          var(--surface)
        )
      ) !important;
  }


  .bottom-nav{

    background:

      linear-gradient(
        132deg,

        color-mix(
          in srgb,
          var(--surface) 88%,
          var(--primary-soft)
        ),

        color-mix(
          in srgb,
          var(--primary-soft) 36%,
          var(--surface)
        )
      ) !important;

    backdrop-filter:
      blur(18px);

    -webkit-backdrop-filter:
      blur(18px);
  }

}



/* =========================================================
   Маленькие экраны
   ========================================================= */

@media(max-width:620px){

  .main{

    background-image:

      radial-gradient(
        420px 300px at 90% 0%,
        rgba(255,255,255,.72),
        transparent 72%
      ),

      linear-gradient(
        132deg,

        transparent 0%,
        transparent 12%,

        rgba(255,255,255,.08) 12.2%,
        rgba(255,255,255,.54) 19%,
        rgba(255,255,255,.20) 27%,

        transparent 27.3%,
        transparent 49%,

        rgba(255,255,255,.08) 49.2%,
        rgba(255,255,255,.45) 57%,
        rgba(255,255,255,.17) 66%,

        transparent 66.3%
      ),

      linear-gradient(
        145deg,

        color-mix(
          in srgb,
          var(--surface) 48%,
          var(--primary-soft)
        ),

        color-mix(
          in srgb,
          var(--bg) 64%,
          var(--primary-soft)
        )
      ) !important;
  }

}


/* SOSED_DIAGONAL_BACKGROUND_V2_END */

