/* WINNER ROYAL / CASH - Live Support Workstation R1
   Scoped to #wrSupportWorkstation. Never changes finance, account or other routes. */
#wrSupportWorkstation{
  --wr-forest:#0c2821;--wr-deep:#09241c;--wr-forest-2:#164437;
  --wr-emerald:#128b69;--wr-emerald-light:#e2f4eb;--wr-gold:#d4b56f;
  --wr-paper:#f9fbf9;--wr-card:#ffffff;--wr-bg:#f1f5f1;
  --wr-ink:#18332b;--wr-muted:#6b8076;--wr-line:#dfe8e2;
  position:relative;width:100%;box-sizing:border-box;
  color:var(--wr-ink);font-family:inherit;
}
#wrSupportWorkstation *,#wrSupportWorkstation *::before,#wrSupportWorkstation *::after{box-sizing:border-box}
#wrSupportWorkstation button,#wrSupportWorkstation select,#wrSupportWorkstation textarea,#wrSupportWorkstation input{font-family:inherit}
#wrSupportWorkstation button{cursor:pointer}
#wrSupportWorkstation button:focus-visible,#wrSupportWorkstation input:focus-visible,
#wrSupportWorkstation select:focus-visible,#wrSupportWorkstation textarea:focus-visible{
  outline:2px solid #2dad81;outline-offset:2px
}
#wrSupportWorkstation .wr-desk-eyebrow{font-size:9px;letter-spacing:.17em;text-transform:uppercase;font-weight:800}
#wrSupportWorkstation .wr-desk-hero{
  position:relative;background:linear-gradient(112deg,#0a241b 0%,#164736 65%,#173e31 100%);
  color:#f7fbf6;border:1px solid #1e5c44;border-radius:14px;
  padding:18px 21px;display:flex;align-items:center;justify-content:space-between;
  gap:18px;min-height:101px;overflow:hidden;box-shadow:0 10px 30px rgba(5,45,31,.12)
}
#wrSupportWorkstation .wr-desk-hero::after{
  content:"";position:absolute;pointer-events:none;right:-140px;top:-125px;width:400px;height:300px;
  border:1px solid rgba(224,195,125,.19);border-radius:50%;box-shadow:0 0 0 38px rgba(232,198,123,.025),0 0 0 90px rgba(232,198,123,.02)
}
#wrSupportWorkstation .wr-desk-hero-left{display:flex;align-items:center;gap:15px;min-width:0;z-index:1}
#wrSupportWorkstation .wr-desk-logo-shape{
  flex:0 0 52px;height:52px;background:linear-gradient(150deg,rgba(219,184,107,.15),rgba(18,115,77,.27));
  border:1px solid rgba(224,192,115,.3);display:flex;align-items:center;justify-content:center;border-radius:13px
}
#wrSupportWorkstation .wr-desk-logo-shape svg{width:29px;height:29px;fill:none;stroke:#e7cb8a;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}
#wrSupportWorkstation .wr-desk-hero-eyebrow{display:flex;align-items:center;gap:10px;color:#d6c697;font-weight:800;line-height:1.3}
#wrSupportWorkstation .wr-desk-hero-eyebrow span{height:3px;width:3px;background:#d6c697;border-radius:50%}
#wrSupportWorkstation .wr-desk-hero h1{font-size:24px;letter-spacing:-.045em;line-height:1.1;margin:5px 0 4px;color:#ffffff;font-weight:760}
#wrSupportWorkstation .wr-desk-hero p{margin:0;color:#bcd8c8;font-size:11px;line-height:1.4}
#wrSupportWorkstation .wr-desk-hero-divider{color:#bdad6b;padding:0 6px}
#wrSupportWorkstation .wr-desk-hero-right{display:flex;align-items:flex-end;flex-direction:column;gap:10px;z-index:1;flex-shrink:0}
#wrSupportWorkstation .wr-desk-online-marker{font-size:9px;letter-spacing:.12em;font-weight:800;color:#cee6d7;display:flex;align-items:center;gap:7px}
#wrSupportWorkstation .wr-desk-online-marker i,#wrSupportWorkstation .wr-desk-queue-live i{width:6px;height:6px;background:#5ddba8;border-radius:50%;box-shadow:0 0 0 3px rgba(93,219,168,.1);display:inline-block}
#wrSupportWorkstation .wr-desk-hero-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
#wrSupportWorkstation .wr-desk-hero-actions .btn{
  font-size:11px!important;font-weight:700!important;line-height:1.2!important;
  color:#eef8f1!important;background:rgba(255,255,255,.09)!important;
  border:1px solid rgba(224,239,224,.2)!important;border-radius:7px!important;
  min-height:32px;padding:7px 12px!important;box-shadow:none!important
}
#wrSupportWorkstation .wr-desk-hero-actions .btn:hover{background:rgba(255,255,255,.17)!important;border-color:rgba(224,239,224,.4)!important}
#wrSupportWorkstation .wr-desk-hero-actions .btn:last-child{background:rgba(211,179,103,.18)!important;border-color:rgba(235,202,135,.35)!important;color:#fae3b1!important}

#wrSupportWorkstation .wr-desk-kpis{
  margin:12px 0 9px;padding:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));
  gap:8px;align-items:stretch;background:transparent;border:0;box-shadow:none
}
#wrSupportWorkstation .wr-desk-kpis .wr-kpi-item{
  background:#ffffff!important;border:1px solid var(--wr-line)!important;border-radius:10px!important;
  box-shadow:0 3px 11px rgba(22,58,37,.035)!important;display:flex!important;flex-direction:column!important;
  justify-content:center!important;align-items:flex-start!important;
  gap:7px!important;min-width:0;min-height:76px;padding:12px 14px!important;color:var(--wr-ink)!important;
  transition:transform .16s,box-shadow .16s,border-color .16s!important
}
#wrSupportWorkstation .wr-desk-kpis .wr-kpi-item:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(22,58,37,.08)!important}
#wrSupportWorkstation .wr-desk-kpis .wr-kpi-item.active{border-color:#90c6aa!important;background:#f0faf4!important}
#wrSupportWorkstation .wr-desk-kpis .wr-kpi-item.warn{border-color:#edc8a2!important;background:#fffaf1!important}
#wrSupportWorkstation .wr-desk-kpis .wr-kpi-item .wr-kpi-label{
  font-size:9px!important;font-weight:800!important;letter-spacing:.07em!important;color:#6d8475!important;
  border:0!important;background:transparent!important;padding:0!important;min-width:0!important;
  border-radius:0!important;white-space:normal!important;text-align:left!important;line-height:1.2!important
}
#wrSupportWorkstation .wr-desk-kpis .wr-kpi-item .wr-kpi-num{
  font-size:24px!important;line-height:1!important;letter-spacing:-.045em!important;
  color:#17362a!important;font-weight:800!important;background:transparent!important;padding:0!important;border-radius:0!important
}
#wrSupportWorkstation .wr-desk-kpis .wr-kpi-item.warn .wr-kpi-num{color:#b36b24!important}

#wrSupportWorkstation .wr-desk-health-strip{
  min-height:39px;padding:8px 13px;margin:0 0 10px!important;
  border:1px solid #dce9df!important;border-radius:9px!important;
  background:#edf7ef!important;color:#2b5440!important;
  font-size:11px!important;display:flex;align-items:center;gap:10px;flex-wrap:wrap;box-shadow:none!important
}
#wrSupportWorkstation .wr-desk-health-strip[data-alert="high"]{border-color:#f2b9b9!important;background:#fff5f4!important}
#wrSupportWorkstation .wr-desk-health-strip[data-alert="warning"]{border-color:#ecd6a6!important;background:#fffbec!important}
#wrSupportWorkstation .wr-desk-health-strip .wr-route-brief strong{font-size:11px!important}
#wrSupportWorkstation .wr-desk-health-strip .wr-route-brief small{color:#64846f!important}
#wrSupportWorkstation .wr-desk-health-strip .wr-route-self{margin-left:auto}

#wrSupportWorkstation .wr-desk-grid.master-detail.support-layout{
  display:grid!important;grid-template-columns:minmax(235px,290px) minmax(380px,1fr) minmax(248px,292px)!important;
  grid-template-rows:minmax(0,1fr)!important;align-items:stretch!important;gap:10px!important;
  height:calc(100dvh - 355px)!important;min-height:570px!important;max-height:930px!important;
  padding:0!important;margin:0!important;overflow:visible!important;box-shadow:none!important;background:none!important
}
#wrSupportWorkstation .wr-desk-queue-pane,#wrSupportWorkstation .wr-desk-chat-pane,
#wrSupportWorkstation .wr-desk-side-pane{
  display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;
  height:100%!important;overflow:hidden!important;border-radius:11px!important;margin:0!important
}
#wrSupportWorkstation .wr-desk-queue-pane{
  background:var(--wr-deep)!important;border:1px solid #204c3b!important;
  color:#dbeee0!important;box-shadow:0 7px 20px rgba(13,53,35,.12)
}
#wrSupportWorkstation .wr-desk-queue-head{
  display:flex;align-items:center;justify-content:space-between;gap:7px;padding:18px 17px 13px!important;
  border-bottom:1px solid rgba(225,240,221,.1)
}
#wrSupportWorkstation .wr-desk-queue-head .wr-desk-eyebrow{color:#abbeac!important}
#wrSupportWorkstation .wr-desk-queue-head h2{color:#f0f8ee!important;margin:6px 0 0;font-size:17px!important;font-weight:760!important;letter-spacing:-.02em}
#wrSupportWorkstation .wr-desk-queue-head h2 small{display:inline-block;padding:3px 7px;border-radius:30px;background:rgba(205,236,211,.14);font-size:10px;color:#d7efdd;margin-left:4px;vertical-align:middle}
#wrSupportWorkstation .wr-desk-queue-live{color:#a6e2bd!important;font-size:9px;font-weight:800;letter-spacing:.12em;display:flex;align-items:center;gap:6px}
#wrSupportWorkstation .wr-desk-queue-controls{padding:12px 12px 9px!important;flex:0 0 auto}
#wrSupportWorkstation .wr-desk-queue-controls .command-bar{
  display:grid!important;grid-template-columns:1fr!important;gap:8px!important;min-width:0;margin:0!important;padding:0!important;
  border:0!important;background:transparent!important;box-shadow:none!important
}
#wrSupportWorkstation .wr-desk-queue-controls input,#wrSupportWorkstation .wr-desk-queue-controls select{
  color:#e1eee5!important;background:#183b2f!important;border:1px solid #2e5a45!important;
  padding:10px 12px!important;border-radius:8px!important;min-width:0!important;width:100%!important;
  font-size:11px!important;min-height:38px!important;max-width:none!important;box-shadow:none!important
}
#wrSupportWorkstation .wr-desk-queue-controls input::placeholder{color:#a4c0ad!important}
#wrSupportWorkstation .wr-desk-queue-controls select{appearance:auto;cursor:pointer}
#wrSupportWorkstation .wr-desk-queue-list.chat-list{
  display:flex!important;flex-direction:column!important;gap:4px!important;
  padding:2px 7px 8px!important;margin:0!important;flex:1 1 auto!important;
  overflow-y:auto!important;min-height:0!important;max-height:none!important;
  height:auto!important;background:transparent!important;scrollbar-width:thin;scrollbar-color:#4c7760 transparent
}
#wrSupportWorkstation .wr-desk-queue-list .support-thread.chat-thread-row{
  display:flex!important;position:relative;align-items:flex-start!important;
  width:100%!important;gap:10px!important;min-height:74px!important;
  border:1px solid transparent!important;border-left:3px solid transparent!important;border-radius:9px!important;
  padding:11px 9px!important;margin:0!important;background:transparent!important;
  box-shadow:none!important;color:#d5e6d8!important;transition:background .16s,border-color .16s!important
}
#wrSupportWorkstation .wr-desk-queue-list .support-thread:hover{
  background:#174236!important;border-color:#2e5d46!important
}
#wrSupportWorkstation .wr-desk-queue-list .support-thread.active{
  background:linear-gradient(105deg,#225a46,#174638)!important;
  border-color:#3b7b58!important;border-left-color:#e5c37f!important;
  box-shadow:0 5px 14px rgba(0,0,0,.15)!important
}
#wrSupportWorkstation .wr-desk-queue-list .support-thread .support-thread-avatar{
  display:flex!important;flex:0 0 36px!important;align-items:center!important;justify-content:center!important;
  height:36px!important;width:36px!important;border-radius:10px!important;background:#2b5648!important;
  border:1px solid #416d57!important;color:#e1e9cc!important;font-size:11px!important;font-weight:800!important
}
#wrSupportWorkstation .wr-desk-queue-list .support-thread.active .support-thread-avatar{background:#c3ddb8!important;color:#1d4b35!important;border-color:#c3ddb8!important}
#wrSupportWorkstation .wr-desk-queue-list .support-thread-main{display:flex!important;flex-direction:column!important;gap:5px!important;min-width:0!important;flex:1 1 auto!important}
#wrSupportWorkstation .wr-desk-queue-list .support-thread-top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:7px!important;min-width:0!important}
#wrSupportWorkstation .wr-desk-queue-list .support-thread-top b{color:#f6f8f3!important;font-size:12px!important;font-weight:750!important;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
#wrSupportWorkstation .wr-desk-queue-list .support-thread-top time{color:#87afa0!important;font-size:9px!important;font-weight:550!important;white-space:nowrap!important}
#wrSupportWorkstation .wr-desk-queue-list .support-thread-preview{color:#a9c4b2!important;font-size:10px!important;line-height:1.4!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:100%!important}
#wrSupportWorkstation .wr-desk-queue-list .support-thread-meta{display:flex!important;align-items:center!important;gap:5px!important;flex-wrap:wrap!important;margin-top:1px!important}
#wrSupportWorkstation .wr-desk-queue-list .support-thread-state,
#wrSupportWorkstation .wr-desk-queue-list .support-thread-assignee,
#wrSupportWorkstation .wr-desk-queue-list .support-thread-badge{
  font-size:9px!important;padding:2px 5px!important;border-radius:4px!important;font-weight:700!important;
  letter-spacing:0!important;line-height:1.2!important
}
#wrSupportWorkstation .wr-desk-queue-list .support-thread-state.open{background:rgba(38,194,129,.15)!important;color:#89efb7!important}
#wrSupportWorkstation .wr-desk-queue-list .support-thread-state.closed{background:rgba(255,255,255,.06)!important;color:#9eb6a8!important}
#wrSupportWorkstation .wr-desk-queue-list .support-thread-assignee{background:rgba(225,237,223,.07)!important;color:#d1ddd3!important}
#wrSupportWorkstation .wr-desk-queue-list .support-thread-badge.unread{background:rgba(231,185,90,.15)!important;color:#e9cc82!important}
#wrSupportWorkstation .wr-desk-queue-list .support-thread-badge.mine{background:rgba(90,196,164,.15)!important;color:#85d8be!important}
#wrSupportWorkstation .wr-desk-queue-list .support-thread-badge.neutral{background:rgba(222,231,224,.09)!important;color:#b3c7bd!important}
#wrSupportWorkstation .wr-desk-queue-foot{display:flex;align-items:center;justify-content:space-between;flex-shrink:0;gap:8px;border-top:1px solid #244939;color:#90b1a0;font-size:10px;padding:12px 15px}

#wrSupportWorkstation .wr-desk-chat-pane{background:#ffffff!important;border:1px solid var(--wr-line)!important;box-shadow:0 7px 24px rgba(11,38,29,.055)!important}
#wrSupportWorkstation .wr-desk-chat-head{
  flex-shrink:0;display:flex;align-items:center;gap:12px;padding:16px 18px;
  border-bottom:1px solid var(--wr-line);background:#fff!important;min-height:84px
}
#wrSupportWorkstation .wr-desk-contact-avatar{width:44px;height:44px;flex:0 0 44px;border-radius:13px;background:#e6f5ec;border:1px solid #d0e8d8;color:#17684d;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800}
#wrSupportWorkstation .wr-desk-chat-headcopy{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
#wrSupportWorkstation .wr-desk-head-caption{font-size:9px;font-weight:800;letter-spacing:.14em;color:#879b90!important}
#wrSupportWorkstation .wr-desk-chat-head h2{font-size:17px!important;font-weight:760!important;letter-spacing:-.02em!important;color:#17382a!important;line-height:1.25!important;margin:2px 0 0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#wrSupportWorkstation .wr-desk-chat-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:10px!important;color:#81958b!important}
#wrSupportWorkstation .wr-desk-state{font-size:9px!important;font-weight:750!important;border-radius:99px;padding:3px 8px;background:#e8f7ee;color:#148454}
#wrSupportWorkstation .wr-desk-state.is-closed{background:#e8eae8;color:#70847a}
#wrSupportWorkstation .wr-desk-operator-meta{color:#778f82!important;font-size:10px!important}
#wrSupportWorkstation .wr-desk-chat-head-actions{display:flex;gap:5px;align-items:center;flex:0 0 auto;max-width:45%;flex-wrap:wrap;justify-content:flex-end}
#wrSupportWorkstation .wr-desk-chat-head-actions .btn{font-size:10px!important;font-weight:750!important;padding:8px 10px!important;border-radius:7px!important;min-height:34px!important;border:1px solid #d9e6dd!important;background:#f9fbf9!important;color:#244b37!important;box-shadow:none!important}
#wrSupportWorkstation .wr-desk-chat-head-actions .btn:hover{background:#e9f6ef!important}
#wrSupportWorkstation .wr-desk-conversation-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0;background:#f8faf8;border-bottom:1px solid #e5ede7;padding:9px 19px;font-size:9px;font-weight:730;letter-spacing:.075em;color:#80948a}
#wrSupportWorkstation .wr-desk-conversation-meta span:last-child{font-weight:550;letter-spacing:0}
#wrSupportWorkstation #supportChatLog.chat-log.wr-desk-timeline{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:15px!important;
  background:#f7faf8!important;border:0!important;padding:23px 20px!important;min-height:0!important;max-height:none!important;
  height:auto!important;flex:1 1 auto!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-width:thin;
  scrollbar-color:#cfdbd2 transparent;
}
#wrSupportWorkstation #supportChatLog .chat-message{
  display:flex!important;flex-direction:column!important;flex-shrink:0!important;
  width:fit-content!important;max-width:min(82%,560px)!important;min-width:100px!important;
  margin:0!important;border:1px solid #dfebe2!important;
  border-radius:13px 13px 13px 4px!important;padding:12px 15px!important;
  background:#ffffff!important;box-shadow:0 3px 14px rgba(15,47,30,.035)!important;color:#233c30!important
}
#wrSupportWorkstation #supportChatLog .chat-message.agent,
#wrSupportWorkstation #supportChatLog .chat-message.mine{
  margin-left:auto!important;margin-right:0!important;
  background:#ddf2e5!important;border-color:#c3e5d1!important;
  border-radius:13px 13px 4px 13px!important
}
#wrSupportWorkstation #supportChatLog .chat-message.visitor{margin-right:auto!important;margin-left:0!important}
#wrSupportWorkstation #supportChatLog .chat-message header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-width:0}
#wrSupportWorkstation #supportChatLog .chat-message header b{font-size:10px!important;font-weight:800!important;color:#35644f!important}
#wrSupportWorkstation #supportChatLog .chat-message header small{color:#829b8d!important;font-size:9px!important;white-space:nowrap}
#wrSupportWorkstation #supportChatLog .chat-message>div{font-size:12px!important;line-height:1.7!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;color:#1e3c2d!important;margin-top:7px}
#wrSupportWorkstation .wr-desk-composer-wrap{flex-shrink:0;background:#ffffff!important;border-top:1px solid #dfe8e3;padding:0!important;display:flex;flex-direction:column}
#wrSupportWorkstation #r17SupportComposer.chat-composer{
  display:flex!important;gap:9px!important;align-items:stretch!important;flex-shrink:0!important;
  margin:0!important;padding:12px 13px 5px!important;border:0!important;background:#fff!important
}
#wrSupportWorkstation #r17SupportComposer.chat-composer textarea{
  display:block!important;flex:1 1 auto!important;min-width:0!important;width:100%!important;
  height:59px!important;min-height:59px!important;max-height:150px!important;resize:vertical!important;
  padding:12px 14px!important;color:#263f33!important;background:#f7faf7!important;
  font-size:12px!important;line-height:1.5!important;border:1px solid #dbe6de!important;
  border-radius:9px!important;box-shadow:none!important
}
#wrSupportWorkstation #r17SupportComposer.chat-composer textarea:focus{border-color:#55b690!important;outline:0!important;box-shadow:0 0 0 3px rgba(43,169,108,.11)!important}
#wrSupportWorkstation #r17SupportComposer.chat-composer textarea::placeholder{color:#8b9f92!important}
#wrSupportWorkstation #r17SupportComposer.chat-composer button{
  align-self:stretch!important;flex:0 0 auto!important;padding:8px 18px!important;
  min-width:88px!important;height:auto!important;min-height:59px!important;
  background:#126f50!important;color:#ffffff!important;border:1px solid #126f50!important;
  border-radius:9px!important;font-size:12px!important;font-weight:760!important;box-shadow:none!important
}
#wrSupportWorkstation #r17SupportComposer.chat-composer button:hover{background:#0b5f44!important}
#wrSupportWorkstation .wr-desk-compose-hint{display:flex;justify-content:space-between;gap:8px;padding:0 15px 10px;color:#879c91;font-size:9px;line-height:1.3}
#wrSupportWorkstation .wr-desk-compose-hint b{padding:0 3px}
#wrSupportWorkstation .chat-closed-bar{background:#f7faf8!important;border-top:1px solid #dce8de!important;min-height:54px;display:flex!important;justify-content:center;align-items:center;padding:12px}

#wrSupportWorkstation .wr-desk-side-pane{border:1px solid var(--wr-line)!important;background:#f8fbf8!important;box-shadow:0 7px 24px rgba(11,38,29,.045)!important}
#wrSupportWorkstation .wr-desk-side-top{flex-shrink:0;border-bottom:1px solid var(--wr-line);padding:17px 15px 15px;background:#ffffff}
#wrSupportWorkstation .wr-desk-side-top .wr-desk-eyebrow{color:#90a196}
#wrSupportWorkstation .wr-desk-side-top h2{color:#193c2c;font-size:16px!important;font-weight:770!important;letter-spacing:-.025em;margin:5px 0 3px!important}
#wrSupportWorkstation .wr-desk-side-top p{color:#8ca092;font-size:10px;margin:0;line-height:1.4}
#wrSupportWorkstation .wr-desk-side-scroll{min-height:0!important;flex:1 1 auto!important;overflow:auto!important;padding:10px!important;scrollbar-width:thin;scrollbar-color:#c7d5cc transparent;display:flex!important;flex-direction:column!important;gap:9px}
#wrSupportWorkstation .wr-desk-side-card{padding:13px 12px;background:#ffffff;border:1px solid #e0eae2;border-radius:10px;flex:0 0 auto;min-width:0;box-shadow:0 2px 8px rgba(18,57,38,.025)}
#wrSupportWorkstation .wr-desk-side-card-title{color:#82968b;font-size:9px;font-weight:850;letter-spacing:.1em;margin:0 0 12px;display:flex;align-items:center;justify-content:space-between}
#wrSupportWorkstation .wr-desk-identity-card{display:flex;align-items:center;gap:9px;margin:0 0 12px}
#wrSupportWorkstation .wr-desk-identity-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border-radius:10px;background:#e6f4ec;border:1px solid #d0e4d7;color:#17664c;font-size:11px;font-weight:820}
#wrSupportWorkstation .wr-desk-identity-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px}
#wrSupportWorkstation .wr-desk-identity-copy b{color:#294837;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#wrSupportWorkstation .wr-desk-identity-copy small{color:#8aa08e;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#wrSupportWorkstation .wr-desk-identity-dot{height:7px;width:7px;border-radius:50%;background:#35b479;flex:0 0 auto}
#wrSupportWorkstation .wr-desk-identity-dot.off{background:#acbcb2}
#wrSupportWorkstation .wr-desk-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 7px;padding:12px 0;border-top:1px solid #edf1ed;border-bottom:1px solid #edf1ed}
#wrSupportWorkstation .wr-desk-info-grid>div{display:flex;flex-direction:column;gap:4px;min-width:0}
#wrSupportWorkstation .wr-desk-info-grid span{color:#8b9d93;font-size:9px;line-height:1.2}
#wrSupportWorkstation .wr-desk-info-grid strong{color:#2c4b3a;font-size:10px;font-weight:750;line-height:1.25;overflow-wrap:anywhere}
#wrSupportWorkstation .wr-desk-profile-action{margin-top:11px}
#wrSupportWorkstation .wr-desk-profile-link{
  width:100%;padding:8px!important;border:1px solid #b7dbc6!important;
  border-radius:7px!important;color:#0e7854!important;background:#eef9f1!important;
  font-size:10px!important;font-weight:790!important
}
#wrSupportWorkstation .wr-desk-unlinked,#wrSupportWorkstation .wr-desk-empty-side{display:block;color:#8fa296;font-size:10px;line-height:1.4}
#wrSupportWorkstation .wr-desk-right-actions{min-width:0}
#wrSupportWorkstation .wr-desk-right-actions .support-assign-control{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;min-width:0!important}
#wrSupportWorkstation .wr-desk-right-actions select,#wrSupportWorkstation .wr-desk-right-actions button{width:100%!important;max-width:100%!important;font-size:11px!important;padding:8px 9px!important;min-height:35px!important;border-radius:7px!important}
#wrSupportWorkstation .wr-desk-right-actions select{background:#f8faf8!important;border:1px solid #dbe6dd!important;color:#264935!important}
#wrSupportWorkstation .wr-desk-right-actions .btn{background:#f0f7f1!important;border:1px solid #c8dfce!important;color:#1b6c4b!important;font-weight:760!important}
#wrSupportWorkstation .wr-desk-side-ops .support-ops-bridge-bar{
  display:flex!important;flex-direction:column!important;gap:9px!important;
  border:0!important;background:transparent!important;border-radius:0!important;
  margin:0!important;padding:0!important;box-shadow:none!important
}
#wrSupportWorkstation .wr-desk-side-ops .support-ops-bridge-bar>div{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:8px!important;min-width:0!important;width:100%!important
}
#wrSupportWorkstation .wr-desk-side-ops .support-ops-bridge-bar>div:first-child{flex-direction:row!important;align-items:center!important;flex-wrap:wrap!important}
#wrSupportWorkstation .wr-desk-side-ops .support-ops-bridge-bar span:not(.badge){font-size:10px!important;color:#708a7b!important}
#wrSupportWorkstation .wr-desk-side-ops .support-ops-bridge-bar .badge{max-width:100%!important;overflow-wrap:anywhere!important;font-size:10px!important}
#wrSupportWorkstation .wr-desk-side-ops .support-ops-bridge-bar input{font-size:11px!important;min-height:31px!important;min-width:0!important;border:1px solid var(--wr-line)!important;background:#f7faf8!important;color:#294b37!important;border-radius:6px!important;padding:6px 8px!important}
#wrSupportWorkstation .wr-desk-side-ops .support-ops-bridge-bar .btn{
  width:100%!important;text-align:center!important;justify-content:center!important;
  min-height:35px!important;padding:8px 10px!important;font-size:10px!important;
  border-radius:7px!important;white-space:normal!important
}
#wrSupportWorkstation .wr-desk-side-ops .support-ops-bridge-bar .btn.primary{background:#197553!important;color:#fff!important;border-color:#197553!important}
#wrSupportWorkstation .wr-desk-side-attachments .wr-desk-side-card-title span{color:#b7a06b;font-size:10px}
#wrSupportWorkstation .wr-desk-attachment-actions .btn{display:block!important;width:100%!important;font-size:10px!important;padding:9px!important;border:1px solid var(--wr-line)!important;border-radius:7px!important}
#wrSupportWorkstation .wr-desk-side-attachments .support-attach-tray{padding:8px 0!important;margin:0!important;border:0!important;background:transparent!important}
#wrSupportWorkstation .wr-desk-empty-attachments{font-size:10px;color:#8b9e92;padding:8px 0 2px;line-height:1.4}
#wrSupportWorkstation .wr-desk-side-footer{margin-top:auto;padding:6px 4px 12px}
#wrSupportWorkstation .wr-desk-side-footer .btn{width:100%!important;min-height:34px!important;font-size:10px!important;border-radius:7px!important;padding:8px!important;background:#eef5ee!important;color:#426451!important;border:1px solid #d8e4d9!important}
#wrSupportWorkstation .wr-desk-mobile-tabs{display:none!important}
#wrSupportWorkstation .wr-desk-profile-mobile-btn{display:none!important}
@media(max-width:1250px){
  #wrSupportWorkstation .wr-desk-profile-mobile-btn{
    display:inline-flex!important;background:#e9f3ed!important;border:1px solid #cfe5d4!important;
    border-radius:7px!important;color:#257554!important;font-weight:750!important;font-size:10px!important;
    padding:8px 10px!important
  }
}

@media(max-width:1480px){
  #wrSupportWorkstation .wr-desk-grid.master-detail.support-layout{
    grid-template-columns:minmax(210px,270px) minmax(335px,1fr) minmax(220px,268px)!important;gap:8px!important
  }
  #wrSupportWorkstation .wr-desk-kpis .wr-kpi-item{padding:11px 10px!important}
  #wrSupportWorkstation .wr-desk-chat-head{padding:13px 12px}
  #wrSupportWorkstation .wr-desk-chat-head-actions .btn{padding:7px 8px!important}
}
@media(max-width:1250px){
  #wrSupportWorkstation .wr-desk-grid.master-detail.support-layout{
    grid-template-columns:minmax(0,1fr)!important;height:calc(100dvh - 350px)!important;min-height:500px!important
  }
  #wrSupportWorkstation .wr-desk-mobile-tabs{
    display:grid!important;grid-template-columns:repeat(3,1fr);gap:5px;margin:0 0 10px;padding:4px;border-radius:9px;background:#e7eee7
  }
  #wrSupportWorkstation .wr-desk-mobile-tabs button{
    color:#466f58;background:transparent;border:0;padding:10px 8px;border-radius:7px;font-size:11px;font-weight:750
  }
  #wrSupportWorkstation[data-pane="inbox"] .wr-desk-mobile-tabs button[data-pane="inbox"],
  #wrSupportWorkstation[data-pane="chat"] .wr-desk-mobile-tabs button[data-pane="chat"],
  #wrSupportWorkstation[data-pane="profile"] .wr-desk-mobile-tabs button[data-pane="profile"]{
    color:#10422b;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.09)
  }
  #wrSupportWorkstation .wr-desk-grid>.wr-desk-queue-pane,
  #wrSupportWorkstation .wr-desk-grid>.wr-desk-chat-pane,
  #wrSupportWorkstation .wr-desk-grid>.wr-desk-side-pane{display:none!important}
  #wrSupportWorkstation[data-pane="inbox"] .wr-desk-grid>.wr-desk-queue-pane,
  #wrSupportWorkstation[data-pane="chat"] .wr-desk-grid>.wr-desk-chat-pane,
  #wrSupportWorkstation[data-pane="profile"] .wr-desk-grid>.wr-desk-side-pane{display:flex!important}
  #wrSupportWorkstation .wr-desk-queue-list{padding:9px!important}
}
@media(max-width:850px){
  #wrSupportWorkstation .wr-desk-hero{padding:15px!important;align-items:flex-start;flex-direction:column;gap:12px}
  #wrSupportWorkstation .wr-desk-hero-left{gap:11px}
  #wrSupportWorkstation .wr-desk-logo-shape{flex-basis:42px;width:42px;height:42px;border-radius:11px}
  #wrSupportWorkstation .wr-desk-logo-shape svg{width:23px;height:23px}
  #wrSupportWorkstation .wr-desk-hero h1{font-size:21px!important}
  #wrSupportWorkstation .wr-desk-hero-right{width:100%;align-items:flex-start;gap:8px}
  #wrSupportWorkstation .wr-desk-hero-actions{justify-content:flex-start}
  #wrSupportWorkstation .wr-desk-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  #wrSupportWorkstation .wr-desk-kpis .wr-kpi-item{min-height:58px;padding:9px!important;gap:4px!important}
  #wrSupportWorkstation .wr-desk-kpis .wr-kpi-item .wr-kpi-num{font-size:19px!important}
  #wrSupportWorkstation .wr-desk-kpis .wr-kpi-item .wr-kpi-label{font-size:8px!important}
  #wrSupportWorkstation .wr-desk-grid.master-detail.support-layout{height:calc(100dvh - 460px)!important;min-height:390px!important}
}
@media(max-width:500px){
  #wrSupportWorkstation .wr-desk-hero{border-radius:9px}
  #wrSupportWorkstation .wr-desk-hero p{font-size:10px}
  #wrSupportWorkstation .wr-desk-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  #wrSupportWorkstation .wr-desk-kpis .wr-kpi-item{padding:8px 7px!important;min-height:56px}
  #wrSupportWorkstation .wr-desk-health-strip{gap:6px}
  #wrSupportWorkstation .wr-desk-grid.master-detail.support-layout{height:calc(100dvh - 470px)!important;min-height:360px!important}
  #wrSupportWorkstation .wr-desk-chat-head-actions{max-width:none!important}
  #wrSupportWorkstation .wr-desk-chat-head-actions .btn{font-size:9px!important}
  #wrSupportWorkstation #supportChatLog.chat-log.wr-desk-timeline{padding:14px 11px!important}
  #wrSupportWorkstation #supportChatLog .chat-message{max-width:92%!important}
  #wrSupportWorkstation .wr-desk-conversation-meta{padding:8px 12px}
  #wrSupportWorkstation #r17SupportComposer.chat-composer{padding:8px!important}
  #wrSupportWorkstation #r17SupportComposer.chat-composer button{min-width:65px!important;padding:6px 8px!important}
  #wrSupportWorkstation .wr-desk-compose-hint span:last-child{display:none}
}
@media(max-height:850px) and (min-width:1251px){
  #wrSupportWorkstation .wr-desk-grid.master-detail.support-layout{height:calc(100dvh - 350px)!important;min-height:355px!important}
}

/* High-specificity integration with existing CASH Nightshift styles. */
#pageMount #wrSupportWorkstation .wr-desk-queue-list .support-thread.chat-thread-row.active{
  background:#1e503f!important;color:#e7f1e9!important;
  border-color:#356c51!important;border-left-color:#ddba70!important;
  box-shadow:0 5px 14px rgba(0,0,0,.12)!important
}
#pageMount #wrSupportWorkstation .wr-desk-queue-list .support-thread.chat-thread-row:hover{
  background:#205343!important
}
#pageMount #wrSupportWorkstation .wr-desk-queue-list .support-thread .support-thread-top b{
  color:#f0f7f1!important;opacity:1!important
}
#pageMount #wrSupportWorkstation .wr-desk-queue-list .support-thread .support-thread-preview{
  color:#adc9b8!important;opacity:1!important
}
#pageMount #wrSupportWorkstation .wr-desk-queue-list .support-thread .support-thread-top time{
  color:#9fbdac!important;opacity:1!important
}
#pageMount #wrSupportWorkstation .wr-desk-queue-list .support-thread .support-thread-assignee{
  color:#d0dfd4!important;background:rgba(255,255,255,.09)!important
}
#pageMount #wrSupportWorkstation .wr-desk-queue-list .support-thread .support-thread-state.open{
  color:#a5ebc1!important;background:rgba(52,179,112,.2)!important
}
#pageMount #wrSupportWorkstation .wr-desk-queue-list .support-thread .support-thread-state.closed{
  color:#b4c8b9!important;background:rgba(255,255,255,.07)!important
}
#pageMount #wrSupportWorkstation .wr-desk-queue-list .support-thread .support-thread-badge{
  opacity:1!important
}
#pageMount #wrSupportWorkstation .wr-desk-queue-list .support-thread.active .support-thread-avatar{
  background:#d1e6ce!important;color:#144d34!important
}
#pageMount #wrSupportWorkstation .wr-desk-chat-head-actions .wr-support-notes-btn{
  display:inline-flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:center!important;gap:6px!important;flex:0 0 auto!important;
  width:auto!important;height:34px!important;max-height:34px!important;min-height:34px!important;
  padding:6px 10px!important;line-height:1!important;border:1px solid #d9e6dd!important;
  background:#f9fbf9!important;color:#244b37!important;border-radius:7px!important;
  font-size:10px!important;font-weight:750!important;white-space:nowrap!important
}
#pageMount #wrSupportWorkstation .wr-desk-chat-head-actions .wr-support-notes-btn svg{
  display:block!important;position:static!important;width:14px!important;height:14px!important;
  min-width:14px!important;min-height:14px!important;max-width:14px!important;max-height:14px!important;
  flex:0 0 14px!important;fill:none!important;stroke:currentColor!important;
  stroke-width:1.7!important;stroke-linecap:round!important;stroke-linejoin:round!important;
  background:transparent!important;margin:0!important;padding:0!important
}
#pageMount #wrSupportWorkstation .wr-desk-chat-head-actions .wr-support-notes-btn svg path{
  fill:none!important;stroke:currentColor!important;stroke-width:1.7!important
}
@media(max-width:500px){
  #pageMount #wrSupportWorkstation .wr-desk-chat-head{
    display:flex!important;align-items:center!important;flex-wrap:wrap!important;
    justify-content:flex-start!important;gap:8px!important;padding:9px 12px!important
  }
  #pageMount #wrSupportWorkstation .wr-desk-chat-headcopy{
    flex:1 1 120px!important;min-width:80px!important
  }
  #pageMount #wrSupportWorkstation .wr-desk-chat-head-actions{
    width:100%!important;max-width:none!important;
    justify-content:flex-start!important;align-items:center!important;flex-wrap:wrap!important;
    gap:5px!important
  }
  #pageMount #wrSupportWorkstation .wr-desk-chat-head-actions .btn,
  #pageMount #wrSupportWorkstation .wr-desk-profile-mobile-btn{
    flex:1 1 auto!important;height:31px!important;min-height:31px!important;max-height:31px!important;
    font-size:9px!important;padding:5px 7px!important;white-space:nowrap!important
  }
  #pageMount #wrSupportWorkstation .wr-desk-grid.master-detail.support-layout{
    height:calc(100dvh - 508px)!important;min-height:360px!important
  }
  #pageMount #wrSupportWorkstation .wr-desk-contact-avatar{
    flex:0 0 37px!important;width:37px!important;height:37px!important
  }
  #pageMount #wrSupportWorkstation .wr-desk-chat-head h2{font-size:14px!important}
}

#pageMount #wrSupportWorkstation .wr-desk-linked-user{
  display:inline-flex!important;align-items:center!important;max-width:100%!important;
  border:1px solid #c4e4cf!important;border-radius:6px!important;
  padding:5px 9px!important;background:#ecf8ee!important;color:#177a51!important;
  font-size:10px!important;font-weight:750!important;overflow:hidden!important;
  text-overflow:ellipsis!important;white-space:nowrap!important;line-height:1.2!important
}

/* Narrow-phone refinement: composer stays above CASH's fixed footer bar. */
@media(max-width:500px){
  #pageMount #wrSupportWorkstation .wr-desk-hero{
    padding:12px 13px!important;gap:8px!important
  }
  #pageMount #wrSupportWorkstation .wr-desk-hero-right{gap:5px!important}
  #pageMount #wrSupportWorkstation .wr-desk-hero-actions .btn{padding:6px 9px!important;min-height:29px!important}
  #pageMount #wrSupportWorkstation .wr-desk-kpis{
    margin:8px 0 6px!important;gap:4px!important
  }
  #pageMount #wrSupportWorkstation .wr-desk-kpis .wr-kpi-item{
    min-height:49px!important;padding:7px 9px!important;gap:2px!important
  }
  #pageMount #wrSupportWorkstation .wr-desk-health-strip{
    min-height:32px!important;margin-bottom:6px!important;padding:7px 10px!important
  }
  #pageMount #wrSupportWorkstation .wr-desk-mobile-tabs{margin-bottom:7px!important}
  #pageMount #wrSupportWorkstation .wr-desk-chat-head-actions .wr-desk-profile-mobile-btn{display:none!important}
  #pageMount #wrSupportWorkstation .wr-desk-grid.master-detail.support-layout{
    height:calc(100dvh - 498px)!important;min-height:305px!important
  }
}

/* R1.1 viewport correction including CASH's compact 44px site-scope toolbar. */
@media(min-width:1251px){
  #pageMount #wrSupportWorkstation .wr-desk-grid.master-detail.support-layout{
    height:calc(100dvh - 410px)!important;min-height:350px!important
  }
}
@media(max-height:850px) and (min-width:1251px){
  #pageMount #wrSupportWorkstation .wr-desk-grid.master-detail.support-layout{
    height:calc(100dvh - 410px)!important;min-height:340px!important
  }
}
@media(max-width:1250px) and (min-width:851px){
  #pageMount #wrSupportWorkstation .wr-desk-grid.master-detail.support-layout{
    height:calc(100dvh - 435px)!important;min-height:385px!important
  }
}
@media(max-width:850px) and (min-width:501px){
  #pageMount #wrSupportWorkstation .wr-desk-grid.master-detail.support-layout{
    height:calc(100dvh - 505px)!important;min-height:330px!important
  }
}
@media(max-width:500px){
  #pageMount #wrSupportWorkstation .wr-desk-grid.master-detail.support-layout{
    height:calc(100dvh - 548px)!important;min-height:285px!important
  }
}
