:root { --app-skype-gradient:linear-gradient(135deg,#00AFF0 0%,#0078D7 100%); }
.ai-chat-surface { color:#171717; overflow-x:clip; }
.ai-chat-surface *, .ai-chat-surface *::before, .ai-chat-surface *::after { box-sizing:border-box; }
.ai-chat-surface [hidden] { display:none!important; }
#hs-pro-sidebar .app-sidebar-layout { height:100dvh; display:flex; flex-direction:column; overflow:hidden; background:#fafafa; }
#hs-pro-sidebar .app-sidebar-header { position:static; display:flex; align-items:center; gap:4px; padding:12px 10px; flex-shrink:0; }
#hs-pro-sidebar .app-sidebar-header>a { margin-right:auto; }
#hs-pro-sidebar .app-sidebar-header button { width:32px; height:32px; padding:6px; border:0; border-radius:8px; background:transparent; color:#111; flex-shrink:0; }
#hs-pro-sidebar .app-sidebar-header button:hover { background:#f3f4f6!important; }
#hs-pro-sidebar .app-sidebar-header svg,#hs-pro-sidebar .app-sidebar-header button img { width:20px;height:20px; }
#hs-pro-sidebar .app-sidebar-scroll { flex:1 1 0; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0 10px 12px; scrollbar-width:thin; }
#hs-pro-sidebar .chat-sidebar-submenu-list { max-height:none; overflow:visible; margin:0; padding:0; }
#hs-pro-sidebar .app-sidebar-link,#hs-pro-sidebar .chat-sidebar-submenu-summary { display:flex; align-items:center; gap:10px; padding:10px 8px; color:#111!important; font-size:13px; border-radius:8px; min-height:40px; }
#hs-pro-sidebar a:hover,#hs-pro-sidebar a:active,#hs-pro-sidebar a[aria-current],#hs-pro-sidebar button:hover { color:#111!important; }
#hs-pro-sidebar .app-sidebar-link:hover,#hs-pro-sidebar [aria-current=page] { background:#efefef!important; }
#hs-pro-sidebar .app-sidebar-link svg,#hs-pro-sidebar .app-sidebar-link img,#hs-pro-sidebar summary svg { width:20px; height:20px; flex-shrink:0; filter:grayscale(1); }
#hs-pro-sidebar .chat-sidebar-extension-search label,#hs-pro-sidebar .chat-sidebar-extension-search input { background:#ECECEC!important; }
#hs-pro-sidebar .app-sidebar-recents { padding:16px 0 0; }
#hs-pro-sidebar .app-sidebar-recents h2 { padding:4px 8px; font-size:12px; color:#525252; }
#hs-pro-sidebar .app-recent-row { display:flex; align-items:center; gap:2px; min-height:38px; }
#hs-pro-sidebar .app-recent-row>a { flex:1; min-width:0; padding:8px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:13px; color:#111!important; border-radius:8px; }
#hs-pro-sidebar .app-recent-row button { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; flex:0 0 30px; border:0; padding:7px; border-radius:7px; color:#111; background:transparent; }
#hs-pro-sidebar .app-recent-row button svg { width:16px; height:16px; }
#hs-pro-sidebar .app-recent-row button:hover { background:#f3f4f6; }
#hs-pro-sidebar .app-recent-search input { width:100%; padding:8px; background:#ececec; border-radius:8px; font-size:12px; }
#hs-pro-sidebar .chat-sidebar-footer { position:static!important; flex-shrink:0; width:auto; padding:12px; border-top:1px solid #e5e5e5; background:inherit; }
#hs-pro-sidebar .app-sidebar-billing,#hs-pro-sidebar .app-sidebar-logout { display:block; margin-top:8px; font-size:12px; color:#111!important; }
#hs-pro-sidebar .chat-sidebar-plan { display:block; }
.app-dialog { position:fixed; inset:0; margin:auto; width:min(440px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; border:1px solid #e5e7eb; border-radius:20px; padding:24px; background:#fff; color:#171717; box-shadow:0 24px 80px #0003; }
.app-dialog::backdrop { background:#1115; backdrop-filter:blur(3px); }
.app-dialog h2 { font-size:21px; font-weight:600; margin-bottom:12px; }
.app-dialog p { color:#525252; line-height:1.6; }
.app-dialog label { display:block; margin-top:16px; }
.app-dialog input:not([type=hidden]) { width:100%; margin-top:8px; border:1px solid #d4d4d4; border-radius:8px; padding:10px; }
.app-dialog-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; margin-top:24px; }
.app-dialog-actions>button,.app-dialog-actions>a { padding:10px 16px; border-radius:10px; background:#f3f4f6; font-weight:500; font-size:14px; }
.app-invitation-icon { width:44px; height:44px; margin-bottom:16px; }
.app-job-invitation {
  width:min(620px,calc(100vw - 32px));
  padding:0;
  overflow:hidden;
  border:1px solid #d4d4d4;
  border-radius:34px;
  text-align:left;
  box-shadow:0 28px 90px rgba(0,0,0,.22);
}
.app-invitation-visual {
  display:grid;place-items:center;
  width:100%;height:285px;margin:0;
  padding:44px;
  color:#111;
  background:
    radial-gradient(circle at 82% 94%,rgba(0,77,255,.65),transparent 31%),
    radial-gradient(circle at 12% 2%,rgba(255,255,255,.24),transparent 35%),
    linear-gradient(145deg,#79bdf4 0%,#78b8f1 54%,#3693f2 100%);
  box-shadow:none;
}
.app-invitation-prompt {
  position:relative;z-index:1;
  display:grid;grid-template-columns:92px 1fr;align-items:center;gap:24px;
  width:min(460px,100%);min-height:142px;padding:20px 28px 20px 20px;
  border:1px solid rgba(255,255,255,.92);border-radius:28px;
  background:#fff;box-shadow:0 15px 0 -5px rgba(255,255,255,.92),0 27px 0 -10px rgba(255,255,255,.72),0 34px 35px rgba(18,70,120,.22);
}
.app-invitation-prompt-icon {
  display:grid;place-items:center;width:92px;height:92px;border-radius:22px;
  color:#fff;background:linear-gradient(135deg,#00c6ff,#0078d4);
}
.app-job-invitation .app-invitation-icon { width:46px;height:46px;margin:0; }
.app-invitation-prompt strong { font-size:20px;line-height:1.35;letter-spacing:-.025em; }
.app-invitation-content { padding:40px 42px 38px; }
.app-invitation-content .app-invitation-kicker { margin-bottom:10px!important; }
.app-job-invitation h2 { margin:0 0 14px;font-size:32px;line-height:1.16;letter-spacing:-.04em; }
.app-job-invitation .app-invitation-content>p:not(.app-invitation-kicker) { max-width:520px;margin:0;color:#666;font-size:17px;line-height:1.55; }
.app-job-invitation .app-dialog-actions { justify-content:flex-end;align-items:center;margin-top:30px; }
.app-job-invitation .app-dialog-actions>button,.app-job-invitation .app-dialog-actions>a { min-height:48px;padding:0 22px;border-radius:999px;font-size:15px;font-weight:600; }
.app-job-invitation [data-dismiss-job-invitation] {
  border:0;
  background:#f7f7f7;
  color:#525252;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);
}
.ai-chat-surface .app-job-invitation [data-discover-job-matching] {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0!important;
  background:#ececec!important;
  color:#171717!important;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.035)!important;
}
.app-invitation-kicker {
  margin:0 0 6px!important;
  color:#171717!important;
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:uppercase;
}
.app-job-invitation [data-discover-job-matching] {
  border:0!important;
}
.app-job-invitation [data-discover-job-matching]:hover,
.app-job-invitation [data-discover-job-matching]:focus-visible {
  border-color:transparent!important;
  box-shadow:none!important;
}
.ai-chat-surface .app-primary,.ai-chat-surface .copy-share-link,.ai-chat-surface [class~="bg-cyan-500"],.ai-chat-surface [class~="bg-cyan-600"],.ai-chat-surface [class~="bg-cyan-700"],.ai-chat-surface [class~="bg-blue-500"],.ai-chat-surface [class~="bg-blue-600"] { background:var(--app-skype-gradient)!important; color:white!important; }
.ai-chat-surface [class*="text-cyan-"],.ai-chat-surface [class*="text-blue-"] { color:#171717; }
.ai-chat-surface [data-user-theme-option=dark],.ai-chat-surface [data-user-theme-option=auto],.ai-chat-surface .ai-chat-surface [data-user-theme-option=auto] { display:none!important; }
.ai-chat-surface .app-job-invitation [data-discover-job-matching]:hover,
.ai-chat-surface .app-job-invitation [data-discover-job-matching]:focus-visible {
  background:#dfdfdf!important;
  color:#111!important;
  border-color:transparent!important;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)!important;
}
.app-job-invitation [data-dismiss-job-invitation]:hover,
.app-job-invitation [data-dismiss-job-invitation]:focus-visible { background:#efefef; }
.app-ui-tooltip { position:fixed; z-index:1000; pointer-events:none; padding:6px 10px; border-radius:6px; background:#171717; color:#fff; font-size:12px; }
.app-ui-status { position:fixed; bottom:20px; left:50%; transform:translateX(-50%); z-index:1000; max-width:90vw; background:#171717; color:white; border-radius:10px; }
.app-ui-status:not(:empty) { padding:12px 18px; }
.app-chat-layout { height:100dvh!important; padding-top:60px!important; padding-bottom:0!important; display:flex!important; flex-direction:column!important; overflow:hidden; }
.app-conversation-scroll { min-height:0; flex:1 1 0; overflow-y:auto; overscroll-behavior:contain; scroll-padding:16px; padding-bottom:16px; }
.app-conversation-scroll>div { height:auto!important; min-height:0; }
.app-conversation-scroll .chat-container { width:100%; }
.app-conversation-scroll #answerContainer,.app-conversation-scroll .user-message>div { max-height:none!important; overflow:visible!important; }
.app-conversation-scroll .chat-message { overflow-wrap:anywhere; min-width:0; }
.app-conversation-scroll pre { overflow-x:auto; max-width:100%; }
.app-composer-dock { flex:0 0 auto; position:relative!important; bottom:auto!important; width:100%; max-width:800px; margin:0 auto; padding:8px 16px max(8px,env(safe-area-inset-bottom))!important; background:#fff; z-index:20; }
.app-composer-dock .job-composer-inner { min-height:0; }
.app-composer-dock textarea { min-height:52px!important; max-height:18dvh!important; }
.ai-chat-surface .answer-feedback-actions { flex-wrap:wrap; gap:6px; }
.ai-chat-surface .answer-action-button {
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:32px!important;
  height:32px!important;
  padding:0!important;
  border:0!important;
  border-radius:9999px!important;
  color:#6b7280!important;
  background:transparent!important;
  line-height:1!important;
  transition:color 150ms ease, background 150ms ease, transform 150ms ease!important;
}
.ai-chat-surface .answer-action-button svg {
  display:block!important;
  width:16px!important;
  height:16px!important;
  margin:0!important;
  flex:0 0 16px!important;
}
.ai-chat-surface .answer-action-button:hover,
.ai-chat-surface .answer-action-button:focus-visible {
  color:#111827!important;
  background:#f3f4f6!important;
  outline:none!important;
}
.ai-chat-surface .answer-action-button.is-active {
  color:#111827!important;
  background:#ececec!important;
}
.ai-chat-surface .answer-feedback-button--like.is-active {
  color:#0f766e!important;
  background:#ccfbf1!important;
}
.ai-chat-surface .answer-feedback-button--dislike.is-active {
  color:#be123c!important;
  background:#ffe4e6!important;
}
html.glass .ai-chat-surface .answer-action-button {
  color:rgba(15,23,42,.68)!important;
  background:rgba(255,255,255,.26)!important;
}
html.glass .ai-chat-surface .answer-action-button:hover,
html.glass .ai-chat-surface .answer-action-button:focus-visible {
  color:rgba(8,8,18,.92)!important;
  background:rgba(255,255,255,.46)!important;
  transform:translateY(-1px);
}
.app-saved-list { max-width:850px; margin:auto; padding:24px; }
.app-saved-list article { border:1px solid #e5e5e5; border-radius:16px; padding:20px; margin-bottom:16px; overflow-wrap:anywhere; }
.app-saved-list pre { white-space:pre-wrap; font:inherit; }
html.glass .app-composer-dock,html.glass .app-dialog { background:rgba(255,255,255,.8); backdrop-filter:blur(20px); }
@media(min-width:768px) {
 #hs-pro-sidebar .app-sidebar-close { display:none; }
 .hs-overlay-minified #hs-pro-sidebar .app-sidebar-link span,.hs-overlay-minified #hs-pro-sidebar .chat-sidebar-submenu-summary span,.hs-overlay-minified #hs-pro-sidebar .app-sidebar-recents,.hs-overlay-minified #hs-pro-sidebar .chat-sidebar-footer,.hs-overlay-minified #hs-pro-sidebar .chat-sidebar-extension-search { display:none; }
 .hs-overlay-minified #hs-pro-sidebar .app-sidebar-layout { align-items:center; }
 .hs-overlay-minified #hs-pro-sidebar .app-sidebar-header {
  width:100%;
  justify-content:center;
  padding:12px 6px;
 }
 .hs-overlay-minified #hs-pro-sidebar .app-sidebar-header button,
 .hs-overlay-minified #hs-pro-sidebar > .relative > .app-sidebar-header > button[data-hs-overlay-minifier="#hs-pro-sidebar"],
 .hs-overlay-minified #hs-pro-sidebar .app-sidebar-header [data-hs-overlay-minifier="#hs-pro-sidebar"],
 .hs-overlay-minified #hs-pro-sidebar .app-sidebar-scroll .app-sidebar-main-link {
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:40px!important;
  height:40px!important;
  flex:0 0 40px!important;
  min-height:40px!important;
  padding:0!important;
  margin:0 auto!important;
 }
 .hs-overlay-minified #hs-pro-sidebar .app-sidebar-scroll {
  width:100%;
  padding-inline:6px;
 }
 .hs-overlay-minified #hs-pro-sidebar .app-sidebar-scroll nav {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:2px;
 }
 .hs-overlay-minified #hs-pro-sidebar .chat-sidebar-extension-item {
  width:40px;
 }
}
@media(max-width:767px) {
 #hs-pro-sidebar { max-width:calc(100vw - 40px); }
 .app-conversation-scroll .chat-message { max-width:100%!important; }
 .app-conversation-scroll .user-message { max-width:92%!important; }
 .app-conversation-scroll .chat-container { padding:12px; }
 .app-composer-dock { padding-inline:8px!important; }
 .app-composer-dock textarea { min-height:40px!important; padding-top:6px!important; }
 .ai-chat-surface main { min-width:0; }
 .ai-chat-surface .bible-composer-dock,.ai-chat-surface .health-composer-dock { position:relative!important; bottom:auto!important; }
}
@media(prefers-reduced-motion:reduce) { .ai-chat-surface * { scroll-behavior:auto!important; transition:none!important; } }
.app-composer-dock .job-prompt-inner { min-height:0!important; }
.ai-chat-surface .bible-main,.ai-chat-surface .health-main,.ai-chat-surface main:has(>[data-social-assistant]) { height:100dvh; min-height:0; display:flex; flex-direction:column; overflow:hidden; }
.ai-chat-surface .bible-topbar,.ai-chat-surface .health-topbar,.ai-chat-surface main:has(>[data-social-assistant])>header { flex-shrink:0; position:relative; }
.ai-chat-surface .bible-shell,.ai-chat-surface .health-shell,.ai-chat-surface [data-social-assistant] { flex:1 1 0; min-height:0; overflow:hidden; }
.ai-chat-surface .bible-workspace,.ai-chat-surface .health-workspace,.ai-chat-surface [data-social-output] { min-height:0; overflow-y:auto; overscroll-behavior:contain; flex:1 1 0; }
.ai-chat-surface .bible-composer-dock,.ai-chat-surface .health-composer-dock,.ai-chat-surface [data-social-assistant]>.sticky { flex-shrink:0; position:relative!important; bottom:auto!important; padding-block:8px; }
.ai-chat-surface :is(.bible-composer-dock,.health-composer-dock,[data-social-form]) .job-prompt-inner { min-height:0!important; }
.ai-chat-surface :is(.bible-composer-dock,.health-composer-dock,[data-social-form]) textarea { min-height:44px!important; max-height:15dvh!important; }
@media(max-width:767px) {
 .ai-chat-surface :is(.bible-composer-options,.health-composer-options) { max-height:76px; overflow-y:auto; padding-top:4px; }
 .ai-chat-surface [data-social-form] [aria-label="Besoins rapides"] { flex-wrap:nowrap; overflow-x:auto; }
 .ai-chat-surface [data-social-chip] { white-space:nowrap; }
 .app-job-invitation { padding:0; border-radius:26px; }
 .app-invitation-visual { height:210px; padding:28px 22px; }
 .app-invitation-prompt { grid-template-columns:64px 1fr; gap:14px; min-height:112px; padding:16px; border-radius:22px; }
 .app-invitation-prompt-icon { width:64px; height:64px; border-radius:17px; }
 .app-job-invitation .app-invitation-icon { width:32px; height:32px; }
 .app-invitation-prompt strong { font-size:15px; }
 .app-invitation-content { padding:28px 24px 24px; }
 .app-job-invitation h2 { font-size:26px; }
 .app-job-invitation .app-invitation-content>p:not(.app-invitation-kicker) { font-size:15px; }
 .app-job-invitation .app-dialog-actions { flex-direction:column-reverse; }
 .app-job-invitation .app-dialog-actions>button,.app-job-invitation .app-dialog-actions>a { width:100%; justify-content:center; }
}
#hs-pro-sidebar .chat-window-shadow-icon { filter:none!important; }
#hs-pro-sidebar .chat-sidebar-avatar { background:var(--app-skype-gradient)!important; color:white!important; }
.ai-chat-surface .health-pending-dot,.ai-chat-surface .health-status-dot:not(.is-ready) { background:var(--app-skype-gradient); }
.ai-chat-surface .health-prediction-form input:focus { border-color:#a3a3a3; outline:2px solid #e5e5e5; }
.app-account-menu { position:absolute; top:8px; left:16px; font-size:14px; }
@media(min-width:768px) { .app-account-main { margin-left:260px; } .hs-overlay-minified .app-account-main { margin-left:52px; } }
.ai-chat-surface [class~="bg-blue-50"],.ai-chat-surface [class~="hover:bg-blue-50"]:hover,.ai-chat-surface [class~="focus:bg-blue-50"]:focus {background:#f3f4f6!important;}
.ai-chat-surface [class~="bg-blue-100"],.ai-chat-surface [class~="hover:bg-blue-100"]:hover,.ai-chat-surface [class~="focus:bg-blue-100"]:focus {background:#f3f4f6!important;}
.ai-chat-surface [class~="bg-blue-200"],.ai-chat-surface [class~="hover:bg-blue-200"]:hover,.ai-chat-surface [class~="focus:bg-blue-200"]:focus {background:#f3f4f6!important;}
.ai-chat-surface [class~="bg-blue-300"],.ai-chat-surface [class~="hover:bg-blue-300"]:hover,.ai-chat-surface [class~="focus:bg-blue-300"]:focus {background:#f3f4f6!important;}
.ai-chat-surface [class~="bg-blue-400"],.ai-chat-surface [class~="hover:bg-blue-400"]:hover,.ai-chat-surface [class~="focus:bg-blue-400"]:focus {background:var(--app-skype-gradient)!important;}
.ai-chat-surface [class~="bg-blue-500"],.ai-chat-surface [class~="hover:bg-blue-500"]:hover,.ai-chat-surface [class~="focus:bg-blue-500"]:focus {background:var(--app-skype-gradient)!important;}
.ai-chat-surface [class~="bg-blue-600"],.ai-chat-surface [class~="hover:bg-blue-600"]:hover,.ai-chat-surface [class~="focus:bg-blue-600"]:focus {background:var(--app-skype-gradient)!important;}
.ai-chat-surface [class~="bg-blue-700"],.ai-chat-surface [class~="hover:bg-blue-700"]:hover,.ai-chat-surface [class~="focus:bg-blue-700"]:focus {background:var(--app-skype-gradient)!important;}
.ai-chat-surface [class~="bg-blue-800"],.ai-chat-surface [class~="hover:bg-blue-800"]:hover,.ai-chat-surface [class~="focus:bg-blue-800"]:focus {background:var(--app-skype-gradient)!important;}
.ai-chat-surface [class~="bg-blue-900"],.ai-chat-surface [class~="hover:bg-blue-900"]:hover,.ai-chat-surface [class~="focus:bg-blue-900"]:focus {background:var(--app-skype-gradient)!important;}
.ai-chat-surface [class~="bg-blue-950"],.ai-chat-surface [class~="hover:bg-blue-950"]:hover,.ai-chat-surface [class~="focus:bg-blue-950"]:focus {background:var(--app-skype-gradient)!important;}
.ai-chat-surface [class*="text-blue-"]:hover,.ai-chat-surface [class*="text-blue-"]:focus {color:#171717;}
.ai-chat-surface [class~="bg-cyan-50"],.ai-chat-surface [class~="hover:bg-cyan-50"]:hover,.ai-chat-surface [class~="focus:bg-cyan-50"]:focus {background:#f3f4f6!important;}
.ai-chat-surface [class~="bg-cyan-100"],.ai-chat-surface [class~="hover:bg-cyan-100"]:hover,.ai-chat-surface [class~="focus:bg-cyan-100"]:focus {background:#f3f4f6!important;}
.ai-chat-surface [class~="bg-cyan-200"],.ai-chat-surface [class~="hover:bg-cyan-200"]:hover,.ai-chat-surface [class~="focus:bg-cyan-200"]:focus {background:#f3f4f6!important;}
.ai-chat-surface [class~="bg-cyan-300"],.ai-chat-surface [class~="hover:bg-cyan-300"]:hover,.ai-chat-surface [class~="focus:bg-cyan-300"]:focus {background:#f3f4f6!important;}
.ai-chat-surface [class~="bg-cyan-400"],.ai-chat-surface [class~="hover:bg-cyan-400"]:hover,.ai-chat-surface [class~="focus:bg-cyan-400"]:focus {background:var(--app-skype-gradient)!important;}
.ai-chat-surface [class~="bg-cyan-500"],.ai-chat-surface [class~="hover:bg-cyan-500"]:hover,.ai-chat-surface [class~="focus:bg-cyan-500"]:focus {background:var(--app-skype-gradient)!important;}
.ai-chat-surface [class~="bg-cyan-600"],.ai-chat-surface [class~="hover:bg-cyan-600"]:hover,.ai-chat-surface [class~="focus:bg-cyan-600"]:focus {background:var(--app-skype-gradient)!important;}
.ai-chat-surface [class~="bg-cyan-700"],.ai-chat-surface [class~="hover:bg-cyan-700"]:hover,.ai-chat-surface [class~="focus:bg-cyan-700"]:focus {background:var(--app-skype-gradient)!important;}
.ai-chat-surface [class~="bg-cyan-800"],.ai-chat-surface [class~="hover:bg-cyan-800"]:hover,.ai-chat-surface [class~="focus:bg-cyan-800"]:focus {background:var(--app-skype-gradient)!important;}
.ai-chat-surface [class~="bg-cyan-900"],.ai-chat-surface [class~="hover:bg-cyan-900"]:hover,.ai-chat-surface [class~="focus:bg-cyan-900"]:focus {background:var(--app-skype-gradient)!important;}
.ai-chat-surface [class~="bg-cyan-950"],.ai-chat-surface [class~="hover:bg-cyan-950"]:hover,.ai-chat-surface [class~="focus:bg-cyan-950"]:focus {background:var(--app-skype-gradient)!important;}
.ai-chat-surface [class*="text-cyan-"]:hover,.ai-chat-surface [class*="text-cyan-"]:focus {color:#171717;}
.ai-chat-surface .form-tab.active { background:var(--app-skype-gradient); }
/* Keep large generator settings in their own bounded area, above the prompt. */
.ai-chat-surface main:has(>[data-media-generator]) { display:flex; flex-direction:column; height:100dvh; min-height:0; overflow:hidden; }
.ai-chat-surface main:has(>[data-media-generator])>header { position:relative; flex-shrink:0; }
.ai-chat-surface [data-media-generator] { flex:1 1 0; min-height:0; overflow:hidden; }
.ai-chat-surface [data-media-output] { flex:1 1 0; min-height:0; overflow-y:auto; }
.ai-chat-surface [data-media-generator]>.sticky { position:relative; flex:0 0 auto; bottom:auto; padding-block:8px; }
.ai-chat-surface [data-media-form]>.job-prompt-composer>div:not(.job-prompt-inner) { max-height:18dvh; overflow-y:auto; }
.ai-chat-surface [data-media-form] .job-prompt-inner { min-height:0!important; }
.ai-chat-surface [data-media-form] textarea[name=prompt] { min-height:44px!important; max-height:12dvh!important; }
.ai-chat-surface [data-media-form] details[open]>div { max-height:18dvh; overflow-y:auto; }
@media(max-width:767px) { .ai-chat-surface [data-media-form]>div.mb-3 { max-height:90px; overflow-y:auto; } }
.app-conversation-scroll:not(:has(.user-message))>div { min-height:100%; justify-content:center; }
.ai-chat-surface .gradient-text { background-image:var(--app-skype-gradient); }
.app-composer-dock .hs-dropdown { --placement:top-start; }
.app-composer-dock .hs-dropdown-menu { max-height:50dvh; overflow-y:auto; }
.ai-chat-surface .health-message-row.is-user .health-message-bubble,.ai-chat-surface .jm-primary { background:var(--app-skype-gradient); color:#fff; border-color:transparent; }
.ai-chat-surface .health-status-pill,.ai-chat-surface .health-result-badge,.ai-chat-surface .health-suggestion-button:hover,.ai-chat-surface .health-suggestion-button:focus-visible,.ai-chat-surface .jm-avatar,.ai-chat-surface .jm-message-user,.ai-chat-surface .jm-drop.is-dragging { background:#f3f4f6; color:#171717; border-color:#d4d4d4; }
.ai-chat-surface .health-source-links a,.ai-chat-surface .jm-score { color:#171717; }
.ai-chat-surface .health-operation,.ai-chat-surface .jm-offer:has(input:checked) { border-color:#a3a3a3; }
.ai-chat-surface .health-composer-options input { accent-color:#171717; }
.chat-document-attachment { display:flex; align-items:center; gap:8px; margin-top:8px; padding:8px 12px; border:1px solid #e5e7eb; border-radius:8px; background:#f9fafb; font-size:12px; color:#171717; overflow-wrap:anywhere; }
.app-chat-search-dialog { width:min(640px,calc(100vw - 32px)); padding:24px; }
.app-chat-search-header { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.app-chat-search-header h2 { margin:0; font-size:18px; }
.app-chat-search-header button { width:32px; height:32px; border-radius:8px; background:#f3f4f6; font-size:22px; }
.app-chat-search-caption { font-size:12px; margin:20px 0 8px; }
.app-chat-search-results { max-height:45dvh; overflow-y:auto; overscroll-behavior:contain; }
.app-chat-search-results a { display:block; padding:12px; border-radius:8px; color:#111; font-size:14px; overflow-wrap:anywhere; }
.app-chat-search-results a:hover,.app-chat-search-results a:focus-visible { background:#f3f4f6; }
@media(min-width:768px) {
 .app-chat-layout.app-chat-welcome { justify-content:center!important; }
 .app-chat-welcome .app-conversation-scroll { flex:0 0 auto; overflow:visible; padding-bottom:24px; }
 .app-chat-welcome .app-conversation-scroll>div { min-height:0!important; }
 .app-chat-welcome .app-conversation-scroll>div>div { padding-block:0; margin-block:0; }
 .app-chat-welcome h1 { margin:0; }
 .app-chat-welcome .app-composer-dock { max-width:768px; padding:0 32px!important; background:transparent; }
 .app-chat-welcome .app-composer-dock .job-prompt-inner { min-height:168px!important; }
 .app-chat-welcome .app-composer-dock textarea { min-height:100px!important; }
}

/* Window icon only: default icon plus compact-sidebar transition. */
#hs-pro-sidebar .app-sidebar-header [data-hs-overlay-minifier="#hs-pro-sidebar"] {
  position:relative!important;
}

#hs-pro-sidebar .app-sidebar-header [data-hs-overlay-minifier="#hs-pro-sidebar"] .chat-window-shadow-icon {
  position:absolute!important;
  inset:50% auto auto 50%!important;
  width:18px!important;
  height:18px!important;
  transform:translate(-50%,-50%) rotate(0deg) scale(1)!important;
  transform-origin:center!important;
  opacity:1;
  transition:opacity 180ms ease, transform 180ms ease!important;
}

#hs-pro-sidebar .app-sidebar-header [data-hs-overlay-minifier="#hs-pro-sidebar"] .chat-window-icon-minified {
  opacity:0;
  transform:translate(-50%,-50%) rotate(-90deg) scale(.88)!important;
}

#hs-pro-sidebar[data-sidebar-minified="true"] .app-sidebar-header [data-hs-overlay-minifier="#hs-pro-sidebar"] .chat-window-icon-default,
.hs-overlay-minified #hs-pro-sidebar .app-sidebar-header [data-hs-overlay-minifier="#hs-pro-sidebar"] .chat-window-icon-default {
  opacity:0;
  transform:translate(-50%,-50%) rotate(90deg) scale(.88)!important;
}

#hs-pro-sidebar[data-sidebar-minified="true"] .app-sidebar-header [data-hs-overlay-minifier="#hs-pro-sidebar"] .chat-window-icon-minified,
.hs-overlay-minified #hs-pro-sidebar .app-sidebar-header [data-hs-overlay-minifier="#hs-pro-sidebar"] .chat-window-icon-minified {
  opacity:1;
  transform:translate(-50%,-50%) rotate(0deg) scale(1)!important;
}

/* Composer repair: keep Preline in charge, avoid forced empty space after clicks. */
.ai-chat-surface .hs-dropdown-menu {
  pointer-events:auto!important;
  z-index:80!important;
}

.ai-chat-surface .job-prompt-composer {
  overflow:visible!important;
}

.ai-chat-surface .job-prompt-inner {
  overflow:visible!important;
}

.ai-chat-surface .job-prompt-textarea,
.ai-chat-surface textarea[data-hs-textarea-auto-height] {
  display:block!important;
  width:100%!important;
  height:auto;
  color:#111827!important;
  background:transparent!important;
  opacity:1!important;
  visibility:visible!important;
}

.ai-chat-surface .job-prompt-textarea::placeholder,
.ai-chat-surface textarea[data-hs-textarea-auto-height]::placeholder {
  color:#6b7280!important;
  opacity:1!important;
}

/* Sidebar stacking: desktop stays at page level, mobile keeps overlay priority. */
@media (min-width:768px) {
  #hs-pro-sidebar {
    z-index:40!important;
  }
}

@media (max-width:767.98px) {
  #hs-pro-sidebar {
    z-index:60!important;
  }
}

/* Composer dropdowns must float above the composer and never reserve space inside the textarea. */
.ai-chat-surface .job-prompt-composer .hs-dropdown {
  position:relative!important;
}

.ai-chat-surface .job-prompt-composer .hs-dropdown-menu {
  position:absolute!important;
  bottom:calc(100% + .5rem)!important;
  top:auto!important;
  left:0!important;
  margin:0!important;
}

/* Sidebar header alignment override after legacy chat-experience rules. */
#hs-pro-sidebar .app-sidebar-header > a,
#hs-pro-sidebar .app-sidebar-header > button {
  margin:0!important;
}

/* Sidebar header: search SVG must match the 18px window SVG. */
#hs-pro-sidebar .app-sidebar-header > [data-sidebar-search] > svg {
  width:18px!important;
  height:18px!important;
  flex:0 0 18px!important;
}

/* Mobile sidebar: window minifier is desktop-only. */
@media (max-width:767.98px) {
  #hs-pro-sidebar .app-sidebar-header > [data-hs-overlay-minifier="#hs-pro-sidebar"],
  #hs-pro-sidebar .chat-window-toggle {
    display:none!important;
    width:0!important;
    height:0!important;
    min-width:0!important;
    min-height:0!important;
    flex:0 0 0!important;
    overflow:hidden!important;
    pointer-events:none!important;
  }
}
