@import url('/original-page/fonts.css');
:root {
  --relay-font-sans:"Inter Variable", "Noto Sans SC Variable", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", sans-serif;
  --relay-font-display:"Inter Variable", "Noto Sans SC Variable", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", sans-serif;
  --font-sans:var(--relay-font-sans);
  --apple-font:var(--relay-font-sans);
  --relay-icon:#64748B;
  --relay-icon-muted:#94A3B8;
  --relay-icon-hover:#2563EB;
  --relay-icon-active:#2563EB;
  --relay-icon-on-primary:#FFFFFF;
  --relay-icon-success:#15803D;
  --relay-icon-danger:#DC2626;
  --relay-icon-warning:#B45309;
  --relay-active-bg:#EFF6FF;
  --relay-hover-bg:#F1F5F9;
  --relay-text:#0F172A;
  --relay-text-secondary:#334155;
  --relay-text-muted:#94A3B8;
}
* { box-sizing: border-box; }
body { margin: 0; color: #0F172A; background: #F8F9FB; font: 14px/1.55 var(--relay-font-sans); }
body > header { height: 52px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #CBD5E1; padding: 0 18px; }
body > header strong { font-size: 18px; }
a { color: inherit; text-decoration:none; }
body > header { height:auto;min-height:52px;flex-wrap:wrap;gap:6px 16px;padding-block:6px; }
body > header nav { display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px; }
body > header nav a { padding:5px 0; }
body > header nav a[aria-current] { color:#334155;font-weight:650;text-decoration:none; }
body > .relay-placeholder-bar { height:50px;min-height:50px;padding:0 18px;display:block;border:0;border-bottom:1px solid #E2E8F0; }
#console-navigation a { display:block;height:40px;line-height:40px;padding:0 16px;white-space:nowrap; }
#console-navigation a:hover { background:#F1F5F9; }
.relay-placeholder-bar #logout { float:right;margin:10px 0; }
.ws-scope { margin:12px 16px;color:#64748B; }
.ws-scope + #original-notice:empty { min-height:0;margin:0; }
#original-notice { margin: 7px 16px; color: #64748B; min-height: 21px; }
#original-notice:empty { display:none; }
#original-notice[data-error] { color: #DC2626; }
#original-root { padding: 0 0 12px; }
#original-root .outer-box { box-sizing: border-box; min-height: 450px; height: calc(100vh - 108px); width: 100%; }
#original-root .outer-box > .el-pagination { flex: 0 0 auto; }
#original-root .el-table { min-height: 245px; }
#original-root .local-unavailable { opacity: .57; }
#original-root [data-local-thread] { white-space: nowrap; }
.local-thread-actions { display: flex; align-items: center; justify-content: center; gap: 10px; }
.local-thread-actions a { min-width: 0; }
.local-thread-actions button { border: 0; background: transparent; color: #2563EB; cursor: pointer; padding: 0; }
.local-thread-actions a { color:#2563EB; }
.local-customer-account { border:0;background:none;padding:0;color:#334155;cursor:pointer;font:inherit; }
.el-table th.el-table__cell,.el-table th { background:#F8FAFC!important; color:#475569!important; font-size:13px; font-weight:600!important; }
/* Conditional columns can briefly have zero width before Element measures them. */
.el-table th > .cell { white-space:nowrap;word-break:normal;overflow-wrap:normal; }
.el-date-editor .el-range-separator { box-sizing:content-box;white-space:nowrap;flex:none; }
.el-range-editor--mini.el-input__inner { display:inline-flex;align-items:center;max-width:100%; }
.el-range-editor--mini .el-range-input { min-width:0; }
#original-root .search-wrapper { display:grid;grid-template-columns:repeat(auto-fit,350px);column-gap:10px;grid-auto-flow:row dense; }
#original-root .search-wrapper .el-form-item { margin-bottom:10px; min-width:0; }
#original-root .search-wrapper .el-form-item__content { min-width:0; }
#original-root .search-wrapper :is(.el-input,.el-select,.el-cascader,.el-date-editor) { max-width:100%; }
#original-root :is(.action-list,.but-list) { gap:8px; flex-wrap:wrap; height:auto; min-height:28px; }
#original-root :is(.action-list,.but-list) .el-button--mini { border-radius:3px; }
.el-dialog .el-form--label-right .el-form-item__label { line-height:28px; }
.el-dialog .el-form--label-right .el-form-item__content { min-width:0; }
.el-dialog .el-form--label-right .el-switch { vertical-align:middle; }
@media(max-width:600px){
  #original-root .search-wrapper { grid-template-columns:minmax(0,1fr); }
  #original-root .search-wrapper .el-form-item__content { max-width:100%;min-width:0; }
}
.el-dialog__wrapper .el-dialog { max-width: calc(100% - 16px); }
.thread-mobile { display: none; }
.local-device-receipts { display:flex; justify-content:flex-end; gap:9px; color:#15803D; font-size:12px; }
.history-attachment { width:min(280px,100%); margin:4px 0 4px auto; overflow-wrap:anywhere; }
.history-attachment.incoming-attachment { margin-inline:0 auto; }
.history-attachment .el-image { max-width:100%; max-height:160px; }
.history-attachment .el-image__inner { max-height:160px; }
#original-root .chat-history-box { height:calc(100vh - 105px); gap:12px; }
.record-accounts,.record-sessions,.record-messages { overflow:auto; padding:10px; border:1px solid #E2E8F0; }
.record-accounts { width:135px; }
.record-sessions { width:210px; }
.record-sessions button:not(.btn-prev,.btn-next) { display:block; text-align:left; border:0; background:white; width:100%; padding:12px 6px; cursor:pointer; }
.record-sessions button.is-current { background:#EFF6FF; color:#2563EB; }
.record-sessions small { display:block; color:#64748B; }
.record-sessions .nameinfo { display:flex; align-items:baseline; justify-content:space-between; gap:6px; }
.record-sessions .time_text { flex:none; font-size:12px; color:#64748B; }
.record-sessions :is(.item_name,.content) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.chat-history-box h2 { font-size:16px; margin:0 0 12px; }
#original-root .record-messages { min-width:0; }
.record-history .text-search-box { display:flex; gap:8px; }
.record-workspace { --record-border:#E2E8F0; --record-muted:#64748B; --record-primary:#2563EB; display:grid; grid-template-columns:minmax(300px, .95fr) minmax(230px,.7fr) minmax(340px,1.35fr); height:calc(100dvh - 108px); min-height:500px; background:#F8F9FB; color:#0F172A; font-family:var(--relay-font-sans,sans-serif); letter-spacing:0; border:1px solid var(--record-border); }
.record-workspace * { box-sizing:border-box; }
.record-workspace h2 { font-size:15px; line-height:22px; margin:0 0 12px; font-weight:600; }
.record-workspace :is(button,input,textarea) { font-family:inherit; }
.record-workspace button { cursor:pointer; }
.record-workspace button:focus-visible,.record-workspace textarea:focus-visible { outline:2px solid #2563EB; outline-offset:-2px; }
.record-workspace :is(.record-staff,.record-ws,.record-sessions,.record-messages) { min-width:0; min-height:0; width:auto; background:#FFFFFF; border:0; border-right:1px solid var(--record-border); padding:12px; display:flex; flex-direction:column; overflow:hidden; }
.record-directory { display:grid; grid-template-columns:1fr 1fr; min-width:0; min-height:0; }
.record-directory-ws { grid-template-columns:1fr; grid-template-rows:auto minmax(0,1fr); }
.record-directory-ws .record-staff { padding-bottom:0; }
.record-scroll { overflow:auto; min-height:0; flex:1; scrollbar-width:thin; }
.record-switch { display:flex; padding:3px; background:#F8F9FB; border-radius:6px; margin-bottom:12px; }
.record-switch button { flex:1; border:0; background:transparent; color:#64748B; font-size:14px; min-height:34px; border-radius:4px; }
.record-switch button.is-current { color:#2563EB; background:#FFFFFF; box-shadow:0 1px 3px #1d212910; font-weight:600; }
.record-workspace .el-input { margin-bottom:12px; }
.record-workspace .el-input__inner { padding-left:10px; border-color:#E2E8F0; }
.record-workspace .el-input--prefix .el-input__inner { padding-left:30px; }
.record-directory-row { display:flex; flex-wrap:wrap; align-items:center; gap:6px; width:100%; border:1px solid transparent; border-bottom-color:#E2E8F0; padding:12px 8px; margin:0; background:#FFFFFF; text-align:left; border-radius:4px; color:inherit; transition:background .15s,border-color .15s; }
.record-directory-row strong,.record-directory-row .record-muted,.record-directory-row small { width:100%; overflow-wrap:anywhere; }
.record-directory-row strong { font-size:14px; font-weight:600; }
.record-directory-row small { font-size:12px; color:#64748B; }
.record-directory-row:hover { background:#F8FAFC; }
.record-directory-row.is-current { background:#EFF6FF; border-color:#CBD5E1; }
.record-muted { font-size:12px; color:#64748B; line-height:1.6; overflow-wrap:anywhere; }
.record-pill { display:inline-flex; padding:2px 6px; font-size:12px; line-height:18px; border-radius:4px; color:#64748B; background:#F8F9FB; max-width:100%; overflow-wrap:anywhere; }
.record-pill.online { color:#15803D; background:#ECFDF5; }
.record-presence.online::before { content:""; display:inline-block; width:6px; height:6px; background:#15803D; border-radius:50%; margin-right:4px; }
.record-pill.danger { color:#DC2626; background:#FEF2F2; }
.record-pill.warn { color:#B45309; background:#FFFBEB; border:1px solid #FDE68A; font-size:12px; }
.record-unread { margin-left:auto; min-width:18px; height:18px; border-radius:9px; background:#DC2626; color:white; font-size:12px; text-align:center; padding:1px 5px; }
.record-summary { display:flex; justify-content:space-between; align-items:center; border:1px solid #E2E8F0; border-radius:6px; min-height:44px; padding:10px; margin-bottom:8px; background:white; color:#64748B; }
.record-summary.is-current { background:#EFF6FF; border-color:#CBD5E1; color:#2563EB; }
.record-summary strong { font-size:18px; }
.record-workspace footer { display:flex; align-items:center; justify-content:space-between; min-height:38px; font-size:12px; color:#64748B; border-top:1px solid #E2E8F0; }
.record-workspace .record-session { position:relative; border-bottom:1px solid #E2E8F0; border-radius:4px; }
.record-workspace .record-session:hover { background:#F8FAFC; }
.record-workspace .record-session.is-current { background:#EFF6FF; }
.record-workspace .record-sessions .record-session-main { display:flex; width:100%; gap:10px; border:0; padding:14px 8px; background:transparent; color:inherit; text-align:left; }
.record-avatar { flex:none; width:38px; height:38px; object-fit:cover; border-radius:50%; display:grid; place-items:center; background:#EFF6FF; color:#2563EB; font-size:16px; font-weight:600; }
.record-filters { display:flex; gap:8px; min-width:0; margin-bottom:12px; }
.record-filters > * { flex:1; width:0; min-width:0; }
.record-filters .el-input { margin:0; }
.record-filters .el-input__inner { height:30px; }
.record-filters :is(.el-select__tags,.el-cascader__tags) { flex-wrap:nowrap; max-width:calc(100% - 30px); overflow:hidden; }
.record-filters .el-tag { min-width:0; max-width:100%; flex-shrink:1; }
.record-filters :is(.el-select__tags-text,.el-cascader__tags .el-tag > span) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.record-filters .el-cascader__search-input { min-width:0; width:0; flex:1; }
.record-session-copy { flex:1; min-width:0; display:flex; flex-direction:column; gap:5px; }
.record-session-title { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.record-session-title strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:14px; }
.record-session-title time { flex:none; font-size:12px; color:#64748B; font-variant-numeric:tabular-nums; }
.record-preview { font-size:13px; color:#64748B; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.record-tags { display:flex; flex-wrap:wrap; gap:4px; }
.record-presence { color:#64748B; font-size:12px; padding-right:32px; }
.record-workspace .record-sessions .record-row-transfer { position:absolute; right:6px; bottom:8px; width:auto; padding:4px 6px; color:#2563EB; background:transparent; font-size:12px; opacity:0; }
.record-session:hover .record-row-transfer,.record-session:focus-within .record-row-transfer { opacity:1!important; }
.record-workspace .record-messages { padding:0; border-right:0; }
.record-detail { display:flex; flex-direction:column; height:100%; min-height:0; }
.record-detail-header { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:8px; padding:16px; border-bottom:1px solid #E2E8F0; background:white; }
.record-detail-header h2 { margin:0 0 4px; overflow-wrap:anywhere; }
.record-detail-header p { margin:0; }
.record-actions { display:flex; flex-wrap:wrap; gap:6px; }
.record-actions .el-button+.el-button { margin:0; }
.record-messages .record-history-tabs { flex:0 0 auto; min-height:0; }
.record-messages .el-tabs__header { padding:0 16px; margin:0; }
.record-messages .record-history-tabs > .el-tabs__content { display:none; }
.record-detail .record-history { flex:1; min-height:0; overflow:auto; padding:0; background:#F8F9FB; }
.record-history > .text-search-box { display:flex; flex-wrap:nowrap; padding:10px 16px; gap:8px; margin:0; }
.record-history > .text-search-box > .el-input { flex:1; width:0; min-width:0; margin:0!important; }
.record-history > .text-search-box > .el-date-editor { flex:0 1 150px; }
.record-history > .text-search-box + div { padding:0 16px 12px; }
.record-history .search-chat-list-box { height:auto!important; min-height:180px; max-height:none; background:transparent; border:0; padding:0; }
.record-history .chatItem { padding:12px 0; }
.record-history .chatItem .header { flex-wrap:wrap; gap:4px; }
.record-history .chatItem .contentInfo { min-width:0; max-width:85%; margin:0; }
.record-history .chatItem .content-box { overflow-wrap:anywhere; }
.record-detail > section:not(.record-history) { overflow:auto; min-height:0; padding:12px; }
.record-history :is(.time,.time-text,.time_text,.chat-time,.message-time) { color:#DC2626!important; font-size:12px; }
.record-history .history-attachment img { max-width:100%; max-height:320px; border-radius:8px; object-fit:contain; }
.record-history audio { width:100%; max-width:290px; height:40px; }
.record-actor { display:inline-block; padding:2px 6px; margin:4px; border-radius:4px; color:#2563EB; background:#EFF6FF; font-size:12px; }
.record-detail-identity { display:flex; align-items:center; gap:10px; min-width:0; }
.record-detail-identity > div { min-width:0; }
.record-detail-header h2 { display:flex; align-items:center; flex-wrap:wrap; gap:6px; font-size:14px; }
.record-detail-peer { font-size:12px; font-weight:400; color:#64748B; }
.record-detail-identity .record-avatar,.record-history .record-avatar { width:38px; height:38px; border-radius:50%; object-fit:cover; }
.record-history.search-chat-list-box,.record-history .search-chat-list-box { background:#F8F9FB; }
.record-history .chatItem .headerImg { width:38px; height:38px; background:none; flex:none; }
.record-history .chatItem .header { color:#64748B; font-size:12px; margin-bottom:6px; }
.record-history .chatItem .content { min-width:0; gap:10px; align-items:flex-start; }
.record-history .chatItem .record-bubble { box-sizing:border-box; min-width:0; max-width:min(74%,540px); padding:10px 14px; border:1px solid #E2E8F0; border-radius:16px; background:#FFFFFF; color:#0F172A; box-shadow:0 1px 4px rgba(0,0,0,0.05); overflow-wrap:anywhere; }
.record-history .chatItem .record-bubble--agent { background:#EFF6FF; border-color:rgba(37,99,235,0.16); }
.record-history .chatItem .record-bubble--revoked { border:1px dashed #FECACA; }
.record-history .chatItem .record-bubble--voice { width:320px; }
.record-history .chatItem .content-box { background:transparent!important; border:0!important; padding:0!important; box-shadow:none!important; min-width:0; max-width:100%; }
.record-history .chatItem .content-box::before,.record-history .chatItem .content-box::after { display:none!important; }
.record-history .translate-icon,.record-history .translationTime,.record-history .translate-box { display:none!important; }
.record-history .content-text { font-size:14px; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.record-history .record-comparison { display:block; background:#F8FAFC; border:1px solid #E2E8F0; border-radius:8px; padding:9px 12px; margin-top:8px; font-size:14px; line-height:1.6; color:#0F172A; font-weight:400; white-space:pre-wrap; overflow-wrap:anywhere; }
.record-history .chatItem .record-bubble--agent .record-comparison { background:#FFFFFF; border-color:#DBEAFE; }
.record-comparison strong { font-size:12px; font-weight:600; color:#475569; margin-right:6px; }
.record-transcript-line { display:flex; align-items:baseline; gap:6px; }
.record-transcript-line + .record-transcript-line { margin-top:4px; font-size:13px; color:#475569; }
.record-transcript-line strong { flex:none; }
.record-history .record-message-meta { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:6px; margin-top:6px; font-size:12px; line-height:1.5; }
.record-message-meta time { color:#D93025; font-weight:500; font-variant-numeric:tabular-nums; }
.record-receipt { display:inline-flex; align-items:center; gap:3px; min-height:18px; padding:0 5px; border-radius:999px; background:#F1F5F9; color:#64748B; white-space:nowrap; font-size:12px; font-weight:500; }
.record-receipt--read { background:#D5E8FF; color:#1D4ED8; }
.record-receipt--delivered { color:#15803D; }
.record-receipt--failed { background:#FFE6E4; color:#B42318; }
.record-history .record-meta-action { display:inline-grid; place-items:center; flex:none; width:24px; height:24px; min-height:24px; padding:0; border:0; border-radius:4px; background:transparent; color:#64748B; font-size:14px; cursor:pointer; }
.record-meta-action:hover { background:#E2E8F0; color:#2563EB; }
.record-meta-action:disabled { opacity:.5; cursor:wait; }
.record-meta-action:focus-visible,.record-quote-card:focus-visible { outline:2px solid #2563EB; outline-offset:2px; }
.record-meta-action[aria-label="定位"] { opacity:.35; }
.chatItem:hover .record-meta-action,.chatItem:focus-within .record-meta-action { opacity:1; }
.record-history .record-day-divider { display:flex; justify-content:center; margin:16px 0 8px; }
.record-day-divider time { padding:4px 12px; border-radius:999px; background:#F1F5F9; color:#64748B; font-size:12px; font-variant-numeric:tabular-nums; }
.record-revoked-badge { display:inline-flex; align-items:center; margin-left:6px; padding:1px 6px; border:1px solid #FECACA; border-radius:4px; color:#DC2626; background:#FEF2F2; font-size:12px; font-weight:500; line-height:1.4; vertical-align:middle; }
.record-history .record-actor { margin:0; }
.record-history .history-attachment { max-width:100%; margin:0; }
.record-history .history-attachment .el-image { max-width:100%; border-radius:8px; }
.record-history .reception-voice-player audio { display:none; }
.record-history .record-quote-card { display:flex; flex-direction:column; gap:3px; width:100%; padding:8px 11px; margin:0 0 8px; background:#F8F9FB; border:0; border-left:3px solid #2563EB; border-radius:6px; text-align:left; color:#475569; font-size:13px; line-height:1.6; cursor:pointer; overflow-wrap:anywhere; }
.record-quote-card strong { color:#2563EB; font-size:12px; }
.record-history .record-ad-card { display:flow-root; max-width:360px; padding-bottom:10px; margin-bottom:8px; border-bottom:1px solid #E2E8F0; font-size:13px; color:#475569; overflow-wrap:anywhere; }
.record-ad-card img { float:left; margin:0 10px 6px 0; border-radius:6px; object-fit:cover; }
.record-ad-card strong,.record-ad-card span,.record-ad-card a { display:block; }
.record-ad-card a { color:#2563EB; font-size:12px; }
.record-media-label { color:#64748B; font-size:12px; }
.record-composer { flex:none; border-top:1px solid #E2E8F0; padding:12px 16px; background:#FFFFFF; border-radius:8px 8px 0 0; }
.record-composer label { display:block; font-size:12px; color:#64748B; margin-bottom:8px; }
.record-composer-controls { display:flex; align-items:flex-end; gap:8px; }
.record-composer textarea { flex:1; min-width:0; resize:vertical; min-height:54px; max-height:160px; border:1px solid #E2E8F0; border-radius:6px; padding:9px 10px; font-size:14px; line-height:1.5; }
.record-error { color:#DC2626; font-size:13px; margin:8px 0 0; overflow-wrap:anywhere; }
.record-empty { padding:24px 12px; color:#64748B; font-size:14px; text-align:center; }
@media(max-width:1150px) { .record-workspace { grid-template-columns:minmax(240px,.8fr) minmax(200px,.65fr) minmax(300px,1fr); } }
@media(max-width:900px) { .record-workspace { height:auto; min-height:0; grid-template-columns:minmax(0,1fr) minmax(0,1fr); } .record-directory,.record-sessions { height:420px; } .record-workspace .record-messages { grid-column:1/-1; height:700px; border-top:1px solid #E2E8F0; } .record-workspace .record-row-transfer { opacity:1!important; } }
@media(max-width:540px) { .record-workspace { display:flex; flex-direction:column; } .record-directory { height:320px; flex:none; } .record-workspace .record-sessions { height:320px; flex:none; } .record-workspace .record-messages { height:660px; flex:none; } .record-detail-header { padding:12px; } .record-workspace button { min-height:36px; } .record-workspace .el-dialog { margin-top:5vh!important; } }
@media(max-width:850px){
  #original-root .chat-history-box { display:block; height:auto; }
  #original-root .chat-history-box > .accountList { width:100%; max-width:100%; height:260px; }
  #original-root .chat-history-box > :is(aside,section) { width:100%; min-width:0; height:auto; margin:6px 0; }
}
@media (max-width: 720px) {
  #original-root { padding: 0 0 10px; }
  #original-root .outer-box { height: auto; }
  #original-root .el-table { height: 380px !important; }
  #original-root .el-pagination { overflow-x: auto; }
  #original-root .local-unavailable, #original-root .el-table__fixed-right, .thread-desktop { display: none; }
  #original-root .action-list { flex-wrap: wrap; gap: 6px; }
  #original-root .thread-mobile { display: block; overflow: hidden; text-overflow: ellipsis; }
  .el-dialog .text-search-box { display: flex; flex-wrap: wrap; gap: 6px; }
}
.whatsapp-message-info{color:#64748B;font-size:12px;line-height:1.6;margin:4px 0;max-width:100%}
.whatsapp-message-info summary{cursor:pointer}
.whatsapp-message-info code{overflow-wrap:anywhere;user-select:all}
.media-grid[data-v-0be87cf4] .media-item{flex-direction:column;min-width:0}
/* Shared surfaces retain the release's Element column geometry. */
#original-root > :is(.outer-box,.labelManage-box,.staff-directory,.material-library,.app-container),
.group-page .outer-box {
  width:auto;min-width:0;max-width:calc(100% - 32px);margin:12px 16px;padding:16px 18px;
  background:#FFFFFF;border-radius:12px;border:1px solid #E2E8F0;box-shadow:0 1px 3px rgba(15,23,42,0.04);
}
.el-table {border-radius:10px;overflow:hidden;border:1px solid #E2E8F0;color:#1E293B;font-size:14px;}
.el-table td.el-table__cell,.el-table td,.el-table th.is-leaf {border-bottom-color:#E2E8F0;}
.el-table--enable-row-hover .el-table__body tr:hover>td,.el-table__body tr.hover-row>td {background-color:#EFF6FF;}
.el-button:not(.el-button--text) {border-radius:8px!important;font-weight:500;}
.el-button--primary {background:#2563EB;border-color:#2563EB;}
.el-button--success {background:#15803D;border-color:#15803D;}
.el-button--warning {background:#B45309;border-color:#B45309;}
.el-button--danger {background:#DC2626;border-color:#DC2626;}
.el-button--primary:not(.is-disabled):is(:hover,:focus) {background:#1D4ED8;border-color:#1D4ED8;}
.el-button--success:not(.is-disabled):is(:hover,:focus) {background:#15803D;border-color:#15803D;}
.el-button--warning:not(.is-disabled):is(:hover,:focus) {background:#B45309;border-color:#B45309;}
.el-button--danger:not(.is-disabled):is(:hover,:focus) {background:#DC2626;border-color:#DC2626;}
.el-button.is-plain:not(.is-disabled) {background:#FFFFFF;}
.el-button--primary.is-plain {color:#2563EB;}
.el-button--success.is-plain {color:#15803D;}
.el-button--warning.is-plain {color:#B45309;}
.el-button--danger.is-plain {color:#DC2626;}
.el-button--primary.is-plain:not(.is-disabled):is(:hover,:focus) {color:#2563EB;}
.el-button--success.is-plain:not(.is-disabled):is(:hover,:focus) {color:#15803D;}
.el-button--warning.is-plain:not(.is-disabled):is(:hover,:focus) {color:#B45309;}
.el-button--danger.is-plain:not(.is-disabled):is(:hover,:focus) {color:#DC2626;}
.el-button.is-disabled {opacity:0.55;}
.el-input__inner,.el-textarea__inner {border-radius:8px!important;background-color:#FFFFFF;border:1px solid #CBD5E1;color:#0F172A;}
.el-input__inner:focus,.el-textarea__inner:focus,.el-range-editor.is-active {background-color:#FFFFFF;border-color:#2563EB!important;box-shadow:0 0 0 3px rgba(37,99,235,0.16);}
.el-range-input {background:transparent;}
.el-tag {border-radius:6px!important;border:none!important;font-weight:600;background:#EFF6FF;color:#2563EB;}
.el-tag.el-tag--success {background:#ECFDF5;color:#15803D;}
.el-tag.el-tag--danger {background:#FEF2F2;color:#DC2626;}
.el-tag.el-tag--warning {background:#FFFBEB;color:#B45309;}
.el-tag.el-tag--info {background:#F1F5F9;color:#334155;}
.el-switch.is-checked .el-switch__core {background:#15803D!important;border-color:#15803D!important;}
.el-dialog,.el-message-box {border-radius:16px!important;box-shadow:0 20px 50px rgba(15,23,42,0.14)!important;border:1px solid #E2E8F0;overflow:hidden;}
.el-dialog__title,.el-message-box__title {color:#0F172A;}
@media(max-width:720px){
  #original-root > :is(.outer-box,.labelManage-box,.staff-directory,.material-library,.app-container),
  .group-page .outer-box {margin:8px;padding:10px;max-width:calc(100% - 16px);}
}
@media(max-width:700px){
  .media-grid[data-v-0be87cf4]{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.my-device-accounts{font-family:var(--relay-font-sans);color:#0F172A;min-width:0}
.my-device-tabs{display:flex;width:fit-content;max-width:100%;gap:4px;padding:4px;margin:0 0 16px;background:#F1F5F9;border-radius:8px}
.my-device-tabs button{border:0;border-radius:6px;background:transparent;padding:10px 16px;min-height:40px;color:#334155;font-family:inherit;font-size:14px;font-weight:500;line-height:1.4;cursor:pointer}
.my-device-tabs button[aria-pressed=true]{background:#fff;color:#2563EB;box-shadow:0 1px 4px #00000018}
.my-device-accounts button:focus-visible{outline:2px solid #2563EB;outline-offset:2px}
.my-device-toolbar{display:flex;justify-content:space-between;align-items:center;padding:8px 0;color:#64748B;font-size:14px}
.my-device-toolbar button,.my-device-accounts .apple-sheet header button{border:0;background:transparent;width:40px;height:40px;border-radius:6px;font-size:18px;cursor:pointer}
.my-device-row{display:grid;grid-template-columns:minmax(150px,1fr) 100px 130px auto;align-items:center;gap:16px;padding:18px 8px;border-bottom:1px solid #E2E8F0;font-size:14px}
.my-device-identity{display:grid;gap:5px;min-width:0;overflow-wrap:anywhere}
.my-device-identity strong{font-weight:600}
.my-device-identity small{font-size:12px;color:#64748B}
.my-device-status{display:flex;align-items:center;gap:7px;color:#64748B}
.my-device-status i{width:7px;height:7px;flex:none;border-radius:50%;background:#94A3B8}
.my-device-status.is-online{color:#15803D}
.my-device-status.is-online i{background:#15803D}
.my-device-reconnect{display:inline-flex;justify-content:center;align-items:center;gap:7px;min-height:40px;padding:8px 14px;border:1px solid #CBD5E1;border-radius:7px;background:#fff;color:#2563EB;font:inherit;cursor:pointer}
.my-device-accounts button:disabled{opacity:.5;cursor:default}
.my-device-empty{padding:40px 0;text-align:center;color:#64748B}
.my-device-accounts .apple-sheet{box-sizing:border-box;width:380px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #E2E8F0;border-radius:16px;padding:20px;background:#fff;color:#0F172A;box-shadow:0 20px 50px rgba(15,23,42,0.14)}
.my-device-accounts .apple-sheet::backdrop{background:#0005;}
.my-device-accounts .apple-sheet header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.my-device-accounts .apple-sheet h2{font-size:18px;line-height:1.4;overflow-wrap:anywhere}
.my-device-accounts .apple-sheet img{display:block;max-width:100%;height:auto;aspect-ratio:1;margin:16px auto}
.my-device-accounts .apple-sheet p{font-size:14px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:640px){
  .my-device-row{grid-template-columns:minmax(0,1fr) auto;gap:12px}
  .my-device-tabs{width:100%;box-sizing:border-box}
  .my-device-tabs button{flex:1;padding:10px 8px}
}

/* Shared Element controls: preserve earlier compatibility rules above. */
.el-select-dropdown,.el-picker-panel,.el-dropdown-menu { border-radius:14px; border:1px solid #E2E8F0; box-shadow:0 14px 36px rgba(15,23,42,0.12); padding:6px; }
.el-select-dropdown__item,.el-dropdown-menu__item { border-radius:8px; margin:2px 0; transition:background-color .16s,color .16s; }
.el-select-dropdown__item.hover,.el-select-dropdown__item:hover,.el-dropdown-menu__item:not(.is-disabled):hover { background:#F1F5F9; color:#334155; }
.el-select-dropdown__item.selected,.el-select-dropdown.is-multiple .el-select-dropdown__item.selected,
.el-dropdown-menu__item[aria-selected=true] { background:#EFF6FF; color:#2563EB; font-weight:600; }
.el-input__inner,.el-textarea__inner { background-color:#FFFFFF; border:1px solid #CBD5E1; transition:border-color .16s,background-color .16s,box-shadow .16s; }
.el-input:not(.is-disabled) .el-input__inner:hover,.el-textarea:not(.is-disabled) .el-textarea__inner:hover { background-color:#FFFFFF; border-color:#CBD5E1; }
.el-input:not(.is-disabled) .el-input__inner:focus,.el-textarea:not(.is-disabled) .el-textarea__inner:focus,
.el-select .el-input.is-focus .el-input__inner { background-color:#FFFFFF; border-color:#2563EB!important; box-shadow:0 0 0 3px rgba(37,99,235,0.14); }
.el-input-number__decrease,.el-input-number__increase { background:#F1F5F9; color:#64748B; border:0; transition:background-color .16s,color .16s; }
.el-input-number__decrease { border-radius:9px 0 0 9px; }
.el-input-number__increase { border-radius:0 9px 9px 0; }
.el-input-number.is-controls-right .el-input-number__increase { border:0; border-radius:0 9px 0 0; }
.el-input-number.is-controls-right .el-input-number__decrease { border:0; border-radius:0 0 9px 0; }
.el-input-number__increase:not(.is-disabled):hover,.el-input-number__decrease:not(.is-disabled):hover { background:#EFF6FF; color:#2563EB; }
.el-button--primary:not(.is-plain):not(.is-disabled) { background:#2563EB; border-color:#2563EB; color:#fff; box-shadow:0 3px 9px rgba(37,99,235,0.16); }
.el-button--primary:not(.is-plain):not(.is-disabled):hover { background:#1D4ED8; border-color:#1D4ED8; box-shadow:0 5px 14px rgba(37,99,235,0.16); }
.el-button--success:not(.is-plain):not(.is-disabled) { background:#15803D; border-color:#15803D; color:#fff; }
.el-button--warning:not(.is-plain):not(.is-disabled) { background:#B45309; border-color:#B45309; color:#fff; }
.el-button--danger:not(.is-plain):not(.is-disabled) { background:#DC2626; border-color:#DC2626; color:#fff; }
.el-button--success:not(.is-plain):not(.is-disabled):hover { background:#066548; border-color:#066548; }
.el-button--warning:not(.is-plain):not(.is-disabled):hover { background:#8D4D00; border-color:#8D4D00; }
.el-button--danger:not(.is-plain):not(.is-disabled):hover { background:#AD2442; border-color:#AD2442; }
.el-button:focus-visible { outline:2px solid #2563EB; outline-offset:3px; }
@media(prefers-reduced-motion:reduce) {
  .el-select-dropdown__item,.el-dropdown-menu__item,.el-input__inner,.el-textarea__inner,
  .el-input-number__decrease,.el-input-number__increase { transition:none; }
}

/* Shared typography and icon tokens override the archived compatibility skin. */
html,body {font-family:var(--relay-font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-variant-numeric:tabular-nums;letter-spacing:0;}
body {color:var(--relay-text);}
button,input,textarea,select,.el-button,.el-input__inner,.el-textarea__inner,.el-table,.el-menu,.el-dropdown-menu,.el-dialog {font-family:inherit;font-variant-numeric:tabular-nums;}
.my-device-accounts {font-family:var(--relay-font-sans);}
.el-table {color:#1E293B;font-size:14px;}
.el-table th.el-table__cell,.el-table th {color:#475569!important;font-size:13px;font-weight:600!important;}
.el-dialog__title,.el-message-box__title,body>header strong {font-size:18px;font-weight:600;color:var(--relay-text);letter-spacing:0;}
.el-input__inner,.el-textarea__inner {color:var(--relay-text);}
input::placeholder,textarea::placeholder {color:var(--relay-text-muted);opacity:1;}
.el-input__prefix,.el-input__suffix,.el-select .el-input .el-select__caret,.el-dialog__headerbtn .el-dialog__close {color:var(--relay-icon-muted);}
.el-button:where(:not(.el-button--primary):not(.el-button--danger):not(.el-button--success):not(.el-button--warning)) [class*="el-icon-"] {color:var(--relay-icon);}
.el-button:not(.is-disabled):hover [class*="el-icon-"],.el-dialog__headerbtn:hover .el-dialog__close {color:var(--relay-icon-hover);}
.el-button--primary:not(.is-plain):not(.is-disabled) {background:var(--relay-icon-active);border-color:var(--relay-icon-active);color:var(--relay-icon-on-primary);box-shadow:none;}
.el-button--primary:not(.is-plain):not(.is-disabled):hover {background:#1D4ED8;border-color:#1D4ED8;box-shadow:none;}
.el-button:is(.el-button--primary,.el-button--danger,.el-button--success,.el-button--warning):not(.is-plain):not(.el-button--text) [class*="el-icon-"] {color:var(--relay-icon-on-primary);}
.el-button--text:not(.is-disabled) {color:var(--relay-icon-active);}
