.chat-media-tools{padding:8px 16px;background:#f7f8f2;border-top:1px solid #d9e2d5;flex:none;max-height:190px;overflow:auto}.chat-media-actions{display:flex;gap:7px;flex-wrap:wrap}.chat-media-button{display:inline-flex;align-items:center;justify-content:center;background:white;color:#122a26;border:1px solid #79927c;border-radius:8px;min-height:36px;padding:8px 10px;font:600 11px 'DM Sans',sans-serif;cursor:pointer;text-decoration:none}.chat-media-status{font-size:11px;line-height:1.6;margin:5px 0;color:#405d45}.chat-media-status:empty{display:none}.chat-media-strip{display:flex;gap:8px;overflow:auto;margin-top:8px}.chat-media-ref{flex:none;width:105px;display:flex;flex-direction:column;gap:4px}.chat-media-ref img{width:100%;height:60px;object-fit:contain;background:white;border:1px solid #c6d5c0;border-radius:6px}.chat-media-ref small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.chat-media-ref select{max-width:100%;font-size:11px;color:#122a26;background:white}.chat-media-ref button{min-height:28px;padding:3px 8px}.chat-media-dialog{padding:0;width:min(640px,calc(100% - 24px));max-height:90dvh;border:1px solid #78917a;border-radius:16px;background:#f7f8f2;color:#122a26}.chat-media-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px;background:#122a26;color:white;position:sticky;top:0;z-index:1}.chat-media-heading h2{font-size:20px;margin:0}.chat-media-body{padding:20px}.chat-media-body label{display:block;font-size:13px;margin:15px 0}.chat-media-body textarea,.chat-media-body select{box-sizing:border-box;width:100%;padding:12px;border:1px solid #78917a;border-radius:8px;font:16px 'DM Sans',sans-serif;color:#122a26;background:white}.chat-media-body p{font-size:12px;line-height:1.7}.chat-media-primary{display:block;width:100%;padding:15px;border:0;border-radius:9px;background:#122a26;color:white;font:600 14px 'DM Sans',sans-serif;cursor:pointer;min-height:48px}.chat-media-primary:disabled{opacity:.65;cursor:wait}.chat-generated-preview{display:block;width:100%;height:auto;border:1px solid #bccdb7;border-radius:8px;margin:20px 0}.chat-media-library-item{border-bottom:1px solid #bccdb7;padding:14px 0}.chat-media-library-item img{width:100%;max-height:180px;object-fit:contain}.chat-media-tools input[hidden]{display:none!important}.chat-media-tools[hidden]{display:none!important}.creative-credit-editor{border:1px solid #bccdb7;padding:18px;border-radius:12px;margin:20px 0}.creative-credit-editor p{font-size:12px;line-height:1.7}@media(max-width:600px){.chat-media-tools{padding:8px 12px;max-height:175px}.chat-media-dialog{width:calc(100% - 16px);max-height:94dvh}.chat-media-button{font-size:10px}.chat-media-actions{gap:5px}}

/* One compact tool menu instead of a permanent wall of buttons. */
.chat-media-tools{max-height:none;overflow:visible;border-top:0;padding:4px 16px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.chat-tool-menu{position:relative;flex:none;max-width:100%}.chat-tool-toggle{list-style:none;display:grid;place-items:center;width:36px;height:36px;min-height:36px;border:1px solid #78917a;border-radius:50%;font:400 25px/1 Arial,sans-serif;color:#122a26;background:white;cursor:pointer;user-select:none}.chat-tool-toggle::-webkit-details-marker{display:none}.chat-tool-menu[open]{width:100%;border:1px solid #d1ddc8;border-radius:12px;padding:10px;background:#fff}.chat-tool-menu[open]>.chat-tool-toggle{margin-bottom:10px;background:#122a26;color:#fff;transform:rotate(45deg)}.chat-tool-menu .chat-media-actions{gap:8px}.chat-tool-menu .google-business-card{margin:12px 0 0;border-radius:10px;padding:10px}.chat-tool-menu .google-business-card>p{font-size:12px}.chat-tool-menu .guest-intent-options,.chat-tool-menu .guest-footer{margin-top:12px}.chat-tool-menu #chat-options{display:flex;padding:12px 0 0;gap:8px}.chat-media-strip:empty{display:none}.chat-media-strip{margin:0;flex:1;min-width:0}.chat-media-status{flex-basis:100%;margin:0;font-size:11px}.chat-tool-menu .chat-media-button{min-height:40px;font-size:12px}.chat-tool-toggle:focus-visible{outline:3px solid #8ba25c;outline-offset:3px}.demo-landing .chat-stage:not(.is-chatting) .chat-media-tools{display:none}
.chat-tool-menu[open]{max-height:min(300px,45dvh);overflow:auto}.spots-chat:not(:has(.chat-tool-menu[open])) .chat-footer button{display:none}
.chat-media-tools[hidden]{display:none!important}

.chat-bar-options:has(>button:only-child){grid-template-columns:1fr}.chat-bar-options>button:only-child{flex:1}
