/* Карточка «Помощи по пути»: маршрут как главная рабочая область. */
.journey-detail-v3{max-width:1640px}
.journey-detail-v3 .concept-crumb{margin-bottom:17px}
.journey-task-hero{display:grid;grid-template-columns:minmax(220px,27%) minmax(0,1fr) minmax(195px,22%);gap:22px;align-items:stretch;padding:13px;margin-bottom:12px}
.journey-task-hero.without-photo{grid-template-columns:minmax(0,1fr) minmax(195px,22%)}
.journey-task-photo{height:220px;border-radius:10px}
.journey-task-copy{min-width:0;align-self:center;padding:5px 0}
.journey-task-copy h1{font-size:clamp(27px,2.25vw,38px);margin:11px 0 8px;line-height:1.1}
.journey-task-maker{font-size:14px}
.journey-task-copy p{max-width:670px;margin:12px 0 0;font-size:13px;color:var(--muted)}
.journey-task-facts{display:grid;align-content:center;gap:17px;border-left:1px solid var(--line);padding:10px 14px 10px 25px}
.journey-task-facts>div{display:grid;gap:3px}
.journey-task-facts small{font-size:11px;color:var(--muted)}
.journey-task-facts strong{font-size:15px}
.journey-task-facts span{font-size:11px;color:var(--muted)}
.journey-detail-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(330px,29%);gap:12px;align-items:start}
.journey-stage,.journey-rail{display:grid;gap:12px;min-width:0}
.journey-rail{position:sticky;top:82px}
.journey-map-card{padding:16px}
.journey-map-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.journey-map-head h2,.journey-itinerary h2,.journey-next-card h2,.journey-chat-v3 h2{font-size:19px;margin:0}
.journey-map-head p{font-size:12px;color:var(--muted);margin:4px 0 0}
.journey-map-time{font-size:12px;color:var(--green);font-weight:700;text-align:right}
.journey-map{position:relative;height:340px;overflow:hidden;border-radius:10px;background:#e9e8d8}
.journey-map svg{display:block;width:100%;height:100%}
.journey-map-pin{position:absolute;display:grid;gap:1px;min-width:135px;max-width:190px;padding:9px 12px;border:1px solid #d4decf;border-radius:9px;background:#fffef9;box-shadow:0 5px 20px #24412a22;color:#173421}
.journey-map-pin small{font-size:10px;color:#647469}
.journey-map-pin strong{font-size:13px}
.journey-map-pin.start{left:4%;top:34%}
.journey-map-pin.end{right:3%;top:8%}
.journey-map-caption{position:absolute;right:9px;bottom:8px;padding:5px 7px;border-radius:5px;background:#fffdf2d9;color:#53645a;font-size:10px}
.journey-route-stops{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:15px 0 0}
.journey-route-stops>div{display:flex;gap:10px;min-width:0}
.journey-stop-dot{width:14px;height:14px;border:4px solid #0a623d;border-radius:50%;flex:none;margin-top:5px}
.journey-route-stops span:last-child{min-width:0}
.journey-route-stops small,.journey-route-stops strong,.journey-route-stops em{display:block;font-style:normal}
.journey-route-stops small{font-size:11px;color:var(--muted)}
.journey-route-stops strong{margin:2px 0;font-size:15px}
.journey-route-stops em{font-size:12px;color:var(--muted);line-height:1.3}
.journey-itinerary{padding:18px}
.journey-itinerary .journey-section-head{margin-bottom:13px}
.journey-itinerary ol{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.journey-itinerary li{display:flex;align-items:center;gap:13px;padding:10px;border:1px solid var(--line);border-radius:9px;background:var(--paper)}
.journey-itinerary li.current{border-color:#9ec9a8;background:var(--green-soft)}
.journey-itinerary-mark{display:grid;place-items:center;width:31px;height:31px;flex:none;border-radius:50%;background:var(--paper-2);color:var(--muted);font-size:12px;font-weight:800}
.journey-itinerary li.active .journey-itinerary-mark{background:#075632;color:#fff}
.journey-itinerary strong,.journey-itinerary small{display:block}
.journey-itinerary strong{font-size:13px}
.journey-itinerary small{font-size:11px;color:var(--muted)}
.journey-next-card,.journey-reward-card,.journey-chat-v3{padding:18px}
.journey-next-card h2{margin:5px 0 8px;font-size:21px}
.journey-next-card>p{font-size:12px;color:var(--muted);margin-bottom:15px}
.journey-next-card .primary,.journey-next-card .secondary{width:100%;margin-top:9px;text-align:center}
.journey-next-card .req-code-form>div{display:grid;grid-template-columns:1fr}
.journey-next-card .req-code-form input{width:100%}
.journey-next-card .journey-code{margin-bottom:12px}
.journey-reward-card{background:var(--green-soft)}
.journey-reward-card strong{display:block;font-size:30px;letter-spacing:-.04em;color:var(--green)}
.journey-reward-card p{font-size:12px;color:var(--muted);margin:2px 0 0}
.journey-chat-v3{display:grid;gap:10px}
.journey-chat-v3 .journey-section-head{align-items:center}
.journey-chat-v3 .journey-section-head h2{font-size:17px}
.journey-chat-person{display:flex;gap:9px;align-items:center;padding:0 0 9px;border-bottom:1px solid var(--line)}
.journey-chat-person .avatar{flex:none}
.journey-chat-person strong,.journey-chat-person small{display:block;font-size:12px}
.journey-chat-person small{color:var(--muted)}
.journey-chat-v3 .journey-chat-messages{min-height:130px;max-height:300px;gap:9px;padding-bottom:4px}
.journey-chat-v3 .journey-chat-messages .concept-message>div{max-width:calc(100% - 35px);padding:8px 10px}
.journey-chat-v3 .journey-chat-messages .concept-message p{font-size:12px}
.journey-chat-v3 .journey-chat-form{padding-top:8px}
.journey-support{text-align:center;color:var(--muted);font-size:11px;margin:0}
.journey-support a{color:var(--green);text-decoration:underline;text-underline-offset:2px}
body.dark .journey-itinerary li.active .journey-itinerary-mark{background:var(--green);color:#102116}
@media(max-width:1150px){.journey-task-hero{grid-template-columns:220px minmax(0,1fr)}.journey-task-facts{grid-column:1/-1;grid-template-columns:repeat(3,1fr);border-left:0;border-top:1px solid var(--line);padding:12px 4px 2px}.journey-detail-columns{grid-template-columns:minmax(0,1fr) minmax(300px,35%)}.journey-map{height:300px}}
@media(min-width:761px) and (max-width:1150px){.journey-task-hero.without-photo{grid-template-columns:1fr}}
@media(max-width:760px){.journey-detail-v3{width:calc(100% - 26px)}.journey-task-hero{grid-template-columns:minmax(0,1fr);gap:0;padding:10px}.journey-task-photo{height:190px}.journey-task-copy{padding:15px 5px 9px}.journey-task-copy h1{font-size:29px}.journey-task-facts{grid-template-columns:1fr 1fr;gap:9px}.journey-task-facts>div:last-child{display:none}.journey-detail-columns{display:flex;flex-direction:column}.journey-stage,.journey-rail{display:contents}.journey-next-card{order:0;width:100%}.journey-map-card{order:1;width:100%}.journey-itinerary{order:2;width:100%}.journey-reward-card{order:3;width:100%}.journey-chat-v3{order:4;width:100%}.journey-support{order:5;width:100%}.journey-map{height:275px}.journey-map-pin{min-width:0;max-width:125px;padding:7px 9px}.journey-map-pin strong{font-size:11px}.journey-map-pin.start{top:33%;left:2%}.journey-map-pin.end{right:2%;top:7%}.journey-route-stops{grid-template-columns:1fr;gap:11px}.journey-map-head{align-items:start}.journey-map-time{max-width:130px}.journey-chat-v3 .journey-chat-messages{max-height:400px}}
@media(max-width:420px){.journey-task-photo{height:170px}.journey-task-copy h1{font-size:26px}.journey-task-facts strong{font-size:12px}.journey-map{height:230px}.journey-map-pin{max-width:110px}.journey-map-pin.end{top:3%}.journey-map-caption{font-size:9px}.journey-next-card,.journey-reward-card,.journey-chat-v3{padding:15px}}
@media(max-width:760px){.journey-task-hero.without-photo{grid-template-columns:1fr}}
