.assistant{max-width:1120px;margin-inline:auto;padding:clamp(18px,4vw,32px)}
.assistant-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.assistant-heading h2{margin:0 0 4px;font-size:1.45rem}
.assistant-heading p,.assistant-privacy{margin:0;color:#68625c}
.assistant-mark{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:50%;background:#fff0e8;color:#e94e1a;font-size:1.6rem}
.assistant-layout{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:24px;align-items:start;margin-top:14px}
.assistant-summary{grid-column:1;position:sticky;top:16px;padding:16px;border:1px solid #eee5dc;border-radius:16px;background:#fffdfa;direction:inherit;min-width:0}
.assistant-summary h3{margin:0 0 10px;font-size:1.05rem}
.assistant-summary>p{margin:0;color:#68625c;font-size:.9rem}
.assistant-summary dl{display:grid;gap:10px;margin:0}
.assistant-summary dl div{min-width:0;padding-bottom:9px;border-bottom:1px solid #eee5dc}
.assistant-summary dt{font-weight:700;color:#a43b13;font-size:.82rem}
.assistant-summary dd{margin:2px 0 0;overflow-wrap:anywhere;white-space:pre-wrap;font-size:.9rem}
.assistant-summary-photos{margin-top:14px;padding-top:12px;border-top:1px solid #eee5dc}
.assistant-summary-photos h4{margin:0 0 4px;font-size:.95rem}
.assistant-summary-photos p{margin:0 0 8px;color:#68625c;font-size:.82rem}
.assistant-summary-tools{margin-top:14px;padding-top:12px;border-top:1px solid #eee5dc}
.assistant-summary-tools h4{margin:0 0 4px;font-size:.95rem}
.assistant-summary-tools .assistant-tools{padding:6px 0 2px}
.assistant-summary-photo-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.assistant-photo-card{position:relative;min-width:0;padding:4px;border:1px solid #eee5dc;border-radius:10px;background:#fff}
.assistant-photo-card>img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px}
.photo-main-badge{display:inline-flex;align-items:center;justify-content:center;margin:5px 0 0;padding:2px 7px;border-radius:99px;background:#fff0e8;color:#a43b13;font-size:.72rem;font-weight:700}
.assistant-photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:5px}
.assistant-photo-actions button{min-width:0;padding:5px 4px;font-size:.72rem;line-height:1.2}
.assistant-photo-actions button:only-child{grid-column:1/-1}
.assistant-chat{grid-column:2;min-width:0;direction:inherit}
.assistant-messages{display:flex;flex-direction:column;gap:12px;max-height:min(52vh,520px);overflow-y:auto;padding:20px 2px 8px;scroll-behavior:smooth}
.chat-message{max-width:min(88%,620px);padding:12px 16px;border-radius:16px;background:#f8f3ed;overflow-wrap:anywhere}
.chat-message.user{align-self:flex-end;background:#fff0e8}
.chat-speaker{display:block;color:#a43b13;font-weight:700;font-size:.82rem}
.chat-message p{margin:3px 0 0;white-space:pre-wrap}
.chat-message p[dir=rtl]{direction:rtl;text-align:right;unicode-bidi:isolate}
.chat-message p[dir=ltr]{direction:ltr;text-align:left;unicode-bidi:isolate}
.chat-message bdi{unicode-bidi:isolate;direction:ltr}
.assistant-retry{margin-top:8px;padding:7px 12px;font-size:.82rem}
.assistant-composer textarea[dir=rtl]{direction:rtl;text-align:right}
.assistant-composer{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;padding-top:8px;border-top:1px solid #eee5dc}
.assistant-composer textarea{min-height:52px;max-height:180px;resize:vertical}
.assistant-keyboard-hint{grid-column:1/-1;margin:0;color:#68625c;font-size:.76rem;text-align:end}
.assistant-tools{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0 2px}
.assistant-tools button{font-size:.9rem}
.assistant-tools button:disabled{opacity:.55;cursor:not-allowed}
.assistant-tools-hint{margin:0;color:#68625c;font-size:.78rem}
.assistant-actions{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-top:12px}
.assistant-privacy{max-width:55%;font-size:.78rem;line-height:1.45;text-align:end}
.secondary{color:#9c3c17;background:#fff;border:1px solid #d7c8bc}
.assistant-choice{margin:0 0 14px;padding:14px;border:1px solid #f0c8b5;border-radius:14px;background:#fffaf6}
.assistant-choice p{margin:0 0 12px;font-weight:650}
.assistant-choice button{margin-inline-end:8px}
.assistant-required-note{padding:12px 14px;background:#fff4e4;border:1px solid #e8c78f;border-radius:12px;color:#664511}
.assistant-location-dialog{width:min(780px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:16px;box-shadow:0 20px 60px #0004;color:inherit}
.assistant-location-dialog::backdrop{background:#1c1714aa}
.assistant-location-dialog-body{padding:18px}
.assistant-location-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.assistant-location-dialog-header h2{margin:0;font-size:1.2rem}
.assistant-location-dialog-header button{min-width:42px;padding:7px}
.assistant-location-map{height:min(55vh,480px);min-height:300px;border-radius:12px;overflow:hidden;background:#eee}
.assistant-map-marker{background:transparent;border:0}
.assistant-map-pin{position:relative;display:block;width:24px;height:24px;margin:0 auto;background:#f66520;border:3px solid #fff;border-radius:50% 50% 50% 0;transform:rotate(-45deg);box-shadow:0 2px 7px #0006}
.assistant-map-pin::after{content:"";position:absolute;inset:5px;border-radius:50%;background:#fff}
.assistant-location-coordinates{min-height:1.5em;margin:8px 0;text-align:center;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.assistant-location-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.assistant-location-actions button{margin:0}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.assistant-choices{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}
.assistant-choices .assistant-choice{margin:0;min-height:40px;text-align:start;max-width:100%}
.assistant-choices .assistant-choice.recommended{border-color:var(--coral,#ff5b20);font-weight:700}
.assistant-choice-badge{display:inline-block;margin-inline-end:6px;padding:1px 8px;border-radius:999px;background:var(--coral,#ff5b20);color:#fff;font-size:12px}
@media(max-width:760px){.assistant-layout{grid-template-columns:minmax(0,1fr);gap:12px}.assistant-summary,.assistant-chat{grid-column:1}.assistant-summary{position:static;order:0}.assistant-chat{order:1}.assistant-messages{max-height:48vh}}
@media(max-width:600px){.assistant-composer{grid-template-columns:1fr}.assistant-composer button{width:100%}.assistant-actions{flex-direction:column-reverse}.assistant-privacy{max-width:none;text-align:start}.assistant-choice button{margin:6px 4px 0 0}}
@media(max-width:600px){.assistant-location-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:92dvh;border-radius:18px 18px 0 0}.assistant-location-dialog-body{padding:14px}.assistant-location-map{height:48dvh;min-height:280px}.assistant-location-actions{display:grid;grid-template-columns:1fr 1fr}.assistant-location-actions #assistant-location-gps{grid-column:1/-1}.assistant-location-actions button{width:100%}}
