/* Aurora skin for the authenticated owner workspace. No business state or layout is fabricated. */
#root .shell.admin-workspace.admin-workspace[data-aurora-theme],
.wuyou-aurora-control[data-aurora-theme] {
  --au-page:#f5f6fc; --au-panel:#fff; --au-soft:#f4f5fb; --au-ink:#182139;
  --au-muted:#717b91; --au-line:#e4e7f1; --au-side:#171c35; --au-side-end:#11172b;
  --au-accent:#765beb; --au-accent2:#a76df2; --au-glow:rgba(125,100,236,.11);
  --au-button:#6953d1; --au-button2:#7450bd;
  --au-shadow:0 12px 35px rgba(39,39,83,.055),0 2px 8px rgba(39,39,83,.025);
  --admin-side-top:var(--au-side); --admin-side-bottom:var(--au-side-end);
  --admin-accent:var(--au-accent); --admin-accent-end:var(--au-accent2);
  --admin-soft:var(--au-soft); --admin-soft-border:var(--au-line); --admin-glow:var(--au-glow);
  --ws-accent:var(--au-accent); --ws-bg:var(--au-page); --ws-line:var(--au-line);
  --ws-ink:var(--au-ink); --ws-muted:var(--au-muted);
  color-scheme:light;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme='cyber'],
.wuyou-aurora-control[data-aurora-theme='cyber'] {
  --au-page:#0d1020; --au-panel:#181d32; --au-soft:#20263d; --au-ink:#edf1ff;
  --au-muted:#abb6d2; --au-line:#323b58; --au-side:#090d1a; --au-side-end:#111429;
  --au-accent:#a999ff; --au-accent2:#6fd7ce; --au-glow:rgba(108,100,255,.18);
  --au-button:#7456cc; --au-button2:#127772;
  --au-shadow:0 12px 40px rgba(0,0,0,.18); color-scheme:dark;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme='sunset'],
.wuyou-aurora-control[data-aurora-theme='sunset'] {
  --au-page:#fbf4f1; --au-panel:#fffdfb; --au-soft:#fbf3f0; --au-ink:#3b2730;
  --au-muted:#8b7079; --au-line:#efdfda; --au-side:#3d2934; --au-side-end:#31222e;
  --au-accent:#c95855; --au-accent2:#c78238; --au-glow:rgba(238,140,113,.13);
  --au-button:#ad4944; --au-button2:#a36321;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme='ocean'],
.wuyou-aurora-control[data-aurora-theme='ocean'] {
  --au-page:#f2f7fc; --au-panel:#fff; --au-soft:#f2f7fd; --au-ink:#1b2b46;
  --au-muted:#687d99; --au-line:#dce7f4; --au-side:#152944; --au-side-end:#102036;
  --au-accent:#3972ce; --au-accent2:#7561d5; --au-glow:rgba(75,132,223,.12);
  --au-button:#2868c3; --au-button2:#6a55bf;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme='gold'],
.wuyou-aurora-control[data-aurora-theme='gold'] {
  --au-page:#141414; --au-panel:#22211f; --au-soft:#2d2b27; --au-ink:#f6f1e8;
  --au-muted:#c0b8aa; --au-line:#464138; --au-side:#10100f; --au-side-end:#1b1915;
  --au-accent:#e8c46b; --au-accent2:#d8ab55; --au-glow:rgba(209,168,81,.12);
  --au-button:#8c651c; --au-button2:#78531a;
  --au-shadow:0 12px 35px rgba(0,0,0,.18); color-scheme:dark;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme='forest'],
.wuyou-aurora-control[data-aurora-theme='forest'] {
  --au-page:#eff7f3; --au-panel:#fff; --au-soft:#f0f7f3; --au-ink:#18382f;
  --au-muted:#648477; --au-line:#dcebe3; --au-side:#15392f; --au-side-end:#102f27;
  --au-accent:#217b60; --au-accent2:#3e9a75; --au-glow:rgba(39,141,109,.12);
  --au-button:#21775b; --au-button2:#287d5c;
}

/* Side navigation and the existing, accessible owner-only theme control. */
#root .shell.admin-workspace.admin-workspace[data-aurora-theme]>aside {
  background:linear-gradient(165deg,var(--au-side),var(--au-side-end));
  border-color:rgba(255,255,255,.09); box-shadow:8px 0 32px rgba(16,23,48,.1);
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme]>aside .brand {
  border-color:rgba(255,255,255,.09); letter-spacing:.04em;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme]>aside nav .nav-item {
  border:1px solid transparent; border-radius:11px; color:#c0c9df; transition:background .18s,color .18s;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme]>aside nav .nav-item:hover {background:rgba(255,255,255,.08);color:#fff}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme]>aside nav .nav-item.active {
  color:#fff; background:linear-gradient(105deg,var(--au-button),var(--au-button2));
  border-color:transparent; box-shadow:0 8px 20px rgba(5,9,32,.2);
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .workspace-nav-badge {background:rgba(255,255,255,.16);color:#fff}
.wuyou-aurora-control[data-aurora-theme] {
  background:var(--au-panel); border-color:var(--au-line); color:var(--au-muted);
  min-height:48px; padding-top:6px; padding-bottom:6px;
}
.wuyou-aurora-control[data-aurora-theme] select {
  background:var(--au-soft); border-color:var(--au-line); color:var(--au-ink);
  border-radius:10px; min-height:34px; min-width:145px;
}
.wuyou-aurora-control[data-aurora-theme] select:focus-visible {outline-color:var(--au-accent)}

/* Shared content surfaces, without changing event handlers or the account role. */
#root .shell.admin-workspace.admin-workspace[data-aurora-theme]>main {
  background:radial-gradient(ellipse at 82% 0,var(--au-glow),transparent 40%),var(--au-page);
  color:var(--au-ink);
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme]>main>.owner-ws-header {
  background:var(--au-panel); border-color:var(--au-line); box-shadow:0 1px 0 var(--au-line);
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-header h1 {color:var(--au-ink);font-size:20px;font-weight:750}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-tools time {color:var(--au-muted)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-tools button {
  background:var(--au-panel); border-color:var(--au-line); color:var(--au-ink); border-radius:10px;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.panel,.zv-panel,.zv-title,.zv-stats>div,.owner-ws-metrics>article,.owner-ws-board,.owner-ws-quick,.owner-ws-logs,.owner-ws-history,.cv-card,.bm-panel,.hub-card) {
  background:var(--au-panel); border:1px solid var(--au-line); box-shadow:var(--au-shadow);
  border-radius:17px; color:var(--au-ink);
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.primary,.zv-primary,.cv-primary,.zr-primary,.owner-ws-primary,.owner-ws-start-button) {
  background:linear-gradient(110deg,var(--au-button),var(--au-button2)); border-color:transparent;
  color:#fff; border-radius:11px; box-shadow:0 7px 18px var(--au-glow);
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.primary,.zv-primary,.cv-primary,.zr-primary,.owner-ws-primary,.owner-ws-start-button):hover:not(:disabled) {filter:brightness(1.05)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(button,input,select,textarea):focus-visible {
  outline:3px solid var(--au-accent); outline-offset:3px;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {
  background:var(--au-panel); border-color:var(--au-line); color:var(--au-ink); border-radius:10px;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(input,textarea)::placeholder {color:var(--au-muted);opacity:.8}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.cv-heading h2,.cv-card h3,.bm-panel h3,.zv-panel h3,.manager-section-heading,.daily-profit-heading h1,.daily-profit-heading h2) {color:var(--au-ink)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.cv-help,.bm-note,.zv-muted,.hub-muted) {color:var(--au-muted)}

/* Real three-slot recharge board. Financial summaries remain on the profit page. */
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .zr-shell.zr-workbench:has(.owner-ws-board) {gap:20px}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-metrics {gap:14px}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-metrics>article {
  min-height:106px; padding:20px; overflow:hidden;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-metrics>article:nth-child(3) {order:-2}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-metrics>article:nth-child(1) {order:-1}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-metrics span {color:var(--au-muted);font-size:12px}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-metrics strong {color:var(--au-ink);font-size:26px}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-metrics small {color:var(--au-muted)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-metrics i {border-radius:13px}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-board {overflow:hidden}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-board-head {
  background:var(--au-panel); border-color:var(--au-line); padding:22px 24px; gap:16px;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-board h2 {color:var(--au-ink);font-size:17px}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-board-head p {color:var(--au-muted)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-board h2 svg {color:var(--au-accent)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-slots {background:var(--au-panel);gap:15px;padding:20px 24px}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-slot {
  background:var(--au-soft); border:1px solid var(--au-line); border-radius:16px; min-height:175px;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-slot-head b,
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-customer,
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-idle h3 {color:var(--au-ink)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-slot>p,
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-slot>footer,
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-board-foot,
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-board-foot b {color:var(--au-muted)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-slot>footer {border-color:var(--au-line)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-slot>footer button,
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-idle>button {color:var(--au-accent)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-live-track {background:var(--au-line)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-live-track i {background:linear-gradient(90deg,var(--au-accent),var(--au-accent2))}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-idle {border-style:dashed}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-clock {background:var(--au-panel);color:var(--au-muted)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-done {border-color:#40b98c}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-waiting {border-color:#dbad54}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-running {border-color:var(--au-accent)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-review {border-color:#e07d84}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-start {padding:21px 24px}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-start h3 {color:var(--au-ink)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-start p {color:var(--au-muted)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-log-heading {color:var(--au-ink)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-terminal {border-radius:0 0 16px 16px}

/* Finance, cards, agents, settings and record tables use the same palette. */
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.zv-tabs,.record-center-tabs,.bm-channel-tabs,.hub-toolbar) {border-color:var(--au-line)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.zv-tabs button.selected,.bm-channel-tabs button.active) {
  background:linear-gradient(110deg,var(--au-button),var(--au-button2));border-color:transparent;color:#fff;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.zv-table,.cv-table,.bm-scroll) {border-color:var(--au-line);border-radius:13px}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.zv-table,.cv-table,.bm-scroll) :is(th,td) {border-color:var(--au-line);color:var(--au-ink)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.zv-table,.cv-table,.bm-scroll) th {background:var(--au-soft);color:var(--au-muted)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.zv-table,.cv-table,.bm-scroll) tr:hover {background:var(--au-soft)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.zv-secondary,.cv-mode button,.bm-toolbar button,.bm-buttons button:not(.primary)) {
  background:var(--au-soft);border-color:var(--au-line);color:var(--au-ink);border-radius:10px;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .bank-manager {
  background:var(--au-panel);border-color:var(--au-line);color:var(--au-ink);border-radius:18px;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.cv-transfer-foot,.cv-version-grid>div,.cv-security-grid>div,.cv-apk,.zv-list-filters,.zv-stock-grid>article,.bm-holder) {
  background:var(--au-soft);border-color:var(--au-line);color:var(--au-ink);
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.cv-version-grid strong,.cv-security-grid strong,.bm-holder strong) {color:var(--au-ink)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.bank-manager>header h2,.bank-manager>.bm-panel>h3,.console-v3 .cv-card>h3,.console-v3 .cv-card>.cv-heading h3) {color:var(--au-ink)}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .bank-manager .bm-card {
  background:linear-gradient(125deg,#fffdf8 0%,#f5eeda 56%,#e3d8f4 100%);
  border-color:#dfd6e8;color:#2c2942;border-radius:20px;box-shadow:0 12px 26px rgba(47,42,91,.1);
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .bank-manager .bm-card:nth-child(3n+2) {
  background:linear-gradient(125deg,#fffefa 0%,#e8f4f3 56%,#dde6fa 100%);border-color:#d6e7e6;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .bank-manager .bm-card:nth-child(3n) {
  background:linear-gradient(125deg,#fffefa 0%,#fbede5 56%,#e9e4f9 100%);border-color:#eee0de;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .bank-manager .bm-card :is(strong,b,label,.bm-pan) {color:#2c2942}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .bank-manager .bm-card small {color:#706982}
/* Keep the existing readable light treatment for the payment and card dialogs. */
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.owner-ws-session-dialog,.zr-confirm-dialog,.bm-modal) {
  background:#fff;color:#1e293b;border-color:#dfe7f2;color-scheme:light;
}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.owner-ws-session-heading,.owner-ws-session-foot) {background:#fff;border-color:#dfe7f2;color:#64748b}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-session-heading h2 {color:#1e293b}
#root .shell.admin-workspace.admin-workspace[data-aurora-theme] :is(.owner-ws-session-dialog,.zr-confirm-dialog,.bm-modal) :is(input:not([type=checkbox]):not([type=radio]),select,textarea) {
  background:#fff;border-color:#dfe7f2;color:#1e293b;color-scheme:light;
}

@media(max-width:700px){
  .wuyou-aurora-control[data-aurora-theme] {padding:6px 14px;min-height:44px}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme]>aside {background:var(--au-side)}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme]>aside nav .nav-item {border-radius:9px;font-size:10px}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme]>aside nav .nav-item.active {box-shadow:none;border:0}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme]>main {padding-left:14px;padding-right:14px}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-header h1 {font-size:18px}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-metrics {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-metrics>article {padding:15px;min-height:100px;gap:7px}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-metrics strong {font-size:22px}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-metrics i {width:34px;height:34px}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-board-head {padding:19px 17px}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-dispatch {width:100%;max-width:none}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-slots {grid-template-columns:1fr;padding:16px;gap:10px}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-slot {min-height:132px;padding:16px}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-start {padding:18px;gap:12px}
  #root .shell.admin-workspace.admin-workspace[data-aurora-theme] .owner-ws-board-foot {padding:0 17px 16px}
}
@media(prefers-reduced-motion:reduce){
 #root .shell.admin-workspace.admin-workspace[data-aurora-theme] * {scroll-behavior:auto;transition-duration:0s}
}
