:root {
  --by-ink: #050811;
  --by-navy: #09111f;
  --by-panel: #0d1728;
  --by-panel-2: #121d30;
  --by-surface: #172338;
  --by-line: rgba(205, 218, 238, 0.14);
  --by-line-strong: rgba(220, 186, 106, 0.38);
  --by-gold: #d6b365;
  --by-gold-bright: #f0d38d;
  --by-text: #f7f9fc;
  --by-muted: #aebbd0;
  --by-muted-2: #78869c;
  --by-green: #42d392;
  --by-red: #ef746c;
  --by-blue: #70b7ff;
  --by-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
  --by-radius: 8px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--by-ink); }
body.by-v9 {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background-color: var(--by-ink);
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(145deg, #050811 0%, #0a1323 62%, #07101d 100%);
  background-size: 32px 32px, 32px 32px, auto;
  color: var(--by-text);
  font-family: "IBM Plex Sans", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .58; transform: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { overflow-wrap: anywhere; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(240, 211, 141, 0.56);
  outline-offset: 2px;
}

.by-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}
.by-brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--by-line-strong);
  border-radius: 8px;
  background: #141b27;
  color: var(--by-gold-bright);
  font-size: 19px;
  font-weight: 900;
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}
.by-brand strong { display: block; color: #fff; font-size: 17px; }
.by-brand small { display: block; margin-top: 3px; color: var(--by-gold); font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.by-kicker, .by-card-index, .by-section-head > span, .by-panel-head > div > span, .by-broadcast-title > span, .by-session-card > span {
  color: var(--by-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.by-btn {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 16px;
  background: transparent;
  color: var(--by-text);
  font-weight: 700;
  transition: border-color .16s ease, background .16s ease, color .16s ease, transform .16s ease;
}
.by-btn:hover { transform: translateY(-1px); }
.by-btn-quiet { border-color: var(--by-line); background: rgba(255,255,255,.04); color: var(--by-muted); }
.by-btn-quiet:hover { border-color: var(--by-line-strong); background: rgba(214,179,101,.08); color: #fff; }
.by-btn-gold, .by-btn-primary { border-color: #d6b365; background: var(--by-gold); color: #10141c; }
.by-btn-gold:hover, .by-btn-primary:hover { background: var(--by-gold-bright); }
.by-btn-block { width: 100%; min-height: 48px; }

.by-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  border: 1px solid rgba(66,211,146,.24);
  border-radius: 999px;
  padding: 0 13px;
  background: rgba(66,211,146,.08);
  color: #b9f5d8;
  font-weight: 700;
}
.by-status i { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--by-green); animation: by-live-breathe 2.2s ease-in-out infinite; }
.by-status[data-live-state="offair"] { border-color: rgba(150,164,186,.22); background: rgba(150,164,186,.07); color: var(--by-muted); }
.by-status[data-live-state="offair"] i { background: var(--by-muted-2); animation: none; box-shadow: none; }
.by-status-small { min-height: 30px; font-size: 12px; }

/* Password access */
.by-entry-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 36px, 1360px);
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top) + 18px) 0 16px;
}
.by-entry-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .7fr);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  width: min(100% - 36px, 1360px);
  min-height: calc(100vh - 84px);
  min-height: calc(100dvh - 84px);
  margin: 0 auto;
  padding: 28px 0 64px;
}
.by-entry-copy { max-width: 760px; }
.by-entry-copy .by-kicker { margin: 28px 0 0; }
.by-entry-copy h1 { margin: 14px 0 22px; max-width: 9ch; color: #fff; font-size: clamp(48px, 7vw, 92px); line-height: .98; font-weight: 800; letter-spacing: 0; }
.by-entry-lead { max-width: 63ch; margin: 0; color: var(--by-muted); font-size: 17px; line-height: 1.85; }
.by-entry-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 34px; border-top: 1px solid var(--by-line); border-bottom: 1px solid var(--by-line); }
.by-entry-metrics article { min-width: 0; padding: 20px 18px; border-right: 1px solid var(--by-line); }
.by-entry-metrics article:last-child { border-right: 0; }
.by-entry-metrics b { display: block; color: var(--by-gold-bright); font-size: clamp(25px, 3vw, 38px); font-variant-numeric: tabular-nums; }
.by-entry-metrics span { display: block; margin-top: 7px; color: var(--by-muted-2); font-size: 12px; }
.by-access-card, .by-member-card {
  border: 1px solid var(--by-line);
  border-top: 2px solid var(--by-gold);
  border-radius: var(--by-radius);
  padding: clamp(26px, 4vw, 42px);
  background: rgba(10, 17, 29, .94);
  box-shadow: var(--by-shadow);
}
.by-access-card h2, .by-member-card h2 { margin: 11px 0 8px; color: #fff; font-size: 30px; }
.by-access-card > p, .by-auth-note { color: var(--by-muted); line-height: 1.7; }
.by-field { display: grid; gap: 8px; margin-top: 18px; color: var(--by-muted); font-size: 12px; font-weight: 700; }
.by-field input, .by-field select {
  width: 100%;
  height: 48px;
  border: 1px solid var(--by-line);
  border-radius: 6px;
  padding: 0 13px;
  background: #090f1a;
  color: #fff;
  font-size: 15px;
}
.by-input-wrap, .by-input-action { display: flex; align-items: stretch; }
.by-input-wrap input, .by-input-action input { min-width: 0; flex: 1; border-radius: 6px 0 0 6px; }
.by-password-toggle, .by-input-action button {
  min-width: 72px;
  border: 1px solid var(--by-line);
  border-left: 0;
  border-radius: 0 6px 6px 0;
  background: #111b2b;
  color: var(--by-gold-bright);
}
.by-form-help, .by-composer-note { margin: 9px 0 14px; color: var(--by-muted-2); font-size: 12px; line-height: 1.5; }
.by-form-error { min-height: 20px; margin: 8px 0; color: #ff9e98; font-size: 13px; }
.by-risk-note { display: flex; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--by-line); color: var(--by-muted-2); font-size: 12px; line-height: 1.6; }
.by-risk-note b { color: var(--by-gold); white-space: nowrap; }

/* Live room */
.by-room-page { overflow: hidden; }
.by-live-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  height: 68px;
  padding: 0 max(20px, calc((100vw - 1700px) / 2));
  border-bottom: 1px solid var(--by-line);
  background: rgba(5,8,17,.96);
}
.by-header-meta { display: flex; align-items: center; justify-content: center; min-width: 0; gap: 16px; color: var(--by-muted); }
.by-header-room { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.by-online { color: var(--by-muted-2); }
.by-online b { display: inline-block; min-width: 3ch; color: #fff; font-variant-numeric: tabular-nums; transition: color .2s ease, transform .2s ease; }
.by-online b.is-updating { color: var(--by-gold-bright); transform: translateY(-1px); }
.by-header-actions { display: flex; align-items: center; gap: 8px; }
.by-user-chip { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--by-gold-bright); font-weight: 700; }
.by-room-shell {
  display: grid;
  grid-template-columns: 280px minmax(560px, 1fr) minmax(350px, 420px);
  grid-template-areas: "service broadcast workspace";
  gap: 12px;
  width: min(100% - 24px, 1700px);
  height: calc(100vh - 80px);
  height: calc(100dvh - 80px);
  margin: 12px auto 0;
}
.by-broadcast, .by-service-rail, .by-workspace {
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--by-line);
  border-radius: var(--by-radius);
  background: rgba(9,17,31,.94);
  box-shadow: var(--by-shadow);
  overflow: hidden;
}
.by-broadcast { grid-area: broadcast; display: flex; flex-direction: column; }
.by-service-rail { grid-area: service; padding: 22px; overflow-y: auto; }
.by-service-rail,
.by-rail-insight .by-remote-content,
.by-emoji-popover,
.by-quickphrase-popover,
.by-colorbar-popover {
  scrollbar-width: thin;
  scrollbar-color: rgba(159,176,201,.38) transparent;
}
.by-service-rail::-webkit-scrollbar,
.by-rail-insight .by-remote-content::-webkit-scrollbar,
.by-emoji-popover::-webkit-scrollbar,
.by-quickphrase-popover::-webkit-scrollbar,
.by-colorbar-popover::-webkit-scrollbar { width: 5px; height: 5px; }
.by-service-rail::-webkit-scrollbar-track,
.by-rail-insight .by-remote-content::-webkit-scrollbar-track,
.by-emoji-popover::-webkit-scrollbar-track,
.by-quickphrase-popover::-webkit-scrollbar-track,
.by-colorbar-popover::-webkit-scrollbar-track { background: transparent; }
.by-service-rail::-webkit-scrollbar-thumb,
.by-rail-insight .by-remote-content::-webkit-scrollbar-thumb,
.by-emoji-popover::-webkit-scrollbar-thumb,
.by-quickphrase-popover::-webkit-scrollbar-thumb,
.by-colorbar-popover::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(159,176,201,.34); }
.by-service-rail::-webkit-scrollbar-thumb:hover,
.by-rail-insight .by-remote-content::-webkit-scrollbar-thumb:hover,
.by-emoji-popover::-webkit-scrollbar-thumb:hover,
.by-quickphrase-popover::-webkit-scrollbar-thumb:hover,
.by-colorbar-popover::-webkit-scrollbar-thumb:hover { background: rgba(214,179,101,.55); }
.by-workspace { grid-area: workspace; display: flex; flex-direction: column; }
.by-broadcast-head, .by-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 64px; padding: 12px 18px; border-bottom: 1px solid var(--by-line); }
.by-broadcast-head { position: relative; justify-content: flex-start; overflow: hidden; }
.by-broadcast-title { min-width: 150px; flex: 0 1 auto; }
.by-room-announcement { position: relative; z-index: 1; display: grid; grid-template-columns: 76px minmax(0,1fr); width: clamp(280px, 42vw, 480px); min-width: 180px; height: 34px; flex: 0 1 480px; overflow: hidden; border: 1px solid var(--by-line); border-radius: 5px; background: rgba(5,10,18,.38); }
.by-room-announcement[hidden] { display: none; }
.by-room-announcement > b { display: grid; place-items: center; border-right: 1px solid var(--by-line); color: var(--by-gold-bright); font-size: 11px; letter-spacing: .04em; white-space: nowrap; }
.by-announcement-window { display: flex; min-width: 0; align-items: center; overflow: hidden; color: var(--by-muted); font-size: 12px; white-space: nowrap; }
/* BAOYING_R28_ANNOUNCEMENT_MARQUEE: JS measures a complete viewport-to-copy pass. */
.by-announcement-track { display: inline-block; width: max-content; min-width: 0; animation: none; transform: translate3d(0,0,0); will-change: transform; }
.by-announcement-track span { display: inline-block; padding: 0 12px; white-space: nowrap; }
.by-announcement-track.is-static { width: 100%; transform: translate3d(0,0,0) !important; will-change: auto; }
.by-announcement-track.is-scrolling { animation: by-announcement-measured var(--by-announcement-duration, 22s) linear infinite; }
.by-room-announcement:hover .by-announcement-track { animation-play-state: paused; }
.by-broadcast-head::after {
  position: absolute;
  top: 0;
  left: -38%;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240,211,141,.92), rgba(112,183,255,.5), transparent);
  content: "";
  animation: by-header-glint 9s cubic-bezier(.22,.61,.36,1) infinite;
}
.by-broadcast-head h1, .by-panel-head h2, .by-section-head h2 { margin: 5px 0 0; color: #fff; font-size: 17px; }
.by-line-state { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; border: 1px solid rgba(66,211,146,.22); border-radius: 999px; padding: 7px 10px; background: rgba(66,211,146,.07); color: #b9f5d8; font-size: 11px; font-weight: 700; }
.by-line-state::before { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--by-green); content: ""; animation: by-live-breathe 2.2s ease-in-out infinite; }
.by-line-state[data-line-state="offair"] { border-color: rgba(150,164,186,.22); background: rgba(150,164,186,.07); color: var(--by-muted); }
.by-line-state[data-line-state="offair"]::before { background: var(--by-muted-2); animation: none; box-shadow: none; }
.by-player-stage { position: relative; flex: 1 1 auto; min-height: 320px; background: #000; overflow: hidden; }
.by-player-stage video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.by-player-poster, .by-player-gate { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; padding: 24px; background: #05070b; text-align: center; }
.by-player-poster.is-hidden { display: none; }
.by-player-poster b, .by-player-gate b { color: #fff; font-size: 18px; }
.by-player-poster > span, .by-player-gate > span { color: var(--by-muted); }
.by-guest-player-notice, .by-guest-player-gate { position: absolute; z-index: 7; color: var(--by-text); box-shadow: 0 24px 70px rgba(0,0,0,.58); }
.by-guest-player-notice[hidden], .by-guest-player-gate[hidden] { display: none; }
.by-guest-player-notice { top: 50%; left: 50%; width: min(430px, calc(100% - 36px)); transform: translate(-50%,-50%); border: 1px solid var(--by-line-strong); border-radius: 9px; padding: 22px; background: rgba(12,22,38,.97); text-align: center; }
.by-guest-player-notice::before { position: absolute; top: 0; right: 18px; left: 18px; height: 1px; background: linear-gradient(90deg, transparent, rgba(240,211,141,.9), rgba(112,183,255,.48), transparent); content: ""; }
.by-guest-player-close { position: absolute; top: 6px; right: 7px; width: 34px; height: 34px; border: 0; background: transparent; color: var(--by-muted-2); font-size: 20px; }
.by-guest-player-kicker { color: var(--by-gold-bright); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.by-guest-player-notice > b, .by-guest-player-gate > b { margin: 8px 0 0; color: #fff; font-size: 20px; }
.by-guest-player-notice p, .by-guest-player-gate p { margin: 9px auto 0; max-width: 36em; color: var(--by-muted); font-size: 12px; line-height: 1.7; }
.by-guest-player-actions { display: flex; justify-content: center; gap: 8px; margin-top: 17px; }
.by-guest-player-actions .by-btn { min-height: 40px; padding: 0 16px; }
.by-guest-player-gate { inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 26px; background: rgba(3,6,11,.96); text-align: center; }
.by-signal-ring { display: grid; width: 7px; height: 7px; margin-bottom: 6px; place-items: center; border: 0; border-radius: 50%; }
.by-signal-ring i { width: 7px; height: 7px; border-radius: 50%; background: var(--by-green); animation: by-live-breathe 2.2s ease-in-out infinite; }

@keyframes by-live-breathe {
  0%, 100% { opacity: .78; box-shadow: 0 0 0 3px rgba(66,211,146,.09), 0 0 6px rgba(66,211,146,.12); }
  50% { opacity: 1; box-shadow: 0 0 0 7px rgba(66,211,146,.02), 0 0 13px rgba(66,211,146,.48); }
}
@keyframes by-header-glint {
  0%, 58% { transform: translateX(0); opacity: 0; }
  64% { opacity: .86; }
  82%, 100% { transform: translateX(370%); opacity: 0; }
}
@keyframes by-accent-drift {
  0%, 100% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
}
.by-player-start { min-height: 42px; margin-top: 10px; border: 1px solid var(--by-gold); border-radius: 6px; padding: 0 24px; background: var(--by-gold); color: #111722; font-weight: 800; }
.by-player-start[hidden] { display: none; }
.by-player-state { position: absolute; left: 14px; bottom: 14px; z-index: 3; border-radius: 4px; padding: 7px 10px; background: rgba(0,0,0,.72); color: var(--by-muted); font-size: 12px; }
.by-player-state:empty { display: none; }
.by-player-footer { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 16px; min-height: 74px; padding: 12px 18px; border-top: 1px solid var(--by-line); }
.by-player-footer > div { min-width: 0; }
.by-player-footer b { display: block; color: var(--by-gold-bright); font-size: 14px; }
.by-player-footer span { display: block; max-width: 62ch; margin-top: 5px; color: var(--by-muted); font-size: 12px; line-height: 1.55; }
.by-live-desk[hidden], .by-teacher-viewpoint[hidden] { display: none; }
.by-live-desk { flex: 0 0 auto; border-top: 1px solid var(--by-line); background: #09111e; }
.by-teacher-viewpoint { display: grid; grid-template-columns: 104px minmax(0,1fr) auto; align-items: center; gap: 14px; min-height: 58px; padding: 9px 18px; }
.by-desk-label { display: flex; align-items: center; gap: 8px; color: var(--by-gold-bright); font-size: 11px; white-space: nowrap; }
.by-desk-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--by-green); animation: by-live-breathe 2.2s ease-in-out infinite; }
.by-viewpoint-copy { display: flex; align-items: baseline; min-width: 0; gap: 10px; }
.by-viewpoint-copy strong { flex: 0 0 auto; color: #fff; font-size: 12px; }
.by-viewpoint-copy p { margin: 0; overflow: hidden; color: #dce5f3; font-size: 13px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.by-teacher-viewpoint time { color: var(--by-muted-2); font-size: 10px; font-variant-numeric: tabular-nums; }
.by-section-head {
  position: relative;
  padding: 16px 0 18px;
  border-bottom: 0;
}
.by-section-head::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(214,179,101,.86), rgba(112,183,255,.48) 44%, transparent 70%, rgba(214,179,101,.34));
  background-size: 220% 100%;
  content: "";
  animation: by-accent-drift 10s ease-in-out infinite;
}
.by-section-head > span { font-size: 11px; letter-spacing: .08em; }
.by-broadcast-head h1, .by-panel-head h2, .by-section-head h2 { font-weight: 800; }
.by-section-head h2 { margin-top: 7px; font-size: 23px; line-height: 1.2; }
.by-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.by-service-grid button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  overflow: hidden;
  border: 1px solid var(--by-line);
  border-radius: 7px;
  padding: 13px 10px;
  background: #101a2a;
  color: var(--by-text);
  text-align: center;
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.by-service-grid button::before {
  position: absolute;
  top: 0;
  right: 12px;
  left: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214,179,101,.72), rgba(112,183,255,.42), transparent);
  content: "";
}
.by-service-grid button::after {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(214,179,101,.52);
  box-shadow: 0 0 0 3px rgba(214,179,101,.05);
  content: "";
  transition: background-color .16s ease, box-shadow .16s ease;
}
.by-service-grid button:hover { transform: translateY(-1px); border-color: var(--by-line-strong); background: #152136; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.by-service-grid button:hover::after { background: var(--by-green); box-shadow: 0 0 0 4px rgba(66,211,146,.08), 0 0 10px rgba(66,211,146,.32); }
.by-service-grid button:active { transform: translateY(0); }
.by-service-grid button span { display: block; min-width: 0; }
.by-service-grid button strong, .by-service-grid button small { display: block; }
.by-service-grid button strong { color: #f5f7fb; font-size: 15px; line-height: 1.25; }
.by-service-grid button small { margin-top: 5px; overflow: hidden; color: var(--by-muted-2); font-size: 10px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.by-rail-insights { display: grid; gap: 1px; margin-top: 20px; border-top: 1px solid var(--by-line); border-bottom: 1px solid var(--by-line); }
.by-rail-insight { min-width: 0; background: rgba(5,10,18,.18); }
.by-rail-insight + .by-rail-insight { border-top: 1px solid var(--by-line); }
.by-rail-insight summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 70px;
  gap: 12px;
  padding: 13px 4px 13px 18px;
  color: var(--by-text);
  cursor: pointer;
  list-style: none;
}
.by-rail-insight summary::-webkit-details-marker { display: none; }
.by-rail-insight summary::before { position: absolute; left: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--by-muted-2); content: ""; }
.by-rail-insight[open] summary::before { background: var(--by-green); animation: by-live-breathe 2.5s ease-in-out infinite; }
.by-rail-insight summary > span { display: block; min-width: 0; flex: 1; }
.by-rail-insight summary strong, .by-rail-insight summary small { display: block; }
.by-rail-insight summary strong { color: #fff; font-size: 15px; }
.by-rail-insight summary small { margin-top: 5px; color: var(--by-muted-2); font-size: 10px; font-weight: 400; }
.by-rail-insight summary > i { width: 8px; height: 8px; flex: 0 0 auto; margin-right: 4px; border-right: 1px solid var(--by-gold); border-bottom: 1px solid var(--by-gold); transform: rotate(45deg); transition: transform .2s ease; }
.by-rail-insight[open] summary > i { transform: rotate(225deg); }
.by-rail-insight-body { border-top: 1px solid rgba(205,218,238,.08); padding: 10px 0 14px; }
.by-rail-insight-body > button { display: block; min-height: 34px; margin: 0 0 8px auto; border: 0; border-bottom: 1px solid var(--by-line); padding: 0; background: transparent; color: var(--by-muted-2); font-size: 10px; }
.by-rail-insight .by-remote-content { max-height: 440px; padding: 0; overflow: auto; }
.by-rail-insight .by-empty-state, .by-rail-insight .by-loading-state, .by-rail-insight .by-error-state { min-height: 96px; padding: 16px 4px; font-size: 11px; }
.by-rail-insight .by-trend-list { gap: 0; }
.by-rail-insight .by-trend-item { border: 0; border-bottom: 1px solid rgba(205,218,238,.09); border-radius: 0; padding: 13px 3px; background: transparent; }
.by-rail-insight .by-trend-item:last-child { border-bottom: 0; }
.by-rail-insight .by-trend-item h3 { font-size: 13px; }
.by-rail-insight .by-trend-item p { margin: 6px 0 8px; font-size: 11px; -webkit-line-clamp: 2; }
.by-rail-insight .by-trend-detail h3 { margin-top: 16px; font-size: 16px; }
.by-rail-insight .by-detail-copy { font-size: 12px; line-height: 1.75; }
.by-rail-insight .by-detail-back { min-height: 34px; font-size: 10px; }
.by-session-card { position: relative; margin-top: 18px; border: 1px solid var(--by-line); border-radius: 7px; padding: 17px 15px 7px; background: rgba(16,26,42,.58); overflow: hidden; }
.by-session-card::before { position: absolute; top: 0; right: 14px; left: 14px; height: 1px; background: linear-gradient(90deg, rgba(214,179,101,.62), rgba(112,183,255,.34), transparent); content: ""; }
.by-session-card dl { margin: 10px 0 0; }
.by-session-card dl > div { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; border-bottom: 1px solid rgba(205,218,238,.08); }
.by-session-card dt { color: var(--by-muted-2); }
.by-session-card dd { margin: 0; color: var(--by-muted); text-align: right; }
.by-tabs { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); min-height: 54px; border-bottom: 1px solid var(--by-line); }
.by-tabs button { position: relative; border: 0; background: transparent; color: var(--by-muted-2); font-weight: 700; }
.by-tabs button::after { position: absolute; right: 18px; bottom: 0; left: 18px; height: 2px; background: transparent; content: ""; }
.by-tabs button.is-active { color: var(--by-gold-bright); }
.by-tabs button.is-active::after { background: var(--by-gold); }
.by-panel { display: none; min-height: 0; flex: 1; }
.by-panel.is-active { display: flex; flex-direction: column; }
.by-panel-head { min-height: 62px; }
.by-panel-head em { border: 1px solid var(--by-line); border-radius: 999px; padding: 6px 9px; color: var(--by-muted-2); font-size: 10px; font-style: normal; }
.by-panel-head > button { min-height: 34px; border: 1px solid var(--by-line); border-radius: 5px; background: #111b2b; color: var(--by-muted); padding: 0 11px; }
.by-chat-feed { flex: 1; min-height: 0; overflow-y: auto; padding: 12px 14px; scrollbar-color: #33425a transparent; }
.by-message { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 9px; padding: 10px 0; border-bottom: 1px solid rgba(205,218,238,.07); }
.by-message-avatar { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--by-line); border-radius: 50%; background: #152137; color: var(--by-gold-bright); font-size: 12px; font-weight: 800; }
.by-message-head { display: flex; align-items: center; min-width: 0; gap: 7px; }
.by-message-name { overflow: hidden; color: #fff; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.by-role-badge { flex: 0 0 auto; border: 1px solid var(--by-line); border-radius: 4px; padding: 2px 5px; color: var(--by-muted); font-size: 9px; }
.by-role-badge.is-gold { border-color: rgba(214,179,101,.4); background: rgba(214,179,101,.1); color: var(--by-gold-bright); }
.by-role-badge.is-staff { border-color: rgba(112,183,255,.35); background: rgba(112,183,255,.08); color: #a9d4ff; }
.by-message.is-moderator .by-message-name, .by-message.is-teacher .by-message-name { font-weight: 900; letter-spacing: .02em; }
.by-message.is-cyan .by-message-name, .by-role-badge.is-cyan { color: #78dbff; }
.by-message.is-violet .by-message-name, .by-role-badge.is-violet { color: #c5a1ff; }
.by-message.is-coral .by-message-name, .by-role-badge.is-coral { color: #ff9b89; }
.by-message.is-gold .by-message-name, .by-role-badge.is-gold { color: var(--by-gold-bright); }
.by-message.is-moderator .by-message-avatar, .by-message.is-teacher .by-message-avatar { border-color: currentColor; box-shadow: 0 0 0 3px rgba(112,183,255,.07); }
.by-message-time { margin-left: auto; color: var(--by-muted-2); font-size: 10px; font-variant-numeric: tabular-nums; }
.by-message-body { margin-top: 5px; color: #dfe6f1; line-height: 1.55; word-break: break-word; }
.by-message-body img { display: block; max-width: min(100%, 240px); max-height: 220px; margin-top: 6px; border-radius: 6px; object-fit: contain; }
.by-message.is-pending { margin: 0 -8px; border: 1px dashed rgba(214,179,101,.24); border-radius: 6px; padding: 10px 8px; background: rgba(214,179,101,.035); }
.by-message.is-pending .by-message-body { color: #d6deea; }
.by-message-actions { display: flex; gap: 6px; margin-top: 7px; }
.by-message-actions button { min-height: 28px; border: 1px solid var(--by-line); border-radius: 4px; background: transparent; color: var(--by-muted-2); font-size: 10px; }
.by-review-label { display: inline-flex; align-items: center; color: var(--by-gold-bright); font-size: 10px; font-weight: 800; }
.by-message-actions button.is-approve { border-color: rgba(66,211,146,.38); background: rgba(66,211,146,.08); color: #9af0c8; }
.by-message-actions button.is-reject { border-color: rgba(255,107,105,.35); background: rgba(255,107,105,.07); color: #ffaaa8; }
.by-chat-composer { position: relative; border-top: 1px solid var(--by-line); padding: 9px 12px 10px; background: #080e18; }
.by-chat-tools { display: flex; align-items: center; gap: 5px; min-height: 34px; }
.by-chat-tools > button { min-height: 28px; border: 1px solid var(--by-line); border-radius: 4px; background: #111b2b; color: var(--by-muted); padding: 0 9px; font-size: 11px; }
.by-persona-select { display: flex; align-items: center; min-width: 0; gap: 6px; margin-left: auto; color: var(--by-muted-2); font-size: 10px; }
.by-persona-select select { max-width: 120px; height: 28px; border: 1px solid var(--by-line); border-radius: 4px; background: #111b2b; color: #fff; font-size: 11px; }
.by-emoji-popover, .by-quickphrase-popover, .by-colorbar-popover { position: absolute; left: 12px; bottom: 112px; z-index: 5; overflow-y: auto; border: 1px solid var(--by-line-strong); border-radius: 7px; padding: 10px; background: #0d1726; box-shadow: 0 18px 45px rgba(0,0,0,.42); }
.by-emoji-popover { width: min(360px, calc(100% - 24px)); max-height: 292px; }
.by-quickphrase-popover { left: 64px; width: min(380px, calc(100% - 76px)); max-height: 286px; }
.by-colorbar-popover { left: 126px; width: min(304px, calc(100% - 138px)); max-height: 328px; }
.by-emoji-popover[hidden], .by-quickphrase-popover[hidden], .by-colorbar-popover[hidden] { display: none; }
.by-emoji-head { display: flex; align-items: center; justify-content: space-between; min-height: 28px; margin-bottom: 7px; border-bottom: 1px solid var(--by-line); color: var(--by-muted-2); font-size: 10px; }
.by-emoji-head b { color: #fff; font-size: 11px; }
.by-emoji-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.by-quickphrase-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.by-colorbar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.by-colorbar-grid button:last-child { grid-column: 1 / -1; }
.by-emoji-popover button, .by-quickphrase-popover button, .by-colorbar-popover button { display: grid; min-width: 0; min-height: 34px; place-items: center; border: 1px solid transparent; border-radius: 4px; padding: 0; background: rgba(255,255,255,.035); color: #fff; font-size: 19px; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.by-quickphrase-popover button { justify-items: start; min-height: 38px; padding: 0 10px; color: var(--by-text); font-size: 11px; line-height: 1.35; text-align: left; }
.by-colorbar-popover button { display: flex; align-items: center; justify-content: flex-start; padding: 0 12px; color: var(--by-text); font-size: 12px; font-weight: 800; letter-spacing: .03em; }
.by-colorbar-popover button::before { width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--by-gold); box-shadow: 0 0 0 4px rgba(214,179,101,.08); content: ""; }
.by-colorbar-popover button[data-colorbar*="看多"]::before { background: #2dd49b; box-shadow: 0 0 0 4px rgba(45,212,155,.09); }
.by-colorbar-popover button[data-colorbar*="看空"]::before { background: #ff6b69; box-shadow: 0 0 0 4px rgba(255,107,105,.09); }
.by-colorbar-popover button[data-colorbar*="震荡"]::before { background: #f2b84b; box-shadow: 0 0 0 4px rgba(242,184,75,.09); }
.by-colorbar-popover button[data-colorbar*="鲜花"]::before { background: #d5a184; box-shadow: 0 0 0 4px rgba(213,161,132,.09); }
.by-emoji-popover button:hover, .by-emoji-popover button:focus-visible, .by-quickphrase-popover button:hover, .by-quickphrase-popover button:focus-visible, .by-colorbar-popover button:hover, .by-colorbar-popover button:focus-visible { border-color: rgba(214,179,101,.45); background: rgba(214,179,101,.1); transform: translateY(-1px); }
.by-colorbar { --by-strip-tone: #d8b562; --by-strip-border: rgba(216,181,98,.52); position: relative; display: flex; width: min(100%, 272px); min-height: 32px; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--by-strip-border); border-radius: 5px; padding: 0; background: #101722; color: var(--by-strip-tone); box-shadow: 0 4px 14px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.035); }
.by-colorbar::before { position: absolute; top: 4px; bottom: 4px; left: 0; width: 2px; border-radius: 0 2px 2px 0; background: var(--by-strip-tone); opacity: .88; content: ""; }
.by-colorbar .by-colorbar-art { display: block; width: 100%; max-width: 270px; height: 30px; max-height: 30px; margin: 0; border-radius: 0; object-fit: contain; }
.by-colorbar-label { display: none; min-height: 30px; align-items: center; justify-content: center; padding: 0 18px; color: #fff4cf; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.by-colorbar.is-asset-missing .by-colorbar-art { display: none; }
.by-colorbar.is-asset-missing .by-colorbar-label { display: flex; }
.by-colorbar.is-flower { --by-strip-tone: #d5a184; --by-strip-border: rgba(213,161,132,.5); }
.by-colorbar.is-bullish { --by-strip-tone: #2dd49b; --by-strip-border: rgba(45,212,155,.5); }
.by-colorbar.is-bearish { --by-strip-tone: #ff6b69; --by-strip-border: rgba(255,107,105,.5); }
.by-colorbar.is-range { --by-strip-tone: #f2b84b; --by-strip-border: rgba(242,184,75,.52); }
.by-composer-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.by-composer-row textarea { width: 100%; min-height: 46px; max-height: 92px; resize: none; border: 1px solid var(--by-line); border-radius: 6px; padding: 12px; background: #101827; color: #fff; line-height: 1.45; }
.by-composer-row .by-btn { min-width: 70px; }
.by-composer-note { margin: 6px 0 0; }
.by-empty-state, .by-loading-state, .by-error-state { display: grid; min-height: 140px; place-items: center; padding: 24px; color: var(--by-muted-2); text-align: center; }
.by-error-state { color: #ff9e98; }
.by-remote-content { flex: 1; min-height: 0; overflow: auto; padding: 14px; color: var(--by-text); }
.by-remote-content * { max-width: 100%; }
.by-remote-content img { max-width: 100%; height: auto; }
.by-remote-content a { color: var(--by-gold-bright); }
.by-remote-content article, .by-remote-content li, .by-remote-content .item { border-color: var(--by-line) !important; background: #111b2b !important; color: var(--by-text) !important; }
.by-trend-list { display: grid; gap: 10px; }
.by-trend-item { width: 100%; border: 1px solid var(--by-line); border-radius: 6px; padding: 15px 16px; background: #111b2b; color: var(--by-text); text-align: left; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.by-trend-item:hover { border-color: var(--by-line-strong); background: #152136; transform: translateY(-1px); }
.by-trend-item h3 { margin: 0; color: #fff; font-size: 15px; line-height: 1.45; }
.by-trend-item p { display: -webkit-box; margin: 8px 0 10px; overflow: hidden; color: var(--by-muted); font-size: 12px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.by-trend-item > span { color: var(--by-muted-2); font-size: 10px; font-variant-numeric: tabular-nums; }
.by-trend-detail { padding: 4px 2px 18px; background: transparent !important; }
.by-detail-back { min-height: 38px; border: 1px solid var(--by-line); border-radius: 5px; background: #111b2b; color: var(--by-gold-bright); padding: 0 12px; }
.by-trend-detail h3 { margin: 22px 0 8px; color: #fff; font-size: 21px; line-height: 1.45; }
.by-detail-meta { margin: 0 0 20px; color: var(--by-muted-2); font-size: 11px; }
.by-detail-copy { color: #dce5f3; font-size: 14px; line-height: 1.9; white-space: pre-wrap; word-break: break-word; }
.by-tab-badge { display: inline-flex; min-width: 18px; height: 18px; align-items: center; justify-content: center; margin-left: 6px; border-radius: 9px; padding: 0 5px; background: #df604f; color: #fff; font-size: 11px; font-weight: 700; }
.by-tab-badge[hidden] { display: none !important; }
.by-support-desk { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; min-height: 450px; padding: 18px; }
.by-support-thread, .by-support-callback, .by-support-fallback { border: 1px solid var(--by-line); border-radius: 8px; background: #111b2b; }
.by-support-thread { display: grid; grid-template-rows: auto minmax(240px, 1fr) auto; min-width: 0; overflow: hidden; }
.by-support-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--by-line); padding: 16px 18px; }
.by-support-intro b { color: #fff; font-size: 16px; }
.by-support-intro p { max-width: 60ch; margin: 5px 0 0; color: var(--by-muted); font-size: 13px; line-height: 1.6; }
.by-support-intro > span { flex: none; color: var(--by-gold); font-size: 12px; }
.by-support-feed { display: flex; flex-direction: column; gap: 12px; overflow-y: auto; padding: 18px; }
.by-support-message { max-width: 78%; }
.by-support-message.is-member { align-self: flex-end; }
.by-support-message.is-agent { align-self: flex-start; }
.by-support-message > div { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 5px; color: var(--by-muted); font-size: 11px; }
.by-support-message strong { color: #d9e6f5; font-weight: 600; }
.by-support-message p { margin: 0; border: 1px solid #26374d; border-radius: 8px; padding: 10px 12px; background: #0c1624; color: #edf4fb; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.by-support-message.is-member p { border-color: rgba(216,178,94,.42); background: #222019; }
.by-support-composer { border-top: 1px solid var(--by-line); padding: 14px 18px 16px; }
.by-support-composer label { display: block; margin-bottom: 7px; color: #c9d6e5; font-size: 12px; }
.by-support-composer textarea, .by-support-callback input, .by-support-callback textarea { width: 100%; border: 1px solid #304056; border-radius: 6px; padding: 11px 12px; background: #0b1421; color: #fff; outline: none; resize: vertical; }
.by-support-composer textarea:focus, .by-support-callback input:focus, .by-support-callback textarea:focus { border-color: var(--by-gold); box-shadow: 0 0 0 2px rgba(216,178,94,.12); }
.by-support-composer > div, .by-support-submit { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; }
[data-support-error] { color: #ff9d91; font-size: 12px; }
.by-support-fallback { width: 230px; align-self: start; padding: 18px; }
.by-support-fallback > span { color: var(--by-gold); font-size: 11px; letter-spacing: .1em; }
.by-support-fallback h3 { margin: 7px 0 0; color: #fff; }
.by-support-fallback p { color: var(--by-muted); font-size: 13px; line-height: 1.6; }
.by-support-fallback img { display: block; width: 150px; max-width: 100%; aspect-ratio: 1; margin: 15px auto; border: 8px solid #fff; border-radius: 6px; object-fit: contain; background: #fff; }
.by-support-fallback .by-btn { width: 100%; }
.by-support-callback { padding-bottom: 18px; }
.by-support-callback form { padding: 18px; }
.by-support-callback label { display: block; color: #c9d6e5; font-size: 12px; }
.by-support-callback label > span { display: block; margin-bottom: 7px; }
.by-support-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.by-support-consent { display: flex !important; align-items: flex-start; gap: 9px; margin-top: 12px; color: var(--by-muted) !important; line-height: 1.5; }
.by-support-consent input { width: 16px; height: 16px; margin-top: 2px; }
.by-support-consent span { margin: 0 !important; }
.by-activity-panel { padding: 18px; }
.by-activity-card { position: relative; overflow: hidden; border: 1px solid var(--by-line); border-radius: 7px; padding: 22px; background: #111b2b; }
.by-activity-card::before { position: absolute; top: 0; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--by-gold), rgba(112,183,255,.55), transparent); content: ""; }
.by-activity-state { display: inline-flex; align-items: center; gap: 8px; color: var(--by-gold-bright); font-size: 11px; font-weight: 800; }
.by-activity-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--by-green); animation: by-live-breathe 2.2s ease-in-out infinite; }
.by-activity-card h3 { margin: 14px 0 8px; color: #fff; font-size: 22px; }
.by-activity-summary { margin: 0; color: var(--by-muted); font-size: 14px; line-height: 1.75; }
.by-activity-period { margin: 14px 0 0; border-top: 1px solid var(--by-line); padding-top: 13px; color: var(--by-gold-bright); font-size: 11px; font-variant-numeric: tabular-nums; }
.by-activity-copy { margin-top: 16px; color: #dce5f3; font-size: 13px; line-height: 1.85; white-space: pre-wrap; }
.by-activity-copy:empty { display: none; }
.by-activity-actions { display: flex; margin-top: 18px; }
.by-activity-dialog { width: min(92vw, 620px); padding: 0; }
.by-activity-dialog-body { padding: 28px; }
.by-activity-dialog .by-activity-card { border: 0; padding: 8px 2px 2px; background: transparent; }
.by-site-footer { display: none; }

/* Dialogs and member page */
.by-dialog {
  width: min(92vw, 560px);
  max-height: 86dvh;
  border: 1px solid var(--by-line);
  border-top: 2px solid var(--by-gold);
  border-radius: 8px;
  padding: 28px;
  background: #0a1220;
  color: var(--by-text);
  box-shadow: 0 30px 100px rgba(0,0,0,.58);
}
.by-dialog::backdrop { background: rgba(1,4,9,.76); backdrop-filter: blur(4px); }
.by-dialog h2 { margin: 8px 0 16px; color: #fff; }
.by-dialog-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid var(--by-line); border-radius: 5px; background: #111b2b; color: var(--by-muted); font-size: 22px; }
.by-dialog-body { max-height: 68dvh; overflow: auto; color: var(--by-muted); line-height: 1.7; }
.by-dialog-body iframe { width: 100%; min-height: 62dvh; border: 0; background: #fff; }
.by-content-dialog { width: min(94vw, 880px); padding: 0; }
.by-dialog-header { padding: 28px 76px 20px 28px; border-bottom: 1px solid var(--by-line); background: #0d1728; }
.by-dialog-header > span { color: var(--by-gold); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.by-dialog-header h2 { margin: 7px 0 6px; font-size: 25px; }
.by-dialog-header p { max-width: 64ch; margin: 0; color: var(--by-muted); font-size: 13px; line-height: 1.6; }
.by-content-dialog .by-dialog-body { max-height: min(70dvh, 720px); padding: 22px 28px 28px; }
.by-resource-list { display: grid; gap: 1px; border: 1px solid var(--by-line); border-radius: 7px; background: var(--by-line); overflow: hidden; }
.by-resource-item { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 14px; min-height: 76px; padding: 12px 14px; background: #101a2a; }
.by-resource-index { color: var(--by-gold); font-size: 12px; font-weight: 800; font-variant-numeric: tabular-nums; }
.by-resource-item h3 { margin: 0; overflow-wrap: anywhere; color: #fff; font-size: 14px; }
.by-resource-item p { margin: 4px 0 0; color: var(--by-muted-2); font-size: 10px; }
.by-resource-action { min-width: 84px; border: 1px solid var(--by-line-strong); border-radius: 5px; padding: 8px 10px; color: var(--by-gold-bright); font-size: 11px; font-weight: 800; text-align: center; text-decoration: none; }
.by-resource-action:hover { background: rgba(214,179,101,.08); }
.by-resource-video video { display: block; width: 100%; max-height: 56dvh; border: 1px solid var(--by-line); border-radius: 7px; background: #000; }
.by-resource-video > p { margin: 13px 0 0; color: var(--by-muted); font-size: 12px; }
.by-resource-video-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.by-resource-video-actions .by-btn { display: inline-flex; align-items: center; justify-content: center; }
.by-service-copy { white-space: pre-wrap; color: var(--by-text); font-size: 15px; line-height: 1.9; }
.by-process-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.by-process-list li { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--by-line); }
.by-process-list li > span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--by-line-strong); border-radius: 50%; color: var(--by-gold-bright); font-size: 12px; font-weight: 800; }
.by-process-list h3 { margin: 0 0 5px; color: #fff; font-size: 15px; }
.by-process-list p { margin: 0; color: var(--by-muted); font-size: 13px; line-height: 1.7; }
.by-process-note { margin-top: 20px; border: 1px solid rgba(214,179,101,.24); border-radius: 6px; padding: 15px 16px; background: rgba(214,179,101,.05); }
.by-process-note strong { color: var(--by-gold-bright); }
.by-process-note p { margin: 5px 0 0; color: var(--by-muted); font-size: 12px; line-height: 1.7; }
.by-schedule-wrap { overflow: hidden; border: 1px solid var(--by-line); border-radius: 7px; }
.by-schedule-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.by-schedule-table th, .by-schedule-table td { border-right: 1px solid var(--by-line); border-bottom: 1px solid var(--by-line); padding: 12px 9px; text-align: center; }
.by-schedule-table tr > *:last-child { border-right: 0; }
.by-schedule-table tbody tr:last-child > * { border-bottom: 0; }
.by-schedule-table thead th { background: #111b2b; color: var(--by-gold-bright); font-size: 11px; }
.by-schedule-table tbody th { width: 130px; background: #0d1728; color: #fff; font-size: 11px; font-variant-numeric: tabular-nums; }
.by-schedule-table td { background: #101a2a; color: var(--by-text); font-size: 12px; line-height: 1.45; }
.by-schedule-table td.is-empty { color: var(--by-muted-2); }
.by-schedule-note { margin: 0; padding: 13px 15px; border-top: 1px solid var(--by-line); background: #0b1423; color: var(--by-muted-2); font-size: 11px; }
.by-schedule-list { margin: 18px 0; }
.by-schedule-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--by-line); }
.by-schedule-list dt { color: var(--by-muted); }
.by-schedule-list dd { margin: 0; color: var(--by-gold-bright); font-weight: 700; }
.by-auth-dialog { width: min(94vw, 660px); padding: 30px; }
.by-auth-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.by-auth-brand strong, .by-auth-brand small { display: block; }
.by-auth-brand small { margin-top: 4px; color: var(--by-muted-2); font-size: 11px; }
.by-auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-bottom: 1px solid var(--by-line); }
.by-auth-tabs button { min-height: 46px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--by-muted-2); font-weight: 700; }
.by-auth-tabs button.is-active { border-bottom-color: var(--by-gold); color: var(--by-gold-bright); }
.by-auth-form { display: none; }
.by-auth-form.is-active { display: block; padding-top: 20px; }
.by-auth-intro h2 { margin: 0 0 5px; font-size: 20px; }
.by-auth-intro p { margin: 0 0 18px; color: var(--by-muted); font-size: 12px; }
.by-auth-form .by-field { margin-top: 13px; }
.by-auth-form .by-field > small { display: block; margin-top: 5px; color: var(--by-muted-2); font-size: 10px; }
.by-auth-form .by-btn-block { min-height: 48px; margin-top: 6px; }
.by-auth-form [aria-invalid="true"] { border-color: #ff7770; }
.by-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.by-auth-note { margin: 18px 0 0; border-top: 1px solid var(--by-line); padding-top: 14px; font-size: 11px; }
.by-member-page { overflow: auto; }
.by-member-shell { display: grid; grid-template-columns: minmax(0,1fr) minmax(420px, 580px); align-items: center; gap: 70px; width: min(100% - 36px, 1260px); min-height: 100vh; min-height: 100dvh; margin: 0 auto; padding: 54px 0; }
.by-member-copy h1 { margin: 12px 0 18px; color: #fff; font-size: clamp(42px, 6vw, 74px); line-height: 1; }
.by-member-copy > p:not(.by-kicker) { max-width: 58ch; color: var(--by-muted); font-size: 16px; line-height: 1.8; }
.by-member-copy .by-kicker { margin-top: 54px; }
.by-member-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.by-member-points span { border: 1px solid var(--by-line); border-radius: 999px; padding: 8px 12px; color: var(--by-muted); }
.by-member-card .by-auth-tabs { margin: -16px 0 24px; }
.by-member-card .by-card-index { margin-top: 8px; }
.by-toast { position: fixed; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); z-index: 100; max-width: min(88vw, 360px); opacity: 0; transform: translateY(12px); border: 1px solid var(--by-line); border-left: 3px solid var(--by-gold); border-radius: 6px; padding: 12px 14px; background: #111b2b; color: #fff; box-shadow: var(--by-shadow); pointer-events: none; transition: opacity .16s ease, transform .16s ease; }
.by-toast.is-visible { opacity: 1; transform: translateY(0); }
@media (min-width: 1100px) {
  .by-tabs { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .by-mobile-panel-tab, .by-mobile-panel-view { display: none !important; }
}

@media (max-width: 1279px) {
  .by-room-shell { grid-template-columns: 240px minmax(480px,1fr) minmax(330px,380px); }
  .by-service-rail { padding: 16px; }
  .by-section-head h2 { font-size: 20px; }
  .by-service-grid { gap: 8px; }
  .by-service-grid button { min-height: 70px; padding: 10px 6px; }
  .by-service-grid button strong { font-size: 13px; }
  .by-service-grid button small { display: none; }
  .by-header-room { display: none; }
  .by-room-announcement { width: min(38%, 360px); min-width: 150px; flex-basis: 360px; grid-template-columns: 66px minmax(0,1fr); }
}

@media (max-width: 1099px) {
  .by-room-page { overflow: auto; }
  .by-live-header { grid-template-columns: auto minmax(0,1fr) auto; }
  .by-room-shell { grid-template-columns: minmax(0,1fr) minmax(340px, .68fr); grid-template-areas: "broadcast workspace" "service workspace"; height: auto; min-height: calc(100vh - 80px); min-height: calc(100dvh - 80px); }
  .by-service-rail { display: flex; gap: 12px; overflow-x: auto; }
  .by-service-rail .by-section-head, .by-rail-insights, .by-session-card { display: none; }
  .by-service-grid { display: flex; gap: 8px; margin: 0; }
  .by-service-grid button { min-width: 132px; min-height: 52px; justify-content: flex-start; padding: 7px 12px; text-align: left; }
  .by-service-grid button::before { display: none; }
  .by-service-grid button strong { font-size: 12px; }
  .by-workspace { min-height: 680px; }
}

@media (max-width: 767px) {
  body.by-room-page { overflow: hidden; background-image: none; }
  .by-live-header { position: relative; z-index: 20; display: flex; height: calc(58px + env(safe-area-inset-top)); gap: 8px; padding: env(safe-area-inset-top) 12px 0; }
  .by-live-header .by-brand-mark { width: 34px; height: 34px; font-size: 15px; }
  .by-live-header .by-brand strong { font-size: 14px; }
  .by-live-header .by-brand small, .by-header-room, .by-live-header .by-status, .by-user-chip { display: none; }
  .by-header-meta { margin-left: auto; }
  .by-online { font-size: 11px; white-space: nowrap; }
  .by-header-actions .by-btn { min-height: 44px; padding: 0 11px; font-size: 11px; }
  .by-room-shell { display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto minmax(0,1fr); grid-template-areas: "broadcast" "service" "workspace"; gap: 6px; width: 100%; height: calc(100vh - 58px - env(safe-area-inset-top)); height: calc(100dvh - 58px - env(safe-area-inset-top)); min-height: 0; margin: 0; }
  .by-broadcast, .by-service-rail, .by-workspace { border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }
  .by-broadcast { flex: none; }
  .by-broadcast-head { min-height: 42px; padding: 7px 12px; }
  .by-broadcast-title > span { display: none; }
  .by-broadcast-head h1 { margin: 0; font-size: 13px; }
  .by-room-announcement { display: none !important; }
  .by-line-state { padding: 5px 8px; font-size: 9px; }
  .by-player-stage { flex: none; min-height: 0; height: min(47vw, 230px); }
  .by-player-poster { gap: 5px; padding: 10px; }
  .by-player-poster .by-signal-ring { width: 7px; height: 7px; margin: 0 0 3px; }
  .by-player-poster .by-signal-ring i { width: 7px; height: 7px; }
  .by-player-poster b { font-size: 13px; }
  .by-player-poster > span { display: none; }
  .by-player-start { min-height: 44px; margin-top: 3px; padding: 0 17px; font-size: 11px; }
  .by-teacher-viewpoint { grid-template-columns: 76px minmax(0,1fr) auto; min-height: 42px; gap: 7px; padding: 6px 10px; }
  .by-desk-label { font-size: 9px; }
  .by-viewpoint-copy strong { display: none; }
  .by-viewpoint-copy p { font-size: 11px; }
  .by-teacher-viewpoint time { font-size: 9px; }
  .by-player-footer { display: none; }
  .by-service-rail { display: block; min-height: 58px; padding: 7px 8px; overflow-x: auto; overflow-y: hidden; }
  .by-service-grid { display: flex; gap: 6px; width: max-content; margin: 0; }
  .by-service-grid button { min-width: 82px; min-height: 44px; justify-content: center; padding: 5px 8px; text-align: center; }
  .by-service-grid button::after { display: none; }
  .by-service-grid button strong { font-size: 11px; }
  .by-service-grid button small { display: none; }
  .by-workspace { min-height: 0; }
  .by-tabs { min-height: 44px; }
  .by-tabs { grid-template-columns: repeat(4, minmax(76px,1fr)); overflow-x: auto; }
  .by-tabs button { font-size: 11px; }
  .by-tabs button::after { right: 10px; left: 10px; }
  .by-panel-head { min-height: 44px; padding: 7px 11px; }
  .by-panel-head h2 { margin: 0; font-size: 14px; }
  .by-panel-head > div > span { display: none; }
  .by-panel-head em { padding: 4px 7px; font-size: 9px; }
  .by-chat-feed { padding: 4px 11px; }
  .by-message { grid-template-columns: 28px minmax(0,1fr); gap: 8px; padding: 7px 0; }
  .by-message-avatar { width: 28px; height: 28px; font-size: 10px; }
  .by-message-body { margin-top: 3px; font-size: 13px; }
  .by-chat-composer { padding: 6px 8px max(6px, env(safe-area-inset-bottom)); }
  .by-chat-tools { min-height: 44px; overflow-x: auto; }
  .by-chat-tools > button { min-height: 44px; white-space: nowrap; }
  .by-persona-select { flex: 0 0 auto; }
  .by-persona-select select, .by-composer-row textarea, .by-field input, .by-field select { font-size: 16px; }
  .by-composer-row textarea { min-height: 44px; padding: 10px; }
  .by-composer-row .by-btn { min-height: 44px; }
  .by-message-actions button { min-height: 40px; padding: 0 10px; }
  .by-composer-note { display: none; }
  .by-emoji-popover, .by-quickphrase-popover, .by-colorbar-popover { right: 12px; bottom: 88px; left: 12px; width: auto; max-height: min(240px, 38dvh); }
  .by-emoji-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .by-quickphrase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .by-colorbar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .by-emoji-popover button, .by-quickphrase-popover button, .by-colorbar-popover button { min-height: 44px; }
  .by-colorbar { width: min(100%, 250px); }
  .by-support-desk { grid-template-columns: 1fr; min-height: 0; padding: 12px; }
  .by-support-thread { min-height: 520px; }
  .by-support-message { max-width: 90%; }
  .by-support-intro { flex-direction: column; padding: 14px; }
  .by-support-form-grid { grid-template-columns: 1fr; }
  .by-support-fallback { width: 100%; }
  .by-site-footer { display: none; }
  .by-entry-nav { width: calc(100% - 28px); }
  .by-entry-shell { grid-template-columns: 1fr; width: calc(100% - 28px); min-height: auto; padding: 36px 0 30px; }
  .by-entry-copy { display: contents; }
  .by-entry-copy .by-status { order: 0; justify-self: start; }
  .by-entry-copy .by-kicker { order: 1; margin: 10px 0 0; }
  .by-entry-copy h1 { order: 2; margin: 7px 0 12px; font-size: 48px; }
  .by-entry-lead { order: 3; font-size: 14px; line-height: 1.7; }
  .by-entry-metrics { order: 4; margin-top: 14px; }
  .by-entry-metrics article { padding: 13px 9px; }
  .by-entry-metrics b { font-size: 21px; }
  .by-access-card { order: 5; padding: 24px 20px; }
  .by-access-card h2 { font-size: 25px; }
  .by-member-shell { grid-template-columns: 1fr; width: calc(100% - 28px); min-height: auto; gap: 28px; padding: 24px 0; }
  .by-member-copy h1 { font-size: 44px; }
  .by-member-copy .by-kicker { margin-top: 32px; }
  .by-member-card { padding: 24px 18px; }
  .by-form-grid { grid-template-columns: 1fr; }
  .by-dialog { width: calc(100vw - 20px); max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); padding: 22px 16px; }
  .by-content-dialog { padding: 0; }
  .by-dialog-header { padding: 22px 62px 16px 18px; }
  .by-dialog-header h2 { font-size: 21px; }
  .by-dialog-header p { font-size: 12px; }
  .by-content-dialog .by-dialog-body { max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); padding: 16px 18px 22px; }
  .by-resource-item { grid-template-columns: 28px minmax(0,1fr); gap: 8px; padding: 12px; }
  .by-resource-action { grid-column: 2; justify-self: start; min-width: 80px; }
  .by-activity-panel { padding: 12px; }
  .by-activity-card { padding: 17px; }
  .by-activity-card h3 { font-size: 19px; }
  .by-process-list li { grid-template-columns: 32px minmax(0,1fr); gap: 11px; padding: 15px 0; }
  .by-process-list li > span { width: 30px; height: 30px; }
  .by-schedule-wrap { overflow-x: auto; }
  .by-schedule-table { min-width: 680px; }
  .by-trend-item { padding: 13px; }
  .by-auth-dialog { overflow-y: auto; padding: 22px 16px; }
  .by-auth-brand { padding-right: 48px; }
  .by-auth-form.is-active { padding-top: 16px; }
  .by-guest-player-notice { width: calc(100% - 20px); padding: 18px 14px 15px; }
  .by-guest-player-notice > b, .by-guest-player-gate > b { font-size: 17px; }
  .by-guest-player-notice p, .by-guest-player-gate p { font-size: 11px; line-height: 1.55; }
  .by-guest-player-actions { flex-wrap: wrap; margin-top: 13px; }
  .by-guest-player-actions .by-btn { min-height: 36px; padding: 0 12px; font-size: 11px; }
}

@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
  .by-live-header { height: calc(50px + env(safe-area-inset-top)); }
  .by-live-header .by-brand-mark { width: 30px; height: 30px; }
  .by-room-shell { grid-template-rows: auto minmax(0,1fr); grid-template-areas: "broadcast" "workspace"; height: calc(100vh - 50px - env(safe-area-inset-top)); height: calc(100dvh - 50px - env(safe-area-inset-top)); }
  .by-broadcast-head, .by-service-rail { display: none; }
  .by-player-stage { height: clamp(110px, 38vh, 150px); }
  .by-tabs { min-height: 40px; }
  .by-panel-head { min-height: 40px; }
  .by-chat-composer { padding-top: 4px; }
  .by-chat-tools { min-height: 40px; }
  .by-chat-tools > button { min-height: 40px; }
}

@media (max-width: 380px), (max-height: 690px) and (max-width: 767px) {
  .by-service-rail { display: none; }
  .by-room-shell { grid-template-rows: auto minmax(0,1fr); grid-template-areas: "broadcast" "workspace"; }
  .by-player-stage { height: min(44vw, 190px); }
  .by-panel-head { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .by-status i, .by-line-state::before, .by-signal-ring i, .by-rail-insight[open] summary::before, .by-activity-state i, .by-desk-label span { animation: none !important; box-shadow: 0 0 0 5px rgba(66,211,146,.1); }
  .by-announcement-track { width: auto; min-width: 0; animation: none !important; }
  .by-colorbar .by-colorbar-art { display: none; }
  .by-colorbar-label { display: flex; }
  .by-announcement-track span { min-width: 0; overflow: hidden; padding: 0 12px; text-overflow: ellipsis; }
}

@keyframes by-announcement-measured {
  from { transform: translate3d(var(--by-announcement-start, 100%), 0, 0); }
  to { transform: translate3d(var(--by-announcement-end, -100%), 0, 0); }
}

/* V9.7.8 front-end customer-service workbench */
.by-support-staff-workbench { display: grid; grid-template-columns: minmax(220px, 250px) minmax(0, 1fr) minmax(190px, 230px); min-height: 560px; gap: 0; overflow: hidden; border: 1px solid var(--by-line); border-radius: 8px; background: #0b1421; }
.by-support-staff-queue, .by-support-staff-profile { min-width: 0; background: #0e1828; }
.by-support-staff-queue { display: flex; flex-direction: column; border-right: 1px solid var(--by-line); }
.by-support-staff-profile { border-left: 1px solid var(--by-line); }
.by-support-staff-queue-head, .by-support-staff-profile-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px; border-bottom: 1px solid var(--by-line); }
.by-support-staff-queue-head b, .by-support-staff-profile-head span { color: #fff; font-size: 14px; }
.by-support-staff-queue-head small, .by-support-staff-profile-head small { display: block; margin-top: 4px; color: var(--by-muted-2); font-size: 10px; }
.by-support-staff-online { display: inline-flex; align-items: center; gap: 6px; color: #9af0c8; font-size: 10px; }
.by-support-staff-online i, .by-mini-signal-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--by-green); box-shadow: 0 0 0 0 rgba(66,211,146,.35); animation: by-live-breathe 2.2s ease-in-out infinite; }
.by-support-staff-search { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 10px; border-bottom: 1px solid var(--by-line); }
.by-support-staff-search input { min-width: 0; border: 1px solid #304056; border-radius: 5px; padding: 9px 10px; background: #09121e; color: #fff; outline: none; font-size: 11px; }
.by-support-staff-search input:focus { border-color: var(--by-gold); }
.by-support-staff-search button { border: 1px solid var(--by-line); border-radius: 5px; background: #162337; color: var(--by-gold-bright); padding: 0 10px; font-size: 11px; }
.by-support-staff-list { flex: 1; min-height: 180px; overflow-y: auto; padding: 5px; scrollbar-color: #33425a transparent; }
.by-support-staff-session { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; width: 100%; gap: 8px; border: 0; border-bottom: 1px solid rgba(205,218,238,.06); border-radius: 5px; padding: 10px 8px; background: transparent; color: inherit; text-align: left; }
.by-support-staff-session:hover, .by-support-staff-session.is-active { background: #152136; }
.by-support-staff-session .by-avatar { width: 30px; height: 30px; font-size: 11px; }
.by-support-staff-session-body { min-width: 0; }
.by-support-staff-session-body strong, .by-support-staff-session-body small, .by-support-staff-session-body em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.by-support-staff-session-body strong { color: #fff; font-size: 12px; }
.by-support-staff-session-body small { margin-top: 3px; color: var(--by-muted-2); font-size: 9px; }
.by-support-staff-session-body em { margin-top: 4px; color: var(--by-muted); font-size: 10px; font-style: normal; }
.by-support-staff-session > b { min-width: 18px; border-radius: 9px; padding: 3px 5px; background: #d65b4e; color: #fff; font-size: 9px; text-align: center; }
.by-support-staff-leads { border-top: 1px solid var(--by-line); max-height: 260px; overflow-y: auto; }
.by-support-staff-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 11px 12px 7px; }
.by-support-staff-section-title b { color: #fff; font-size: 11px; }
.by-support-staff-section-title small { color: var(--by-muted-2); font-size: 9px; }
.by-support-staff-lead { margin: 0 8px 8px; border: 1px solid rgba(205,218,238,.08); border-radius: 6px; padding: 9px; background: rgba(17,27,43,.7); }
.by-support-staff-lead header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.by-support-staff-lead header strong { color: #fff; font-size: 11px; }
.by-support-staff-lead header a { color: var(--by-gold-bright); font-size: 10px; }
.by-support-staff-lead p { margin: 6px 0; color: var(--by-muted); font-size: 10px; line-height: 1.5; }
.by-support-staff-lead > small { display: block; color: var(--by-muted-2); font-size: 8px; }
.by-support-staff-lead-form { display: grid; grid-template-columns: auto auto 1fr auto; gap: 4px; margin-top: 7px; }
.by-support-staff-lead-form select, .by-support-staff-lead-form input { min-width: 0; border: 1px solid #304056; border-radius: 4px; padding: 5px; background: #0b1421; color: #dfe6f1; font-size: 9px; }
.by-support-staff-lead-form label { display: inline-flex; align-items: center; gap: 3px; color: var(--by-muted-2); font-size: 9px; white-space: nowrap; }
.by-support-staff-lead-form button { border: 1px solid var(--by-line); border-radius: 4px; background: #162337; color: var(--by-gold-bright); padding: 0 7px; font-size: 9px; }
.by-support-staff-thread { display: grid; grid-template-rows: auto minmax(250px,1fr) auto; min-width: 0; min-height: 0; background: #09121e; }
.by-support-staff-customer { min-height: 70px; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-bottom: 1px solid var(--by-line); }
.by-support-staff-customer > .by-avatar { flex: 0 0 auto; }
.by-support-staff-customer > div:not(.by-support-staff-placeholder) { min-width: 0; flex: 1; }
.by-support-staff-customer h3 { margin: 0; color: #fff; font-size: 15px; }
.by-support-staff-customer p { margin: 4px 0 0; overflow: hidden; color: var(--by-muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.by-support-staff-placeholder { width: 100%; display: flex; align-items: center; gap: 8px; color: var(--by-muted); }
.by-support-staff-placeholder b { color: #fff; font-size: 13px; }
.by-support-staff-placeholder small { color: var(--by-muted-2); font-size: 9px; }
.by-support-staff-feed { min-height: 0; overflow-y: auto; padding: 14px; scrollbar-color: #33425a transparent; }
.by-support-staff-feed .by-support-message { max-width: 76%; margin-bottom: 10px; }
.by-support-staff-composer { border-top: 1px solid var(--by-line); padding: 10px 12px 12px; background: #080f19; }
.by-support-staff-tools { display: flex; gap: 5px; margin-bottom: 6px; }
.by-support-staff-tools button { border: 1px solid var(--by-line); border-radius: 4px; background: #111b2b; color: var(--by-muted); padding: 5px 8px; font-size: 9px; }
.by-support-staff-compose-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.by-support-staff-compose-row textarea { width: 100%; min-height: 54px; border: 1px solid #304056; border-radius: 6px; padding: 9px 10px; background: #0b1421; color: #fff; outline: none; resize: vertical; font-size: 12px; }
.by-support-staff-compose-row textarea:focus { border-color: var(--by-gold); }
.by-support-staff-compose-row .by-btn { min-width: 64px; align-self: stretch; }
.by-support-staff-composer > [data-support-staff-error] { display: block; min-height: 16px; margin-top: 5px; color: #ff9d91; font-size: 10px; }
.by-support-staff-profile-body { padding: 13px; }
.by-support-staff-profile-body .by-field { display: block; margin-bottom: 12px; }
.by-support-staff-profile-body .by-field > span { display: block; margin-bottom: 6px; color: var(--by-muted); font-size: 10px; }
.by-support-staff-profile-body select, .by-support-staff-profile-body textarea { width: 100%; border: 1px solid #304056; border-radius: 5px; padding: 8px; background: #0b1421; color: #fff; outline: none; font-size: 10px; resize: vertical; }
.by-support-staff-check { display: flex; align-items: center; gap: 7px; margin: 0 0 13px; color: var(--by-muted); font-size: 10px; }
.by-support-staff-check input { width: 15px; height: 15px; }
.by-support-staff-profile .by-btn-block { width: 100%; }
@media (max-width: 1050px) {
  .by-support-staff-workbench { grid-template-columns: 210px minmax(0,1fr); }
  .by-support-staff-profile { display: none; }
}
@media (max-width: 767px) {
  .by-support-staff-workbench { grid-template-columns: 1fr; min-height: 0; }
  .by-support-staff-queue { border-right: 0; border-bottom: 1px solid var(--by-line); max-height: 300px; }
  .by-support-staff-list { max-height: 170px; }
  .by-support-staff-leads { max-height: 170px; }
  .by-support-staff-thread { min-height: 560px; }
  .by-support-staff-compose-row { grid-template-columns: 1fr; }
  .by-support-staff-compose-row .by-btn { min-height: 38px; }
}
