/* Shared visual language for platform, hall and host workspaces. */
:root{--rf-bg:#f3f5f7;--rf-surface:#ffffff;--rf-ink:#293544;--rf-muted:#768291;--rf-line:#dfe5eb;--rf-soft:#edf1f6;--rf-action:#4b6382;--blue:var(--rf-action);--pink:var(--rf-action);--ink:var(--rf-ink);--muted:var(--rf-muted);--line:var(--rf-line);font-family:"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif;background:var(--rf-bg);color:var(--rf-ink);font-size:16px}
body{background:var(--rf-bg);color:var(--rf-ink)}
body button,body a,body input,body select,body textarea{font-family:inherit}
body button:focus-visible,body a:focus-visible,body input:focus-visible,body select:focus-visible,body summary:focus-visible,body textarea:focus-visible{outline:2px solid #738fae;outline-offset:4px}
body header{background:#ffffff;border-color:var(--rf-line);color:var(--rf-ink)}
body .brand-logo{filter:grayscale(.25) saturate(.65);height:40px;width:112px;object-fit:contain;display:block}
body .header-title,body .edition,body .scope-name,body .account,body .account>span{color:var(--rf-muted);border-color:var(--rf-line)}
body .primary{background:var(--rf-action);color:#ffffff;border:1px solid var(--rf-action);min-height:44px;font-size:16px;font-weight:600;box-shadow:none;border-radius:7px;padding:11px 18px}
body .primary:hover:enabled{background:#3c526f;border-color:#3c526f}
body .secondary,body .quiet{background:#ffffff;color:#4f4f4f;border:1px solid #d6d6d6;border-radius:7px;min-height:44px;font-size:15px;padding:10px 16px}
body .secondary:hover:enabled,body .quiet:hover:enabled{background:var(--rf-soft);border-color:#bfbfbf}
body .subtle,body button.text-button,body a.text-button{color:#536d8e;font-size:15px}
body .subtle:hover{background:#f0f0f0;color:#292929}
body input,body select,body textarea{color:var(--rf-ink);border-color:#d6d6d6;background:#ffffff;font-size:16px}
body input::placeholder,body textarea::placeholder{color:#949494}
body input[type=checkbox]{accent-color:var(--rf-action)}
body nav{background:#fbfcfd;border-color:var(--rf-line)}
body .nav-button{color:#777777;font-size:16px;min-height:46px}
body .nav-button:hover{color:#4b6382;background:#f0f3f7}
body .nav-button.selected{color:#47617f;background:#e8eef5}
body .nav-button.selected:before{background:#738eac}
body .nav-button>span:last-child:not(.nav-icon),body .nav-button.selected>span:last-child:not(.nav-icon){color:#818181}
body .nav-caption,body .nav-foot,body .nav-foot strong,body .foot-symbol{color:#858585;border-color:var(--rf-line)}
body .service-nav summary,body .staff-service-menu summary{color:#565656}
body .summary,body .data-panel,body .device-card,body .assignment,body .staff-service-menu{background:#ffffff;border-color:var(--rf-line);box-shadow:none}
body .summary strong,body .summary>div:nth-child(2) strong{color:#3a3a3a}
body .summary span,body .page-heading p,body .section-label,body .panel-note,body td small,body .field-help{color:var(--rf-muted)}
body .page-heading h1,body h1,body h2,body h3{color:var(--rf-ink)}
body th{background:#f8f8f8;color:#7f7f7f;border-color:var(--rf-line)}
body td,body .panel-toolbar,body .panel-note{border-color:#ededed}
body .person-avatar,body .device-pill,body .device-symbol,body .allocation-symbol,body .device-icon{background:#efefef;color:#696969;border-color:#dddddd}
body .badge{background:#efefef;color:#727272}
body .badge.off,body .badge.pending,body .unbound{background:#f2f2f2;color:#888888}
body .allocation-note{background:#eeeeee;border-color:#dedede;color:#555555}
body .allocation-note p,body .allocation-label,body .device-hall,body .device-note{color:#808080}
body .notice{background:#efefef;color:#666666;border-color:#dadada}
body .notice.error,body .error{color:#676767;border-color:#cfcfcf;background:#f4f4f4}
body .error:empty{background:transparent}
body .login-story{background:#293747;color:#f6f6f6}
body .login-story h1{color:#ffffff}
body .login-story p,body .login-story small,body .story-tag{color:#c1c1c1}
body .login-story .brand-logo{filter:grayscale(1) brightness(0) invert(1)}
body .art-phone,body .seat-art{border-color:#686868;color:#dddddd;background:#3d3d3d;box-shadow:none}
body .art-wave i{background:#999999}
body .assignment-accent{background:#717171}
body .staff-service-links .selected{background:#efefef;color:#5b5b5b;border-color:#c9c9c9}
body .service-intro,body .service-state{background:#efefef;color:#6a6a6a;border-color:#dedede}
body .service-preview,body .sing-settings,body .sing-idle{background:#f6f6f6;border-color:var(--rf-line)}
body .sing-idle>span,body .crown-directions summary{color:#838383}
body .device-preview{background:#f0f0f0;border-color:#e2e2e2;color:#868686}
body .phone-outline{border-color:#999999}
body .device-assignee,body .device-card-top{border-color:#e5e5e5}
.workspace-home{min-width:0}
.runtime-check{margin-top:28px;border-top:1px solid var(--rf-line);padding:24px 0}
.runtime-check>summary{font-size:19px;font-weight:600;cursor:pointer;color:var(--rf-ink)}
.runtime-check-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0}
.runtime-check-intro p{margin:0;max-width:58ch;line-height:1.7;color:var(--rf-muted);font-size:15px}
.runtime-check-status{font-size:14px;color:var(--rf-muted);line-height:1.7}
.runtime-check ul{padding:0;list-style:none;margin:16px 0 0}
.runtime-check li{display:flex;gap:18px;align-items:flex-start;border-top:1px solid var(--rf-line);padding:18px 0}
.runtime-check li>div{flex:1;min-width:0}.runtime-check li p{margin:6px 0 0;max-width:72ch;line-height:1.7;font-size:15px;color:var(--rf-muted)}
.runtime-state{flex-shrink:0;min-width:62px;text-align:center;padding:5px 9px;font-size:13px;border-radius:4px;color:#856030;background:#f7f1e7}
.runtime-state.ready{color:#3c665d;background:#eaf3ef}
@media(max-width:600px){.runtime-check-intro{align-items:flex-start;flex-direction:column}.runtime-check li{gap:10px}.runtime-check li>button{padding:4px;font-size:14px}}
.workspace-lead{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:32px 0 36px;border-top:1px solid var(--rf-line);border-bottom:1px solid var(--rf-line)}
.workspace-role{display:block;color:#878787;font-size:15px;margin-bottom:12px}
.workspace-lead h2{font-size:30px;line-height:1.45;letter-spacing:-.6px;font-weight:600;margin:0 0 12px}
.workspace-lead p{max-width:54ch;font-size:16px}
.workspace-signature{color:#a6a6a6;font-size:60px;font-family:"Bahnschrift","Segoe UI",sans-serif;font-weight:650;letter-spacing:-6px;line-height:1}
.workspace-signature span{display:block;font:13px "Microsoft YaHei",sans-serif;letter-spacing:1px;margin-top:10px;color:#919191}
.workspace-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:26px 0 32px;border:1px solid var(--rf-line);border-radius:10px;background:#ffffff;overflow:hidden}
.workspace-stat{text-align:left;padding:24px;min-width:0;border-right:1px solid var(--rf-line);display:flex;flex-direction:column;gap:12px}
.workspace-stat:last-child{border-right:0}.workspace-stat:hover{background:#f6f6f6}
.workspace-stat>span{font-size:15px;color:#818181}.workspace-stat strong{font-size:36px;font-weight:600;font-variant-numeric:tabular-nums;color:#484848;line-height:1.2}
.workspace-stat small{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:#888888}.workspace-stat small span{font-size:18px}
.workspace-columns{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,1fr);gap:26px;align-items:start}
.workspace-columns .panel-toolbar{justify-content:space-between}.workspace-columns h3{font-size:18px;font-weight:600}
.workspace-row{display:flex;align-items:center;gap:18px;padding:20px 24px;border-bottom:1px solid #eeeeee}.workspace-row:last-child{border-bottom:0}.workspace-row>div{flex:1;min-width:0}.workspace-row strong{display:block;font-size:17px;font-weight:600;overflow-wrap:anywhere}.workspace-row small{display:block;margin-top:6px;color:#888888;font-size:14px}.workspace-row .badge{flex-shrink:0}
.workspace-guidance{padding:24px;background:#ebebeb;border-radius:10px;border:1px solid #e0e0e0}.workspace-guidance p{margin-top:16px;font-size:15px;color:#7b7b7b}.workspace-note{margin-top:24px;padding-top:18px;border-top:1px solid #d8d8d8;font-size:14px;line-height:1.8;color:#818181}
body[data-surface=player] header{height:76px;padding:0 32px}
body[data-surface=player] main{max-width:1440px;padding-top:34px}
body[data-surface=player] .eyebrow{color:#848484}
body[data-surface=player] .connection{color:#818181;border-color:#e2e2e2}
body[data-surface=player] .connection i.live{background:#838383}
body[data-surface=player] .workspace{border-color:var(--rf-line);border-radius:10px;box-shadow:none}
body[data-surface=player] .stage{background:#2a2a2a;color:#e0e0e0}
body[data-surface=player] .stage-top,body[data-surface=player] .toolbar{background:#313131;border-color:#4c4c4c}
body[data-surface=player] .stage-top b,body[data-surface=player] .stage-top>span{color:#c7c7c7}
body[data-surface=player] .screen-area{background:#252525}
body[data-surface=player] .stage .quiet,body[data-surface=player] .tool{color:#c9c9c9;border-color:#696969;background:transparent}
body[data-surface=player] .stage .quiet:hover:enabled,body[data-surface=player] .tool:hover:enabled{background:#494949}
body[data-surface=player] .tool.audio-button.active,body[data-surface=player] .tool.audio-button[aria-pressed=true]{background:#606060;border-color:#9f9f9f;color:#ffffff}
body[data-surface=player] .audio-inline,body[data-surface=player] .touch-hint{background:#393939;color:#c3c3c3;font-size:14px}
body[data-surface=player].page-scroll #touchMode{color:#d9d9d9;border-color:#ababab}
body[data-surface=player] .screen-symbol{border-color:#767676;transform:none}
body[data-surface=player] .screen-symbol span{color:#b1b1b1}
body[data-surface=player] .screen-symbol i{background:#707070;border-color:#373737}
body[data-surface=player] .screen-symbol:before{background:#767676}
body[data-surface=player] .empty h2{color:#f0f0f0}
body[data-surface=player] .empty p,body[data-surface=player] .screen-note{color:#a8a8a8}
body[data-surface=player] .audio-source{border-color:var(--rf-line);border-radius:10px}
body[data-surface=player] .audio-source p,body[data-surface=player] .audio-help,body[data-surface=player] .notice{font-size:14px;color:var(--rf-muted)}
body[data-surface=player] .audio-status span{background:#ebebeb;color:#747474;font-size:14px}
body[data-surface=player] .device small,body[data-surface=player] .small,body[data-surface=player] .hint p{font-size:14px}
body[data-surface=player] footer{font-size:13px;border-color:var(--rf-line)}
@media(max-width:1100px){.workspace-columns{grid-template-columns:1fr}.workspace-guidance{display:none}}
@media(max-width:800px){body[data-surface=player] header{padding:10px 16px;height:auto;min-height:72px}.workspace-lead{padding:24px 0}.workspace-lead h2{font-size:25px}.workspace-signature{display:none}.workspace-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-stat{padding:20px}.workspace-stat:nth-child(2){border-right:0}.workspace-stat:nth-child(-n+2){border-bottom:1px solid var(--rf-line)}.workspace-row{padding:18px;gap:10px;flex-wrap:wrap}.workspace-row>div{min-width:120px}body .account{font-size:14px}body .brand-logo{width:100px;height:36px}body[data-surface=player] main{padding-top:20px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
body .staff-main h1,body .assignment h2,body .device-card h3,body .page-heading h1,body .login-panel h2,body .service-intro h2{color:var(--rf-ink)}
body .staff-main>p,body .assignment dt,body .assignment dd,body .assignment .panel-note,body .assignment>p{color:var(--rf-muted)}
body .assignment dl{background:#f5f7fa;border-color:var(--rf-line)}
body .scope-name,body .allocation-label{background:#edf1f6;color:#69809a}
body .phone-outline i{background:#888}

/* Restrained slate accents restore hierarchy across all three workspaces. */
body .primary{box-shadow:0 3px 8px #354e6c12}
body .secondary,body .quiet{color:#5f7186;border-color:#d7e0e9}
body .secondary:hover:enabled,body .quiet:hover:enabled{background:#f0f4f8;border-color:#b4c4d5}
body .person-avatar,body .device-pill,body .device-symbol,body .allocation-symbol,body .device-icon{background:#edf2f7;color:#6b829b;border-color:#d8e2ed}
body .badge{background:#e9f2ed;color:#5c7d69}
body .badge.off,body .badge.pending{background:#f0f2f4;color:#89939e}
body .allocation-note{background:#edf2f7;border-color:#dbe4ed;color:#526a85}
body .notice{background:#edf3f5;border-color:#d7e4e9;color:#58717d}
body .notice.error,body .error{background:#fbf2ef;border-color:#e6d1c9;color:#a16653}
body .error:empty{background:transparent}
body .assignment-accent{background:#7d94ad}
body .device-preview{background:#eef2f6;border-color:#dce5ee;color:#8092a7}
body .staff-service-links .selected{background:#eaf0f6;color:#4b6584;border-color:#b9cbdc}
body .service-intro,body .service-state{background:#eef3f7;color:#607993;border-color:#dbe5ef}
.workspace-lead{background:#fff;padding:30px;border:1px solid #e0e6ed;border-left:3px solid #829bb7;border-radius:9px}
.workspace-role{color:#7c94af}.workspace-lead h2{color:#303f51}
.workspace-signature{color:#b4c4d5}.workspace-signature span{color:#899db4}
.workspace-actions{border-color:#dfe6ee;box-shadow:0 4px 16px #22364d03}
.workspace-stat:hover{background:#f3f6fa}
.workspace-stat:first-child{background:#eef3f8}
.workspace-stat>span{color:#7c8b9d}.workspace-stat strong{color:#465e7a}.workspace-stat small{color:#8397ae}
.workspace-guidance{background:#edf2f6;border-color:#dce5ed}
.workspace-guidance p{color:#7b8d9f}.workspace-note{color:#8294a8;border-color:#d5e0eb}
.workspace-row small{color:#8190a1}
body[data-surface=player] .stage{background:#242f3c;color:#dbe3ec}
body[data-surface=player] .screen-area{background:#202a36}
body[data-surface=player] .stage-top,body[data-surface=player] .toolbar{background:#2a3747;border-color:#415267}
body[data-surface=player] .stage-top b,body[data-surface=player] .stage-top>span{color:#c0cddd}
body[data-surface=player] .stage .quiet,body[data-surface=player] .tool{color:#c2d0e1;border-color:#596f89}
body[data-surface=player] .stage .quiet:hover:enabled,body[data-surface=player] .tool:hover:enabled{background:#3b4e65}
body[data-surface=player] .tool.audio-button.active,body[data-surface=player] .tool.audio-button[aria-pressed=true]{background:#526f91;border-color:#8da6c4;color:#fff}
body[data-surface=player] .audio-inline,body[data-surface=player] .touch-hint{background:#303f51;color:#b1c3d8}
body[data-surface=player].page-scroll #touchMode{border-color:#8ca8c8;color:#c9daee}
body[data-surface=player] .screen-symbol{border-color:#6c84a0}
body[data-surface=player] .screen-symbol span{color:#9cb1c9}
body[data-surface=player] .screen-symbol i{background:#6e88a7;border-color:#33445a}
body[data-surface=player] .screen-symbol:before{background:#6c84a0}
body[data-surface=player] .screen-note,body[data-surface=player] .empty p{color:#93a8c0}
body[data-surface=player] .audio-status span{background:#eaf0f6;color:#657e9a}
@media(max-width:800px){.workspace-lead{padding:24px}}

/* Keep identity visible while device lists scroll; account panel uses native keyboard-accessible details. */
#appView>header,body[data-surface=player]>header{position:sticky;top:0;z-index:30}
.account-menu{position:relative;margin:0;color:var(--rf-ink);font-size:14px}
.account-menu>summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;padding:8px 12px;border:1px solid var(--rf-line);border-radius:8px;background:white}
.account-menu summary::-webkit-details-marker{display:none}.account-menu summary strong{display:block;font-size:14px;color:var(--rf-ink)}.account-menu summary small{display:block;margin-top:4px;font-size:12px;color:var(--rf-muted)}
.account-avatar{background:#e8eef5;color:#4b6382;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-weight:600}
.account-panel{position:absolute;right:0;top:calc(100% + 10px);width:300px;background:#fff;border:1px solid var(--rf-line);border-radius:10px;padding:22px;box-shadow:0 14px 40px #2935441a;z-index:40}
.account-panel h3{margin:0 0 18px;font-size:16px}.account-panel dl{display:grid;grid-template-columns:74px 1fr;gap:14px 12px;margin:0 0 20px}.account-panel dt{color:var(--rf-muted)}.account-panel dd{margin:0;overflow-wrap:anywhere;color:var(--rf-ink)}.account-panel button{min-height:40px;margin-right:8px}
.device-view-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 20px}.device-view-tools p{font-size:13px;color:var(--rf-muted);margin:8px 0 0}.device-view-tools label{display:flex;align-items:center;gap:10px;margin:0;white-space:nowrap;font-size:14px}.device-view-tools select{margin:0;width:auto;min-height:42px}
.player-account-link{margin-left:auto;margin-right:18px;font-size:14px;color:#4b6382;text-decoration:none}
@media(max-width:800px){.account-panel{width:280px}.account-menu summary{padding:6px 8px}.account-avatar{display:none}.account-menu summary strong{font-size:12px}.device-view-tools{align-items:flex-start;flex-direction:column}.player-account-link{font-size:12px;margin-right:8px}}

/* Shared working surfaces: compact monitoring cards, quiet slate navigation and operational reports. */
body{background:#f1f4f8}.app-layout>nav{background:#263345;border-right:0}.app-layout>nav .nav-button,.app-layout>nav .nav-caption,.app-layout>nav .service-nav>summary{color:#b9c5d5}.app-layout>nav .nav-button:hover{background:#314258;color:#fff}.app-layout>nav .nav-button.selected{background:#3d5572;color:#fff}.app-layout>nav .nav-button.selected:before{background:#9ebadd}.app-layout>nav .nav-foot{border-color:#425166;color:#a6b5c8}.app-layout>nav .nav-foot strong{color:#cbd5e1}.app-layout>nav .service-nav{border-color:#425166}.page-heading{margin-bottom:22px}.workspace-lead{padding-top:12px}.monitor-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.monitor-heading h3{margin:0;font-size:18px}.monitor-heading small{display:block;margin-top:6px;color:#7a8798;font-size:13px}.monitor-readonly{font-size:12px;color:#7b8da2;margin-bottom:10px;letter-spacing:.3px}.device-preview img{cursor:zoom-in}.preview-time{display:block;font-size:12px;color:#8a96a6;margin:4px 0 16px}.device-card .device-hall{display:none}.device-card .device-note{min-height:0;margin:10px 0 18px;font-size:13px}.device-card .device-assignee{margin-top:12px;padding-top:16px}.device-card>[data-preview]{margin-bottom:8px}.device-zoom{max-width:620px;width:calc(100% - 30px);max-height:94dvh;overflow:auto}.device-zoom>img{display:block;max-width:100%;max-height:76dvh;width:auto;height:auto;margin:auto;object-fit:contain}.device-zoom>p{font-size:13px;color:#7c8797;margin:14px 0}
.host-shortcuts{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.report-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0 24px}.report-heading h2{font-size:28px;margin:8px 0;color:#27374d}.report-heading p{font-size:14px;color:#7a8798;line-height:1.8;margin:0}.report-filters{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap;padding:20px;background:#fff;border:1px solid #dfe5eb;border-radius:8px}.report-filters label{margin:0;min-width:150px;font-size:13px}.report-filters input,.report-filters select{display:block;width:100%;min-height:40px;margin-top:8px}.report-summary{display:grid;grid-template-columns:repeat(4,1fr);margin:22px 0;gap:1px;background:#dfe5eb;border:1px solid #dfe5eb;border-radius:8px;overflow:hidden}.report-summary>div{background:white;padding:22px}.report-summary span{font-size:13px;color:#7b8796;display:block}.report-summary strong{display:block;font-size:26px;font-weight:600;color:#334861;margin-top:10px;line-height:1.4;font-variant-numeric:tabular-nums}.report-table{overflow:auto}.report-table td{white-space:nowrap}.report-table small{display:block;color:#8b96a5;margin-top:6px}.report-pagination{display:flex;gap:16px;justify-content:center;align-items:center;margin:20px 0}.reports-section>p{font-size:13px;color:#7c8797}.staff-main:has(.reports-section:not([hidden])){max-width:1280px}.input-test{margin:18px 0;padding:16px;background:#f0f4f8;border-radius:8px}.input-test meter{width:100%;height:18px}.input-test p{color:#73849a;font-size:13px;line-height:1.7;margin:8px 0 0}.audio-only .screen-area,.audio-only .stage-top,.audio-only .toolbar>[data-command]{display:none}.audio-only .workspace{min-height:0}.audio-only .toolbar{margin-top:auto}.audio-only .toolbar>div:first-child{display:none}.audio-only .stage{justify-content:center;min-height:100px}.audio-only .intro .eyebrow:after{content:' · 电脑声卡模式'}
@media(max-width:800px){.report-heading{align-items:flex-start;flex-direction:column}.report-heading h2{font-size:24px}.report-summary{grid-template-columns:repeat(2,1fr)}.report-summary>div{padding:16px}.report-summary strong{font-size:22px}.report-filters{padding:14px;gap:12px}.report-filters label{min-width:0;flex:1 1 45%}.device-view-tools{align-items:flex-start;flex-wrap:wrap}.audio-source-row{flex-wrap:wrap}.audio-source-row select{min-width:160px}}

.audio-focus{padding:28px;color:#e4ebf4}.audio-focus>span{font-size:12px;color:#9db2cd}.audio-focus h2{font-size:24px;color:#fff;margin:12px 0;line-height:1.5}.audio-focus p{font-size:14px;line-height:1.8;color:#b8c7d9;margin:0}.audio-only .stage>p{display:none}

.audio-only .audio-focus .audio-source{background:#fff;color:#34445a;margin-top:22px;padding:22px;border:0}.audio-only .audio-focus .audio-source h2{color:#34445a;font-size:19px}.audio-only .audio-focus .audio-source p{color:#728298;font-size:13px}.audio-only .audio-focus .audio-source label{color:#596b82}.audio-only .audio-source-row{flex-wrap:wrap}.audio-only .audio-source-row select{flex:1;min-width:170px}.audio-only .audio-focus .input-test{padding:12px}.audio-only .audio-focus p{margin-bottom:0}
