
:root{
  --bg:#f6f5f2;
  --surface:#ffffff;
  --surface-2:#fbfaf7;
  --text:#1d1d1b;
  --muted:#6f6d67;
  --soft:#98958d;
  --border:#e6e1d8;
  --border-strong:#d9d3c9;
  --shadow:0 22px 72px rgba(27,25,19,.05);
  --radius:22px;
  --radius-sm:16px;
}
*{box-sizing:border-box}

[hidden]{display:none!important}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:radial-gradient(circle at top left, rgba(255,255,255,.82), transparent 28%),linear-gradient(180deg,#faf9f6 0%,var(--bg) 100%);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
button,input,textarea{font:inherit}
button{color:inherit}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;border:0!important}
.app-shell{min-height:100%;display:flex;flex-direction:column;padding:18px 18px 26px}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1180px;width:100%;margin:0 auto 18px}
.brand{border:0;background:transparent;display:flex;align-items:center;gap:10px;font-weight:640;font-size:18px;letter-spacing:-.02em;cursor:pointer;padding:6px 0}
.brand-mark{width:20px;height:20px;opacity:.95}
.topbar-actions{display:flex;align-items:center;gap:10px}
.topbar-link,.topbar-pill{border:1px solid var(--border);background:rgba(255,255,255,.72);backdrop-filter: blur(10px);border-radius:999px;padding:10px 14px;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.topbar-pill{background:#efede7;border-color:#ddd7cc;font-weight:600}
.topbar-link:hover,.topbar-pill:hover,.brand:hover{transform:translateY(-1px)}
.workspace{width:100%;max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.68fr) minmax(280px,.72fr);gap:18px;align-items:start;flex:1}
.assistant-column{display:flex;flex-direction:column;gap:12px;min-width:0}
.presence-line{color:var(--muted);font-size:14px;line-height:1.45;padding:0 6px;min-height:20px}
.assistant-card,.side-card{background:rgba(255,255,255,.88);backdrop-filter: blur(14px);border:1px solid rgba(230,225,216,.92);box-shadow:var(--shadow);border-radius:var(--radius)}
.assistant-card{min-height:76vh;padding:26px;display:flex;flex-direction:column;gap:18px}
.assistant-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.assistant-id{display:flex;gap:14px;align-items:flex-start}
.assistant-icon{width:26px;height:26px;opacity:.96;margin-top:6px;flex:0 0 auto}
.assistant-head h1{margin:0;font-size:clamp(28px,3.8vw,44px);line-height:1.08;letter-spacing:-.04em;font-weight:640;max-width:11ch}
.assistant-subtitle{margin:10px 0 0;color:var(--muted);font-size:15px;max-width:54ch;line-height:1.5}
.message-list{display:flex;flex-direction:column;gap:14px;min-height:320px;max-height:56vh;overflow:auto;padding-right:4px;scroll-behavior:smooth}
.message{display:flex;gap:10px;align-items:flex-start;width:100%}
.message.user{justify-content:flex-end}
.message.assistant{justify-content:flex-start}
.message-bubble{width:min(92%, 820px);max-width:min(92%, 820px);padding:14px 16px;border-radius:18px;background:var(--surface-2);border:1px solid var(--border);white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;line-height:1.58;font-size:15px;box-sizing:border-box}
.message.user .message-bubble,.message.assistant .message-bubble{width:min(92%, 820px);max-width:min(92%, 820px)}
.message.user .message-bubble{background:#f0eee7}
.helper-line{color:var(--muted);font-size:13px;line-height:1.5}
.composer-wrap{margin-top:auto;width:100%}
.composer{display:grid;grid-template-columns:48px minmax(0,1fr) 50px;gap:10px;padding:10px;border-radius:20px;border:1px solid var(--border-strong);background:rgba(250,249,246,.96);width:100%;box-sizing:border-box}
.file-trigger,.send-button{border:1px solid var(--border);background:#fff;border-radius:16px;display:grid;place-items:center;cursor:pointer;min-height:48px;transition:transform .16s ease,border-color .16s ease,background .16s ease}
.file-trigger:hover,.send-button:hover{transform:translateY(-1px);border-color:#cfc7ba}
.file-trigger span,.send-button span{font-size:20px;line-height:1}
#composerInput{width:100%;resize:none;border:0;outline:none;background:transparent;padding:12px 2px;min-height:56px;max-height:220px;color:var(--text);box-sizing:border-box;white-space:pre-wrap;overflow-wrap:anywhere}
#composerInput::placeholder{color:#8e8b83}
.suggestion-row{display:flex;gap:10px;flex-wrap:wrap}
.suggestion-chip{border:1px solid var(--border);background:rgba(255,255,255,.82);border-radius:999px;padding:10px 14px;color:#4f4b43;cursor:pointer;transition:background .18s ease, transform .18s ease}
.suggestion-chip:hover{background:#f8f6f1;transform:translateY(-1px)}
.support-column{display:flex;flex-direction:column;gap:18px}
.side-card{padding:18px}
.side-title{font-size:13px;letter-spacing:.02em;text-transform:uppercase;color:var(--soft);margin-bottom:12px}
.signal-list,.track-list{display:flex;flex-direction:column;gap:10px}
.signal-item button,.track-item button{
  width:100%;text-align:left;border:1px solid var(--border);background:#fff;border-radius:16px;padding:12px 14px;cursor:pointer
}
.signal-title,.track-title{font-size:14px;line-height:1.4}
.signal-meta,.track-step{font-size:12px;color:var(--muted);margin-top:4px;line-height:1.4}
.empty-note{font-size:14px;color:var(--muted);line-height:1.5;padding:10px 2px}
.inline-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:16px;max-width:min(86%,720px);margin-left:36px}
.inline-card h3{margin:0 0 10px;font-size:14px;color:var(--muted);font-weight:600}
.inline-card pre{margin:0;white-space:pre-wrap;line-height:1.55;font-size:14px;color:var(--text)}
.inline-actions{display:flex;gap:8px;margin-top:12px}
.inline-actions button{border:1px solid var(--border);background:#fff;border-radius:12px;padding:9px 12px;cursor:pointer}
.inline-note{font-size:12px;color:var(--muted);margin-top:10px;line-height:1.45}
.overlay-root{position:fixed;inset:0;display:grid;place-items:center;z-index:20}
.overlay-backdrop{position:absolute;inset:0;background:rgba(20,18,15,.22);backdrop-filter: blur(6px)}
.overlay-panel{position:relative;max-width:540px;width:min(92vw,540px);background:#fff;border:1px solid var(--border);border-radius:24px;box-shadow:0 32px 90px rgba(0,0,0,.12);padding:26px}
.overlay-title{margin:0 0 8px;font-size:28px;letter-spacing:-.04em}
.overlay-text{margin:0;color:var(--muted);line-height:1.55}
.form-grid{display:grid;gap:12px;margin:18px 0}
.field{display:grid;gap:6px}
.field label{font-size:13px;color:var(--muted)}
.field input{border:1px solid var(--border);background:#faf9f6;border-radius:14px;padding:12px 14px;outline:none}
.overlay-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.primary-btn,.secondary-btn{border:1px solid var(--border);border-radius:14px;padding:11px 14px;cursor:pointer}
.primary-btn{background:#f0eee7;font-weight:600}
.secondary-btn{background:#fff}
.overlay-message{margin-top:10px;color:#9a4d3f;font-size:13px}
.small-list{display:grid;gap:12px;margin:18px 0}
.small-list-item{display:grid;gap:4px}
.small-list-item strong{font-size:14px}
.small-list-item span{font-size:13px;color:var(--muted);line-height:1.45}
.seo-surface{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
@media (max-width: 980px){
  .workspace{grid-template-columns:1fr}
  .assistant-card{min-height:unset}
}
@media (max-width: 640px){
  .app-shell{padding:12px 12px 18px}
  .topbar{margin-bottom:14px;align-items:flex-start}
  .topbar-actions{gap:8px;flex-wrap:wrap;justify-content:flex-end}
  .topbar-link,.topbar-pill{padding:9px 12px;font-size:13px}
  .assistant-card{padding:18px;gap:16px;border-radius:18px}
  .assistant-head h1{font-size:clamp(26px,7vw,36px);max-width:12ch}
  .message-list{min-height:280px;max-height:52vh}
  .message-bubble,.inline-card{max-width:100%}
  .inline-card{margin-left:0}
  .composer{grid-template-columns:44px minmax(0,1fr) 46px}
  .side-card{padding:16px}
}



/* Final centered messenger polish */
.workspace{
  max-width:1040px;
  grid-template-columns:minmax(0,1fr);
  justify-content:center;
}
.assistant-column{
  width:100%;
  max-width:1040px;
  margin:0 auto;
}
.support-column{
  display:none;
}
.topbar{
  max-width:1040px;
  margin:0 auto 14px;
}
.presence-line{
  max-width:var(--chat-text-max);
  margin:0 auto 2px;
  text-align:left;
}
.assistant-card{
  min-height:72vh;
  max-width:1040px;
  margin:0 auto;
}
.assistant-head h1{
  max-width:14ch;
  font-size:clamp(24px,3.6vw,38px);
}
.assistant-subtitle{
  max-width:56ch;
}
.message-list{
  min-height:360px;
  max-height:54vh;
}
.helper-line{
  margin-top:2px;
}
.composer{
  align-items:flex-end;
}
#composerInput{
  min-height:52px;
}
.overlay-backdrop{
  background:rgba(27,25,19,.12);
  backdrop-filter: blur(6px);
}
.overlay-panel{
  width:min(520px, calc(100vw - 28px));
}
@media (max-width: 900px){
  .app-shell{padding:14px 14px 18px}
  .assistant-card{min-height:calc(100vh - 132px); padding:18px}
  .assistant-head h1{max-width:none}
  .message-list{max-height:none; min-height:300px}
}



:root{
  --chat-shell-width:1080px;
  --chat-text-max:980px;
}
.topbar,.workspace,.assistant-column,.assistant-card{
  width:min(100%, var(--chat-shell-width));
}
.topbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
}
.topbar-actions{
  flex-wrap:nowrap;
  white-space:nowrap;
  min-width:0;
}
.topbar-link,.topbar-pill{
  white-space:nowrap;
}
.assistant-column,.assistant-card{
  min-width:0;
}
.assistant-card{
  width:100%;
}
.assistant-head,.message-list,.suggestion-row,.helper-line,.composer-wrap{
  width:100%;
}

/* Desktop conversation header centering */
@media (min-width: 641px){
  .presence-line{
    max-width:var(--chat-text-max);
    margin:0 auto 2px;
    text-align:center;
  }
  .assistant-head{
    justify-content:center;
  }
  .assistant-id{
    width:100%;
    flex-direction:column;
    align-items:center;
    gap:10px;
    text-align:center;
  }
  .assistant-icon{
    margin-top:0;
  }
  .assistant-head h1{
    max-width:none;
    margin:0 auto;
    text-align:center;
    white-space:nowrap;
    font-size:clamp(24px,3.2vw,36px);
  }
  .assistant-subtitle{
    max-width:none;
    margin:10px auto 0;
    text-align:center;
    white-space:nowrap;
    font-size:14px;
  }
  .assistant-subtitle,.helper-line{
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .suggestion-row{
    justify-content:center;
  }
  .helper-line{
    max-width:none;
    margin:2px auto 0;
    text-align:center;
    white-space:nowrap;
    font-size:12.5px;
  }
  .composer-wrap{
    width:100%;
  }
}

@media (max-width: 640px){
  .topbar{
    align-items:center;
    gap:10px;
    grid-template-columns:auto minmax(0,1fr);
  }
  .brand{
    min-width:0;
  }
  .brand span{
    font-size:16px;
  }
  .topbar-actions{
    justify-content:flex-end;
    gap:6px;
    flex-wrap:nowrap;
    overflow:visible;
  }
  .topbar-link,.topbar-pill{
    padding:8px 10px;
    font-size:12px;
  }
  #authButton{
    max-width:72px;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}


/* Final A/B/C hardening */
@media (min-width: 641px){
  .assistant-card{
    max-width: 1040px;
  }
}
@media (max-width: 640px){
  .topbar-actions{
    width:auto;
  }
  #trustButton{
    display:none;
  }
}


/* Stabilizer SEO pages */
.simple-page{max-width:1100px;width:100%;margin:0 auto;padding:0 18px 28px}
.simple-nav{padding:18px 0 8px}
.header{padding:0 18px}
.container{max-width:1100px;margin:0 auto}
.logo{font-weight:640;letter-spacing:-.02em}
.simple-nav,.simple-nav nav{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.simple-nav nav a,.footer-links a{color:var(--muted);text-decoration:none}
.simple-nav nav a:hover,.footer-links a:hover{color:var(--text)}
.footer{padding:12px 18px 36px}
.simple-footer .container{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap}
.footer-links{display:flex;gap:14px;flex-wrap:wrap}
.page-hero{padding:20px 0 10px}
.eyebrow{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--soft);margin:0 0 10px}
.page-hero h1{margin:0;font-size:clamp(32px,5vw,54px);line-height:1.04;letter-spacing:-.045em}
.page-lead{max-width:72ch;color:var(--muted);font-size:17px;line-height:1.6;margin:14px 0 0}
.page-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.surface{background:rgba(255,255,255,.88);border:1px solid rgba(230,225,216,.92);box-shadow:var(--shadow);border-radius:22px;padding:22px;margin-top:18px}
.surface h2{margin:0 0 10px;font-size:24px;letter-spacing:-.03em}
.surface h3{margin:0 0 8px;font-size:18px}
.muted{color:var(--muted)}
.trust-note-strong,.continuity-note{font-size:13px;color:var(--muted);line-height:1.5;margin-top:10px}
.chip-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.mini-chip{display:inline-flex;align-items:center;border:1px solid var(--border);background:#fff;border-radius:999px;padding:8px 12px;font-size:13px;color:#4f4b43}
.content-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;align-items:start}
.check-list,.situation-list,.faq-list{display:grid;gap:10px;padding-left:18px;margin:12px 0 0}
.try-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;align-items:start}
#analysisInput{width:100%;min-height:210px;border:1px solid var(--border);border-radius:18px;padding:14px 16px;background:#fff;resize:vertical;outline:none}
.upload-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:12px}
.upload-row input[type='file']{max-width:100%}
.analysis-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;margin-top:18px}
.report-block{background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px}
.report-block h3{margin:0 0 10px}
#analysisOutput{line-height:1.6}
.related-grid,.browse-grid,.browse-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.related-card,.browse-card,.browse-category-card{display:block;border:1px solid var(--border);border-radius:18px;padding:16px;background:#fff;text-decoration:none;color:inherit}
.related-card:hover,.browse-card:hover,.browse-category-card:hover{transform:translateY(-1px);border-color:#d6cfbf}
.related-card strong,.browse-card strong{display:block;font-size:15px;line-height:1.35;margin-bottom:6px}
.related-card span,.browse-card span,.browse-category-card span{display:block;color:var(--muted);font-size:13px;line-height:1.5}
.browse-page{padding:8px 18px 28px}
.browse-lead{max-width:74ch;color:var(--muted);font-size:16px;line-height:1.6}
.browse-section{margin-top:24px}
.browse-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}
.browse-section-head h2{margin:0;font-size:24px;letter-spacing:-.03em}
.inline-note-small{font-size:12px;color:var(--muted);margin-top:8px}
.section-copy{max-width:72ch;color:var(--muted);line-height:1.6}
@media (max-width: 900px){
  .content-grid,.try-grid,.analysis-grid,.related-grid,.browse-grid,.browse-category-grid{grid-template-columns:1fr}
  .simple-page,.browse-page{padding:0 14px 22px}
}


.helper-trust{
  opacity:.72;
  margin-top:6px;
}


/* Mobile simplification pass */
.presence-line{display:none;}
@media (max-width: 640px){
  .assistant-card{padding:14px 14px 12px; min-height:calc(100dvh - 92px); border-radius:20px;}
  .assistant-head{gap:10px;}
  .assistant-icon{width:28px;height:28px;}
  .assistant-head h1{font-size:20px; line-height:1.1; letter-spacing:-0.03em; max-width:none;}
  .assistant-subtitle{font-size:13px; line-height:1.3; margin-top:6px;}
  .helper-line{font-size:12px; line-height:1.25; margin-top:4px;}
  .helper-trust{opacity:.82;}
  .suggestion-row{gap:6px; padding-bottom:2px; overflow-x:auto; flex-wrap:nowrap; -webkit-overflow-scrolling:touch; scrollbar-width:none;}
  .suggestion-row::-webkit-scrollbar{display:none;}
  .suggestion-chip{padding:8px 10px; font-size:12px; white-space:nowrap;}
  .message-list{min-height:0; height:calc(100dvh - 320px); max-height:none;}
  #composerInput{font-size:16px; min-height:42px; padding:10px 2px;}
  #composerInput::placeholder{font-size:15px;}
  .file-trigger,.send-button{width:40px;height:40px;}
}



/* Dominant refinement: homepage clarity + hero stability */
.assistant-head h1{
  max-width: 18ch !important;
  white-space: normal !important;
  line-height: 1.04 !important;
  letter-spacing: -0.04em !important;
}
.assistant-subtitle{
  max-width: 30ch !important;
  white-space: normal !important;
  line-height: 1.35 !important;
}
.helper-line{
  white-space: normal !important;
  line-height: 1.35 !important;
}
.helper-trust{
  color: var(--muted);
}
@media (min-width: 641px){
  .assistant-head{
    justify-content: center;
  }
  .assistant-id{
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }
  .assistant-head h1{
    font-size: clamp(30px, 3.4vw, 44px) !important;
    margin: 0 auto !important;
  }
  .assistant-subtitle{
    font-size: 15px !important;
    margin: 12px auto 0 !important;
  }
  .suggestion-row{
    justify-content: center;
  }
}
@media (max-width: 640px){
  .assistant-head h1{
    font-size: 28px !important;
    max-width: 12ch !important;
  }
  .assistant-subtitle{
    font-size: 13px !important;
    max-width: 22ch !important;
  }
  .helper-line{
    font-size: 12px !important;
  }
  #composerInput{
    font-size: 16px !important;
  }
}


/* Messenger-first homepage override */
.messenger-home .workspace{max-width:980px;grid-template-columns:1fr;justify-content:center}
.messenger-home .assistant-column{max-width:980px;margin:0 auto}
.messenger-home .topbar{max-width:980px;margin:0 auto 16px;padding:2px 4px 0}
.messenger-home .topbar-actions{gap:8px}
.messenger-home .topbar-link{background:transparent;border-color:transparent;padding:8px 10px;box-shadow:none}
.messenger-home .topbar-link:hover,.messenger-home .brand:hover{transform:none;background:rgba(255,255,255,.55);border-color:var(--border)}
.messenger-home .topbar-symbol{font-size:28px;line-height:1;font-weight:400;min-width:38px;text-align:center;padding:4px 8px}
.messenger-home .brand{font-size:19px}
.messenger-home .brand-mark{width:24px;height:24px}
.messenger-home .presence-line{display:none}
.messenger-home .assistant-card{min-height:calc(100vh - 112px);padding:34px 28px 18px;gap:18px;background:rgba(255,255,255,.84)}
.messenger-home .assistant-head-minimal{justify-content:center}
.messenger-home .assistant-id-minimal{display:block;text-align:center;width:100%}
.messenger-home #heroTitle{margin:0 auto;max-width:28ch!important;font-size:clamp(32px,4.6vw,54px)!important;line-height:1.05!important;letter-spacing:-.045em!important;white-space:normal!important}
.messenger-home #assistantSubtitle{display:none}
.messenger-home .message-list{max-width:720px;margin:0 auto;min-height:240px;max-height:none;overflow:visible;gap:18px;padding-top:8px}
.messenger-home .message{justify-content:flex-start!important}
.messenger-home .message-bubble{max-width:100%;padding:18px 20px;border-radius:20px;background:#f5f6f8;border-color:#e8ebef;font-size:17px;line-height:1.65;box-shadow:none;position:relative}
.messenger-home .message.user .message-bubble{background:#f7f7f7}
.messenger-home .message-bubble::before{display:block;font-size:15px;font-weight:650;color:#3a3a38;margin-bottom:8px}
.messenger-home .message.user .message-bubble::before{content:'User:'}
.messenger-home .message.assistant .message-bubble::before{content:'Calm:'}
.messenger-home .suggestion-row{justify-content:center;gap:10px;margin-top:2px}
.messenger-home .suggestion-chip{padding:10px 14px;background:#f7f7f7;border-color:#e5e5e5}
.messenger-home .helper-line{max-width:760px;margin:2px auto 0;text-align:center;font-size:16px;color:#50555f}
.messenger-home .helper-trust{font-size:13px;color:#667085;margin-top:2px;opacity:1}
.messenger-home .composer-wrap{margin-top:auto;width:100%}
.messenger-home .composer{max-width:820px;margin:0 auto;padding:10px;border-radius:20px;background:#fff;border-color:#dfe3e8;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}
.messenger-home .file-trigger,.messenger-home .send-button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 14px;border-radius:16px;border-color:#dde2e8;background:#fff}
.messenger-home .send-button{min-width:142px}
.messenger-home .file-trigger{min-width:126px}
.messenger-home .attach-mark{width:22px;height:22px;transform:rotate(-26deg);opacity:.9}
.messenger-home .dash-icon{font-size:30px;line-height:1;margin-top:-2px}
.messenger-home .action-label{font-size:15px;color:#5b6472}
.messenger-home #composerInput{min-height:50px;padding:13px 2px 11px;font-size:18px}
.messenger-home #composerInput::placeholder{color:#7a8594}
.messenger-home .support-column{display:none}

@media (max-width: 640px){
  .messenger-home .app-shell{padding:12px 12px 16px}
  .messenger-home .topbar{margin-bottom:10px;padding:0}
  .messenger-home .brand{font-size:18px}
  .messenger-home .brand-mark{width:22px;height:22px}
  .messenger-home .topbar-actions{gap:2px}
  .messenger-home .topbar-link{padding:6px 8px;font-size:14px}
  .messenger-home #authButton{font-size:0;max-width:none;overflow:visible;padding:6px 8px}
  .messenger-home #authButton::before{content:'≡';font-size:23px;line-height:1;color:var(--text)}
  .messenger-home .topbar-symbol{font-size:24px;min-width:28px;padding:4px 6px}
  .messenger-home .assistant-card{min-height:calc(100dvh - 78px);padding:18px 14px 12px;border-radius:22px}
  .messenger-home #heroTitle{font-size:clamp(22px,8vw,31px)!important;max-width:14ch!important}
  .messenger-home .message-list{min-height:190px;gap:14px}
  .messenger-home .message-bubble{font-size:16px;padding:16px 16px 16px 16px;border-radius:18px}
  .messenger-home .message-bubble::before{font-size:14px;margin-bottom:6px}
  .messenger-home .suggestion-row{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:2px}
  .messenger-home .helper-line{font-size:14px;line-height:1.45;padding:0 6px}
  .messenger-home .helper-trust{font-size:12px}
  .messenger-home .composer{padding:8px;gap:8px;grid-template-columns:auto minmax(0,1fr) auto}
  .messenger-home .file-trigger,.messenger-home .send-button{min-height:44px;min-width:44px;padding:0 10px}
  .messenger-home .send-button{min-width:72px}
  .messenger-home .file-trigger{min-width:54px}
  .messenger-home .action-label{display:none}
  .messenger-home #composerInput{font-size:16px;min-height:44px}
}


/* messenger-home refinement */
.messenger-home .workspace{
  max-width:960px;
  grid-template-columns:minmax(0,1fr);
}
.messenger-home .assistant-column{
  max-width:900px;
  margin:0 auto;
}
.messenger-home .topbar{
  margin-bottom:10px;
}
.messenger-home .topbar-symbol{
  display:grid;
  place-items:center;
  font-size:0;
  min-width:38px;
  min-height:38px;
  padding:0;
}
.messenger-home .trust-circle-button{
  border-radius:999px;
}
.messenger-home .circle-icon{
  width:18px;
  height:18px;
  border:1.8px solid #49515d;
  border-radius:999px;
  display:block;
}
.messenger-home .assistant-card{
  min-height:calc(100vh - 96px);
  min-height:calc(100dvh - 96px);
  padding:22px 24px 16px;
  gap:14px;
  justify-content:flex-start;
}
.messenger-home .assistant-head-minimal{
  justify-content:flex-start;
}
.messenger-home .assistant-id-minimal{
  text-align:left;
}
.messenger-home #heroTitle{
  margin:0;
  max-width:22ch !important;
  font-size:clamp(28px,3.8vw,44px) !important;
  line-height:1.05 !important;
}
.messenger-home .message-list{
  max-width:760px;
  margin:0;
  min-height:0;
  gap:14px;
  padding-top:2px;
}
.messenger-home .message-bubble{
  font-size:16px;
  line-height:1.58;
  padding:16px 18px;
}
.messenger-home .suggestion-row{
  justify-content:flex-start;
  gap:8px;
}
.messenger-home .suggestion-chip{
  padding:9px 13px;
}
.messenger-home .helper-line{
  max-width:760px;
  margin:0;
  text-align:left;
  font-size:15px;
}
.messenger-home .helper-trust{
  font-size:12px;
  margin-top:-4px;
}
.messenger-home .composer-wrap{
  margin-top:auto;
}
.messenger-home .composer{
  max-width:760px;
  margin:0;
  padding:8px;
  border-radius:18px;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:8px;
}
.messenger-home .file-trigger,
.messenger-home .send-button{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 12px;
  border-radius:14px;
  border-color:#dde2e8;
  background:#fff;
}
.messenger-home .send-button{min-width:118px;}
.messenger-home .file-trigger{min-width:106px;}
.messenger-home .action-label{
  font-size:14px;
  color:#5b6472;
}
.messenger-home .favicon-attach,
.messenger-home .favicon-analyze{
  width:18px;
  height:18px;
  display:inline-flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
  flex:0 0 auto;
}
.messenger-home .favicon-attach{
  transform:rotate(-28deg);
}
.messenger-home .favicon-attach span,
.messenger-home .favicon-analyze span{
  display:block;
  width:18px;
  height:3px;
  border-radius:999px;
  background:#6b6b6b;
}
.messenger-home .attach-mark,
.messenger-home .dash-icon{
  opacity:.96;
}
.messenger-home #composerInput{
  min-height:44px;
  padding:10px 2px 8px;
  font-size:17px;
}
.messenger-home #composerInput::placeholder{
  color:#7a8594;
}
.messenger-home .support-column{
  display:none;
}

@media (max-width: 640px){
  .messenger-home .app-shell{
    padding:10px 12px 14px;
  }
  .messenger-home .topbar{
    margin-bottom:8px;
    padding:0;
  }
  .messenger-home .brand{
    font-size:18px;
  }
  .messenger-home .brand-mark{
    width:22px;
    height:22px;
  }
  .messenger-home .topbar-actions{
    gap:3px;
  }
  .messenger-home .topbar-link{
    padding:6px 8px;
    font-size:14px;
  }
  .messenger-home #authButton{
    font-size:0;
    max-width:none;
    overflow:visible;
    padding:6px 8px;
  }
  .messenger-home #authButton::before{
    content:'≡';
    font-size:23px;
    line-height:1;
    color:var(--text);
  }
  .messenger-home .topbar-symbol{
    min-width:30px;
    min-height:30px;
  }
  .messenger-home .circle-icon{
    width:16px;
    height:16px;
  }
  .messenger-home .assistant-card{
    min-height:calc(100dvh - 72px);
    padding:16px 14px 12px;
    border-radius:22px;
    gap:12px;
  }
  .messenger-home #heroTitle{
    font-size:clamp(21px,7vw,30px) !important;
    max-width:15ch !important;
  }
  .messenger-home .message-list{
    gap:12px;
  }
  .messenger-home .message-bubble{
    font-size:15px;
    padding:14px 14px 15px 14px;
    border-radius:18px;
  }
  .messenger-home .message-bubble::before{
    font-size:13px;
    margin-bottom:6px;
  }
  .messenger-home .suggestion-row{
    overflow-x:auto;
    flex-wrap:nowrap;
    padding-bottom:2px;
  }
  .messenger-home .helper-line{
    font-size:13px;
    line-height:1.42;
    padding:0;
  }
  .messenger-home .helper-trust{
    font-size:11px;
    margin-top:-4px;
  }
  .messenger-home .composer{
    padding:7px;
    gap:7px;
    border-radius:16px;
  }
  .messenger-home .file-trigger,
  .messenger-home .send-button{
    min-height:40px;
    padding:0 10px;
    gap:6px;
  }
  .messenger-home .send-button{min-width:100px;}
  .messenger-home .file-trigger{min-width:94px;}
  .messenger-home .favicon-attach,
  .messenger-home .favicon-analyze{
    width:16px;
    height:16px;
    gap:3px;
  }
  .messenger-home .favicon-attach span,
  .messenger-home .favicon-analyze span{
    width:16px;
    height:3px;
  }
  .messenger-home .action-label{
    font-size:13px;
  }
  .messenger-home #composerInput{
    min-height:40px;
    padding:9px 2px 7px;
    font-size:16px;
  }
}


/* final messenger icon and trust refinements */
.messenger-home .topbar-actions{
  gap:8px;
}
.messenger-home .topbar-symbol{
  font-size:24px !important;
  line-height:1 !important;
  min-width:36px !important;
  min-height:36px !important;
  padding:0 !important;
  display:grid !important;
  place-items:center !important;
}
.messenger-home #plusButton{
  font-size:24px !important;
  color:var(--text) !important;
}
.messenger-home .trust-circle-button{
  border-radius:999px;
}
.messenger-home .circle-icon{
  width:17px !important;
  height:17px !important;
  border:1.8px solid #4a5563 !important;
  border-radius:999px !important;
  display:block !important;
}
.messenger-home .file-trigger,
.messenger-home .send-button{
  min-width:44px !important;
  width:44px;
  padding:0 !important;
  gap:0 !important;
}
.messenger-home .favicon-attach,
.messenger-home .favicon-analyze{
  width:18px !important;
  height:18px !important;
  display:grid !important;
  place-items:center !important;
}
.messenger-home .favicon-attach{
  transform:rotate(-28deg);
}
.messenger-home .favicon-attach span,
.messenger-home .favicon-analyze span{
  display:block !important;
  width:18px !important;
  height:3px !important;
  border-radius:999px !important;
  background:#6b6b6b !important;
}
.messenger-home .action-label{
  display:none !important;
}
.messenger-home .example-response-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  max-width:760px;
}
.messenger-home .example-response-card{
  background:#f7f8fa;
  border:1px solid #e6eaf0;
  border-radius:16px;
  padding:12px 13px;
}
.messenger-home .example-response-label{
  font-size:12px;
  color:#667085;
  margin-bottom:6px;
}
.messenger-home .example-response-card p{
  margin:0;
  font-size:13px;
  line-height:1.45;
  color:#45505f;
}

@media (max-width: 640px){
  .messenger-home .topbar-actions{
    gap:4px;
  }
  .messenger-home .topbar-symbol{
    min-width:30px !important;
    min-height:30px !important;
    font-size:21px !important;
  }
  .messenger-home #plusButton{
    font-size:21px !important;
  }
  .messenger-home .circle-icon{
    width:15px !important;
    height:15px !important;
  }
  .messenger-home .file-trigger,
  .messenger-home .send-button{
    min-width:40px !important;
    width:40px;
  }
  .messenger-home .favicon-attach span,
  .messenger-home .favicon-analyze span{
    width:16px !important;
  }
  .messenger-home .example-response-row{
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding-bottom:2px;
  }
  .messenger-home .example-response-card{
    min-width:220px;
    flex:0 0 220px;
  }
}


.chat-head-hidden{display:none!important;}
.messenger-home .suggestion-row{display:none!important;}
.messenger-home .helper-line{max-width:720px;margin:0 auto 6px;text-align:center;font-size:13px;color:var(--muted)!important;min-height:18px;}
.messenger-home .message-list{max-width:760px;margin:0 auto;min-height:320px;max-height:calc(100vh - 245px);overflow:auto;padding-top:2px;}
.messenger-home .message-bubble::before{display:none!important;content:none!important;}
.messenger-home .message.assistant{justify-content:flex-start!important;}
.messenger-home .message.user{justify-content:flex-end!important;}
.messenger-home .message-bubble{font-size:15px!important;line-height:1.5!important;border-radius:18px!important;padding:14px 16px!important;}
.messenger-home .message.assistant .message-bubble{background:#f5f4f1!important;border-color:#e7e2d9!important;}
.messenger-home .message.user .message-bubble{background:#eceae4!important;border-color:#e1dbd0!important;}
.messenger-home .composer{max-width:760px;}
.messenger-home #composerInput{font-size:16px!important;}
@media (max-width:640px){
  .messenger-home .assistant-card{padding:12px 12px 10px!important;min-height:calc(100dvh - 76px)!important;}
  .messenger-home .message-list{min-height:0;max-height:calc(100dvh - 188px);}
  .messenger-home .helper-line{font-size:12px!important;padding:0 4px;}
  .messenger-home .message-bubble{font-size:15px!important;padding:12px 14px!important;}
  .topbar-link,.topbar-pill,.brand{font-size:14px!important;}
}

/* Pass 03: calmer chat scale and tighter text-message feel */
.messenger-home .assistant-card{
  padding:14px 14px 10px !important;
  gap:10px !important;
  min-height:calc(100dvh - 76px) !important;
}
.messenger-home .message-list{
  max-width:720px !important;
  margin:0 auto !important;
  min-height:0 !important;
  max-height:calc(100dvh - 184px) !important;
  gap:10px !important;
  padding-top:0 !important;
}
.messenger-home .helper-line{
  max-width:720px !important;
  margin:0 auto 4px !important;
  text-align:left !important;
  font-size:12px !important;
  line-height:1.35 !important;
  color:var(--muted) !important;
  min-height:16px !important;
}
.messenger-home .composer-wrap{
  margin-top:0 !important;
}
.messenger-home .composer{
  max-width:720px !important;
  margin:0 auto !important;
  padding:8px !important;
  gap:8px !important;
  border-radius:18px !important;
}
.messenger-home #composerInput{
  min-height:42px !important;
  padding:10px 2px !important;
  font-size:16px !important;
  line-height:1.35 !important;
}
.messenger-home .message-bubble{
  font-size:15px !important;
  line-height:1.45 !important;
  padding:12px 14px !important;
  border-radius:16px !important;
  max-width:min(88%, 640px) !important;
}
.messenger-home .message.user .message-bubble{
  margin-left:auto !important;
}
.messenger-home .message.assistant .message-bubble{
  margin-right:auto !important;
}
@media (max-width: 640px){
  .messenger-home .assistant-card{
    padding:10px 10px 8px !important;
    gap:8px !important;
    min-height:calc(100dvh - 70px) !important;
  }
  .messenger-home .message-list{
    max-height:calc(100dvh - 170px) !important;
    gap:8px !important;
  }
  .messenger-home .message-bubble{
    max-width:92% !important;
    font-size:15px !important;
    padding:11px 13px !important;
  }
  .messenger-home .helper-line{
    font-size:11.5px !important;
    margin-bottom:3px !important;
  }
  .messenger-home .composer{
    padding:7px !important;
    gap:7px !important;
  }
}


/* Pass 4: fixed bottom composer + quieter opening */
.messenger-home .assistant-head-minimal{display:none !important;}
.messenger-home .helper-line{display:none !important;}
.messenger-home .suggestion-row{display:none !important;}
.messenger-home .assistant-card{
  height:calc(100vh - 96px);
  height:calc(100dvh - 96px);
  min-height:calc(100vh - 96px);
  min-height:calc(100dvh - 96px);
  overflow:hidden;
}
.messenger-home .message-list{
  flex:1 1 auto;
  overflow:auto;
  padding:2px 0 110px;
  min-height:0;
  max-height:none;
}
.messenger-home .composer-wrap{
  position:sticky;
  bottom:0;
  z-index:4;
  margin-top:0;
  padding-top:8px;
  background:linear-gradient(to top, rgba(255,255,255,.96) 70%, rgba(255,255,255,0));
}
.messenger-home .composer{
  max-width:760px;
  box-shadow:0 8px 28px rgba(26,26,22,.05);
}
.messenger-home .message-bubble::before{
  margin-bottom:5px;
  color:#5d6470;
  font-size:13px;
  letter-spacing:.01em;
}
@media (max-width: 640px){
  .messenger-home .assistant-card{
    height:calc(100dvh - 72px);
    min-height:calc(100dvh - 72px);
  }
  .messenger-home .message-list{
    padding-bottom:96px;
  }
  .messenger-home .composer-wrap{
    padding-bottom:calc(2px + env(safe-area-inset-bottom));
  }
}


.topbar-symbol{font-size:0;display:grid;place-items:center;padding:10px 12px;min-width:42px}
.topbar-symbol::before{font-size:18px;line-height:1;color:var(--text)}
#plusButton{font-size:18px;line-height:1}
#authButton{font-size:18px;line-height:1;padding-left:12px;padding-right:12px}
.message.assistant{align-items:flex-start}
.message-mark{width:18px;flex:0 0 18px;color:#9e988c;font-size:16px;line-height:1.2;padding-top:8px;text-align:center}
.message-meta{font-size:12px;line-height:1.4;color:#9e988c;margin-top:2px}
.message.user{margin-left:auto}
.message.user .message-bubble{margin-left:auto}
@media (max-width: 640px){
  .message-mark{width:16px;flex-basis:16px;font-size:15px;padding-top:7px}
}


/* Pass 5.1 stability patch */
.messenger-home .assistant-card{
  background:rgba(255,255,255,.92) !important;
}
.messenger-home .message-list{
  min-height:320px !important;
  max-height:calc(100vh - 210px) !important;
  overflow:auto !important;
}
.messenger-home .helper-line{display:none !important;}
#trustButton{font-size:0 !important;}
#trustButton .circle-icon{
  display:block;
  width:16px;
  height:16px;
  border:2.4px solid var(--text);
  border-radius:999px;
}
#authButton,#plusButton{font-size:18px;line-height:1;}
.message.assistant .message-bubble{
  background:#faf9f6;
}


/* Pass 10: thinner shell + unified icon geometry */
.messenger-home .assistant-card{
  padding:14px 14px 10px !important;
  border-radius:20px !important;
}
.messenger-home .topbar{
  max-width:760px !important;
  margin:0 auto 10px !important;
  padding:0 2px !important;
}
.messenger-home .brand{
  gap:7px !important;
  font-size:16px !important;
  font-weight:560 !important;
  padding:4px 0 !important;
}
.messenger-home .brand-mark{
  width:18px !important;
  height:18px !important;
  opacity:.95 !important;
}
.messenger-home .topbar-actions{
  gap:4px !important;
  align-items:center !important;
}
.messenger-home .topbar-link{
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
  padding:6px 7px !important;
  min-width:30px !important;
  min-height:30px !important;
}
.messenger-home .topbar-link:hover,.messenger-home .brand:hover{
  background:rgba(255,255,255,.42) !important;
  border-color:transparent !important;
  transform:none !important;
}
.messenger-home .topbar-symbol,
.messenger-home #authButton{
  font-size:0 !important;
  display:grid !important;
  place-items:center !important;
}
.messenger-home .icon-mark{
  position:relative;
  width:16px;
  height:16px;
  display:grid;
  place-items:center;
  opacity:.94;
}
.messenger-home .icon-mark span{
  display:block;
  position:absolute;
  background:#6b6b6b;
  border-radius:999px;
}
.messenger-home .icon-equals3 span{
  width:14px;
  height:2px;
  left:1px;
}
.messenger-home .icon-equals3 span:nth-child(1){top:3px;}
.messenger-home .icon-equals3 span:nth-child(2){top:7px;}
.messenger-home .icon-equals3 span:nth-child(3){top:11px;}
.messenger-home .icon-line span{
  width:2px;
  height:14px;
  left:7px;
  top:1px;
}
.messenger-home .icon-close span{
  width:2px;
  height:14px;
  left:7px;
  top:1px;
  transform-origin:center;
}
.messenger-home .icon-close span:nth-child(1){transform:rotate(45deg);}
.messenger-home .icon-close span:nth-child(2){transform:rotate(-45deg);}
.messenger-home .trust-circle-button{
  border-radius:999px !important;
}
.messenger-home .circle-icon{
  width:14px !important;
  height:14px !important;
  border:2px solid #6b6b6b !important;
  border-radius:999px !important;
  display:block !important;
  box-sizing:border-box !important;
}
.messenger-home .message-list{
  max-width:760px !important;
  max-height:calc(100vh - 220px) !important;
  gap:10px !important;
}
.messenger-home .message{gap:8px !important;}
.messenger-home .message-mark{
  width:16px !important;
  flex-basis:16px !important;
  font-size:14px !important;
  line-height:1 !important;
  padding-top:7px !important;
  color:#8f897f !important;
}
.messenger-home .message-bubble{
  font-size:14px !important;
  line-height:1.45 !important;
  padding:12px 14px !important;
  border-radius:16px !important;
}
.messenger-home .composer-wrap{max-width:760px !important;}
.messenger-home .composer{
  max-width:760px !important;
  padding:6px !important;
  border-radius:16px !important;
  grid-template-columns:38px minmax(0,1fr) 38px !important;
  gap:6px !important;
}
.messenger-home .file-trigger,
.messenger-home .send-button{
  min-width:38px !important;
  width:38px !important;
  min-height:38px !important;
  height:38px !important;
  padding:0 !important;
  gap:0 !important;
}
.messenger-home .favicon-attach,
.messenger-home .favicon-analyze{
  width:14px !important;
  height:14px !important;
}
.messenger-home .favicon-attach span,
.messenger-home .favicon-analyze span{
  width:14px !important;
  height:2px !important;
  background:#6b6b6b !important;
}
.messenger-home #composerInput{
  min-height:38px !important;
  padding:8px 2px !important;
  font-size:15px !important;
}
.messenger-home #composerInput::placeholder{color:#8b857c !important;}
.messenger-home .helper-line{display:none !important;}
@media (max-width:640px){
  .messenger-home .topbar{max-width:none !important; margin-bottom:8px !important;}
  .messenger-home .brand{font-size:15px !important;}
  .messenger-home .brand-mark{width:17px !important; height:17px !important;}
  .messenger-home .topbar-link{padding:5px 6px !important; min-width:28px !important; min-height:28px !important;}
  .messenger-home .icon-mark{width:15px; height:15px;}
  .messenger-home .circle-icon{width:13px !important; height:13px !important;}
  .messenger-home .assistant-card{padding:12px 12px 8px !important; border-radius:18px !important;}
  .messenger-home .message-list{max-height:calc(100dvh - 180px) !important; gap:9px !important;}
  .messenger-home .message-bubble{font-size:14px !important; padding:11px 13px !important;}
  .messenger-home .composer{grid-template-columns:36px minmax(0,1fr) 36px !important; padding:5px !important;}
  .messenger-home .file-trigger,.messenger-home .send-button{min-width:36px !important; width:36px !important; min-height:36px !important; height:36px !important;}
  .messenger-home #composerInput{min-height:36px !important; font-size:15px !important;}
}

/* Pass 10b surgical fix: restore bottom composer, keep desktop narrow, unify icon system */
:root{
  --chat-shell-width:760px;
  --chat-text-max:760px;
  --icon-stroke:1.8px;
  --icon-size:16px;
  --icon-color:#666258;
}
.messenger-home .topbar,
.messenger-home .workspace,
.messenger-home .assistant-column,
.messenger-home .assistant-card{
  width:min(100%, var(--chat-shell-width)) !important;
  max-width:var(--chat-shell-width) !important;
}
.messenger-home .workspace{
  display:block !important;
  max-width:var(--chat-shell-width) !important;
}
.messenger-home .assistant-column{
  margin:0 auto !important;
}
.messenger-home .topbar{
  margin:0 auto 10px !important;
}
.messenger-home .assistant-card{
  min-height:calc(100dvh - 86px) !important;
  height:calc(100dvh - 86px) !important;
  padding:12px 12px 10px !important;
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
}
.messenger-home .message-list{
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:none !important;
  height:auto !important;
  overflow:auto !important;
  padding-bottom:8px !important;
  gap:9px !important;
}
.messenger-home .composer-wrap{
  position:sticky !important;
  bottom:0 !important;
  margin-top:auto !important;
  padding-top:8px !important;
  padding-bottom:calc(2px + env(safe-area-inset-bottom)) !important;
  background:linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,.94) 24%, rgba(255,255,255,.98) 100%) !important;
  max-width:100% !important;
}
.messenger-home .composer{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  grid-template-columns:38px minmax(0,1fr) 38px !important;
}
.messenger-home .helper-line,
.messenger-home .presence-line,
.messenger-home .suggestion-row,
.messenger-home .assistant-head{
  display:none !important;
}
.messenger-home .brand-mark,
.messenger-home .icon-mark,
.messenger-home .circle-icon,
.messenger-home .favicon-attach,
.messenger-home .favicon-analyze{
  width:var(--icon-size) !important;
  height:var(--icon-size) !important;
}
.messenger-home .icon-mark,
.messenger-home .favicon-attach,
.messenger-home .favicon-analyze{
  opacity:.96 !important;
}
.messenger-home .icon-mark span,
.messenger-home .favicon-attach span,
.messenger-home .favicon-analyze span{
  background:var(--icon-color) !important;
  height:var(--icon-stroke) !important;
}
.messenger-home .icon-equals3 span{width:14px !important; left:1px !important;}
.messenger-home .icon-equals3 span:nth-child(1){top:3px !important;}
.messenger-home .icon-equals3 span:nth-child(2){top:7px !important;}
.messenger-home .icon-equals3 span:nth-child(3){top:11px !important;}
.messenger-home .icon-line span,
.messenger-home .icon-close span{
  width:var(--icon-stroke) !important;
  height:14px !important;
  left:7px !important;
  top:1px !important;
}
.messenger-home .circle-icon{
  border:max(2.2px,var(--icon-stroke)) solid var(--icon-color) !important;
  box-sizing:border-box !important;
}
.messenger-home .topbar-actions{gap:6px !important;}
.messenger-home .topbar-link{padding:6px !important; min-width:30px !important; min-height:30px !important;}
.messenger-home .message-bubble{font-size:14px !important; line-height:1.42 !important; padding:11px 13px !important;}
@media (max-width:640px){
  :root{--chat-shell-width:100%; --chat-text-max:100%; --icon-size:15px;}
  .messenger-home .topbar,
  .messenger-home .workspace,
  .messenger-home .assistant-column,
  .messenger-home .assistant-card{width:100% !important; max-width:none !important;}
  .messenger-home .assistant-card{min-height:calc(100dvh - 78px) !important; height:calc(100dvh - 78px) !important; padding:12px 12px 8px !important;}
  .messenger-home .composer{grid-template-columns:36px minmax(0,1fr) 36px !important;}
  .messenger-home .file-trigger,.messenger-home .send-button{width:36px !important; min-width:36px !important; height:36px !important; min-height:36px !important;}
  .messenger-home #composerInput{min-height:36px !important; font-size:15px !important;}
}


/* Safe chat polish: wider user bubbles without layout changes */
.messenger-home .message.user .message-bubble{max-width:min(92%, 720px) !important;}
.messenger-home .message.assistant .message-bubble{max-width:min(88%, 720px) !important;}

/* Pass 13 mobile auth icon fix: remove stray Calm+ mark above login/logout */
@media (max-width: 640px){
  .messenger-home #authButton::before{
    content:none !important;
    display:none !important;
  }
  .messenger-home #authButton{
    font-size:0 !important;
    overflow:visible !important;
    max-width:none !important;
  }
  .messenger-home #authButton .icon-mark{
    display:grid !important;
    place-items:center !important;
  }
}
