/* PUGX — Clean workspace, November 2026.
   Deliberately restrained visual language. Presentation only; no JS/API behavior changes.
   Legacy theme preset 'aero' is mapped to the clean workspace so saved users see the new UI. */

/* Dashboard */
body[data-theme-preset="aero"] {
  --bg:#f5f7f8;--bg-soft:#f2f4f6;--sidebar:#ffffff;
  --panel:#ffffff;--panel-2:#f8fafb;--panel-3:#f5f7f8;
  --line:#dfe5e9;--line-soft:#e7ecef;
  --text:#172b34;--muted:#647782;--muted-2:#75858d;
  --blue:#266f74;--blue-2:#266f74;--green:#25785d;--green-2:#3f8c70;
  --purple:#476d80;--neon:#266f74;--neon-strong:#22666b;
  --neon-soft:rgba(38,111,116,.06);--neon-purple:rgba(38,111,116,.05);
  --shadow:0 12px 36px rgba(31,49,55,.07);--shadow-soft:0 1px 2px rgba(31,49,55,.035);
  --radius:12px;
  color:var(--text)!important;
  background:#f5f7f8!important;
  background-image:none!important;
  background-attachment:scroll!important;
  color-scheme:light;
  font-family:Inter,"Segoe UI",-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  letter-spacing:normal;
}
body[data-theme-preset="aero"]::before,body[data-theme-preset="aero"]::after {display:none!important;content:none!important}
body[data-theme-preset="aero"] .topbar,
body[data-theme-preset="aero"] .workspace-sidebar,
body[data-theme-preset="aero"] .mobile-bottom-nav {
  background:#fff!important;backdrop-filter:none!important;box-shadow:none!important;
  border-color:#e2e8ec!important;
}
body[data-theme-preset="aero"] .topbar {height:64px;padding:0 clamp(14px,2vw,30px);border-bottom:1px solid #e3e8ed!important}
body[data-theme-preset="aero"] .app-shell {grid-template-columns:256px minmax(0,1fr);min-height:calc(100vh - 64px)}
body[data-theme-preset="aero"] .workspace-sidebar {top:64px;height:calc(100vh - 64px)}
body[data-theme-preset="aero"] .workspace-main {width:min(1440px,100%);background:transparent!important;padding:28px clamp(16px,3vw,44px) 74px;gap:18px}
body[data-theme-preset="aero"] .brand-mark,body[data-theme-preset="aero"] .member-avatar-fallback {background:#266f74!important;border:0!important;border-radius:8px!important;box-shadow:none!important;color:#fff!important;font-size:.78rem}
body[data-theme-preset="aero"] .brand {color:#1b303a!important;font-weight:750;letter-spacing:-.025em}
body[data-theme-preset="aero"] .brand-copy span {color:#266f74!important}
body[data-theme-preset="aero"] .top-server,body[data-theme-preset="aero"] .user-chip {background:#f7f9fa!important;border:1px solid #e3e8ec!important;border-radius:8px!important;box-shadow:none!important;color:#344f59!important}
body[data-theme-preset="aero"] .top-server small {color:#778a92!important}
body[data-theme-preset="aero"] .status-pill,body[data-theme-preset="aero"] .live-pill {border:1px solid #d9e9df!important;background:#f1f7f3!important;color:#24755a!important;border-radius:999px!important;box-shadow:none!important;text-shadow:none!important}
body[data-theme-preset="aero"] .side-nav {padding:12px 10px 20px;scrollbar-color:#d5dde2 transparent}
body[data-theme-preset="aero"] .side-nav-label {font-size:.66rem!important;letter-spacing:.07em!important;color:#90a0a7!important;font-weight:700!important}
body[data-theme-preset="aero"] .side-nav button,
body[data-theme-preset="aero"] .category-tabs button,
body[data-theme-preset="aero"] .settings-tabs button,
body[data-theme-preset="aero"] .choice-chip,
body[data-theme-preset="aero"] .sortable-row,
body[data-theme-preset="aero"] .access-row,
body[data-theme-preset="aero"] .setup-check {
  border:1px solid transparent!important;background:transparent!important;color:#5c707a!important;
  border-radius:8px!important;box-shadow:none!important;text-shadow:none!important;font-weight:600!important;transform:none!important;
}
body[data-theme-preset="aero"] .side-nav button {padding:9px 11px!important;font-size:.81rem!important;letter-spacing:normal!important}
body[data-theme-preset="aero"] .side-nav button:hover,
body[data-theme-preset="aero"] .category-tabs button:hover,
body[data-theme-preset="aero"] .settings-tabs button:hover {background:#f3f6f7!important;color:#223a45!important;border-color:#edf0f2!important;box-shadow:none!important;transform:none!important}
body[data-theme-preset="aero"] .side-nav button.active,
body[data-theme-preset="aero"] .category-tabs button.active,
body[data-theme-preset="aero"] .settings-tabs button.active {background:#eaf2f0!important;color:#216c61!important;border:1px solid #d8e7e2!important;box-shadow:none!important}
body[data-theme-preset="aero"] .sidebar-top {padding:18px 13px 10px}
body[data-theme-preset="aero"] .sidebar-footer {background:#fff!important;color:#607580!important;border-color:#e8ecef!important;box-shadow:none!important}
body[data-theme-preset="aero"] .server-mini strong,body[data-theme-preset="aero"] .breadcrumbs strong {color:#253c47!important}
body[data-theme-preset="aero"] .fetch-button,
body[data-theme-preset="aero"] .button.secondary,
body[data-theme-preset="aero"] .icon-button,
body[data-theme-preset="aero"] .quick-action {
  background:#fff!important;border:1px solid #d9e1e5!important;color:#33515c!important;
  border-radius:8px!important;box-shadow:none!important;text-shadow:none!important;
}
body[data-theme-preset="aero"] .button,body[data-theme-preset="aero"] .button.large {
  background:#276e72!important;border:1px solid #276e72!important;border-radius:8px!important;
  color:#fff!important;box-shadow:none!important;text-shadow:none!important;font-weight:650!important;
}
body[data-theme-preset="aero"] .button.danger {background:#b94c55!important;border-color:#b94c55!important;color:white!important}
body[data-theme-preset="aero"] .button:hover,
body[data-theme-preset="aero"] .fetch-button:hover,
body[data-theme-preset="aero"] .icon-button:hover,
body[data-theme-preset="aero"] .quick-action:hover {box-shadow:0 2px 6px rgba(28,55,62,.07)!important;transform:none!important;filter:none!important;border-color:#b7c6ce!important}
body[data-theme-preset="aero"] .button:not(.secondary):hover {background:#1d5e63!important;border-color:#1d5e63!important;color:#fff!important}
body[data-theme-preset="aero"] .server-banner,
body[data-theme-preset="aero"] .stats-ribbon,
body[data-theme-preset="aero"] .module-shell,
body[data-theme-preset="aero"] .detail-head,
body[data-theme-preset="aero"] .settings-card,
body[data-theme-preset="aero"] .leadership-hero,
body[data-theme-preset="aero"] .overview-panel,
body[data-theme-preset="aero"] .module-directory,
body[data-theme-preset="aero"] .panel,
body[data-theme-preset="aero"] .form-card,
body[data-theme-preset="aero"] .card,
body[data-theme-preset="aero"] .leadership-card,
body[data-theme-preset="aero"] .attention-card,
body[data-theme-preset="aero"] .leadership-tool,
body[data-theme-preset="aero"] .event-room,
body[data-theme-preset="aero"] .pc-case,
body[data-theme-preset="aero"] .access-mode-banner {
  background:#fff!important;color:#19303a!important;border:1px solid #e0e6ea!important;
  border-radius:12px!important;box-shadow:0 1px 3px rgba(31,52,60,.035)!important;backdrop-filter:none!important;
}
body[data-theme-preset="aero"] .server-banner {padding:17px 20px!important}
body[data-theme-preset="aero"] .server-identity img,body[data-theme-preset="aero"] .server-fallback {background:#f0f5f4!important;border:1px solid #dde8e6!important;border-radius:10px!important;box-shadow:none!important;color:#286a66!important}
body[data-theme-preset="aero"] .leadership-hero {padding:23px 26px!important}
body[data-theme-preset="aero"] .leadership-hero h2 {font-size:clamp(1.35rem,2.3vw,1.8rem)!important;font-weight:730!important;letter-spacing:-.025em!important}
body[data-theme-preset="aero"] .eyebrow {color:#557c77!important;font-size:.68rem!important;letter-spacing:.08em!important;font-weight:750!important;text-shadow:none!important}
body[data-theme-preset="aero"] .stats-ribbon {overflow:hidden}
body[data-theme-preset="aero"] .stat-chip {border-right:1px solid #edf0f2!important;padding:14px!important}
body[data-theme-preset="aero"] .stat-icon,body[data-theme-preset="aero"] .module-icon,body[data-theme-preset="aero"] .section-icon {background:#eff4f3!important;border:1px solid #e3edeb!important;box-shadow:none!important;color:#2b7770!important;border-radius:9px!important}
body[data-theme-preset="aero"] .module-card,
body[data-theme-preset="aero"] .metric,
body[data-theme-preset="aero"] .quick-action,
body[data-theme-preset="aero"] .live-event-row,
body[data-theme-preset="aero"] .activity-row,
body[data-theme-preset="aero"] .table .row,
body[data-theme-preset="aero"] .sortable-row {
  background:#fff!important;border:1px solid #e1e8ec!important;color:#253b46!important;
  border-radius:9px!important;box-shadow:none!important;backdrop-filter:none!important;
}
body[data-theme-preset="aero"] .module-card::before {display:none!important}
body[data-theme-preset="aero"] .module-card:hover {background:#fafcfc!important;border-color:#b9d2d0!important;box-shadow:0 3px 9px rgba(33,65,70,.05)!important;transform:none!important}
body[data-theme-preset="aero"] .module-card-arrow {color:#84959c!important;text-shadow:none!important}
body[data-theme-preset="aero"] .module-card-copy h3 {color:#1b3340!important;font-weight:690!important}
body[data-theme-preset="aero"] .module-card-copy p,body[data-theme-preset="aero"] .leadership-hero p,body[data-theme-preset="aero"] .directory-head p {color:#6d808b!important}
body[data-theme-preset="aero"] .module-badge,body[data-theme-preset="aero"] .badge {background:#eef5f3!important;color:#2b7566!important;border:1px solid #d9eae4!important;border-radius:6px!important;box-shadow:none!important}
body[data-theme-preset="aero"] .attention-card.danger {background:#fffafb!important;border-color:#edcbd0!important}
body[data-theme-preset="aero"] .attention-card.warn {background:#fffcf6!important;border-color:#f1dfbd!important}
body[data-theme-preset="aero"] .attention-copy strong,body[data-theme-preset="aero"] .live-event-row strong {color:#1a333c!important}
body[data-theme-preset="aero"] .attention-copy em {color:#687d86!important}
body[data-theme-preset="aero"] .module-search,
body[data-theme-preset="aero"] .sidebar-search,
body[data-theme-preset="aero"] .global-search-wrap,
body[data-theme-preset="aero"] input,
body[data-theme-preset="aero"] textarea,
body[data-theme-preset="aero"] select {
  background:#fff!important;border:1px solid #d9e2e7!important;border-radius:8px!important;
  color:#203b47!important;box-shadow:none!important;text-shadow:none!important;
}
body[data-theme-preset="aero"] .module-search input,
body[data-theme-preset="aero"] .sidebar-search input,
body[data-theme-preset="aero"] .global-search-wrap input {border:0!important;background:transparent!important}
body[data-theme-preset="aero"] input::placeholder,body[data-theme-preset="aero"] textarea::placeholder {color:#97a5ad!important}
body[data-theme-preset="aero"] label {color:#3b5661!important;font-weight:650!important}
body[data-theme-preset="aero"] .table,body[data-theme-preset="aero"] .table-wrap,body[data-theme-preset="aero"] .data-table {background:#fff!important;border-color:#dfe7eb!important;box-shadow:none!important}
body[data-theme-preset="aero"] th,body[data-theme-preset="aero"] .table .head {background:#f8fafb!important;color:#5e7680!important;border-color:#e6ebee!important}
body[data-theme-preset="aero"] td,body[data-theme-preset="aero"] .table .row {color:#283e48!important;border-color:#edf1f3!important}
body[data-theme-preset="aero"] .metric strong {color:#1d494f!important}
body[data-theme-preset="aero"] .login-view {min-height:calc(100vh - 64px);background:transparent!important;padding:32px!important}
body[data-theme-preset="aero"] .login-card {
  width:min(550px,100%)!important;padding:44px clamp(24px,5vw,50px)!important;
  text-align:left!important;background:#fff!important;border:1px solid #e2e8ec!important;
  border-radius:14px!important;box-shadow:0 12px 36px rgba(30,56,65,.065)!important;backdrop-filter:none!important;
}
body[data-theme-preset="aero"] .hero-icon {display:inline-grid!important;place-items:center!important;width:46px;height:46px;
  font-size:.88rem!important;font-weight:800!important;color:#fff!important;background:#276e72!important;border-radius:10px!important;
  margin-bottom:22px!important;box-shadow:none!important;border:0!important;
}
body[data-theme-preset="aero"] .login-card .eyebrow {display:block!important;margin-bottom:6px!important;color:#73828c!important}
body[data-theme-preset="aero"] .login-card h1 {font-size:clamp(1.9rem,4vw,2.5rem)!important;line-height:1.16!important;letter-spacing:-.045em!important;font-weight:750!important;color:#18313c!important;margin:8px 0 15px!important;max-width:460px!important}
body[data-theme-preset="aero"] .login-card p {color:#667e88!important;font-size:.96rem!important;line-height:1.68!important;margin:0 0 28px!important;max-width:480px!important}
body[data-theme-preset="aero"] .login-card small {color:#83929a!important;margin-top:20px!important;font-size:.79rem!important}
body[data-theme-preset="aero"] .login-card .button {min-height:44px;padding:11px 19px!important}
body[data-theme-preset="aero"] .pugx-site-switcher {padding:0!important;border-radius:8px!important;background:none!important;backdrop-filter:none!important}
body[data-theme-preset="aero"] .pugx-site-link {background:#fff!important;border:1px solid #e0e7eb!important;box-shadow:none!important;border-radius:7px!important;color:#526b75!important;font-weight:650!important;text-shadow:none!important}
body[data-theme-preset="aero"] .pugx-site-link.active {background:#eaf2f0!important;border-color:#d6e8e2!important;color:#266d61!important}
body[data-theme-preset="aero"] .pugx-site-link:hover {color:#1f555c!important;border-color:#b7d0d0!important;transform:none!important;box-shadow:none!important}
@media(max-width:1100px){body[data-theme-preset="aero"] .app-shell{grid-template-columns:238px minmax(0,1fr)}}
@media(max-width:760px){body[data-theme-preset="aero"] .app-shell{display:block}body[data-theme-preset="aero"] .workspace-main{padding:20px 14px 82px}body[data-theme-preset="aero"] .login-card{padding:28px 24px!important}}

/* Draft Room: same quiet visual system, preserves original/custom theme choice. */
body.draft-standalone-body[data-draft-theme-preset="aero"] {
 --bg:#f5f7f8;--panel:#fff;--panel-2:#f8fafb;--line:#e2e8ec;--text:#203844;
 --muted:#617681;--blue:#276e72;--blue-2:#276e72;--green:#25785d;--purple:#4d7782;
 --neon:#276e72;--neon-soft:rgba(38,111,116,.05);--draft-panel-bg:#fff;
 color:#203844!important;background:#f5f7f8!important;background-image:none!important;background-attachment:scroll!important;color-scheme:light;
}
body.draft-standalone-body[data-draft-theme-preset="aero"]::before,
body.draft-standalone-body[data-draft-theme-preset="aero"]::after {display:none!important;content:none!important}
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-standalone-topbar,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-standalone-footer {
 color:#34515e!important;background:#fff!important;border:1px solid #e3e9ed!important;box-shadow:none!important;backdrop-filter:none!important;border-radius:10px!important;
}
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-standalone-intro h1{color:#213943!important;font-size:clamp(1.65rem,3vw,2.35rem)!important;letter-spacing:-.035em!important}
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-room-hero,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-control-bar,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-add-bar,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-pool-panel,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-teams-panel,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-sub-panel,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-tool-card,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-bracket-panel,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-studio-modal {
 background:#fff!important;color:#213943!important;border:1px solid #e1e7ea!important;border-radius:12px!important;box-shadow:0 1px 3px rgba(40,61,68,.04)!important;backdrop-filter:none!important;
}
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-team-card,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-pool-player,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-player-row,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-sub-chip,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-custom-team-list>span,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-map-chip,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-matchup,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-bracket-team,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-tool-result,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-history>span,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-empty-state {
 background:#f9fbfb!important;color:#2f4a54!important;border-color:#e3e9ec!important;border-radius:9px!important;box-shadow:none!important;
}
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-team-head{background:#f5f8f9!important;border-color:#e3eaed!important}
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-team-name{color:#276e72!important}
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-player-row.captain{background:#f8f5ea!important;border-color:#ebdfbe!important}
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-theme-presets button,
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-studio-close {background:#fff!important;color:#385560!important;border:1px solid #dce5e8!important;border-radius:8px!important;box-shadow:none!important}
body.draft-standalone-body[data-draft-theme-preset="aero"] .button {background:#276e72!important;border:1px solid #276e72!important;color:#fff!important;border-radius:8px!important;box-shadow:none!important;text-shadow:none!important}
body.draft-standalone-body[data-draft-theme-preset="aero"] .button.secondary {background:#fff!important;color:#30535c!important;border-color:#dce5e8!important}
body.draft-standalone-body[data-draft-theme-preset="aero"] input,
body.draft-standalone-body[data-draft-theme-preset="aero"] textarea,
body.draft-standalone-body[data-draft-theme-preset="aero"] select{background:#fff!important;color:#203944!important;border:1px solid #dae3e7!important;border-radius:8px!important;box-shadow:none!important}
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-studio-backdrop{background:rgba(33,48,52,.32)!important;backdrop-filter:blur(3px)!important}
body.draft-standalone-body[data-draft-theme-preset="aero"] .draft-privacy-note{background:#fff!important;color:#526e79!important;border:1px solid #dfe8eb!important;box-shadow:none!important}

/* Staff Performance Center */
body[data-staff-theme="aero"]{
 --bg:#f5f7f8;--panel:#fff;--panel2:#f8fafb;--line:#e2e8ec;--text:#203743;--muted:#637987;--accent:#276e72;--accent2:#276e72;--good:#26785d;
 color:#203743!important;background:#f5f7f8!important;background-image:none!important;background-attachment:scroll!important;color-scheme:light;
}
body[data-staff-theme="aero"] .bg{display:none!important}
body[data-staff-theme="aero"] header {background:#fff!important;border-color:#e1e7ea!important;box-shadow:none!important;backdrop-filter:none!important}
body[data-staff-theme="aero"] .brand span {background:#276e72!important;border:0!important;color:#fff!important;border-radius:8px!important;box-shadow:none!important}
body[data-staff-theme="aero"] .eyebrow{color:#42796f!important;letter-spacing:.08em!important}
body[data-staff-theme="aero"] .hero h1 {font-size:clamp(1.9rem,3.6vw,2.8rem)!important;font-weight:740!important;letter-spacing:-.035em!important}
body[data-staff-theme="aero"] .metric,
body[data-staff-theme="aero"] .staff-card,
body[data-staff-theme="aero"] .stocks-panel,
body[data-staff-theme="aero"] .mod-checklist,
body[data-staff-theme="aero"] .login,
body[data-staff-theme="aero"] .empty,
body[data-staff-theme="aero"] .check-progress,
body[data-staff-theme="aero"] .check-task,
body[data-staff-theme="aero"] .mod-roster-row,
body[data-staff-theme="aero"] .stock-wrap {
 color:#243d47!important;background:#fff!important;border:1px solid #e1e7ea!important;border-radius:10px!important;box-shadow:0 1px 3px rgba(36,57,66,.04)!important;backdrop-filter:none!important;
}
body[data-staff-theme="aero"] .staff-card.top1{background:#fffdf7!important;border-color:#e9dcc0!important}
body[data-staff-theme="aero"] .rank{color:#276e72!important}
body[data-staff-theme="aero"] .staff-card.top1 .rank{color:#b17c30!important}
body[data-staff-theme="aero"] .tabs{background:#fff!important;border:1px solid #e2e8eb!important;border-radius:10px!important;box-shadow:none!important}
body[data-staff-theme="aero"] .periods button,
body[data-staff-theme="aero"] .tabs button,
body[data-staff-theme="aero"] .staff-theme-toggle button {background:#fff!important;color:#607782!important;border:1px solid #dfe7ea!important;border-radius:8px!important;box-shadow:none!important;text-shadow:none!important;font-weight:650!important}
body[data-staff-theme="aero"] .periods button.active,
body[data-staff-theme="aero"] .tabs button.active,
body[data-staff-theme="aero"] .staff-theme-toggle button.active{background:#eaf2f0!important;border-color:#d3e6df!important;color:#276e62!important}
body[data-staff-theme="aero"] .badge,
body[data-staff-theme="aero"] .stock-legend span {background:#f3f7f7!important;border:1px solid #e0e8e9!important;color:#4d6874!important;box-shadow:none!important}
body[data-staff-theme="aero"] .voice-breakdown,
body[data-staff-theme="aero"] .check-box {background:#f8fafb!important;border-color:#e1e7ea!important;color:#36525e!important}
body[data-staff-theme="aero"] .voice-breakdown summary {color:#345d69!important}
body[data-staff-theme="aero"] .stock-grid{stroke:#edf0f2!important}
body[data-staff-theme="aero"] .stock-axis{fill:#788b93!important}
body[data-staff-theme="aero"] .stock-axis-line{stroke:#d3dfe3!important}
body[data-staff-theme="aero"] .stock-legend strong,
body[data-staff-theme="aero"] .voice-channels strong {color:#253c47!important}
body[data-staff-theme="aero"] .check-oversight>summary {color:#26404a!important}
body[data-staff-theme="aero"] .check-reset {background:#f8fafb!important;color:#7e909a!important}
body[data-staff-theme="aero"] .pugx-site-switcher{background:transparent!important;backdrop-filter:none!important}
body[data-staff-theme="aero"] .pugx-site-link{background:#fff!important;color:#516b76!important;border:1px solid #e1e7eb!important;box-shadow:none!important;text-shadow:none!important}
body[data-staff-theme="aero"] .pugx-site-link.active{background:#eaf2f0!important;border-color:#d3e8e2!important;color:#276e62!important}
