form .ca-btn {
  flex: none; align-self: flex-end; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 12px; background: transparent; color: #0B6E6E; cursor: pointer;
}
.composer .ca-btn { width: 40px; height: 44px; background: transparent; }
.hc-composer .ca-btn { width: 32px; height: 36px; background: transparent; }
form .ca-btn:hover { background: rgba(11,110,110,.08); }
form .ca-btn svg { width: 22px; height: 22px; }
.hc-composer .ca-btn svg { width: 20px; height: 20px; }

form.ca-has-media { flex-wrap: wrap; }
.ca-tray {
  order: -1; flex: 0 0 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
}
.ca-thumb {
  position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden;
  background: #E6F0ED; flex: none;
}
.hc-composer .ca-thumb { width: 48px; height: 48px; }
.ca-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ca-thumb.is-video {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: #E255A1; padding: 4px;
}
.ca-thumb.is-video svg { width: 22px; height: 22px; }
.ca-thumb.is-video em {
  max-width: 100%; font-size: 9px; font-style: normal; color: rgba(28,36,35,.65);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
form .ca-thumb button {
  position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; padding: 0; border: 0;
  border-radius: 50%; background: rgba(16,24,23,.6); color: #fff; display: grid; place-items: center; cursor: pointer;
}
form .ca-thumb button svg { width: 14px; height: 14px; }
.ca-sending { font-size: 12px; font-weight: 700; color: #0B6E6E; }

.ca-map {
  position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center;
  background: rgba(16,24,23,.45);
}
.ca-map-panel {
  display: flex; flex-direction: column; width: 100%; height: 100%; background: #fff; overflow: hidden;
}
@media (min-width: 720px) {
  .ca-map-panel { width: min(720px, calc(100% - 48px)); height: min(640px, calc(100% - 48px)); border-radius: 16px; }
}
.ca-map-bar {
  flex: none; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 8px;
  border-bottom: 1px solid rgba(28,36,35,.08);
}
.ca-map-bar h2 { flex: 1; margin: 0; text-align: center; font-size: 16px; font-weight: 800; }
.ca-map-bar button {
  min-width: 64px; height: 40px; border: 0; background: transparent; font: inherit; font-weight: 700; cursor: pointer;
}
.ca-map-bar .ghost { color: rgba(28,36,35,.6); }
.ca-map-bar .ok { color: #0B6E6E; }
.ca-map-canvas { flex: 1; min-height: 260px; background: #E8EEED; }
.ca-map-footer {
  flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(28,36,35,.08);
}
.ca-map-addr { flex: 1; margin: 0; font-size: 13px; line-height: 1.35; color: rgba(28,36,35,.8); }
.ca-map-me {
  flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #E7F6F3; color: #0B6E6E;
  display: grid; place-items: center; cursor: pointer;
}
.ca-map-me svg { width: 20px; height: 20px; }

.ca-product-panel { display: flex; flex-direction: column; height: min(80vh, 560px); max-height: none; }
.ca-tabs { display: flex; gap: 4px; margin: 6px 0 8px; padding: 3px; border-radius: 10px; background: #F3F7F6; }
.ca-tabs button {
  flex: 1; height: 32px; border: 0; border-radius: 8px; background: transparent; font: inherit;
  font-size: 13px; font-weight: 700; color: rgba(28,36,35,.6); cursor: pointer;
}
.ca-tabs button.on { background: #fff; color: #0B6E6E; box-shadow: 0 1px 3px rgba(16,24,23,.08); }
.ca-search {
  width: 100%; height: 38px; margin-bottom: 8px; padding: 0 12px; border: 1px solid rgba(28,36,35,.12);
  border-radius: 10px; font: inherit; font-size: 13px;
}
.ca-products { flex: 1; min-height: 0; overflow: auto; }
.ca-product-row {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 4px; border: 0;
  border-bottom: 1px solid rgba(28,36,35,.06); background: transparent; text-align: left; font: inherit; cursor: pointer;
}
.ca-product-row:hover { background: rgba(28,36,35,.03); }
.ca-product-row img, .ca-product-row .ph {
  width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: #E6F0ED; flex: none;
}
.ca-product-row strong {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 13px; font-weight: 700; line-height: 1.3;
}
.ca-product-row em { display: block; margin-top: 2px; color: #E53935; font-style: normal; font-weight: 800; font-size: 12px; }
.ca-empty { padding: 24px 8px; text-align: center; font-size: 13px; color: rgba(28,36,35,.55); }

.shot.is-video, .hc-shot.is-video { position: relative; cursor: pointer; }
.shot.is-video::after, .hc-shot.is-video::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: rgba(0,0,0,.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 26px no-repeat;
  pointer-events: none;
}

.chat-place {
  display: flex; align-items: center; gap: 10px; width: min(260px, 100%); padding: 10px; border-radius: 12px;
  background: #fff; border: 1px solid rgba(28,36,35,.08); color: inherit; text-decoration: none;
}
.chat-place-ico {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in srgb, #F2994A 16%, #fff); color: #F2994A;
}
.chat-place-ico svg { width: 20px; height: 20px; }
.chat-place strong { display: block; font-size: 13px; }
.chat-place span span { display: block; margin-top: 2px; font-size: 12px; color: rgba(28,36,35,.62); line-height: 1.3; }
