.connected-panel{padding:22px;border:1px solid var(--studio-border,#ddd8d4);border-radius:20px;background:var(--studio-paper,#fff);color:var(--studio-ink,#292429);max-width:980px}.connected-panel h2{margin-top:0}.connected-note{line-height:1.6;overflow-wrap:anywhere}.connected-field{display:grid;gap:8px;margin:16px 0;font-weight:600}.connected-field input,.connected-field textarea{width:100%;box-sizing:border-box;border:1px solid var(--studio-border,#b8abb2);border-radius:10px;padding:12px;font:inherit;background:var(--studio-paper,#fff);color:inherit}.connected-field textarea{min-height:115px;resize:vertical}.connected-tools{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.connected-panel button,.connected-dialog button{cursor:pointer;max-width:100%;white-space:normal}.connected-panel button:disabled,.connected-dialog button:disabled{cursor:default;opacity:.6}.connected-message{display:flex;flex-direction:column;gap:7px;text-align:left;background:transparent;color:inherit;border:1px solid var(--studio-border,#ddd8d4);border-radius:12px;width:100%;padding:16px;margin:9px 0;font:inherit}.connected-message span,.connected-message small{font-weight:400;overflow-wrap:anywhere}.connected-assistant-launcher{position:fixed;bottom:24px;right:24px;z-index:80;padding:14px 20px;border:1px solid #d0b6aa;border-radius:30px;background:#29202a;color:#fff;font:inherit;font-size:15px;font-weight:700;box-shadow:0 6px 24px #0002;cursor:pointer}.connected-dialog{box-sizing:border-box;width:min(640px,calc(100vw - 30px));max-height:85dvh;overflow:auto;padding:24px;border:1px solid var(--studio-border,#c8bbc2);border-radius:20px;background:var(--studio-paper,#fff);color:var(--studio-ink,#292429)}.connected-dialog::backdrop{background:#21182299}.connected-dialog h2{margin-top:0}.connected-dialog button:focus-visible,.connected-panel button:focus-visible,.connected-assistant-launcher:focus-visible{outline:3px solid #9570c6;outline-offset:3px}.connected-mail-text{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;line-height:1.65}.connected-preview{border:1px solid var(--studio-border,#b8abb2);border-radius:12px;padding:16px;margin-top:20px}.connected-conversation{max-height:42dvh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.connected-conversation p{line-height:1.6}[data-new-mail="true"]::after{content:' •';color:#b95372}@media(max-width:600px){.connected-panel{padding:15px}.connected-assistant-launcher{bottom:calc(88px + env(safe-area-inset-bottom));right:14px}.connected-dialog{padding:18px}.connected-tools>*{flex:1 1 auto}}

.connected-assistant-launcher{background:var(--studio-accent,#315e50);border-color:var(--studio-border,#d0b6aa)}
.connected-check{display:flex;align-items:center;gap:10px;margin:16px 0;line-height:1.5}.shell .connected-check input{width:20px;min-width:20px;height:20px;min-height:20px;flex:0 0 20px}
body .connected-assistant-launcher{background:#5e4568;color:#fff}html[data-activity-theme=artisan] .connected-assistant-launcher{background:#295e8c;color:#fff}
#toast{bottom:94px;max-width:min(560px,calc(100vw - 32px));box-sizing:border-box}@media(max-width:700px){#toast{bottom:calc(160px + env(safe-area-inset-bottom));right:16px}}
.payment-service-picker{border:1px solid #d1c4db;border-radius:16px;padding:16px;margin:18px 0;background:#fff}.payment-service-picker>summary{cursor:pointer;font-weight:700;line-height:1.5}.payment-service-picker .connected-check{min-height:44px;margin:4px 0}.payment-provider-panel{margin:18px 0}.google-automation-guide{margin:18px 0}.google-automation-guide li{margin:10px 0;line-height:1.6}.connected-setup-guide{padding:14px 0}.connected-setup-guide>summary{font-weight:700;cursor:pointer;min-height:44px;line-height:1.5}
.mail-provider-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}.mail-provider-choices .home-panel{margin:0;min-width:0}.mail-provider-choices button{white-space:normal;line-height:1.5;max-width:100%}@media(max-width:700px){.mail-provider-choices{grid-template-columns:1fr;gap:12px}}
.connected-dialog.connected-tutorial{width:min(1100px,calc(100vw - 24px));height:92dvh;max-height:94dvh;display:flex;flex-direction:column;gap:9px;padding:20px}.connected-tutorial>h2{margin-bottom:0;font-size:22px}.connected-tutorial>.connected-tools{margin:0}.google-tutorial-frame{width:100%;flex:1;min-height:250px;border:1px solid #d0dfea;border-radius:14px;background:#f3f7fc}@media(max-width:600px){.connected-dialog.connected-tutorial{padding:12px}.connected-tutorial>h2{font-size:18px}.google-tutorial-frame{min-height:200px}}
/* 0.41 — le bouton d’aide ne masque plus le contenu */
#modules,.board{padding-bottom:84px}
.connected-assistant-launcher{padding:10px 16px;font-size:14px;bottom:18px;right:18px;opacity:.94}
@media(max-width:700px){.connected-assistant-launcher{width:48px;height:48px;padding:0;border-radius:50%;font-size:0;line-height:0;display:grid;place-items:center;bottom:calc(84px + env(safe-area-inset-bottom));right:10px}.connected-assistant-launcher::before{content:"?";font-size:22px;line-height:1}#modules,.board{padding-bottom:150px}}
