.ma-launch {display:flex;align-items:center;gap:10px;min-height:52px;width:100%;margin:8px 0 0;padding:5px 3px;background:transparent;color:var(--ink);text-align:start}
.ma-launch img {width:40px;height:40px;object-fit:cover;object-position:50% 30%;border-radius:50%;flex-shrink:0}
.ma-launch span {min-width:0;font-size:14px;color:var(--muted);overflow-wrap:anywhere}
.ma-launch strong {margin-inline-start:auto;color:var(--green);font-size:15px;overflow-wrap:anywhere;text-align:end}
.ma-backdrop {place-items:center;padding:12px}
.sheet.ma-sheet {width:min(100%,590px);height:min(820px,calc(100dvh - 24px));max-height:calc(100dvh - 24px);background:#fff}
.ma-header {flex:0 0 auto;align-items:center;padding:16px;gap:12px;background:#fff}
.ma-header>div {min-width:0;flex:1}
.ma-header .sheet-title {font-size:25px;line-height:1.15;overflow-wrap:anywhere}
.ma-header .sheet-subtitle {font-size:13px;line-height:1.4;margin-top:4px;overflow-wrap:anywhere}
.ma-header .close-button {flex:0 0 38px;width:38px;height:38px}
.ma-avatar {flex:0 0 54px;width:54px;height:54px;object-fit:cover;object-position:50% 30%;border-radius:50%}
.ma-info {display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid #e4e7e3;flex:0 0 auto;min-width:0}
.ma-info small {font-size:11px;color:#59625c;overflow-wrap:anywhere}
.ma-info button {background:none;color:#276c50;padding:6px 0;font-size:12px;line-height:1.4;flex:0 1 40%;text-align:end;overflow-wrap:anywhere}
.ma-log {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 16px;scroll-behavior:smooth;overflow-wrap:anywhere}
.ma-welcome {text-align:center;padding:10px 0 20px}
.ma-welcome>img {object-fit:cover;object-position:50% 30%;border-radius:50%;margin:0 auto 16px;width:112px;height:112px}
.ma-welcome h3 {font-family:var(--serif);font-size:25px;font-weight:500;line-height:1.25;margin:0 0 20px}
.ma-suggestions {display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.ma-suggestions button {background:#f2f7f3;border:1px solid #cfddd4;border-radius:6px;min-height:40px;padding:8px 12px;color:#1e6745;font-size:13px;line-height:1.4;overflow-wrap:anywhere;max-width:100%}
.ma-question {width:fit-content;max-width:90%;margin:12px 0 18px auto;padding:10px 13px;border-radius:6px;background:#eaf4ed;color:#204b33;font-size:15px;line-height:1.5;white-space:pre-wrap;text-align:start}
.ma-answer {margin:0 0 24px;text-align:start}
.ma-answer>p {font-size:15px;line-height:1.5;margin:0 0 10px}
.ma-mode {display:block;color:#696960;font-size:11px;line-height:1.5;margin:6px 0 12px}
.ma-answer .ma-warning {font-size:12px;color:#78541b;border-inline-start:3px solid #bc8b39;padding-inline-start:10px}
.ma-results {display:grid;gap:14px}
.ma-result {min-width:0}
.ma-results .dish-card {width:100%;margin:0;min-width:0}
.ma-results .dish-title {font-size:18px;line-height:1.2}
.ma-results .dish-price {font-size:18px}
.ma-results .dish-description {font-size:13px}
.ma-results .dish-card .tag-list {flex-wrap:wrap}
.ma-reasons {margin:6px 2px 0;color:#44604c;font-size:12px;line-height:1.5}
.ma-thinking {font-size:14px;line-height:1.5;color:#52665a;border-inline-start:3px solid #b48c40;padding:8px 12px}
.ma-footer {flex:0 0 auto;border-top:1px solid #e0e5e0;padding:12px 16px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;min-width:0}
.ma-composer {display:grid;grid-template-columns:minmax(0,1fr) minmax(64px,90px);gap:8px;align-items:stretch}
.ma-composer textarea {display:block;width:100%;min-width:0;min-height:60px;max-height:120px;resize:none;border:1px solid #cdd5cf;border-radius:6px;padding:9px 10px;background:#fff;color:#18261d;font-family:var(--sans);font-size:16px;line-height:1.4}
.ma-composer button {min-height:48px;max-width:100%;padding:8px;background:#196a43;color:white;border-radius:6px;font-size:14px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
.ma-composer button:disabled {background:#e3e8e4;color:#68756c;cursor:default}
.ma-error {margin:0 0 8px;color:#ab2030;font-size:13px;line-height:1.4}
.ma-disclosure {margin-top:9px;font-size:11px;line-height:1.4;color:#59605b;max-height:100px;overflow:auto}
.ma-disclosure summary {cursor:pointer;min-height:24px;padding:3px 0}
.ma-disclosure p {margin:8px 0;overflow-wrap:anywhere}
.ma-info button:focus-visible,.ma-launch:focus-visible,.ma-suggestions button:focus-visible {outline:2px solid #196a43;outline-offset:3px}
@media(max-width:350px) {.ma-header {gap:8px;padding:12px}.ma-header .sheet-title {font-size:21px}.ma-avatar {flex-basis:44px;width:44px;height:44px}.ma-log {padding:12px}.ma-footer {padding-inline:12px}.ma-info {padding-inline:12px}.ma-results .dish-card {grid-template-columns:60px minmax(0,1fr);gap:10px;padding:10px}.ma-results .dish-image {width:60px;height:70px}.ma-results .dish-topline {flex-wrap:wrap;gap:6px}}
