/* Soft mint interface and taxi card, matching the supplied reference. */
body.in-app .main-panel {
  background: radial-gradient(ellipse at 0 0, #bcebd4 0, transparent 46%),
    radial-gradient(ellipse at 100% 70%, #d8f2e5 0, transparent 55%), #f4f8f7;
}
body.in-app .chat-main { background: transparent; }
.chat-topbar { background: #ffffffba; border-radius: 0 0 28px 28px; box-shadow: none; height: auto; min-height: 88px; padding: 8px 12px; gap: 8px; }
.chat-topbar .chat-top-title { display: none; }
.chat-topbar .menu-button { width: 30px; height: 40px; color: #47725e; }
.chat-topbar .menu-button svg { width: 24px; height: 24px; }
.top-actions { flex: 1; min-width: 0; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.top-actions::-webkit-scrollbar { display: none; }
.top-actions > button { width: 68px; height: 68px; min-width: 0; border: 0; border-radius: 22px; padding: 9px 5px; background: #ffffffed; color: #075d31; box-shadow: 0 2px 12px #5b827608; gap: 4px; align-content: center; }
.top-actions > button svg { width: 30px; height: 30px; margin: auto; }
.top-actions > button:hover, .top-actions > button[aria-expanded=true] { transform: none; background: #f4fff9; box-shadow: 0 0 0 2px #b8dfcf; }
.top-actions #profile-avatar { width: 48px; height: 48px; padding: 0; border: 2px solid #48aa70; border-radius: 50%; align-self: center; }
.top-actions #chat-shortcut::after { content: 'Чат'; }
.top-actions #my-ads-button::after { content: 'Объявления'; }
.top-actions #wallet-shortcut::after { content: 'Финансы'; }
.top-actions #taxi-toggle::after, .top-actions #taxi-shortcut::after { content: 'Такси'; }
.top-actions > button::after { font-size: 10px; font-weight: 700; line-height: 1.2; color: #101c18; }
.top-actions .tour-chat-shortcut, .top-actions .admin-tariffs-button { width: 68px; padding: 8px 4px; font-size: 10px; font-weight: 700; color: #101c18; }
.top-actions .tour-chat-shortcut::before { content: ''; width: 28px; height: 28px; margin: auto; border: 2px solid #075d31; border-radius: 5px; background: linear-gradient(#075d31,#075d31) center 6px / 2px 12px no-repeat; }
.top-actions .admin-tariffs-button::before { content: '☷'; color: #075d31; font-size: 29px; line-height: 28px; }
.top-actions .taxi-toggle, .top-actions .taxi-shortcut { background: linear-gradient(135deg,#fff69a,#ffe86a); box-shadow: 0 0 0 5px #fffbea; color: #111c13; }
.top-actions .wallet-shortcut { background: #fff; }
.last-chat-button { background: #fafffd; border-color: #bdded0; box-shadow: none; color: #173e2d; padding: 9px 13px; }
.conversation:has(.taxi-order-preview) { padding-top: 38px; }
.search-response:has(.taxi-order-preview) { max-width: min(100%, 760px); width: 100%; margin: 12px 0; }
.taxi-order-form.taxi-order-preview {
  padding: 12px 12px 10px; margin: 8px 0 0; gap: 8px; border: 1px solid #ffffff;
  border-radius: 26px; background: #ffffffed; box-shadow: 0 14px 38px #4b9c7920;
}
.taxi-order-preview > [role=status] { margin: 0; text-align: center; color: #111b23; font-size: 15px; line-height: 1.45; font-weight: 750; }
.taxi-order-preview > [role=status]:empty { display: none; }
.taxi-order-preview > .taxi-preview-route { margin: -4px 0 3px; text-align: center; font-size: 14px; line-height: 1.4; color: #7d8491; overflow-wrap: anywhere; }
.taxi-order-preview .taxi-fleet-info { padding: 9px 12px; margin: 0; border: 1px solid #ffe16b; border-radius: 13px; background: linear-gradient(115deg,#fff7c9,#fff2af); box-shadow: none; }
.taxi-order-preview .taxi-fleet-info .taxi-fleet-free { margin: 0; padding: 0 0 8px; align-items: center; gap: 8px; color: #006433; }
.taxi-order-preview .taxi-fleet-info strong, .taxi-order-preview .taxi-fleet-info span { font-size: clamp(15px, 4.2vw, 19px); line-height: 1.2; letter-spacing: -.035em; }
.taxi-order-preview .taxi-fleet-info .taxi-fleet-soon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; margin: 0; padding: 6px 0 0; border-top: 1px solid #ebcd6a; color: #b44e00; }
.taxi-order-preview .taxi-fleet-soon span { margin-top: 0; }
.taxi-order-preview .taxi-fleet-info small { color: #777147; font-size: 10px; line-height: 1.35; }
.taxi-order-preview .taxi-map { height: clamp(270px, 36dvh, 400px); margin: 0; border: 1px solid #e0e6e3; border-radius: 20px; box-shadow: none; background: #e6eee8; }
.taxi-order-preview .leaflet-control-zoom { border: 0; border-radius: 15px; overflow: hidden; box-shadow: 0 4px 16px #263d3029; }
.taxi-order-preview .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; color: #15212d; background: #fff; border-color: #f0f3f1; }
.taxi-preview-actions { display: flex; gap: 11px; }
.taxi-order-preview .taxi-preview-actions button { min-width: 0; min-height: 58px; padding: 12px 8px; margin: 0; border-radius: 19px; font-size: clamp(14px, 3.9vw, 18px); font-weight: 800; background: #e5efea; color: #075b38; }
.taxi-order-preview .taxi-preview-actions button[type=submit] { flex: 1.4; color: #fff; background: linear-gradient(125deg,#007432,#005b28); box-shadow: 0 4px 12px #06763818; }
.taxi-order-preview .taxi-preview-actions button[type=submit]::before,
.taxi-order-preview .taxi-fleet-free strong::before,
.taxi-order-preview .taxi-fleet-soon strong::before,
.taxi-fleet-vehicle-count::after {
  content: ''; display: inline-block; width: 22px; height: 22px; margin-right: 8px; vertical-align: -5px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M8 7h16l3 9 2 3v8h-4v-3H7v3H3v-8l2-3zm2 3-2 6h16l-2-6zM7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4m18 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4M12 3h8v3h-8z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.taxi-order-preview .taxi-fleet-soon strong::before { background: #d44435; }
.taxi-fleet-info .taxi-fleet-vehicle-count { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.taxi-fleet-vehicle-count::after { width: 12px; height: 12px; margin: 0; flex: none; }
.taxi-fleet-info .taxi-fleet-demo { font-size: 9px; color: #777147; order: 2; }
@media (max-width: 350px) {
  .taxi-order-preview .taxi-preview-actions button[type=submit]::before { display: none; }
}
.taxi-order-preview .taxi-preview-actions button[type=button]::before { content: '×'; display: inline-block; margin-right: 8px; font-size: 25px; line-height: 15px; vertical-align: -2px; font-weight: 400; }
.taxi-order-preview .taxi-preview-actions button:disabled { opacity: .55; }
.taxi-order-preview .taxi-search-status { padding: 7px 10px; border-radius: 12px; background: #eaf7ed; }
.composer-area { background: linear-gradient(0deg,#f1f7f4,#edf8f1e8 75%,transparent); padding-top: 7px; }
.composer { background: #ffffffba; border: 0; border-radius: 30px; box-shadow: 0 8px 24px #315b4920; }
.composer-row { gap: 8px; padding-left: 7px; padding-right: 7px; }
.attach-button { background: #fff; color: #101820; box-shadow: 0 3px 10px #25372d12; }
.composer textarea { background: #fff; border-radius: 22px; padding-left: 12px; padding-right: 10px; }
.send-button, .send-button.is-pro { background: #00652f; }
.composer-note { color: #818894; font-weight: 400; }
@media (max-width: 760px) {
  .chat-topbar { min-height: calc(86px + env(safe-area-inset-top)); padding: calc(6px + env(safe-area-inset-top)) 8px 6px; }
  .top-actions { gap: 6px; }
  .top-actions > button, .top-actions .tour-chat-shortcut, .top-actions .admin-tariffs-button { width: 59px; height: 62px; border-radius: 19px; }
  .top-actions > button svg { width: 27px; height: 27px; }
  .top-actions > button::after { font-size: 9px; }
  .top-actions #profile-avatar { width: 43px; height: 43px; }
  .conversation { padding-left: 10px; padding-right: 10px; }
  .taxi-order-preview .taxi-map { height: clamp(260px, 35dvh, 340px); }
}
