/* Minimal structural fallback. The Nabegheha V2 theme provides the visual skin. */
.nb-support-native-hidden{display:none!important}.nb-support-native-engine{position:fixed!important;left:-300vw!important;top:0!important;width:780px!important;opacity:0!important;pointer-events:none!important;z-index:-999!important}.nb-support-native-engine #wpast-submit-ticket{display:block!important;width:720px!important}.nb-support-native-engine select,.nb-support-native-engine input,.nb-support-native-engine textarea{display:block}.nb-support-history{display:none}.nb-support-history.is-open{display:block}.nb-support svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nb-support [hidden]{display:none!important}

/* v0.1.4 — prevent a duplicate ticket UI from flashing before the native app boots. */
body.nb-support-server-action-list .wpast-wrap,
body.nb-support-server-action-new .wpast-wrap{display:none!important}


/* v1.1.1 — native conversation polish.
 * The Nabegheha V2 theme already makes .wpast-ticket-content the actual message card.
 * WPAST's old inner .wpast-message styling would create a second yellow card inside it.
 * Flatten that inner layer so every message is a single clean card.
 */
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view .wpast-message{
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:inherit!important;
  box-shadow:none!important;
  min-height:0!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view .wpast-message>p:first-child{
  margin-top:0!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view .wpast-message>p:last-child{
  margin-bottom:0!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view .wpast-ticket-content{
  overflow:hidden!important;
}

/* v1.2.3 — polished file picker in the customer reply composer.
 * Keep this scoped to the native support reply form so approved ticket UI stays untouched.
 */
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-upload{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:7px!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-file{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-width:0!important;
  min-height:46px!important;
  padding:5px 6px 5px 10px!important;
  border:1px dashed rgba(255,255,255,.14)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.015)!important;
  cursor:pointer!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-file:hover{
  border-color:rgba(255,255,255,.24)!important;
  background:rgba(255,255,255,.025)!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-file:focus-within{
  border-color:#5b46e8!important;
  box-shadow:0 0 0 3px rgba(91,70,232,.12)!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-file .wpast-upload{
  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;
  white-space:nowrap!important;
  border:0!important;
  opacity:0!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-file__button{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:0 14px!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.06)!important;
  color:inherit!important;
  font:inherit!important;
  font-size:12px!important;
  font-weight:700!important;
  line-height:1!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-file__name{
  flex:1 1 auto!important;
  min-width:0!important;
  margin:0!important;
  color:rgba(255,255,255,.62)!important;
  font-style:normal!important;
  font-size:12px!important;
  line-height:1.5!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  unicode-bidi:plaintext!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-file__meta{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:4px 10px!important;
  padding-inline:4px!important;
  color:rgba(255,255,255,.42)!important;
  font-size:10px!important;
  line-height:1.6!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-file__meta span:last-child{
  direction:ltr!important;
  unicode-bidi:embed!important;
}
@media (max-width:700px){
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-file{
    min-height:44px!important;
  }
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-file__button{
    min-height:32px!important;
    padding-inline:11px!important;
  }
}

/* v1.2.4 — reply attachment spacing + selected-file cards.
 * This intentionally changes only the customer reply composer. Storage/security are untouched.
 */
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-upload,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply > .wpast-submit{
  margin-top:16px!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-upload{
  gap:9px!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-file{
  min-height:50px!important;
  padding:7px 8px!important;
  gap:12px!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-file__placeholder{
  flex:1 1 auto!important;
  min-width:0!important;
  color:rgba(255,255,255,.48)!important;
  font-size:11px!important;
  font-weight:500!important;
  line-height:1.55!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-selected{
  display:block!important;
  min-width:0!important;
  padding:10px!important;
  border:1px solid rgba(91,70,232,.22)!important;
  border-radius:12px!important;
  background:rgba(91,70,232,.035)!important;
  box-sizing:border-box!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-selected[hidden]{
  display:none!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-selected__head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-bottom:8px!important;
  padding:0 2px!important;
  color:rgba(255,255,255,.66)!important;
  font-size:11px!important;
  line-height:1.5!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-selected__head strong{
  color:#fff!important;
  font-weight:800!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-selected__clear{
  appearance:none!important;
  border:0!important;
  background:transparent!important;
  color:rgba(255,255,255,.5)!important;
  padding:2px 4px!important;
  margin:0!important;
  font:inherit!important;
  font-size:10px!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-selected__clear:hover{
  color:#fff!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-selected__list{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  min-width:0!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-file-chip{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
  max-width:100%!important;
  padding:7px 8px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.035)!important;
  box-sizing:border-box!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-file-chip__type{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:34px!important;
  height:26px!important;
  padding:0 6px!important;
  border-radius:7px!important;
  background:rgba(91,70,232,.14)!important;
  color:rgba(255,255,255,.82)!important;
  font-family:JetBrains Mono,monospace!important;
  font-size:9px!important;
  font-weight:800!important;
  line-height:1!important;
  text-transform:uppercase!important;
  box-sizing:border-box!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-file-chip__info{
  flex:1 1 auto!important;
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
  gap:1px!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-file-chip__name{
  display:block!important;
  min-width:0!important;
  max-width:320px!important;
  color:rgba(255,255,255,.84)!important;
  font-size:10px!important;
  font-weight:650!important;
  line-height:1.45!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  direction:ltr!important;
  text-align:left!important;
  unicode-bidi:plaintext!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-file-chip__size{
  color:rgba(255,255,255,.36)!important;
  font-size:9px!important;
  line-height:1.35!important;
  direction:ltr!important;
  text-align:left!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-file-chip__remove{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:26px!important;
  height:26px!important;
  padding:0!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:7px!important;
  background:rgba(255,255,255,.025)!important;
  color:rgba(255,255,255,.48)!important;
  font:inherit!important;
  font-size:15px!important;
  line-height:1!important;
  cursor:pointer!important;
  box-shadow:none!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-file-chip__remove:hover{
  border-color:rgba(255,255,255,.16)!important;
  background:rgba(255,255,255,.06)!important;
  color:#fff!important;
}
@media (max-width:700px){
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-upload,
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply > .wpast-submit{
    margin-top:13px!important;
  }
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-file{
    flex-wrap:wrap!important;
  }
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-file__placeholder{
    flex-basis:calc(100% - 100px)!important;
  }
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-selected__list{
    flex-direction:column!important;
  }
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-file-chip{
    width:100%!important;
  }
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-file-chip__name{
    max-width:none!important;
  }
}

/* v1.2.5 — keep attachment picker and submit button on one aligned action row,
 * and make the effective backend upload limits unmistakable to customers. */
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-actions{
  grid-column:1 / -1!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 180px!important;
  align-items:start!important;
  gap:18px!important;
  width:100%!important;
  min-width:0!important;
  margin-top:20px!important;
  box-sizing:border-box!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-actions>.nb-support-reply-upload{
  grid-column:1!important;
  margin-top:0!important;
  min-width:0!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-actions>.wpast-submit{
  grid-column:2!important;
  align-self:start!important;
  width:180px!important;
  min-width:180px!important;
  min-height:50px!important;
  margin:0!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rules{
  display:flex!important;
  flex-direction:column!important;
  gap:5px!important;
  min-width:0!important;
  padding:2px 4px 0!important;
  color:rgba(255,255,255,.5)!important;
  font-size:10px!important;
  line-height:1.75!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule{
  display:flex!important;
  align-items:baseline!important;
  flex-wrap:wrap!important;
  gap:4px 6px!important;
  min-width:0!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule strong{
  color:rgba(255,255,255,.7)!important;
  font-weight:800!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule code{
  display:inline!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:rgba(255,255,255,.64)!important;
  font-family:JetBrains Mono,monospace!important;
  font-size:9px!important;
  direction:ltr!important;
  unicode-bidi:embed!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule--warning{
  margin-top:1px!important;
  color:rgba(255,255,255,.42)!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule--warning code{
  color:rgba(255,255,255,.55)!important;
}
@media (max-width:700px){
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-actions{
    grid-template-columns:1fr!important;
    gap:13px!important;
    margin-top:16px!important;
  }
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-actions>.nb-support-reply-upload,
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-actions>.wpast-submit{
    grid-column:1!important;
  }
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-reply-actions>.wpast-submit{
    width:100%!important;
    min-width:0!important;
  }
}

/* v1.3.0 — customer conversation polish */
.nb-account-tickets-page.nb-support-view-refined .wpast-wrap.wpast-view-ticket .wpast-main-content{
  background:#09090b!important;
  border-color:#232428!important;
}
.nb-account-tickets-page.nb-support-view-refined .wpast-wrap.wpast-view-ticket .wpast-ticket-title .wpast-all-tickets,
.nb-account-tickets-page.nb-support-view-refined .wpast-wrap.wpast-view-ticket .nb-support-native-back{
  direction:ltr!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
}
.nb-account-tickets-page.nb-support-view-refined .wpast-wrap.wpast-view-ticket .wpast-ticket-title .wpast-all-tickets::after,
.nb-account-tickets-page.nb-support-view-refined .wpast-wrap.wpast-view-ticket .nb-support-native-back::after{
  direction:rtl!important;
  unicode-bidi:isolate!important;
}
.nb-account-tickets-page.nb-support-view-refined .wpast-wrap.wpast-view-ticket .nb-support-history-toggle strong{
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  text-align:center!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-ticket-content img.emoji,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-message img.emoji,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-reply-item img.emoji{
  display:inline-block!important;
  width:1em!important;
  height:1em!important;
  min-width:0!important;
  max-width:1em!important;
  margin:0 .08em!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  vertical-align:-.12em!important;
  object-fit:contain!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-message p,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-ticket-content p{
  margin:0 0 .8em!important;
  line-height:2!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-message p:last-child,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-ticket-content p:last-child{
  margin-bottom:0!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-message a,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-ticket-content a{
  text-underline-offset:4px!important;
  text-decoration-thickness:1px!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-message ul,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-message ol,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-ticket-content ul,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-ticket-content ol{
  margin:.45em 1.4em .9em 0!important;
  padding:0!important;
}

/* v1.3.0 — final thread readability and history isolation */
.nb-account-tickets-page.nb-support-view-refined .wpast-wrap.wpast-view-ticket .wpast-replies,
.nb-account-tickets-page.nb-support-view-refined .wpast-wrap.wpast-view-ticket .wpast-reply-item{
  background:transparent!important;
}
.nb-account-tickets-page.nb-support-view-refined .wpast-wrap.wpast-view-ticket .wpast-message{
  font-size:14px!important;
  line-height:2.05!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

/* v1.3.1 — attachment guidance + validation */
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rules{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:10px!important;
  padding:0!important;
  color:rgba(255,255,255,.64)!important;
  font-size:10px!important;
  line-height:1.75!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule{
  display:grid!important;
  gap:4px!important;
  align-content:start!important;
  padding:9px 10px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.025)!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule strong{
  display:block!important;
  color:rgba(255,255,255,.82)!important;
  font-size:10px!important;
  font-weight:850!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule code{
  display:block!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:rgba(255,255,255,.66)!important;
  font-family:JetBrains Mono,monospace!important;
  font-size:9px!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
  line-height:1.8!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule--warning{
  border-color:rgba(240,171,64,.12)!important;
  background:rgba(240,171,64,.035)!important;
}
.nb-support-file-error{
  margin-top:9px!important;
  padding:9px 11px!important;
  border:1px solid rgba(248,113,113,.3)!important;
  border-radius:8px!important;
  background:rgba(127,29,29,.16)!important;
  color:#fecaca!important;
  font-size:11px!important;
  line-height:1.8!important;
}
.nb-support-file-error[hidden]{display:none!important}
@media(max-width:900px){
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rules{grid-template-columns:1fr!important}
}


/* v1.3.2 — clean attachment rule cards */
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rules{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  margin-top:14px!important;
  align-items:stretch!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  gap:10px!important;
  min-height:146px!important;
  padding:18px 18px 16px!important;
  border:1px solid rgba(22,163,74,.18)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(10,18,14,.96) 0%,rgba(7,12,10,.94) 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
  overflow:hidden!important;
  text-align:right!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule__title{
  display:block!important;
  margin:0!important;
  color:#f8fafc!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.6!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule__text,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule__tokens{
  display:block!important;
  margin:0!important;
  color:rgba(226,232,240,.82)!important;
  font-size:12px!important;
  line-height:2!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule__tokens{
  direction:ltr!important;
  text-align:left!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule code{
  display:inline!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#cbd5e1!important;
  font-family:JetBrains Mono,Consolas,monospace!important;
  font-size:12px!important;
  line-height:2!important;
  white-space:normal!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule--warning{
  border-color:rgba(245,158,11,.22)!important;
  background:linear-gradient(180deg,rgba(28,20,8,.95) 0%,rgba(18,12,6,.93) 100%)!important;
}
@media(max-width:1100px){
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rules{
    grid-template-columns:1fr!important;
  }
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule{
    min-height:auto!important;
  }
}


/* v1.3.4 — final compact upload guidance; avoid bidi/code rendering issues */
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rules{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  margin-top:12px!important;
  padding:0!important;
  align-items:stretch!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  gap:8px!important;
  min-height:0!important;
  height:auto!important;
  padding:13px 14px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.025)!important;
  box-shadow:none!important;
  overflow:visible!important;
  direction:rtl!important;
  text-align:right!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule__title{
  display:block!important;
  margin:0!important;
  color:#f5f7f8!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.7!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule__text{
  display:block!important;
  margin:0!important;
  color:rgba(226,232,240,.72)!important;
  font-size:11px!important;
  line-height:1.9!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule__chips{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
  width:100%!important;
  margin:1px 0 0!important;
  direction:ltr!important;
  text-align:left!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-ext-chip{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:auto!important;
  min-width:0!important;
  margin:0!important;
  padding:3px 7px!important;
  border:1px solid rgba(255,255,255,.09)!important;
  border-radius:7px!important;
  background:rgba(255,255,255,.04)!important;
  color:#cbd5e1!important;
  font-family:JetBrains Mono,Consolas,monospace!important;
  font-size:10px!important;
  font-weight:600!important;
  line-height:1.4!important;
  direction:ltr!important;
  unicode-bidi:isolate!important;
  white-space:nowrap!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule--warning{
  border-color:rgba(245,158,11,.16)!important;
  background:rgba(245,158,11,.025)!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule--warning .nb-support-ext-chip{
  border-color:rgba(245,158,11,.12)!important;
  color:#e7d7b1!important;
}
@media(max-width:900px){
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rules{
    grid-template-columns:1fr!important;
  }
}


/* v1.3.5 — align attachment-rule details at the lower-left of each card */
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule--allowed .nb-support-upload-rule__chips{
  margin-top:auto!important;
  justify-content:flex-start!important;
  flex-wrap:nowrap!important;
  gap:4px!important;
  direction:ltr!important;
  text-align:left!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule--allowed .nb-support-ext-chip{
  padding:2px 5px!important;
  border-radius:6px!important;
  font-size:9px!important;
  line-height:1.35!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule--warning .nb-support-upload-rule__text{
  margin-top:auto!important;
  width:100%!important;
  text-align:left!important;
  direction:rtl!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule--warning .nb-support-upload-rule__chips{
  justify-content:flex-start!important;
  gap:4px!important;
  direction:ltr!important;
  text-align:left!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule--warning .nb-support-ext-chip{
  padding:2px 6px!important;
  font-size:9px!important;
}
@media(max-width:1180px){
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket #wpast-submit-ticket-reply .nb-support-upload-rule--allowed .nb-support-upload-rule__chips{
    flex-wrap:wrap!important;
  }
}


/* v1.3.6 — exact lower-left alignment + one-line warning heading */
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule{
  position:relative!important;
  min-height:92px!important;
  height:100%!important;
  padding:14px 15px!important;
  box-sizing:border-box!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule--allowed,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule--warning{
  padding-bottom:45px!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule__heading{
  display:flex!important;
  align-items:baseline!important;
  justify-content:flex-start!important;
  gap:5px!important;
  width:100%!important;
  margin:0!important;
  direction:rtl!important;
  text-align:right!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule__heading .nb-support-upload-rule__title,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule__heading .nb-support-upload-rule__text{
  display:inline!important;
  width:auto!important;
  margin:0!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule--allowed .nb-support-upload-rule__chips,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule--warning .nb-support-upload-rule__chips{
  position:absolute!important;
  left:14px!important;
  right:auto!important;
  bottom:12px!important;
  top:auto!important;
  width:auto!important;
  max-width:calc(100% - 28px)!important;
  margin:0!important;
  padding:0!important;
  display:flex!important;
  flex-flow:row nowrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:4px!important;
  direction:ltr!important;
  text-align:left!important;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule--allowed .nb-support-ext-chip,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule--warning .nb-support-ext-chip{
  flex:0 0 auto!important;
  padding:2px 5px!important;
  font-size:9px!important;
  line-height:1.35!important;
}
@media(max-width:1180px){
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule--allowed .nb-support-upload-rule__chips,
  .nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply .nb-support-upload-rule--warning .nb-support-upload-rule__chips{
    flex-wrap:wrap!important;
  }
}

/* v1.3.8 — technical/code content inside customer ticket view */
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-message{
  unicode-bidi:plaintext;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-message p,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-message li{
  unicode-bidi:plaintext;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-message code{
  direction:ltr;
  unicode-bidi:isolate;
  display:inline-block;
  max-width:100%;
  padding:.08em .42em;
  border:1px solid rgba(148,163,184,.24);
  border-radius:6px;
  background:#151922;
  color:#e8eef7;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important;
  font-size:.94em;
  line-height:1.65;
  text-align:left;
  vertical-align:baseline;
  overflow-wrap:anywhere;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-message pre,
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-message pre.nb-support-code-block{
  direction:ltr;
  unicode-bidi:isolate;
  display:block;
  max-width:100%;
  margin:.85em 0;
  padding:14px 16px;
  overflow:auto;
  border:1px solid rgba(148,163,184,.22);
  border-radius:11px;
  background:#080b10;
  color:#e6edf3;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace!important;
  font-size:13px;
  line-height:1.85;
  text-align:left;
  white-space:pre;
  tab-size:4;
  -webkit-overflow-scrolling:touch;
}
.nb-account-tickets-page .wpast-wrap.wpast-view-ticket .wpast-message pre code{
  display:block;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  font:inherit!important;
  line-height:inherit;
  white-space:pre;
  overflow-wrap:normal;
}
.nb-account-tickets-page .nb-support-code-hint{
  margin:7px 0 0;
  color:#8d96a5;
  font-size:11px;
  line-height:1.8;
  text-align:right;
}
.nb-account-tickets-page .nb-support-code-hint code{
  direction:ltr;
  unicode-bidi:isolate;
  display:inline-block;
  padding:0 .3em;
  border:1px solid rgba(148,163,184,.2);
  border-radius:5px;
  background:#151922;
  color:#dfe7f2;
  font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;
}

/* v1.3.11: the reply composer is a real submit button, not a disabled control.
   Keep the approved appearance and dimensions; correct mouse affordance only. */
body.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply button.wpast-submit:not(:disabled){
  cursor:pointer!important;
  pointer-events:auto!important;
}
body.nb-account-tickets-page .wpast-wrap.wpast-view-ticket.nb-support-native-view #wpast-submit-ticket-reply button.wpast-submit:disabled{
  cursor:not-allowed!important;
}
