#gsfc-buyer-seller-message-center{position:fixed;inset:0;z-index:2147483000;overflow-x:hidden;overflow-y:auto;height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;background:#f1f3f6;color:#111827;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;touch-action:pan-y}
.gsfc-buyer-seller-message-surface{min-height:100%;background:#f1f3f6}
.gsfc-buyer-seller-message-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:center;height:58px;padding-top:env(safe-area-inset-top);box-sizing:content-box;background:#fff;border-bottom:1px solid #edf0f3}
.gsfc-buyer-seller-message-header h1{margin:0;color:#111827;font-size:20px;font-weight:600;line-height:58px}
.gsfc-buyer-seller-message-back{position:absolute;left:10px;top:9px;width:42px;height:40px;margin-top:env(safe-area-inset-top);padding:0;border:0;background:transparent;color:#182230;font-size:36px;font-weight:300;line-height:34px;cursor:pointer}
.gsfc-buyer-seller-message-list,.gsfc-buyer-system-list{width:100%;max-width:760px;min-height:calc(100vh - 58px);margin:0 auto;background:#fff}
.gsfc-buyer-seller-message-item{display:flex;align-items:center;gap:14px;width:100%;min-height:92px;margin:0;padding:14px 16px;box-sizing:border-box;border:0;border-bottom:1px solid #edf0f3;background:#fff;color:#111827;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.gsfc-buyer-seller-message-item:active{background:#f6f8fb}
.gsfc-buyer-seller-message-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 54px;width:54px;height:54px;overflow:hidden;border-radius:50%;background:#eef1fb}
.gsfc-buyer-seller-message-avatar img{width:100%;height:100%;object-fit:cover}
.gsfc-buyer-seller-message-avatar.is-system{background:#2459e6;color:#fff}
.gsfc-buyer-seller-message-avatar.is-system svg{width:33px;height:33px;fill:currentColor;stroke:currentColor;stroke-width:1.5}
.gsfc-buyer-seller-message-avatar.is-system svg path:last-child{fill:none;stroke-width:2;stroke-linecap:round}
.gsfc-buyer-seller-message-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:7px}
.gsfc-buyer-seller-message-name{overflow:hidden;color:#111827;font-size:17px;font-weight:600;line-height:22px;text-overflow:ellipsis;white-space:nowrap}
.gsfc-buyer-seller-message-preview{overflow:hidden;color:#8a909a;font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap}
.gsfc-buyer-seller-message-meta{display:flex;align-self:stretch;flex:0 0 76px;min-width:76px;flex-direction:column;align-items:flex-end;justify-content:space-between;padding:2px 0;color:#98a0aa;font-size:12px;line-height:18px}
.gsfc-buyer-seller-message-badge,.gsfc-buyer-message-bell-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;box-sizing:border-box;border-radius:12px;background:#ef4444;color:#fff;font-size:12px;font-weight:600;line-height:22px;text-align:center}
.gsfc-buyer-seller-message-time{white-space:nowrap}
.gsfc-buyer-message-bell-badge{position:absolute;right:-5px;top:-5px;z-index:2;pointer-events:none}
.gsfc-buyer-seller-message-empty,.gsfc-buyer-seller-message-error{display:block;width:100%;padding:48px 20px;box-sizing:border-box;border:0;background:#fff;color:#98a0aa;text-align:center;font-size:15px}
.gsfc-buyer-seller-message-error{color:#2459e6;cursor:pointer}
.gsfc-buyer-system-list-item{display:block;width:100%;box-sizing:border-box;margin:0;padding:20px 20px 18px;border:0;border-bottom:1px solid #edf0f3;background:#fff;text-align:left;cursor:pointer}
.gsfc-buyer-system-list-item.is-unread .gsfc-buyer-system-list-title:before{display:inline-block;width:9px;height:9px;margin:0 8px 0 0;border-radius:50%;background:#ef4444;content:""}
.gsfc-buyer-system-list-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.gsfc-buyer-system-list-title{display:block;flex:1 1 auto;min-width:0;overflow:hidden;margin:0;color:#111827;font-size:17px;font-weight:600;line-height:1.45;text-overflow:ellipsis;white-space:nowrap}
.gsfc-buyer-system-list-item.is-unread .gsfc-buyer-system-list-title:before{display:inline-block;flex:0 0 9px;width:9px;height:9px;margin:0 8px 0 0;border-radius:50%;background:#ef4444;content:"";vertical-align:middle}
.gsfc-buyer-system-list-time{flex:0 0 auto;color:#98a0aa;font-size:13px;line-height:1.45;white-space:nowrap}
.gsfc-buyer-system-list-content{margin:12px 0 0;color:#4b5563;font-size:15px;line-height:1.6;white-space:pre-wrap;word-break:break-word}
html.gsfc-buyer-seller-message-active>body>*:not(#gsfc-buyer-seller-message-center){visibility:hidden}
/* Keep the buyer row as a three-column flex layout. The old seller
 * compatibility selectors for .item-list/.info-content/.txt-content were
 * written for a different DOM and centered the preview while moving time to
 * a separate line. */
.gsfc-buyer-seller-message-list .gsfc-buyer-seller-message-item{display:flex;align-items:center;min-height:92px;padding:14px 16px}
.gsfc-buyer-seller-message-list .gsfc-buyer-seller-message-item>.gsfc-buyer-seller-message-avatar{position:static;flex:0 0 54px;width:54px;height:54px;margin:0}
.gsfc-buyer-seller-message-list .gsfc-buyer-seller-message-info{display:flex;flex:1 1 auto;min-width:0;flex-direction:column;align-items:stretch;gap:6px}
.gsfc-buyer-seller-message-list .gsfc-buyer-seller-message-name{margin:0;text-align:left}
.gsfc-buyer-seller-message-list .gsfc-buyer-seller-message-preview{width:100%;min-width:0;margin:0;text-align:left}
.gsfc-buyer-seller-message-list .gsfc-buyer-seller-message-info{min-width:0;overflow:hidden}
.gsfc-buyer-seller-message-list .gsfc-buyer-seller-message-item.is-system>.gsfc-buyer-seller-message-meta{flex:0 0 136px;min-width:136px}
.gsfc-buyer-seller-message-list .gsfc-buyer-seller-message-meta{display:flex;align-self:stretch;flex:0 0 76px;min-width:76px;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:4px;margin:0;padding:2px 0}
.gsfc-buyer-seller-message-list .gsfc-buyer-seller-message-time{display:block;font-size:12px;color:#98a0aa;line-height:18px}
@media(max-width:767px){.gsfc-buyer-seller-message-list .gsfc-buyer-seller-message-item{min-height:76px;padding:15px}.gsfc-buyer-seller-message-list .gsfc-buyer-seller-message-item>.gsfc-buyer-seller-message-avatar{width:45px;height:45px;flex-basis:45px}.gsfc-buyer-seller-message-list .gsfc-buyer-seller-message-name{font-size:14px}.gsfc-buyer-seller-message-list .gsfc-buyer-seller-message-meta{min-width:70px;flex-basis:70px}.gsfc-buyer-seller-message-list .gsfc-buyer-seller-message-item.is-system>.gsfc-buyer-seller-message-meta{min-width:136px;flex-basis:136px}.gsfc-buyer-system-list-item{padding:19px 16px 17px}.gsfc-buyer-system-list-content{font-size:15px}}

/* Notification and message lists must have one vertical scroll owner on
 * touch devices.  Without this, iOS can hand the gesture to the document
 * while a select/card keeps its pressed state and appears to move with the
 * finger. */
@media (max-width: 768px) {
  html.gsfc-notification-page .notification-container,
  html.gsfc-notification-page .gsfc-buyer-system-list,
  html.gsfc-buyer-seller-message-active #gsfc-buyer-seller-message-center,
  html.gsfc-buyer-seller-message-active .gsfc-buyer-seller-message-list {
    touch-action: pan-y !important;
    -webkit-user-select: none !important;
    user-select: none !important;
  }
  html.gsfc-notification-page .notification-container select,
  html.gsfc-notification-page .notification-container input,
  html.gsfc-notification-page .notification-container textarea {
    -webkit-user-select: text !important;
    user-select: text !important;
    touch-action: manipulation !important;
  }
  html.gsfc-notification-page .notification-container .notification:active,
  html.gsfc-notification-page .notification-container .notification:focus,
  html.gsfc-notification-page .notification-container .notification:focus-visible {
    outline: none !important;
    transform: none !important;
  }
}
