.trip-ai-search-working { display: flex; align-items: center; gap: 9px; min-height: 28px; }
.trip-ai-search-working::before { content: ''; flex: 0 0 14px; width: 14px; height: 14px; border: 2px solid #d6e5df; border-top-color: #a85434; border-radius: 50%; animation: trip-ai-search-spin .8s linear infinite; }
@keyframes trip-ai-search-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .trip-ai-search-working::before { animation: none; } }
.workspace-place-fallback { display: grid; gap: 8px; }
.workspace-place-fallback[hidden] { display: none; }
.workspace-place-fallback button { min-height: 40px; padding: 10px 12px; border: 1px solid #b5d3c9; border-radius: 9px; background: #fffdf8; color: #235868; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.workspace-place-fallback button:focus-visible { outline: 2px solid #1ca2aa; outline-offset: 2px; }
.trip-ai-composer { min-width: 0; border: 1px solid #c7d8d3; border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.trip-ai-composer:focus-within, .trip-ai-composer.is-image-drop { border-color: #1d6672; box-shadow: 0 0 0 3px #1d66721a; }
.trip-ai-composer textarea { display: block; width: 100%; box-sizing: border-box; border: 0 !important; border-radius: 0 !important; background: transparent; resize: vertical; min-height: 100px; padding: 12px; box-shadow: none !important; outline: none; }
.trip-ai-composer__toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0 10px 10px; }
.trip-ai-composer__toolbar button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; border: 0; border-radius: 7px; background: #eef4f1; color: #234d58; font: inherit; font-size: 12px; cursor: pointer; }
.trip-ai-composer__toolbar svg { width: 17px; height: 17px; }
.trip-ai-composer__toolbar small { color: #536e76; font-size: 10px; }
.trip-ai-composer__sources { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 10px; }
.trip-ai-composer__sources:not(:empty) { padding-bottom: 10px; }
.trip-ai-composer__image { position: relative; width: 74px; height: 74px; }
.trip-ai-composer__image img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.trip-ai-composer__image button { position: absolute; top: -3px; right: -3px; width: 28px; height: 28px; min-height: 28px; padding: 0; border: 1px solid #d1ded8; border-radius: 50%; background: #fff; color: #234d58; font-size: 18px; cursor: pointer; }
.trip-ai-composer__link { width: 100%; min-width: 0; padding: 7px 9px; border-radius: 7px; background: #edf5f8; color: #28566a; font-size: 11px; overflow-wrap: anywhere; box-sizing: border-box; }
.trip-ai-composer__notice { margin: 0 !important; padding: 0 10px 10px; color: #8d422a; font-size: 12px; }
.trip-ai-composer button:focus-visible { outline: 2px solid #1d6672; outline-offset: 2px; }
.trip-ai-composer button:disabled { opacity: .5; cursor: default; }
.trip-private-method-panel.trip-ai-entry .trip-ai-composer__toolbar button { min-height: 34px; padding: 7px 9px; border-radius: 7px; background: #eef4f1; color: #234d58; box-shadow: none; }
.trip-private-method-panel.trip-ai-entry .trip-ai-composer__image button { min-height: 28px; height: 28px; width: 28px; padding: 0; border: 1px solid #d1ded8; border-radius: 50%; background: #fff; color: #234d58; font-size: 18px; box-shadow: none; }
.trip-private-method-panel.trip-ai-entry .trip-ai-entry-body .trip-ai-composer__notice { color: #8d422a; }
.trip-ai-feedback { margin: 12px 0; padding: 12px 14px; border: 1px solid #d3e2dd; border-radius: 12px; background: #edf4f1; color: #234d58; overflow-wrap: anywhere; }
.trip-ai-feedback[hidden] { display: none; }
.trip-ai-feedback p { margin: 0 0 10px; font-size: 12px; line-height: 1.65; }
.trip-ai-feedback p:last-child { margin-bottom: 0; }
.trip-ai-feedback strong, .trip-ai-feedback span { display: block; }
.trip-ai-feedback strong { margin-bottom: 3px; font-size: 11px; }
.trip-ai-feedback summary { cursor: pointer; font-size: 12px; font-weight: 700; }
.trip-ai-feedback details[open] summary { margin-bottom: 12px; }
.trip-ai-feedback summary:focus-visible { outline: 2px solid #1d6672; outline-offset: 3px; }
.workspace-trip-detail .trip-place-results-heading { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 8px; font-size: 14px; color: #193f49; }
.trip-place-results-heading span { font-size: 11px; font-weight: 500; }
.trip-place-results-hint { margin: 0 0 12px; font-size: 12px; line-height: 1.6; color: #516a70; }
.trip-place-choice { display: flex !important; align-items: flex-start; gap: 12px; width: 100%; box-sizing: border-box; padding: 14px !important; font: inherit !important; text-align: left; border: 1px solid #b8cdc9 !important; border-radius: 12px !important; background: #fffdf8 !important; color: #193f49 !important; cursor: pointer; }
.trip-place-choice:hover { border-color: #1d6672 !important; background: #f1f7f5 !important; }
.trip-place-choice[aria-pressed="true"] { border: 2px solid #1d6672 !important; background: #eaf4f1 !important; padding: 13px !important; }
.trip-place-choice__number { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 50%; background: #235868; color: #fff; font-size: 13px; font-weight: 800; }
.trip-place-choice__body { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.trip-place-choice__body strong { font-size: 13px; line-height: 1.45; }
.trip-place-choice__body small { font-size: 11px; line-height: 1.5; color: #526b72; }
.trip-place-choice__body .trip-place-choice__warning { color: #8f451e; }
.trip-place-choice__body .trip-place-source { justify-self: start; padding: 3px 7px; border-radius: 5px; background: #e5efec; color: #235868; font-weight: 700; }
.trip-place-choice__body .trip-place-source[data-source="ai"] { background: #fff0de; color: #85531e; }
.workspace-trip-detail .trip-place-choice[data-source="bashomap"] .trip-place-choice__number { background: #235868; }
.workspace-trip-detail .trip-place-choice[data-source="ai"] .trip-place-choice__number { background: #a85434; }
.workspace-trip-detail .trip-place-choice[aria-pressed="true"] .trip-place-choice__number { background: #a85434; }
.trip-place-evidence { margin: 6px 0 12px; color: #526b72; font-size: 11px; }
.trip-place-evidence summary { padding: 8px 0; cursor: pointer; }
.trip-place-evidence p { margin: 5px 0; line-height: 1.6; }
.trip-place-evidence small, .trip-place-evidence a { display: block; margin: 6px 0; }
.trip-place-save-kind { justify-self: start; padding: 4px 8px; border-radius: 5px; background: #e2eeea; color: #235868; font-size: 11px; font-weight: 700; }
.trip-place-location-review .trip-place-evidence { margin: 0; }
.trip-place-empty { margin: 16px 0; padding: 16px; border: 1px solid #d6ded8; border-radius: 12px; background: #f4f4ee; color: #234d58; }
.trip-place-empty[hidden] { display: none; }
.trip-place-empty strong { display: block; font-size: 15px; }
.trip-place-empty p { margin: 7px 0 0; font-size: 12px; line-height: 1.6; }
.workspace-trip-place-popup { z-index: 70; }
.workspace-trip-place-popup .maplibregl-popup-content { padding: 0; border-radius: 14px; box-shadow: 0 8px 30px #17384930; overflow: hidden; }
.workspace-trip-place-popup .maplibregl-popup-close-button { z-index: 1; width: 32px; height: 32px; font-size: 22px; color: #235868; }
.workspace-trip-place-popup .trip-place-location-review, .trip-place-review-fallback .trip-place-location-review { margin: 0; border: 0; background: #fffdf8; max-height: calc(100vh - 160px); overflow-y: auto; font: 13px "Trebuchet MS", sans-serif; }
.workspace-trip-place-popup .trip-place-location-review > h4, .trip-place-review-fallback .trip-place-location-review > h4 { padding-right: 20px; }
.workspace-trip-place-popup .workspace-trip-place-search__verify, .trip-place-review-fallback .workspace-trip-place-search__verify { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; line-height: 1.5; }
.workspace-trip-place-popup .workspace-trip-place-search__verify[hidden], .trip-place-review-fallback .workspace-trip-place-search__verify[hidden] { display: none; }
.trip-place-review-fallback { position: fixed; right: 24px; top: 140px; width: 320px; z-index: 70; border-radius: 14px; box-shadow: 0 8px 30px #17384930; overflow: hidden; }
.trip-place-review-fallback[hidden] { display: none; }
.trip-place-review-close { position: absolute; right: 0; top: 0; width: 32px; height: 32px; border: 0; background: transparent; color: #235868; font-size: 22px; cursor: pointer; }
.trip-place-map-return { display: none; position: fixed; bottom: 20px; right: 20px; z-index: 80; padding: 12px 18px; border: 1px solid #fff; border-radius: 10px; background: #235868; color: #fff; font: 700 14px sans-serif; box-shadow: 0 4px 18px #17384930; }
@media (max-width: 560px) {
  .workspace-trip-place-popup.maplibregl-popup, .trip-place-review-fallback { position: fixed; top: auto; bottom: 12px; left: 12px; right: 12px; width: auto; max-width: none !important; transform: none !important; z-index: 400; }
  .workspace-trip-place-popup.maplibregl-popup { display: block; }
  .workspace-trip-place-popup .maplibregl-popup-content { width: 100%; box-sizing: border-box; }
  .workspace-trip-place-popup .maplibregl-popup-tip { display: none; }
  body.workspace-trip-pin-adjusting #workspace-trips { display: none !important; }
  body.workspace-trip-pin-adjusting .trip-place-map-return:not([hidden]) { display: block; }
}
.trip-place-choice__action { display: block; margin-top: 7px; color: #1d6672; font-size: 12px; font-weight: 800; }
.trip-place-choice:focus-visible, .trip-place-location-review button:focus-visible { outline: 3px solid #1d6672; outline-offset: 3px; }
.trip-place-location-review { display: grid; gap: 9px; margin: 16px 0; padding: 16px; border: 1px solid #b8ced5; border-radius: 12px; background: #eef6f9; color: #193f49; }
.trip-place-location-review[hidden] { display: none; }
.trip-place-location-review:focus { outline: 2px solid #235868; outline-offset: 3px; }
.trip-place-location-review[data-confirmed="true"] { background: #edf6ef; border-color: #a5c7b2; }
.trip-place-location-review > h4, .trip-place-location-review > p { margin: 0; }
.trip-place-location-review > [data-place-flow-heading] { margin: 0; font-size: 14px; line-height: 1.5; }
.trip-place-location-review strong { font-size: 13px; overflow-wrap: anywhere; }
.trip-place-location-review p { font-size: 12px; line-height: 1.7; }
.trip-place-location-review small { font-size: 11px; color: #526b72; }
.trip-place-location-review a { color: #205971; font-size: 12px; font-weight: 700; text-underline-offset: 3px; }
.trip-place-location-review__actions { display: grid; gap: 8px; }
.trip-place-location-review button { min-height: 42px; padding: 10px 12px; border: 1px solid #b5ccd3; border-radius: 8px; background: #fff; color: #235868; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.trip-place-location-review [data-place-confirm] { background: #235868; color: #fff; border-color: #235868; }
.trip-place-location-review button:disabled { opacity: .55; cursor: default; }
.trip-place-location-review .workspace-trip-place-search__verify { font-size: 12px; line-height: 1.6; }
.trip-private-candidate-map-pin, .trip-private-candidate-map-pin.is-ai-estimate, .trip-private-candidate-map-pin.is-bashomap { background: #235868; color: #fff; }
.trip-place-submission-choice { margin: 12px 0; padding: 12px; border: 1px solid #cfdfd9; border-radius: 10px; background: #f4f8f5; color: #234f5b; }
.trip-place-submission-choice[hidden] { display: none; }
.trip-place-submission-choice label { display: flex; align-items: flex-start; gap: 9px; cursor: pointer; font-size: 12px; line-height: 1.5; }
.trip-place-submission-choice input[type=checkbox] { flex: 0 0 auto; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #235765; }
.trip-place-submission-choice small { display: block; margin-top: 6px; font-size: 11px; line-height: 1.6; color: #58727a; }
.trip-place-submission-retry { display: block; margin-top: 8px; padding: 8px 12px; border: 1px solid #b8d0d4; border-radius: 8px; background: #edf5f6; color: #235765; cursor: pointer; }
.trip-place-source svg { width: 14px; height: 14px; vertical-align: middle; margin-right: 3px; }
