/* DjimlyStore Digital 4.2.62.5 — desktop-only message composer readability repair.
 * This layer NEVER controls which screen is visible. It only styles the composer
 * after the native messaging router marks a thread as open and replyable.
 */
@media (min-width:1024px) {
  html body #djs-portal #djs-screen-chat.djs623-ready.is-thread.djs-screen--active > #djs-chat-input-wrap.djs-mc-composer.is-visible {
    position:absolute!important;
    transform:none!important;
    translate:none!important;
    left:var(--djs623-side-width, 360px)!important;
    right:0!important;
    top:auto!important;
    bottom:0!important;
    width:calc(100% - var(--djs623-side-width, 360px))!important;
    max-width:none!important;
    height:auto!important;
    min-height:116px!important;
    max-height:226px!important;
    box-sizing:border-box!important;
    display:flex!important;
    flex-direction:row!important;
    align-items:flex-end!important;
    justify-content:flex-start!important;
    gap:12px!important;
    padding:14px clamp(18px,2.5vw,36px) 19px!important;
    margin:0!important;
    overflow:visible!important;
    border-top:1px solid #cfdff2!important;
    background:#fff!important;
    box-shadow:0 -8px 28px rgba(14,49,97,.08)!important;
    z-index:36!important;
  }
  html body #djs-portal #djs-screen-chat.djs623-ready.is-thread > #djs-chat-input-wrap > .djs-mc-input-shell {
    display:flex!important;
    flex:1 1 0%!important;
    align-items:stretch!important;
    justify-content:stretch!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    height:auto!important;
    min-height:76px!important;
    max-height:166px!important;
    padding:0!important;
    margin:0!important;
    overflow:hidden!important;
    background:#f5f8fe!important;
    border:1.5px solid #c7d9ef!important;
    border-radius:16px!important;
    box-shadow:inset 0 1px 2px rgba(17,47,85,.03)!important;
  }
  html body #djs-portal #djs-screen-chat.djs623-ready.is-thread #djs-chat-input-wrap .djs-mc-input-shell:focus-within {
    background:#fff!important;
    border-color:#1878e8!important;
    box-shadow:0 0 0 3px rgba(24,120,232,.12)!important;
  }
  html body #djs-portal #djs-screen-chat.djs623-ready.is-thread #djs-chat-input-wrap #djs-chat-input.djs6235-multiline {
    display:block!important;
    flex:1 1 100%!important;
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:var(--djs625-input-height, 76px)!important; /* dynamically grown */
    min-height:76px!important;
    max-height:166px!important;
    margin:0!important;
    padding:13px 16px!important;
    resize:none!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    white-space:pre-wrap!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    font-family:inherit!important;
    font-size:16px!important;
    font-weight:500!important;
    line-height:24px!important;
    letter-spacing:normal!important;
    text-align:left!important;
    color:#122a4a!important;
    -webkit-text-fill-color:#122a4a!important;
    caret-color:#126ee7!important;
    background:transparent!important;
    border:0!important;
    border-radius:14px!important;
    outline:0!important;
    box-shadow:none!important;
    opacity:1!important;
  }
  html body #djs-portal #djs-screen-chat.djs623-ready.is-thread #djs-chat-input-wrap #djs-chat-input.djs6235-multiline::placeholder {
    color:#6c819b!important;
    -webkit-text-fill-color:#6c819b!important;
    opacity:1!important;
  }
  html body #djs-portal #djs-screen-chat.djs623-ready.is-thread #djs-chat-input-wrap :is(#djs-chat-plus,#djs-chat-send) {
    display:flex!important;
    flex:0 0 48px!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    width:48px!important;
    min-width:48px!important;
    height:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    align-self:flex-end!important;
    margin:0 0 13px!important;
    padding:0!important;
    border-radius:14px!important;
    line-height:1!important;
    cursor:pointer!important;
  }
  html body #djs-portal #djs-screen-chat.djs623-ready.is-thread #djs-chat-input-wrap #djs-chat-plus {
    background:#e9f2ff!important;
    border:1px solid #ccdef9!important;
    color:#1468c9!important;
  }
  html body #djs-portal #djs-screen-chat.djs623-ready.is-thread #djs-chat-input-wrap #djs-chat-send {
    background:#126fe8!important;
    color:#fff!important;
    border:1px solid #126fe8!important;
  }
  html body #djs-portal #djs-screen-chat.djs623-ready.is-thread #djs-chat-input-wrap #djs-chat-send .ms {
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }
  /* Keep sent blue bubbles readable even if legacy global text rules are loaded. */
  html body #djs-portal #djs-screen-chat.djs623-ready.is-thread .djs-chat-line.mine .djs-chat-bubble {
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }
  html body #djs-portal #djs-screen-chat.djs623-ready.is-thread > .djs-mc-body {
    padding-bottom:166px!important;
    scroll-padding-bottom:166px!important;
  }
  html body #djs-portal #djs-screen-chat.djs623-ready.is-thread > .djs-mc-tools,
  html body #djs-portal #djs-screen-chat.djs623-ready.is-thread > :is(.djs-mc2-reply-preview,.djs-mc2-recording) {
    bottom:116px!important;
  }
}
