/* Shared compact AI controls across Home Braine. */
.seller-collaboration .sc-composer,
.seller-collaboration .sc-question-composer{box-sizing:border-box;width:100%;max-width:640px;margin:24px auto;position:static;padding:0;border:0;background:transparent;box-shadow:none}
.seller-collaboration .sc-seller-group>.sc-composer{margin:28px auto}
.seller-collaboration .sc-question-composer{margin:16px auto 24px}
.seller-collaboration .sc-ai-input-row,
#hb-welcome-tabs .ai-area .ai-compose,
.sticker-assistant .sticker-ai-composer>div,
.mode-agent .home-workspace-hero .bottom-ai-card #agent-ai-form{box-sizing:border-box;min-height:52px!important;padding:4px!important;gap:6px!important;border:1px solid #dce3dd;border-radius:26px!important;background:#f7f8f7;box-shadow:none}
.seller-collaboration .sc-ai-input-row textarea,
#hb-welcome-tabs .ai-area .ai-compose .ai-text,
.sticker-assistant .sticker-ai-composer #sticker-help-input,
.mode-agent .home-workspace-hero .bottom-ai-card #agent-ai-input{box-sizing:border-box;flex:1;min-width:0;width:auto;height:20px;min-height:20px!important;max-height:180px;padding:0 3px!important;margin:0;border:0;border-radius:0;background:transparent;resize:none;font-family:var(--sans,Arial,sans-serif)!important;font-size:16px!important;font-weight:400;line-height:20px!important}
.seller-collaboration button.sc-ai-icon,
#hb-welcome-tabs .ai-area .ai-compose button,
#hb-welcome-tabs .ai-area .ai-compose .photo-button,
.sticker-assistant .sticker-ai-composer button,
.sticker-assistant .sticker-ai-composer #sticker-chat-add,
.mode-agent .home-workspace-hero .bottom-ai-card #agent-ai-form .composer-icon,
.mode-agent .home-workspace-hero .bottom-ai-card #agent-ai-form .composer-send{box-sizing:border-box;display:grid;place-items:center;flex:0 0 44px!important;min-width:44px!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0;border-radius:50%!important}
.seller-collaboration .sc-ai-icon svg,
#hb-welcome-tabs .ai-area .ai-compose svg,
.sticker-assistant .sticker-ai-composer button svg,
.mode-agent .home-workspace-hero .bottom-ai-card #agent-ai-form svg{width:18px;height:18px}
.seller-collaboration .sc-question-composer .sc-ai-input-row textarea,
.seller-collaboration .sc-seller-group>.sc-composer textarea{height:20px}
#hb-welcome-tabs .ai-area .ai-compose,
.sticker-assistant .sticker-ai-composer,
.mode-agent .home-workspace-hero .bottom-ai-card #agent-ai-form{max-width:640px;margin-left:auto;margin-right:auto}
.mode-agent .home-workspace-hero .bottom-ai-card #agent-ai-form{flex-wrap:nowrap}
.mode-agent .home-workspace-hero .bottom-ai-card #agent-ai-form .composer-tools{width:auto;padding:0;gap:6px}
.mode-agent .home-workspace-hero .bottom-ai-card #agent-ai-form .composer-add{background:#214631;color:#fff}
.mode-agent .home-workspace-hero .bottom-ai-card #agent-ai-form .composer-attachments{flex-basis:100%}
.mode-agent .home-workspace-hero .bottom-ai-card #agent-ai-form:has(.composer-attachments:not([hidden])){flex-wrap:wrap}
@media(max-width:650px){
 .seller-collaboration .sc-ai-input-row textarea,
 #hb-welcome-tabs .ai-area .ai-compose .ai-text,
 .sticker-assistant .sticker-ai-composer #sticker-help-input,
 .mode-agent .home-workspace-hero .bottom-ai-card #agent-ai-input{font-size:16px!important}
 .seller-collaboration .sc-composer{margin:24px auto}
 .seller-collaboration .sc-seller-group>.sc-composer textarea{height:20px;min-height:20px!important}
}
/* One-line resting seller prompt; leave room around the greeting and suggestions. */
.seller-collaboration .sc-seller-group>.sc-composer{max-width:640px;margin:40px auto 44px!important}
.seller-collaboration .sc-seller-group>.sc-composer .sc-ai-greeting{margin:0 0 24px}
.seller-collaboration .sc-seller-group>.sc-composer .sc-ai-input-row textarea{height:20px;min-height:20px!important;max-height:88px}
.seller-collaboration .sc-suggestion-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:20px 0 0}
.seller-collaboration button.sc-question-chip{min-height:36px;padding:8px 12px;border:1px solid #dce5df;border-radius:999px;background:#fff;color:#426451;font-size:12px;line-height:1.4;text-align:center}
.seller-collaboration button.sc-question-chip:hover{background:#eef4ef;border-color:#8aa493}
.seller-collaboration button.sc-question-chip:focus-visible{outline:2px solid #426451;outline-offset:3px}
@media(max-width:650px){
 .seller-collaboration .sc-seller-group>.sc-composer{margin:36px auto 40px!important}
 .seller-collaboration .sc-seller-group>.sc-composer .sc-ai-greeting{margin-bottom:24px}
 .seller-collaboration .sc-ai-greeting h3{font-size:21px}
 .seller-collaboration .sc-suggestion-chips{gap:8px;margin-top:18px}
}

/* One compact scale for every active workspace composer. */
body :is(.seller-collaboration .sc-ai-input-row,#hb-welcome-tabs .ai-area .ai-compose,.sticker-assistant .sticker-ai-composer>div,#hb-welcome-tabs .simple-basics .sb-ai-row,.hd-input-row){display:flex;align-items:center!important;box-sizing:border-box;min-height:52px!important;height:auto!important;padding:4px!important;gap:6px!important;border-radius:26px!important}
body :is(.seller-collaboration .sc-ai-input-row,#hb-welcome-tabs .ai-area .ai-compose,.sticker-assistant .sticker-ai-composer>div,#hb-welcome-tabs .simple-basics .sb-ai-row,.hd-input-row) :is(textarea,.ai-text){display:block;box-sizing:border-box;flex:1 1 0!important;align-self:center;min-width:0;min-height:20px!important;height:20px;max-height:100px!important;padding:0 3px!important;margin:0!important;font-size:16px!important;line-height:20px!important;resize:none;overflow-y:auto}
body :is(.seller-collaboration .sc-ai-input-row,#hb-welcome-tabs .ai-area .ai-compose,.sticker-assistant .sticker-ai-composer>div,#hb-welcome-tabs .simple-basics .sb-ai-row,.hd-input-row) :is(button,.photo-button){box-sizing:border-box;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;margin:0!important}
body :is(.seller-collaboration .sc-ai-input-row,#hb-welcome-tabs .ai-area .ai-compose,.sticker-assistant .sticker-ai-composer>div,#hb-welcome-tabs .simple-basics .sb-ai-row,.hd-input-row) svg{width:17px!important;height:17px!important}
@media(max-width:900px){
 body :is(.seller-collaboration .sc-ai-input-row,#hb-welcome-tabs .ai-area .ai-compose,.sticker-assistant .sticker-ai-composer>div,#hb-welcome-tabs .simple-basics .sb-ai-row,.hd-input-row){min-height:52px!important;padding:4px!important}
}

/* Keep the Seller Questions prompt on the same compact, rounded shared composer. */
.seller-collaboration .sc-composer .sc-ai-input-row{box-sizing:border-box;width:100%;max-width:640px;min-height:52px!important;padding:4px!important;gap:6px!important;border:1px solid #dce3dd;border-radius:26px!important;background:#f7f8f7;box-shadow:none}

/* Optional structured details follow the AI-first answer path on service questions. */
.seller-collaboration .sc-service-details>summary,
#collab-root .collab-contact-details>summary{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap;cursor:pointer;list-style:none;color:#294638}
.seller-collaboration .sc-service-details>summary::-webkit-details-marker,
#collab-root .collab-contact-details>summary::-webkit-details-marker{display:none}
.seller-collaboration .sc-service-details>summary small,
#collab-root .collab-contact-details>summary small{font-size:12px;color:#718078;font-weight:400}
.seller-collaboration .sc-service-helper,
#collab-root .sc-service-helper{margin:2px 0 10px;color:#718078;font-size:13px;line-height:1.45}

/* Icon-only add and microphone controls: accessible names remain on the buttons. */
.seller-collaboration .sc-answer-tool-label{display:none!important}
.seller-collaboration .sc-question-composer button.sc-answer-tool,
.seller-collaboration .sc-service-composer button.sc-answer-tool{box-sizing:border-box!important;display:grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border-radius:50%!important;gap:0!important}
.seller-collaboration .sc-question-composer button.sc-answer-tool svg,
.seller-collaboration .sc-service-composer button.sc-answer-tool svg{width:18px!important;height:18px!important;flex:0 0 18px!important}

/* One shared, compact answer box for every expanded seller question. */
.seller-collaboration .sc-question-composer{max-width:640px;margin:8px 0 10px!important}
.seller-collaboration .sc-answer-writing-card{display:flex;flex-direction:column;gap:4px;width:100%;padding:8px 10px 6px;border:1px solid #cbd9cf;border-radius:14px;background:#fff;transition:border-color .15s ease}
.seller-collaboration .sc-answer-writing-card:focus-within{border-color:#73927d}
.seller-collaboration .sc-answer-writing-card>textarea{display:block;width:100%;height:20px;min-height:20px!important;max-height:100px!important;padding:2px 3px 4px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#26392f;font:400 14px/20px var(--sans,Arial,sans-serif)!important;resize:none!important;outline:0!important;overflow-y:auto}
.seller-collaboration .sc-answer-writing-card>textarea::placeholder{color:#7b887f;opacity:1}
.seller-collaboration .sc-answer-writing-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}
.seller-collaboration .sc-answer-writing-tools{display:flex;align-items:center;gap:6px}
.seller-collaboration .sc-answer-writing-actions button.sc-ai-icon{display:grid!important;place-items:center!important;flex:0 0 34px!important;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#eff4f0!important;color:#385443!important}
.seller-collaboration .sc-answer-writing-actions button.sc-ai-send{flex-basis:36px!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;background:#214631!important;color:#fff!important}
.seller-collaboration .sc-answer-writing-actions button.sc-ai-icon svg{width:17px!important;height:17px!important}
.seller-collaboration .sc-answer-writing-actions button.sc-ai-send svg{width:18px!important;height:18px!important}
.seller-collaboration .sc-answer-writing-actions button.sc-composer-mic[aria-pressed=true]{background:#f7e4e9!important;color:#81394c!important}
.seller-collaboration .sc-service-reminders{margin:6px 0 0!important}
.seller-collaboration .sc-service-reminder-title{display:block;margin:0 0 6px!important;color:#64756a;font-size:10px!important;line-height:1.35}
.seller-collaboration .sc-service-reminder-title small{margin-left:4px;font-size:10px!important}
.seller-collaboration .sc-service-reminder-chips{display:flex;flex-wrap:wrap;gap:5px!important}
.seller-collaboration .sc-service-reminder-chip{min-height:28px!important;padding:4px 9px!important;border:1px solid #dce5df!important;border-radius:999px!important;background:#f8faf8!important;color:#345443!important;font:400 11px/1.25 var(--sans,Arial,sans-serif)!important}
.seller-collaboration .sc-service-reminder-chip:hover,.seller-collaboration .sc-service-reminder-chip:focus-visible,.seller-collaboration .sc-service-reminder-chip[aria-pressed=true]{border-color:#a7bcae!important;background:#eef4ef!important;outline-offset:2px}
.seller-collaboration .sc-answer-saved-note{margin:6px 0 0;color:#718176;font-size:10px;line-height:1.35}
@media(max-width:600px){
 .seller-collaboration .sc-answer-writing-card{padding:7px 8px 5px;border-radius:12px}
 .seller-collaboration .sc-answer-writing-actions button.sc-ai-icon{flex-basis:32px!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important}
 .seller-collaboration .sc-answer-writing-actions button.sc-ai-send{flex-basis:34px!important;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important}
 .seller-collaboration .sc-service-reminder-chips{gap:5px!important}
 .seller-collaboration .sc-service-reminder-chip{min-height:28px!important;padding:4px 8px!important}
}
