/* AlgoQC Admin — Reference Dashboard implementation
   Dark navy sidebar + luminous blue/violet glass workspace.
   Loaded last by operations-console.js on Admin. */

html[data-theme="light"]{
  --ops-page:#dbe6ff;
  --ops-sidebar:#10265d;
  --ops-panel:rgba(255,255,255,.50);
  --ops-panel-2:rgba(255,255,255,.34);
  --ops-panel-3:rgba(255,255,255,.24);
  --ops-border:rgba(255,255,255,.46);
  --ops-border-soft:rgba(71,93,164,.12);
  --ops-text:#172557;
  --ops-muted:#5f70a2;
  --ops-muted-2:#8090bb;
  --ops-accent:#376dff;
  --ops-accent-2:#764cff;
  --ops-accent-soft:rgba(67,100,255,.13);
  --ops-success:#0ba977;
  --ops-warning:#f0a130;
  --ops-danger:#ee4e62;
  --ops-shadow:0 14px 36px rgba(42,67,137,.12);
  color-scheme:light;
}
html[data-theme="dark"]{
  --ops-page:#081a42;
  --ops-sidebar:#071b45;
  --ops-panel:rgba(17,40,91,.72);
  --ops-panel-2:rgba(20,48,105,.62);
  --ops-panel-3:rgba(26,56,116,.55);
  --ops-border:rgba(126,157,255,.22);
  --ops-border-soft:rgba(126,157,255,.12);
  --ops-text:#eff4ff;
  --ops-muted:#a8b6db;
  --ops-muted-2:#7e91c5;
  --ops-accent:#5b8cff;
  --ops-accent-2:#8b5cff;
  --ops-accent-soft:rgba(83,118,255,.16);
  --ops-success:#31d69d;
  --ops-warning:#ffc45c;
  --ops-danger:#ff6f7e;
  --ops-shadow:0 18px 44px rgba(1,8,27,.30);
  color-scheme:dark;
}

body.admin-workspace-mode,
body.admin-workspace-mode.operations-console-ui,
body.jl-tools-ui.admin-workspace-mode{
  margin:0!important;
  min-height:100svh!important;
  background:
    radial-gradient(circle at 58% 5%,rgba(255,255,255,.68),transparent 24%),
    radial-gradient(circle at 82% 15%,rgba(117,143,255,.28),transparent 29%),
    linear-gradient(135deg,#cddcff 0%,#edf2ff 38%,#dce8ff 68%,#c4d8ff 100%)!important;
  color:var(--ops-text)!important;
}
html[data-theme="dark"] body.admin-workspace-mode,
html[data-theme="dark"] body.jl-tools-ui.admin-workspace-mode{
  background:
    radial-gradient(circle at 58% 5%,rgba(88,113,221,.18),transparent 24%),
    linear-gradient(135deg,#071631 0%,#0b1c43 42%,#112c63 100%)!important;
}
body.admin-workspace-mode>.wrap{
  width:100%!important;
  max-width:none!important;
  min-height:100svh!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}
body.admin-workspace-mode #adminSessionHeader{display:none!important}
body.admin-workspace-mode .global-theme-toggle,
body.admin-workspace-mode>.theme-toggle,
body.admin-workspace-mode .jl-topbar,
body.admin-workspace-mode .jl-menu-panel{display:none!important}

.admin-workspace,
body.jl-tools-ui .admin-workspace{
  display:grid!important;
  grid-template-columns:252px minmax(0,1fr)!important;
  min-height:100svh!important;
  background:transparent!important;
  overflow:hidden!important;
}

/* Sidebar */
.admin-workspace-sidebar,
body.jl-tools-ui .admin-workspace-sidebar{
  position:relative!important;
  top:auto!important;
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  padding:0 14px 15px!important;
  border:0!important;
  border-right:1px solid rgba(143,174,255,.16)!important;
  border-radius:0!important;
  background:
    radial-gradient(circle at 18% 0%,rgba(63,84,195,.52),transparent 29%),
    linear-gradient(180deg,#132c69 0%,#0a2256 48%,#091c49 100%)!important;
  box-shadow:inset -1px 0 rgba(255,255,255,.03)!important;
  overflow:auto!important;
}
.admin-workspace-brand{
  min-height:96px!important;
  padding:21px 8px 18px!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
.brand-lockup{display:flex!important;align-items:center!important;gap:11px!important}
.brand-lockup img{width:48px!important;height:48px!important;filter:drop-shadow(0 8px 18px rgba(42,112,255,.28))}
.brand-lockup strong{
  display:block!important;
  color:#fff!important;
  font-size:24px!important;
  font-style:italic!important;
  font-weight:850!important;
  letter-spacing:-.045em!important;
  line-height:1!important;
}
.brand-lockup span{
  display:block!important;
  margin-top:6px!important;
  color:#a9bde8!important;
  font-size:8px!important;
  font-weight:600!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
.admin-workspace-nav{display:grid!important;gap:0!important;margin-top:7px!important;order:2!important}
.admin-nav-group{display:grid!important;gap:3px!important}
.admin-nav-tool-group{display:grid!important;gap:3px!important}
.admin-nav-group-label{
  display:block!important;
  margin:17px 10px 6px!important;
  color:#a8b8dc!important;
  font-size:9px!important;
  font-weight:600!important;
  letter-spacing:.01em!important;
  text-transform:none!important;
}
.admin-nav-group:first-child .admin-nav-group-label{margin-top:5px!important}
body.soft-editorial .admin-workspace-nav button,
body.jl-tools-ui .admin-workspace-nav button,
.admin-workspace-nav button{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  min-height:43px!important;
  margin:0!important;
  padding:8px 10px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:transparent!important;
  background-image:none!important;
  color:#d6e2ff!important;
  box-shadow:none!important;
  font:inherit!important;
  font-size:11px!important;
  font-weight:600!important;
  text-align:left!important;
  cursor:pointer!important;
}
body.soft-editorial .admin-workspace-nav button:hover,
body.jl-tools-ui .admin-workspace-nav button:hover,
.admin-workspace-nav button:hover{
  background:rgba(93,122,255,.15)!important;
  border-color:rgba(135,163,255,.15)!important;
  color:#fff!important;
}
body.soft-editorial .admin-workspace-nav button.active,
body.jl-tools-ui .admin-workspace-nav button.active,
.admin-workspace-nav button.active{
  background:linear-gradient(90deg,#2767ff 0%,#5f5dff 65%,#8a61ff 100%)!important;
  border-color:rgba(194,204,255,.55)!important;
  color:#fff!important;
  box-shadow:0 7px 20px rgba(40,82,255,.28),inset 0 1px rgba(255,255,255,.25)!important;
}
.admin-workspace-nav .nav-icon,
body.jl-tools-ui .admin-workspace-nav .nav-icon{
  width:24px!important;
  height:24px!important;
  display:grid!important;
  place-items:center!important;
  flex:0 0 24px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#d4e0ff!important;
  font-size:15px!important;
}
.admin-workspace-nav button.active .nav-icon,
body.jl-tools-ui .admin-workspace-nav button.active .nav-icon{
  background:rgba(255,255,255,.13)!important;
  color:#fff!important;
}
.admin-sidebar-promo{
  order:3!important;
  display:grid!important;
  grid-template-columns:40px 1fr!important;
  gap:9px!important;
  margin:auto 2px 10px!important;
  padding:13px!important;
  border:1px solid rgba(129,159,255,.22)!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,rgba(37,73,150,.72),rgba(66,75,182,.56))!important;
  box-shadow:0 12px 26px rgba(2,11,37,.16)!important;
}
.promo-gem{
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  border-radius:12px!important;
  background:rgba(37,112,255,.22)!important;
  color:#a9d7ff!important;
  font-size:24px!important;
}
.admin-sidebar-promo strong{display:block!important;color:#fff!important;font-size:10px!important}
.admin-sidebar-promo small{display:block!important;margin-top:4px!important;color:#bac8ea!important;font-size:8px!important;line-height:1.45!important}
.admin-workspace-user{
  order:4!important;
  margin:0 4px!important;
  padding:10px 8px!important;
  border:0!important;
  border-top:1px solid rgba(255,255,255,.08)!important;
  background:transparent!important;
}
.admin-workspace-user small{color:#93a6d2!important;font-size:7px!important}
.admin-workspace-user strong{color:#fff!important;font-size:10px!important}
.admin-workspace-sidebar-foot{order:5!important;padding:0 4px!important}
.admin-workspace-sidebar-foot button{
  width:100%!important;
  min-height:31px!important;
  margin:0!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.05)!important;
  color:#dce6ff!important;
  font-size:9px!important;
}

/* Main top bar */
.admin-workspace-main,
body.jl-tools-ui .admin-workspace-main{
  min-width:0!important;
  padding:0 18px 28px!important;
  background:transparent!important;
}
.admin-workspace-top,
body.jl-tools-ui .admin-workspace-top{
  min-height:70px!important;
  margin:0 -18px 10px!important;
  padding:11px 20px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:16px!important;
  border:0!important;
  border-bottom:1px solid rgba(84,110,185,.10)!important;
  border-radius:0!important;
  background:rgba(220,231,255,.32)!important;
  box-shadow:none!important;
  backdrop-filter:blur(18px)!important;
  overflow:visible!important;
}
.admin-workspace-top::after{display:none!important}
.workspace-search{
  width:min(570px,56vw)!important;
  min-height:42px!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:0 13px!important;
  border:1px solid rgba(255,255,255,.54)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.25)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.32)!important;
}
.workspace-search>span{color:#365394!important;font-size:19px!important}
.workspace-search input{
  width:100%!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#314574!important;
  font-size:10px!important;
}
.workspace-search input::placeholder{color:#5770a5!important;opacity:.9!important}
.admin-workspace-top-actions{display:flex!important;align-items:center!important;gap:10px!important}
.admin-notification{
  position:relative!important;
  width:36px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.42)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.23)!important;
  color:#28488f!important;
  box-shadow:none!important;
}
.admin-notification i{
  position:absolute!important;
  right:5px!important;
  top:4px!important;
  width:7px!important;
  height:7px!important;
  border-radius:50%!important;
  background:#ff4d5f!important;
  box-shadow:0 0 0 2px rgba(235,241,255,.9)!important;
}
.admin-profile{display:flex!important;align-items:center!important;gap:8px!important;min-width:136px!important}
.admin-profile-avatar{
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  border-radius:50%!important;
  background:linear-gradient(135deg,#244fd0,#356bff)!important;
  color:#fff!important;
  font-size:10px!important;
  font-weight:800!important;
  box-shadow:0 6px 16px rgba(30,72,203,.24)!important;
}
.admin-profile strong{display:block!important;color:#25406f!important;font-size:9px!important;max-width:110px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.admin-profile small{display:block!important;margin-top:2px!important;color:#6075a5!important;font-size:7px!important}
.admin-workspace-version{
  padding:5px 7px!important;
  border:1px solid rgba(255,255,255,.34)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.16)!important;
  color:#6377a6!important;
  font-size:7px!important;
}
.ops-theme-switch{
  display:flex!important;
  padding:2px!important;
  border:1px solid rgba(255,255,255,.32)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.14)!important;
}
body.soft-editorial .ops-theme-switch button,.ops-theme-switch button{
  min-height:27px!important;
  padding:4px 7px!important;
  margin:0!important;
  border:0!important;
  border-radius:6px!important;
  background:transparent!important;
  color:#566d9f!important;
  font-size:8px!important;
  box-shadow:none!important;
}
body.soft-editorial .ops-theme-switch button.active,.ops-theme-switch button.active{
  background:rgba(255,255,255,.74)!important;
  color:#304f9c!important;
}

/* Non-home pane heading */
.admin-pane-heading{
  margin:2px 0 12px!important;
  padding:15px 17px!important;
  border:1px solid rgba(255,255,255,.45)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.30)!important;
  backdrop-filter:blur(16px)!important;
}
.admin-pane-heading[hidden]{display:none!important}
.admin-pane-heading p{margin:0!important;color:#6073a5!important;font-size:7px!important;font-weight:800!important;letter-spacing:.1em!important;text-transform:uppercase!important}
.admin-pane-heading h1{margin:4px 0 0!important;color:#172557!important;font-size:20px!important;letter-spacing:-.025em!important}
.admin-pane-heading span{display:block!important;margin-top:4px!important;color:#6173a2!important;font-size:9px!important}

/* Home 3-column reference layout */
.workspace-home-reference{display:block!important}
.home-dashboard-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 316px!important;
  gap:12px!important;
  align-items:start!important;
}
.home-dashboard-main,.workspace-home-rail{display:grid!important;gap:10px!important}

/* Hero */
.workspace-home-hero{
  position:relative!important;
  min-height:166px!important;
  padding:23px 25px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:14px!important;
  background:
    radial-gradient(circle at 80% 14%,rgba(255,255,255,.75),transparent 24%),
    radial-gradient(circle at 100% 52%,rgba(107,123,255,.26),transparent 31%),
    linear-gradient(110deg,rgba(255,255,255,.18),rgba(255,255,255,.04))!important;
}
.workspace-home-hero::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:
    linear-gradient(150deg,transparent 55%,rgba(110,137,232,.12) 56%,transparent 57%),
    linear-gradient(162deg,transparent 65%,rgba(84,116,208,.08) 66%,transparent 67%)!important;
  pointer-events:none!important;
}
.workspace-home-hero-copy{position:relative!important;z-index:2!important;max-width:670px!important}
.workspace-home-kicker{
  display:block!important;
  margin-bottom:8px!important;
  color:#4b72b7!important;
  font-size:8px!important;
  font-weight:800!important;
  letter-spacing:.22em!important;
}
.workspace-home-hero h2{
  margin:0!important;
  color:#12205b!important;
  font-size:32px!important;
  line-height:1.06!important;
  letter-spacing:-.045em!important;
}
.workspace-home-hero h2 em{
  font-style:normal!important;
  background:linear-gradient(90deg,#2477ff 0%,#644dff 58%,#942dff 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
}
.workspace-home-hero p{
  max-width:680px!important;
  margin:11px 0 0!important;
  color:#455f98!important;
  font-size:10px!important;
  line-height:1.55!important;
}
.workspace-home-hero-art{
  position:relative!important;
  z-index:2!important;
  width:300px!important;
  min-width:300px!important;
  height:118px!important;
}
.hero-panel{
  position:absolute!important;
  border:1px solid rgba(255,255,255,.58)!important;
  border-radius:12px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.62),rgba(119,139,255,.22))!important;
  box-shadow:0 16px 34px rgba(76,93,180,.14),inset 0 1px rgba(255,255,255,.55)!important;
  backdrop-filter:blur(8px)!important;
}
.hero-panel-a{right:58px!important;top:1px!important;width:88px!important;height:86px!important;transform:rotate(4deg)!important}
.hero-panel-b{right:129px!important;top:37px!important;width:104px!important;height:72px!important;background:linear-gradient(145deg,rgba(128,102,255,.44),rgba(66,98,221,.20))!important}
.hero-panel-c{
  right:8px!important;
  top:48px!important;
  width:92px!important;
  height:79px!important;
  display:grid!important;
  place-items:center!important;
  transform:rotate(7deg)!important;
}
.hero-panel-c b{
  background:linear-gradient(180deg,#406cff,#802cff)!important;
  -webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;
  font-size:38px!important;
}
.hero-note{
  position:absolute!important;
  left:0!important;
  top:4px!important;
  color:#4260ad!important;
  font-family:"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
  font-size:10px!important;
  font-style:italic!important;
  line-height:1.35!important;
  transform:rotate(-6deg)!important;
}

/* KPI row */
.workspace-home-kpis{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:9px!important;
}
.workspace-home-kpi{
  position:relative!important;
  min-height:108px!important;
  padding:14px 13px!important;
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr) 54px!important;
  gap:9px!important;
  align-items:center!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.65)!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.52)!important;
  box-shadow:0 10px 24px rgba(65,83,153,.07),inset 0 1px rgba(255,255,255,.7)!important;
  backdrop-filter:blur(15px)!important;
}
.kpi-icon{
  display:grid!important;
  place-items:center!important;
  width:42px!important;height:42px!important;
  border-radius:12px!important;
  background:rgba(71,117,255,.12)!important;
  color:#1560e9!important;
  font-size:19px!important;
  font-weight:900!important;
}
.kpi-pink .kpi-icon{background:rgba(255,90,135,.13)!important;color:#f02e5f!important}
.kpi-green .kpi-icon{background:rgba(18,190,143,.13)!important;color:#0ca77c!important}
.kpi-purple .kpi-icon{background:rgba(143,66,255,.13)!important;color:#7c36dc!important}
.kpi-copy small{display:block!important;color:#354d84!important;font-size:8px!important}
.kpi-copy strong{display:block!important;margin-top:4px!important;color:#101e53!important;font-size:21px!important;font-weight:850!important;line-height:1!important}
.kpi-copy em{display:block!important;margin-top:6px!important;color:#6c7eaa!important;font-size:7px!important;font-style:normal!important}
.kpi-spark{display:flex!important;align-items:flex-end!important;gap:3px!important;height:42px!important;transform:skewY(-12deg)!important}
.kpi-spark i{display:block!important;width:9px!important;border-radius:2px 2px 0 0!important;background:#2a6cff!important}
.kpi-spark i:nth-child(1){height:13px!important}.kpi-spark i:nth-child(2){height:21px!important}.kpi-spark i:nth-child(3){height:18px!important}.kpi-spark i:nth-child(4){height:32px!important}
.kpi-pink .kpi-spark i{background:#ff5d9b!important}.kpi-green .kpi-spark i{background:#10b68b!important}.kpi-purple .kpi-spark i{background:#8d34ed!important}

/* Glass sections */
.glass-card,
.workspace-home-workflow,
.workspace-home-updates,
.workspace-home-actions,
.home-date-card,
.workspace-home-help{
  border:1px solid rgba(255,255,255,.62)!important;
  border-radius:13px!important;
  background:rgba(255,255,255,.25)!important;
  box-shadow:0 10px 24px rgba(54,77,153,.06),inset 0 1px rgba(255,255,255,.45)!important;
  backdrop-filter:blur(18px)!important;
}
.workspace-home-workflow{padding:14px 16px 15px!important}
.workspace-home-section-title,.rail-card-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
.section-title-with-icon{display:flex!important;align-items:center!important;gap:9px!important}
.section-icon{
  display:grid!important;place-items:center!important;
  width:34px!important;height:34px!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.32)!important;color:#fff!important;
  font-size:20px!important;
}
.workspace-home-section-title h3{margin:0!important;color:#fff!important;font-size:13px!important;font-weight:800!important;text-shadow:0 1px 6px rgba(37,61,129,.18)!important}
.workspace-home-section-title p{margin:3px 0 0!important;color:#edf3ff!important;font-size:8px!important}
.home-outline-button{
  min-height:32px!important;padding:6px 12px!important;
  border:1px solid rgba(255,255,255,.48)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.18)!important;
  color:#244178!important;font-size:8px!important;box-shadow:none!important;
}

.workspace-home-flow{
  display:grid!important;
  grid-template-columns:1fr 22px 1fr 22px 1fr 22px 1fr!important;
  gap:3px!important;
  align-items:center!important;
  margin-top:13px!important;
}
.admin-workspace .workspace-home-flow button{
  position:relative!important;
  display:grid!important;
  justify-items:center!important;
  gap:5px!important;
  min-height:132px!important;
  padding:17px 9px 11px!important;
  border:1px solid rgba(255,255,255,.70)!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.50)!important;
  color:#172557!important;
  text-align:center!important;
  box-shadow:inset 0 1px rgba(255,255,255,.72)!important;
}
.admin-workspace .workspace-home-flow button:hover{background:rgba(255,255,255,.68)!important;transform:translateY(-1px)!important}
.workspace-home-step{
  position:absolute!important;
  top:-15px!important;
  display:grid!important;place-items:center!important;
  width:34px!important;height:34px!important;
  border-radius:50%!important;
  color:#fff!important;font-size:12px!important;font-weight:850!important;
  box-shadow:0 0 0 4px rgba(255,255,255,.18),0 8px 18px rgba(49,77,176,.20)!important;
}
.step-blue{background:linear-gradient(180deg,#2d8cff,#0561e8)!important}
.step-purple{background:linear-gradient(180deg,#7d68ff,#6040e8)!important}
.step-pink{background:linear-gradient(180deg,#ff64c1,#e73294)!important}
.step-green{background:linear-gradient(180deg,#36d6ad,#09a877)!important}
.flow-icon{margin-top:9px!important;color:#3159d7!important;font-size:21px!important;font-weight:900!important}
.workspace-home-flow button:nth-of-type(2) .flow-icon{color:#6441df!important}
.workspace-home-flow button:nth-of-type(3) .flow-icon{color:#e843a5!important}
.workspace-home-flow button:nth-of-type(4) .flow-icon{color:#0da878!important}
.workspace-home-flow strong{color:#142252!important;font-size:10px!important;font-weight:800!important}
.workspace-home-flow small{max-width:155px!important;color:#405986!important;font-size:8px!important;line-height:1.42!important}
.workspace-flow-arrow{color:#fff!important;font-size:27px!important;text-align:center!important;text-shadow:0 2px 6px rgba(35,60,120,.18)!important}

/* Access quick */
.workspace-home-access{padding:2px 4px 0!important}
.workspace-home-access-head{display:flex!important;align-items:center!important;gap:7px!important;margin-bottom:8px!important;color:#203a79!important}
.workspace-home-access-head>span{font-size:15px!important}
.workspace-home-access-head strong{font-size:11px!important}
.workspace-home-access-head small{color:#637aae!important;font-size:8px!important}
.workspace-home-shortcuts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
.admin-workspace .workspace-home-shortcut{
  display:grid!important;
  grid-template-columns:47px minmax(0,1fr) 27px!important;
  gap:9px!important;
  align-items:center!important;
  min-height:88px!important;
  padding:12px!important;
  border:1px solid rgba(255,255,255,.64)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.44)!important;
  color:#18275b!important;
  text-align:left!important;
  box-shadow:0 8px 20px rgba(54,77,153,.05)!important;
}
.shortcut-blue{background:linear-gradient(115deg,rgba(224,241,255,.70),rgba(255,255,255,.47))!important}
.shortcut-purple{background:linear-gradient(115deg,rgba(238,224,255,.73),rgba(255,255,255,.47))!important}
.shortcut-orange{background:linear-gradient(115deg,rgba(255,234,206,.78),rgba(255,255,255,.47))!important}
.shortcut-icon{
  display:grid!important;place-items:center!important;
  width:46px!important;height:46px!important;
  border-radius:12px!important;
  background:linear-gradient(145deg,#399cff,#1764ec)!important;
  color:#fff!important;font-size:21px!important;
  box-shadow:0 8px 18px rgba(34,107,244,.22)!important;
}
.shortcut-purple .shortcut-icon{background:linear-gradient(145deg,#b65aff,#7338e8)!important}
.shortcut-orange .shortcut-icon{background:linear-gradient(145deg,#ffbb62,#f18f27)!important}
.workspace-home-shortcut strong{display:block!important;color:#18275b!important;font-size:9px!important}
.workspace-home-shortcut small{display:block!important;margin-top:3px!important;color:#526997!important;font-size:7.5px!important;line-height:1.42!important}
.workspace-home-shortcut b{
  display:grid!important;place-items:center!important;
  width:26px!important;height:26px!important;
  border-radius:50%!important;background:rgba(255,255,255,.62)!important;
  color:#2e56b0!important;font-size:16px!important;
}

/* Promo banner */
.workspace-home-promo{
  min-height:128px!important;
  padding:18px 24px!important;
  display:flex!important;
  align-items:center!important;
  border:1px solid rgba(255,255,255,.34)!important;
  border-radius:13px!important;
  background:
    linear-gradient(90deg,rgba(8,30,86,.92) 0%,rgba(20,47,111,.72) 45%,rgba(18,44,103,.18) 78%),
    url("/assets/admin-education-banner.svg") center/cover no-repeat!important;
  box-shadow:0 13px 30px rgba(26,49,112,.15)!important;
  overflow:hidden!important;
}
.workspace-home-promo>div{max-width:610px!important}
.workspace-home-promo span{display:block!important;color:#bcd9ff!important;font-size:7px!important;font-weight:800!important;letter-spacing:.16em!important}
.workspace-home-promo strong{display:block!important;margin-top:5px!important;color:#fff!important;font-size:17px!important;line-height:1.2!important;letter-spacing:-.02em!important}
.promo-benefits{display:flex!important;gap:20px!important;margin-top:11px!important}
.promo-benefits small{color:#dbe7ff!important;font-size:8px!important}

/* Right rail */
.workspace-home-rail{min-width:0!important}
.home-date-card{
  min-height:87px!important;
  padding:13px 14px!important;
  display:grid!important;
  grid-template-columns:46px 1fr!important;
  gap:10px!important;
  align-items:center!important;
}
.rail-icon{
  display:grid!important;place-items:center!important;
  width:45px!important;height:45px!important;
  border-radius:11px!important;background:rgba(255,255,255,.65)!important;
  color:#3266df!important;font-size:20px!important;
}
.home-date-card strong{display:block!important;color:#244176!important;font-size:10px!important}
.home-date-card small{display:block!important;margin-top:4px!important;color:#6680b7!important;font-size:7.5px!important}
.workspace-home-updates,.workspace-home-actions{padding:13px!important}
.rail-card-head strong{color:#18305f!important;font-size:10px!important}
.rail-link{
  min-height:0!important;
  padding:3px 4px!important;
  border:0!important;
  background:transparent!important;
  color:#3d68bd!important;
  box-shadow:none!important;
  font-size:7.5px!important;
}
.home-update-list{display:grid!important;margin-top:7px!important}
.home-update-list>div{
  display:grid!important;
  grid-template-columns:38px 1fr!important;
  gap:8px!important;
  align-items:start!important;
  padding:10px 0!important;
  border-bottom:1px solid rgba(70,94,160,.10)!important;
}
.home-update-list>div:last-child{border-bottom:0!important}
.update-dot{
  display:grid!important;place-items:center!important;
  width:34px!important;height:34px!important;
  border-radius:50%!important;color:#fff!important;
  font-size:14px!important;font-weight:850!important;
  box-shadow:0 6px 14px rgba(41,75,167,.14)!important;
}
.dot-green{background:linear-gradient(145deg,#32d29c,#0daa78)!important}
.dot-purple{background:linear-gradient(145deg,#8e68ff,#6942df)!important}
.dot-blue{background:linear-gradient(145deg,#3794ff,#1268e8)!important}
.dot-orange{background:linear-gradient(145deg,#ffbd63,#f4972c)!important}
.home-update-list strong{display:block!important;color:#244176!important;font-size:8.5px!important;line-height:1.35!important}
.home-update-list small{display:block!important;margin-top:3px!important;color:#7186b2!important;font-size:7px!important}
.home-action-list{display:grid!important;gap:6px!important;margin-top:9px!important}
.home-action-list button{
  display:grid!important;
  grid-template-columns:31px minmax(0,1fr) 12px!important;
  gap:7px!important;
  align-items:center!important;
  min-height:39px!important;
  padding:5px 7px!important;
  border:1px solid rgba(255,255,255,.58)!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.50)!important;
  color:#193269!important;
  box-shadow:none!important;
  text-align:left!important;
}
.home-action-list button>span{
  display:grid!important;place-items:center!important;
  width:29px!important;height:29px!important;
  border-radius:8px!important;background:rgba(255,255,255,.72)!important;
  color:#2862dc!important;font-size:14px!important;
}
.home-action-list strong{font-size:8px!important}
.home-action-list b{font-size:14px!important;color:#5872a8!important}
.workspace-home-help{
  min-height:72px!important;
  padding:11px 12px!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 20px!important;
  gap:8px!important;
  align-items:center!important;
}
.workspace-home-help .help-icon{
  display:grid!important;place-items:center!important;
  width:36px!important;height:36px!important;border-radius:50%!important;
  background:rgba(55,93,184,.68)!important;color:#fff!important;
  font-size:15px!important;font-weight:900!important;
}
.workspace-home-help strong{display:block!important;color:#244176!important;font-size:8.5px!important}
.workspace-home-help small{display:block!important;margin-top:3px!important;color:#7186b2!important;font-size:7px!important;line-height:1.35!important}

/* Other admin panes keep full functionality but inherit glass styling */
.admin-workspace-pane{display:grid!important;gap:10px!important}
.admin-workspace-pane[hidden]{display:none!important}
.admin-workspace .card:not(.workspace-home-kpi):not(.workspace-home-workflow):not(.workspace-home-updates):not(.workspace-home-actions):not(.home-date-card):not(.workspace-home-help){
  padding:14px!important;
  border:1px solid rgba(255,255,255,.55)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.45)!important;
  box-shadow:0 10px 24px rgba(54,77,153,.06)!important;
  backdrop-filter:blur(16px)!important;
}
.admin-workspace .grid{grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr)!important;gap:10px!important}
.admin-workspace-section-head{padding-bottom:10px!important;border-color:rgba(68,89,147,.12)!important}
.admin-workspace-section-head h2{color:#17305f!important;font-size:13px!important}
.admin-workspace-section-head p{color:#657baa!important;font-size:8px!important}
.admin-workspace button,.admin-workspace .secondary{
  min-height:34px!important;
  padding:7px 10px!important;
  border-radius:9px!important;
  font-size:8px!important;
  font-weight:750!important;
}
.admin-workspace button:not(.ghost):not(.secondary):not(.danger):not([data-workspace-nav]):not([data-admin-tool]):not([data-ops-theme]):not(.admin-notification):not(.rail-link){
  background:linear-gradient(135deg,#446fff,#6558f0)!important;
  border-color:rgba(63,86,219,.38)!important;
  color:#fff!important;
  box-shadow:0 6px 14px rgba(57,80,192,.14)!important;
}
.admin-workspace button.ghost,.admin-workspace button.secondary,.admin-workspace .secondary{
  background:rgba(255,255,255,.52)!important;
  border-color:rgba(255,255,255,.58)!important;
  color:#29477f!important;
  box-shadow:none!important;
}
.admin-workspace button.danger,.admin-workspace .danger{
  background:rgba(255,241,244,.72)!important;
  border-color:rgba(219,90,103,.18)!important;
  color:#bd4454!important;
}
.workspace-source-card{
  margin:10px 0!important;padding:12px!important;
  border:1px solid rgba(255,255,255,.56)!important;border-radius:10px!important;
  background:rgba(255,255,255,.34)!important;
}
.workspace-data-summary,.visitor-summary-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  margin:10px 0!important;
}
.workspace-data-kpi,.admin-workspace .visitor-summary-card{
  min-height:75px!important;
  padding:11px 12px!important;
  border:1px solid rgba(255,255,255,.58)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.48)!important;
}
.workspace-data-kpi span,.admin-workspace .visitor-summary-card span{color:#7184b1!important;font-size:7px!important}
.workspace-data-kpi strong,.admin-workspace .visitor-summary-card strong{display:block!important;margin-top:6px!important;color:#17305f!important;font-size:20px!important}
.admin-workspace input,.admin-workspace select,.admin-workspace textarea{
  min-height:35px!important;padding:7px 9px!important;
  border:1px solid rgba(255,255,255,.70)!important;border-radius:8px!important;
  background:rgba(255,255,255,.62)!important;color:#244176!important;
  font-size:8px!important;
}
.admin-workspace input:focus,.admin-workspace select:focus,.admin-workspace textarea:focus{
  border-color:#6281e8!important;box-shadow:0 0 0 3px rgba(86,116,232,.12)!important;
}
.admin-workspace .table-wrap{
  overflow:auto!important;
  border:1px solid rgba(255,255,255,.54)!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.46)!important;
}
.admin-workspace th{background:rgba(221,231,255,.67)!important;color:#6176a5!important}
.admin-workspace td{background:rgba(255,255,255,.43)!important;color:#334d7d!important}
.admin-workspace tbody tr:hover td{background:rgba(255,255,255,.66)!important}
.workspace-data-table td:first-child{background:rgba(255,255,255,.53)!important}
.workspace-data-table th:first-child{background:rgba(221,231,255,.78)!important}

/* Dark preference still supported */
html[data-theme="dark"] .admin-workspace-top{background:rgba(9,27,66,.52)!important}
html[data-theme="dark"] .workspace-search,
html[data-theme="dark"] .admin-notification,
html[data-theme="dark"] .ops-theme-switch{background:rgba(19,45,98,.56)!important;border-color:rgba(121,153,235,.19)!important}
html[data-theme="dark"] .workspace-search input,
html[data-theme="dark"] .admin-profile strong{color:#e9f0ff!important}
html[data-theme="dark"] .workspace-search input::placeholder,
html[data-theme="dark"] .admin-profile small{color:#9badd5!important}
html[data-theme="dark"] .workspace-home-hero{background:linear-gradient(115deg,rgba(30,60,131,.64),rgba(48,57,133,.35))!important}
html[data-theme="dark"] .workspace-home-hero h2,
html[data-theme="dark"] .workspace-home-kpi strong,
html[data-theme="dark"] .workspace-home-kpi small,
html[data-theme="dark"] .workspace-home-shortcut strong,
html[data-theme="dark"] .rail-card-head strong,
html[data-theme="dark"] .home-update-list strong,
html[data-theme="dark"] .home-action-list button,
html[data-theme="dark"] .workspace-home-help strong{color:#edf3ff!important}
html[data-theme="dark"] .workspace-home-hero p,
html[data-theme="dark"] .workspace-home-shortcut small,
html[data-theme="dark"] .home-update-list small,
html[data-theme="dark"] .workspace-home-help small{color:#aebee3!important}
html[data-theme="dark"] .workspace-home-kpi,
html[data-theme="dark"] .workspace-home-shortcut,
html[data-theme="dark"] .glass-card{background:rgba(18,43,94,.58)!important;border-color:rgba(126,157,255,.20)!important}

/* Responsive */
@media(max-width:1280px){
  .admin-workspace{grid-template-columns:220px minmax(0,1fr)!important}
  .home-dashboard-grid{grid-template-columns:minmax(0,1fr) 280px!important}
  .workspace-home-hero-art{width:240px!important;min-width:240px!important}
  .workspace-home-kpi{grid-template-columns:40px minmax(0,1fr)!important}
  .kpi-spark{display:none!important}
}
@media(max-width:1080px){
  .home-dashboard-grid{grid-template-columns:1fr!important}
  .workspace-home-rail{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .workspace-home-updates{grid-row:span 2!important}
  .workspace-home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:820px){
  .admin-workspace{grid-template-columns:1fr!important}
  .admin-workspace-sidebar,body.jl-tools-ui .admin-workspace-sidebar{
    position:sticky!important;top:0!important;z-index:50!important;
    padding:7px!important;border-right:0!important;border-bottom:1px solid rgba(255,255,255,.10)!important;
  }
  .admin-workspace-brand,.admin-sidebar-promo,.admin-workspace-user,.admin-workspace-sidebar-foot,.admin-nav-group-label{display:none!important}
  .admin-workspace-nav{display:flex!important;gap:4px!important;margin:0!important;overflow-x:auto!important}
  .admin-nav-group,.admin-nav-tool-group{display:contents!important}
  .admin-workspace-nav button{width:auto!important;white-space:nowrap!important}
  .admin-workspace-main,body.jl-tools-ui .admin-workspace-main{padding:0 9px 22px!important}
  .admin-workspace-top,body.jl-tools-ui .admin-workspace-top{margin:0 -9px 8px!important;padding:8px 10px!important}
  .workspace-search{width:min(58vw,500px)!important}
  .admin-profile>span:not(.admin-profile-avatar),.admin-workspace-version{display:none!important}
  .workspace-home-hero{min-height:145px!important;padding:18px!important}
  .workspace-home-hero h2{font-size:25px!important}
  .workspace-home-hero-art{display:none!important}
  .workspace-home-flow{grid-template-columns:1fr 18px 1fr!important;row-gap:24px!important}
  .workspace-home-flow button:nth-of-type(3),.workspace-home-flow button:nth-of-type(4){margin-top:15px!important}
  .workspace-flow-arrow:nth-of-type(2){display:none!important}
  .workspace-home-shortcuts{grid-template-columns:1fr!important}
  .workspace-data-summary,.visitor-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:560px){
  .admin-notification,.ops-theme-switch{display:none!important}
  .workspace-search{width:calc(100vw - 78px)!important}
  .admin-profile{min-width:auto!important}
  .workspace-home-kpis{grid-template-columns:1fr!important}
  .workspace-home-flow{grid-template-columns:1fr!important;row-gap:22px!important}
  .workspace-flow-arrow{display:none!important}
  .workspace-home-rail{grid-template-columns:1fr!important}
  .workspace-home-updates{grid-row:auto!important}
  .promo-benefits{gap:9px!important;flex-wrap:wrap!important}
  .workspace-home-promo strong{font-size:15px!important}
  .admin-workspace .grid{grid-template-columns:1fr!important}
}


/* Data QC refinement: prevent inherited legacy layout from breaking columns */
body.admin-workspace-mode .workspace-data-table{
  min-width:1180px!important;
  table-layout:auto!important;
}
body.admin-workspace-mode .workspace-data-table th,
body.admin-workspace-mode .workspace-data-table td{
  white-space:nowrap!important;
}
body.admin-workspace-mode .workspace-data-table th:nth-child(1){min-width:160px!important}
body.admin-workspace-mode .workspace-data-table th:nth-child(2){min-width:170px!important}
body.admin-workspace-mode .workspace-data-table th:nth-child(3){min-width:88px!important}
body.admin-workspace-mode .workspace-data-table th:nth-child(4){min-width:110px!important}
body.admin-workspace-mode .workspace-data-table th:nth-child(5){min-width:110px!important}
body.admin-workspace-mode .workspace-data-table th:nth-child(6){min-width:170px!important}
body.admin-workspace-mode .workspace-data-table th:nth-child(7){min-width:110px!important}
body.admin-workspace-mode .workspace-data-table th:nth-child(8){min-width:230px!important}
body.admin-workspace-mode .workspace-data-table th:nth-child(9){min-width:110px!important}
body.admin-workspace-mode .workspace-data-table th .workspace-sort{
  width:100%!important;
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:8px 10px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  color:#526a9e!important;
  box-shadow:none!important;
  font-size:8px!important;
  line-height:1.1!important;
  white-space:nowrap!important;
}
body.admin-workspace-mode .workspace-data-table th .workspace-sort.active{
  color:#244fc7!important;
}
body.admin-workspace-mode .workspace-source-meta a{
  color:#345fd0!important;
  text-decoration:none!important;
}
body.admin-workspace-mode .workspace-source-meta a:hover{text-decoration:underline!important}
body.admin-workspace-mode .workspace-source-line{
  background:rgba(8,30,72,.90)!important;
  border-color:rgba(33,72,145,.35)!important;
  color:#c9d9ff!important;
  border-radius:9px!important;
}
body.admin-workspace-mode .workspace-data-kpi{
  background:rgba(255,255,255,.55)!important;
  border-color:rgba(255,255,255,.68)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.72)!important;
}
body.admin-workspace-mode #workspaceDataCard{
  background:rgba(255,255,255,.38)!important;
}
body.admin-workspace-mode #workspaceDataCard .table-wrap{
  background:rgba(255,255,255,.56)!important;
}
body.admin-workspace-mode #workspaceDataCard th{
  background:rgba(221,231,255,.88)!important;
  color:#526a9e!important;
}
body.admin-workspace-mode #workspaceDataCard td{
  background:rgba(255,255,255,.72)!important;
  color:#2d416f!important;
}
body.admin-workspace-mode #workspaceDataCard tbody tr:nth-child(even) td{
  background:rgba(247,250,255,.76)!important;
}
body.admin-workspace-mode #workspaceDataCard tbody tr:hover td{
  background:rgba(235,241,255,.92)!important;
}
body.admin-workspace-mode #workspaceDataCard .workspace-data-table td:first-child{
  background:rgba(255,255,255,.96)!important;
}
body.admin-workspace-mode #workspaceDataCard .workspace-data-table th:first-child{
  background:rgba(221,231,255,.98)!important;
}
body.admin-workspace-mode .admin-pane-heading{
  background:linear-gradient(105deg,rgba(255,255,255,.42),rgba(214,226,255,.40))!important;
}


/* ===== Readability + collision correction (reference dashboard v4.1) ===== */
body.admin-workspace-mode .admin-workspace{
  font-family:"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
  font-size:13px!important;
}

/* Sidebar: only active item may use the blue/violet fill. */
body.jl-tools-ui.soft-editorial.admin-workspace-mode .admin-workspace-sidebar .admin-workspace-nav button[data-workspace-nav],
body.jl-tools-ui.soft-editorial.admin-workspace-mode .admin-workspace-sidebar .admin-workspace-nav button[data-admin-tool]{
  min-height:44px!important;
  padding:9px 11px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:transparent!important;
  background-image:none!important;
  color:#d5e1ff!important;
  box-shadow:none!important;
  font-size:12px!important;
  font-weight:650!important;
}
body.jl-tools-ui.soft-editorial.admin-workspace-mode .admin-workspace-sidebar .admin-workspace-nav button[data-workspace-nav]:hover,
body.jl-tools-ui.soft-editorial.admin-workspace-mode .admin-workspace-sidebar .admin-workspace-nav button[data-admin-tool]:hover{
  background:rgba(103,132,255,.14)!important;
  border-color:rgba(143,168,255,.15)!important;
  color:#fff!important;
}
body.jl-tools-ui.soft-editorial.admin-workspace-mode .admin-workspace-sidebar .admin-workspace-nav button[data-workspace-nav].active,
body.jl-tools-ui.soft-editorial.admin-workspace-mode .admin-workspace-sidebar .admin-workspace-nav button[data-admin-tool].active{
  background:linear-gradient(90deg,#2468ff 0%,#5963ff 64%,#8b63ff 100%)!important;
  background-image:linear-gradient(90deg,#2468ff 0%,#5963ff 64%,#8b63ff 100%)!important;
  border-color:rgba(194,207,255,.55)!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(38,83,255,.28),inset 0 1px rgba(255,255,255,.24)!important;
}
body.jl-tools-ui.soft-editorial.admin-workspace-mode .admin-workspace-sidebar .admin-workspace-nav button .nav-icon{
  width:24px!important;
  height:24px!important;
  flex:0 0 24px!important;
  background:transparent!important;
  color:#d5e1ff!important;
  font-size:14px!important;
}
body.jl-tools-ui.soft-editorial.admin-workspace-mode .admin-workspace-sidebar .admin-workspace-nav button.active .nav-icon{
  background:rgba(255,255,255,.13)!important;
  color:#fff!important;
}
body.admin-workspace-mode .admin-nav-group-label{
  font-size:10px!important;
  color:#aebde0!important;
}
body.admin-workspace-mode .brand-lockup span{font-size:9px!important}
body.admin-workspace-mode .admin-workspace-user small{font-size:8px!important}
body.admin-workspace-mode .admin-workspace-user strong{font-size:11px!important}

/* Top bar readability */
body.admin-workspace-mode .workspace-search input{
  font-size:11px!important;
  color:#28457d!important;
}
body.admin-workspace-mode .workspace-search input::placeholder{color:#6278aa!important}
body.admin-workspace-mode .admin-profile strong{font-size:10px!important}
body.admin-workspace-mode .admin-profile small{font-size:8px!important}
body.admin-workspace-mode .admin-workspace-version{font-size:8px!important}

/* Hero typography */
body.admin-workspace-mode .workspace-home-kicker{
  font-size:9px!important;
  font-weight:850!important;
}
body.admin-workspace-mode .workspace-home-hero h2{
  font-family:"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
  font-size:36px!important;
  font-weight:850!important;
  line-height:1.08!important;
}
body.admin-workspace-mode .workspace-home-hero p{
  max-width:700px!important;
  font-size:12px!important;
  line-height:1.55!important;
  color:#425b91!important;
}
body.admin-workspace-mode .hero-note{
  font-size:11px!important;
  color:#3f5fae!important;
}

/* KPI cards */
body.admin-workspace-mode .workspace-home-kpi{
  min-height:118px!important;
  grid-template-columns:46px minmax(0,1fr) 58px!important;
  padding:15px!important;
}
body.admin-workspace-mode .kpi-copy small{
  font-size:10px!important;
  font-weight:650!important;
  color:#3e558c!important;
}
body.admin-workspace-mode .kpi-copy strong{
  font-size:26px!important;
  color:#102052!important;
}
body.admin-workspace-mode .kpi-copy em{
  font-size:9px!important;
  color:#687ba8!important;
}
body.admin-workspace-mode .kpi-icon{
  width:44px!important;
  height:44px!important;
}

/* Workflow: neutral glass cards, readable text, no generic primary-button fill. */
body.admin-workspace-mode .workspace-home-workflow{
  padding:17px 18px 18px!important;
  overflow:visible!important;
}
body.admin-workspace-mode .workspace-home-section-title h3{
  font-size:15px!important;
  line-height:1.25!important;
  color:#18315f!important;
  text-shadow:none!important;
}
body.admin-workspace-mode .workspace-home-section-title p{
  color:#5c72a4!important;
}
body.admin-workspace-mode .workspace-home-section-title p{
  font-size:10px!important;
  line-height:1.45!important;
}
body.admin-workspace-mode .home-outline-button{
  min-height:34px!important;
  font-size:9px!important;
}
body.admin-workspace-mode .workspace-home-flow{
  margin-top:21px!important;
}
body.admin-workspace-mode .workspace-home-flow button[data-home-pane],
body.admin-workspace-mode .workspace-home-flow button[data-home-tool],
body.admin-workspace-mode .workspace-home-flow button[data-home-report]{
  min-height:148px!important;
  padding:22px 12px 14px!important;
  border:1px solid rgba(255,255,255,.76)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.55)!important;
  background-image:none!important;
  color:#172557!important;
  box-shadow:0 7px 20px rgba(61,80,153,.06),inset 0 1px rgba(255,255,255,.82)!important;
}
body.admin-workspace-mode .workspace-home-flow button[data-home-pane]:hover,
body.admin-workspace-mode .workspace-home-flow button[data-home-tool]:hover,
body.admin-workspace-mode .workspace-home-flow button[data-home-report]:hover{
  background:rgba(255,255,255,.72)!important;
  background-image:none!important;
  border-color:rgba(255,255,255,.90)!important;
}
body.admin-workspace-mode .workspace-home-flow strong{
  font-size:12px!important;
  line-height:1.25!important;
  color:#172557!important;
}
body.admin-workspace-mode .workspace-home-flow small{
  max-width:178px!important;
  font-size:9.5px!important;
  line-height:1.5!important;
  color:#4c6291!important;
}
body.admin-workspace-mode .flow-icon{
  margin-top:11px!important;
  font-size:23px!important;
}
body.admin-workspace-mode .workspace-home-step{
  width:38px!important;
  height:38px!important;
  top:-17px!important;
  font-size:13px!important;
}
body.admin-workspace-mode .workspace-flow-arrow{
  font-size:30px!important;
  color:#8096c9!important;
  text-shadow:none!important;
}

/* Quick access: keep pastel cards; generic primary rule must not recolor them. */
body.admin-workspace-mode .workspace-home-access-head strong{font-size:12px!important}
body.admin-workspace-mode .workspace-home-access-head small{font-size:9px!important}
body.admin-workspace-mode .workspace-home-shortcut{
  min-height:102px!important;
  grid-template-columns:50px minmax(0,1fr) 30px!important;
  padding:14px!important;
  background-image:none!important;
  color:#172557!important;
}
body.admin-workspace-mode .workspace-home-shortcut.shortcut-blue{
  background:linear-gradient(115deg,rgba(223,240,255,.88),rgba(255,255,255,.66))!important;
}
body.admin-workspace-mode .workspace-home-shortcut.shortcut-purple{
  background:linear-gradient(115deg,rgba(237,224,255,.90),rgba(255,255,255,.66))!important;
}
body.admin-workspace-mode .workspace-home-shortcut.shortcut-orange{
  background:linear-gradient(115deg,rgba(255,235,208,.94),rgba(255,255,255,.68))!important;
}
body.admin-workspace-mode .workspace-home-shortcut strong{
  font-size:11px!important;
  line-height:1.3!important;
  color:#16275b!important;
}
body.admin-workspace-mode .workspace-home-shortcut small{
  font-size:9px!important;
  line-height:1.45!important;
  color:#4d6495!important;
}
body.admin-workspace-mode .workspace-home-shortcut b{
  color:#3458aa!important;
}

/* Right rail: fix old .workspace-home-actions flex collision. */
body.admin-workspace-mode section.workspace-home-actions{
  display:block!important;
  min-width:0!important;
  padding:15px!important;
}
body.admin-workspace-mode .home-date-card{
  min-height:94px!important;
  padding:15px!important;
}
body.admin-workspace-mode .home-date-card strong{font-size:11px!important}
body.admin-workspace-mode .home-date-card small{font-size:9px!important;line-height:1.4!important}
body.admin-workspace-mode .rail-card-head strong{font-size:11px!important}
body.admin-workspace-mode .rail-link{font-size:9px!important}
body.admin-workspace-mode .home-update-list strong{
  font-size:10px!important;
  line-height:1.4!important;
  color:#203b73!important;
}
body.admin-workspace-mode .home-update-list small{
  font-size:8.5px!important;
  line-height:1.35!important;
  color:#6479a7!important;
}
body.admin-workspace-mode .home-action-list{
  width:100%!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  margin-top:10px!important;
}
body.admin-workspace-mode .home-action-list button{
  width:100%!important;
  min-height:44px!important;
  grid-template-columns:33px minmax(0,1fr) 14px!important;
  padding:6px 9px!important;
  background:rgba(255,255,255,.62)!important;
  background-image:none!important;
  color:#18366f!important;
}
body.admin-workspace-mode .home-action-list button:hover{
  background:rgba(255,255,255,.80)!important;
  background-image:none!important;
}
body.admin-workspace-mode .home-action-list strong{
  font-size:9.5px!important;
  color:#18366f!important;
}
body.admin-workspace-mode .workspace-home-help strong{font-size:10px!important}
body.admin-workspace-mode .workspace-home-help small{font-size:8.5px!important}

/* Promo readability */
body.admin-workspace-mode .workspace-home-promo strong{
  font-size:19px!important;
  line-height:1.25!important;
}
body.admin-workspace-mode .workspace-home-promo span{font-size:8px!important}
body.admin-workspace-mode .promo-benefits small{font-size:9px!important}

/* Non-home panes / Data QC */
body.admin-workspace-mode .admin-pane-heading h1{
  font-family:"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;
  font-size:23px!important;
  font-weight:820!important;
}
body.admin-workspace-mode .admin-pane-heading span{font-size:10px!important}
body.admin-workspace-mode .admin-workspace-section-head h2{font-size:15px!important}
body.admin-workspace-mode .admin-workspace-section-head p{font-size:10px!important}
body.admin-workspace-mode .workspace-source-meta span{font-size:9px!important}
body.admin-workspace-mode .workspace-source-meta strong{font-size:12px!important}
body.admin-workspace-mode .workspace-source-meta a{font-size:10px!important}
body.admin-workspace-mode .workspace-data-kpi span,
body.admin-workspace-mode .visitor-summary-card span{font-size:9px!important}
body.admin-workspace-mode .workspace-data-kpi strong,
body.admin-workspace-mode .visitor-summary-card strong{font-size:23px!important}
body.admin-workspace-mode .workspace-data-toolbar label,
body.admin-workspace-mode .workspace-source-editor label,
body.admin-workspace-mode .workspace-user-form label,
body.admin-workspace-mode .admin-workspace label{font-size:10px!important}
body.admin-workspace-mode .admin-workspace input,
body.admin-workspace-mode .admin-workspace select,
body.admin-workspace-mode .admin-workspace textarea{
  font-size:10px!important;
}
body.admin-workspace-mode .workspace-source-line{
  font-size:10px!important;
  line-height:1.45!important;
}
body.admin-workspace-mode .workspace-data-table th .workspace-sort{
  font-size:9px!important;
  font-weight:800!important;
}
body.admin-workspace-mode .admin-workspace td{
  font-size:10.5px!important;
  line-height:1.4!important;
}
body.admin-workspace-mode .workspace-table-footer,
body.admin-workspace-mode .workspace-page-info,
body.admin-workspace-mode .workspace-page-number{font-size:9px!important}

/* Keep generic primary button rule away from structured dashboard buttons. */
body.admin-workspace-mode .workspace-home-flow button,
body.admin-workspace-mode .workspace-home-shortcut,
body.admin-workspace-mode .home-action-list button{
  text-shadow:none!important;
}

/* Mid desktop: prevent cards from colliding when browser width is around 1400–1700px. */
@media(max-width:1450px){
  body.admin-workspace-mode .home-dashboard-grid{
    grid-template-columns:minmax(0,1fr) 300px!important;
  }
  body.admin-workspace-mode .workspace-home-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.admin-workspace-mode .workspace-home-shortcuts{
    grid-template-columns:1fr!important;
  }
  body.admin-workspace-mode .workspace-home-shortcut{
    min-height:88px!important;
  }
}
@media(max-width:1180px){
  body.admin-workspace-mode .home-dashboard-grid{grid-template-columns:1fr!important}
  body.admin-workspace-mode .workspace-home-rail{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.admin-workspace-mode .workspace-home-updates{grid-row:span 2!important}
}


/* ===== Admin design system v4.2: typography, SVG icons, table headers ===== */
body.admin-workspace-mode{
  --aq-font-family:"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --aq-font-xs:10px;
  --aq-font-sm:11px;
  --aq-font-md:12px;
  --aq-font-base:13px;
  --aq-font-lg:15px;
  --aq-font-xl:18px;
  --aq-table-head:#183b78;
  --aq-table-head-2:#2453a4;
  --aq-table-head-border:#315fae;
  --aq-table-head-active:#77a8ff;
}
body.admin-workspace-mode .admin-workspace,
body.admin-workspace-mode .admin-workspace button,
body.admin-workspace-mode .admin-workspace input,
body.admin-workspace-mode .admin-workspace select,
body.admin-workspace-mode .admin-workspace textarea,
body.admin-workspace-mode .admin-workspace table{
  font-family:var(--aq-font-family)!important;
}
body.admin-workspace-mode .admin-workspace{
  font-size:var(--aq-font-base)!important;
  line-height:1.45!important;
}

/* One SVG language for every Admin icon. */
body.admin-workspace-mode .aq-icon{
  display:inline-block!important;
  width:1em!important;
  height:1em!important;
  flex:0 0 auto!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vertical-align:-.14em!important;
  overflow:visible!important;
}
body.admin-workspace-mode .nav-icon .aq-icon{width:17px!important;height:17px!important}
body.admin-workspace-mode .workspace-search .aq-icon{width:18px!important;height:18px!important}
body.admin-workspace-mode .admin-notification .aq-icon{width:17px!important;height:17px!important}
body.admin-workspace-mode .promo-gem .aq-icon{width:22px!important;height:22px!important}
body.admin-workspace-mode .kpi-icon .aq-icon{width:21px!important;height:21px!important}
body.admin-workspace-mode .section-icon .aq-icon{width:20px!important;height:20px!important}
body.admin-workspace-mode .flow-icon .aq-icon{width:24px!important;height:24px!important}
body.admin-workspace-mode .workspace-flow-arrow .aq-icon{width:18px!important;height:18px!important}
body.admin-workspace-mode .workspace-home-access-head .aq-icon{width:16px!important;height:16px!important}
body.admin-workspace-mode .shortcut-icon .aq-icon{width:22px!important;height:22px!important}
body.admin-workspace-mode .workspace-home-shortcut b .aq-icon{width:15px!important;height:15px!important}
body.admin-workspace-mode .rail-icon .aq-icon{width:21px!important;height:21px!important}
body.admin-workspace-mode .update-dot .aq-icon{width:16px!important;height:16px!important}
body.admin-workspace-mode .home-action-list .aq-icon{width:16px!important;height:16px!important}
body.admin-workspace-mode .help-icon .aq-icon{width:19px!important;height:19px!important}
body.admin-workspace-mode .promo-benefits .aq-icon{width:12px!important;height:12px!important}
body.admin-workspace-mode .hero-chart-icon{width:38px!important;height:38px!important}
body.admin-workspace-mode .button-trailing-icon{width:13px!important;height:13px!important;margin-left:2px!important}
body.admin-workspace-mode button>.aq-icon,
body.admin-workspace-mode a.secondary>.aq-icon{
  margin-right:5px!important;
}
body.admin-workspace-mode .icon-only .aq-icon{margin:0!important}

/* Unified text scale. */
body.admin-workspace-mode .admin-nav-group-label{
  font-size:var(--aq-font-xs)!important;
  line-height:1.3!important;
}
body.admin-workspace-mode .admin-workspace-nav button{
  font-size:var(--aq-font-base)!important;
  line-height:1.25!important;
}
body.admin-workspace-mode .brand-lockup span,
body.admin-workspace-mode .admin-workspace-user small,
body.admin-workspace-mode .admin-profile small,
body.admin-workspace-mode .admin-workspace-version{
  font-size:var(--aq-font-xs)!important;
}
body.admin-workspace-mode .admin-workspace-user strong,
body.admin-workspace-mode .admin-profile strong,
body.admin-workspace-mode .workspace-search input{
  font-size:var(--aq-font-sm)!important;
}
body.admin-workspace-mode .workspace-home-kicker{font-size:var(--aq-font-xs)!important}
body.admin-workspace-mode .workspace-home-hero h2{font-size:38px!important}
body.admin-workspace-mode .workspace-home-hero p{font-size:var(--aq-font-base)!important}
body.admin-workspace-mode .hero-note{font-size:var(--aq-font-sm)!important}
body.admin-workspace-mode .kpi-copy small{font-size:var(--aq-font-sm)!important}
body.admin-workspace-mode .kpi-copy strong{font-size:28px!important}
body.admin-workspace-mode .kpi-copy em{font-size:var(--aq-font-xs)!important}
body.admin-workspace-mode .workspace-home-section-title h3{font-size:16px!important}
body.admin-workspace-mode .workspace-home-section-title p{font-size:var(--aq-font-sm)!important}
body.admin-workspace-mode .workspace-home-flow strong{font-size:var(--aq-font-base)!important}
body.admin-workspace-mode .workspace-home-flow small{font-size:var(--aq-font-sm)!important}
body.admin-workspace-mode .workspace-home-access-head strong{font-size:var(--aq-font-base)!important}
body.admin-workspace-mode .workspace-home-access-head small{font-size:var(--aq-font-xs)!important}
body.admin-workspace-mode .workspace-home-shortcut strong{font-size:var(--aq-font-md)!important}
body.admin-workspace-mode .workspace-home-shortcut small{font-size:var(--aq-font-xs)!important}
body.admin-workspace-mode .home-date-card strong,
body.admin-workspace-mode .rail-card-head strong,
body.admin-workspace-mode .home-update-list strong,
body.admin-workspace-mode .workspace-home-help strong{
  font-size:var(--aq-font-sm)!important;
}
body.admin-workspace-mode .home-date-card small,
body.admin-workspace-mode .home-update-list small,
body.admin-workspace-mode .workspace-home-help small,
body.admin-workspace-mode .rail-link{
  font-size:var(--aq-font-xs)!important;
}
body.admin-workspace-mode .home-action-list strong{font-size:var(--aq-font-sm)!important}
body.admin-workspace-mode .admin-pane-heading h1{font-size:24px!important}
body.admin-workspace-mode .admin-pane-heading span{font-size:var(--aq-font-sm)!important}
body.admin-workspace-mode .admin-workspace-section-head h2{font-size:16px!important}
body.admin-workspace-mode .admin-workspace-section-head p{font-size:var(--aq-font-sm)!important}
body.admin-workspace-mode .workspace-source-meta span,
body.admin-workspace-mode .workspace-data-kpi span,
body.admin-workspace-mode .visitor-summary-card span,
body.admin-workspace-mode .workspace-data-toolbar label,
body.admin-workspace-mode .workspace-source-editor label,
body.admin-workspace-mode .workspace-user-form label,
body.admin-workspace-mode .admin-workspace label{
  font-size:var(--aq-font-xs)!important;
}
body.admin-workspace-mode .workspace-source-meta strong{font-size:var(--aq-font-base)!important}
body.admin-workspace-mode .workspace-source-meta a,
body.admin-workspace-mode .workspace-source-line,
body.admin-workspace-mode .workspace-note,
body.admin-workspace-mode .admin-workspace .msg{
  font-size:var(--aq-font-sm)!important;
}
body.admin-workspace-mode .workspace-data-kpi strong,
body.admin-workspace-mode .visitor-summary-card strong{font-size:24px!important}
body.admin-workspace-mode .admin-workspace input,
body.admin-workspace-mode .admin-workspace select,
body.admin-workspace-mode .admin-workspace textarea,
body.admin-workspace-mode .admin-workspace button,
body.admin-workspace-mode .admin-workspace .secondary{
  font-size:var(--aq-font-sm)!important;
}

/* Professional table header system for every Admin table. */
body.admin-workspace-mode .admin-workspace .table-wrap{
  border:1px solid rgba(32,68,133,.20)!important;
  border-radius:12px!important;
  background:rgba(255,255,255,.66)!important;
  box-shadow:0 6px 18px rgba(30,54,112,.05)!important;
}
body.admin-workspace-mode .admin-workspace table{
  border-collapse:separate!important;
  border-spacing:0!important;
}
body.admin-workspace-mode .admin-workspace thead th{
  position:sticky!important;
  top:0!important;
  z-index:3!important;
  padding:0!important;
  border:0!important;
  border-right:1px solid rgba(255,255,255,.10)!important;
  border-bottom:1px solid var(--aq-table-head-border)!important;
  background:linear-gradient(180deg,var(--aq-table-head-2) 0%,var(--aq-table-head) 100%)!important;
  color:#f7f9ff!important;
  font-size:var(--aq-font-xs)!important;
  font-weight:750!important;
  letter-spacing:.01em!important;
  text-transform:none!important;
  white-space:nowrap!important;
  box-shadow:inset 0 1px rgba(255,255,255,.10)!important;
}
body.admin-workspace-mode .admin-workspace thead th:first-child{
  border-top-left-radius:10px!important;
}
body.admin-workspace-mode .admin-workspace thead th:last-child{
  border-top-right-radius:10px!important;
  border-right:0!important;
}
body.admin-workspace-mode .admin-workspace thead th:not(:has(button)){
  padding:11px 12px!important;
}
body.admin-workspace-mode .workspace-data-table th .workspace-sort{
  min-height:44px!important;
  padding:10px 12px!important;
  gap:9px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  background-image:none!important;
  color:#f7f9ff!important;
  box-shadow:none!important;
  font-size:var(--aq-font-sm)!important;
  font-weight:750!important;
  letter-spacing:.005em!important;
  line-height:1.2!important;
}
body.admin-workspace-mode .workspace-data-table th .workspace-sort:hover{
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}
body.admin-workspace-mode .workspace-data-table th .workspace-sort.active{
  background:rgba(118,168,255,.14)!important;
  color:#fff!important;
  box-shadow:inset 0 -3px 0 var(--aq-table-head-active)!important;
}
body.admin-workspace-mode .workspace-sort-arrow{
  display:grid!important;
  place-items:center!important;
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  color:#b8caf0!important;
  opacity:.9!important;
  transition:transform .16s ease,color .16s ease!important;
}
body.admin-workspace-mode .workspace-sort-arrow .aq-icon{
  width:14px!important;
  height:14px!important;
}
body.admin-workspace-mode .workspace-sort-arrow.active{color:#fff!important}
body.admin-workspace-mode .workspace-sort-arrow.asc{transform:rotate(0deg)!important}
body.admin-workspace-mode .workspace-sort-arrow.desc{transform:rotate(180deg)!important}
body.admin-workspace-mode .admin-workspace th.standard-sortable{
  padding:11px 28px 11px 12px!important;
  cursor:pointer!important;
}
body.admin-workspace-mode .admin-workspace th.standard-sortable::after{
  color:#b8caf0!important;
  right:10px!important;
}
body.admin-workspace-mode .admin-workspace th.standard-sortable.active-sort{
  color:#fff!important;
  box-shadow:inset 0 -3px 0 var(--aq-table-head-active)!important;
}
body.admin-workspace-mode .admin-workspace tbody td{
  padding:11px 12px!important;
  border-bottom:1px solid rgba(53,80,137,.10)!important;
  color:#2d416f!important;
  font-size:var(--aq-font-sm)!important;
  line-height:1.4!important;
}
body.admin-workspace-mode .admin-workspace tbody tr:last-child td{border-bottom:0!important}
body.admin-workspace-mode .admin-workspace tbody tr:hover td{
  background:rgba(235,242,255,.95)!important;
}

/* Sticky first Data QC column must preserve the new header color. */
body.admin-workspace-mode #workspaceDataCard .workspace-data-table th:first-child{
  background:linear-gradient(180deg,var(--aq-table-head-2) 0%,var(--aq-table-head) 100%)!important;
  color:#fff!important;
}
body.admin-workspace-mode #workspaceDataCard .workspace-data-table td:first-child{
  background:rgba(255,255,255,.98)!important;
}
body.admin-workspace-mode #workspaceDataCard tbody tr:hover td:first-child{
  background:rgba(235,242,255,.98)!important;
}

/* Align SVG buttons and links. */
body.admin-workspace-mode .action-buttons button,
body.admin-workspace-mode .workspace-source-actions a,
body.admin-workspace-mode .workspace-source-actions button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
}
body.admin-workspace-mode .promo-benefits small{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
}

/* More comfortable desktop density. */
@media(min-width:1460px){
  body.admin-workspace-mode .admin-workspace-main{padding-left:22px!important;padding-right:22px!important}
  body.admin-workspace-mode .home-dashboard-grid{gap:14px!important}
  body.admin-workspace-mode .workspace-home-kpis{gap:11px!important}
}
@media(max-width:820px){
  body.admin-workspace-mode .workspace-home-hero h2{font-size:29px!important}
  body.admin-workspace-mode .admin-workspace-nav button{font-size:var(--aq-font-sm)!important}
}


/* v4.2 final specificity guards */
body.admin-workspace-mode #workspaceDataCard thead th{
  background:linear-gradient(180deg,var(--aq-table-head-2) 0%,var(--aq-table-head) 100%)!important;
  color:#f7f9ff!important;
  border-right:1px solid rgba(255,255,255,.10)!important;
  border-bottom:1px solid var(--aq-table-head-border)!important;
}
body.admin-workspace-mode #workspaceDataCard thead th:last-child{border-right:0!important}
body.admin-workspace-mode #workspaceDataCard thead th .workspace-sort{
  color:#f7f9ff!important;
}
body.admin-workspace-mode #workspaceDataCard thead th .workspace-sort:hover{
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}
body.admin-workspace-mode #workspaceDataCard thead th .workspace-sort.active{
  background:rgba(118,168,255,.14)!important;
  color:#fff!important;
  box-shadow:inset 0 -3px 0 var(--aq-table-head-active)!important;
}
body.admin-workspace-mode .standard-sort-icon{
  position:absolute!important;
  right:10px!important;
  top:50%!important;
  display:grid!important;
  place-items:center!important;
  width:18px!important;
  height:18px!important;
  transform:translateY(-50%)!important;
  color:#b8caf0!important;
  transition:transform .16s ease,color .16s ease!important;
}
body.admin-workspace-mode .standard-sort-icon .aq-icon{width:13px!important;height:13px!important}
body.admin-workspace-mode .standard-sort-icon.active{color:#fff!important}
body.admin-workspace-mode .standard-sort-icon.asc{transform:translateY(-50%) rotate(0deg)!important}
body.admin-workspace-mode .standard-sort-icon.desc{transform:translateY(-50%) rotate(180deg)!important}
body.admin-workspace-mode .admin-workspace th.standard-sortable::after{content:none!important}
body.admin-workspace-mode .workspace-pagination button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
}
body.admin-workspace-mode .workspace-pagination button .aq-icon{
  width:13px!important;
  height:13px!important;
  margin:0!important;
}
body.admin-workspace-mode .workspace-pagination .workspace-prev .aq-icon,
body.admin-workspace-mode [data-standard-prev] .aq-icon{
  transform:rotate(180deg)!important;
}
body.admin-workspace-mode .ops-theme-switch button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
}
body.admin-workspace-mode .ops-theme-switch .aq-icon{
  width:13px!important;
  height:13px!important;
  margin:0!important;
}


/* ===== Admin v4.3 final: larger type, unified table header, complete dark mode ===== */
body.admin-workspace-mode{
  --aq-font-xs:11px;
  --aq-font-sm:12px;
  --aq-font-md:13px;
  --aq-font-base:14px;
  --aq-font-lg:16px;
  --aq-font-xl:19px;
  --aq-table-head:#214b88;
  --aq-table-head-2:#2b5ca5;
  --aq-table-head-border:#3768b1;
  --aq-table-head-active:#8fc0ff;
}
#adminWorkspace{
  font-size:var(--aq-font-base)!important;
}
#adminWorkspace .admin-workspace-nav button{
  font-size:14px!important;
  min-height:46px!important;
}
#adminWorkspace .admin-nav-group-label{font-size:11px!important}
#adminWorkspace .brand-lockup span{font-size:10px!important}
#adminWorkspace .workspace-search input{font-size:13px!important}
#adminWorkspace .admin-profile strong{font-size:12px!important}
#adminWorkspace .admin-profile small,
#adminWorkspace .admin-workspace-version{font-size:11px!important}
#adminWorkspace .workspace-home-hero h2{font-size:40px!important}
#adminWorkspace .workspace-home-hero p{font-size:14px!important;line-height:1.6!important}
#adminWorkspace .workspace-home-kicker{font-size:11px!important}
#adminWorkspace .hero-note{font-size:12px!important}
#adminWorkspace .kpi-copy small{font-size:12px!important}
#adminWorkspace .kpi-copy strong{font-size:30px!important}
#adminWorkspace .kpi-copy em{font-size:11px!important}
#adminWorkspace .workspace-home-section-title h3{font-size:18px!important}
#adminWorkspace .workspace-home-section-title p{font-size:12px!important}
#adminWorkspace .workspace-home-flow strong{font-size:14px!important}
#adminWorkspace .workspace-home-flow small{font-size:12px!important;line-height:1.55!important}
#adminWorkspace .workspace-home-access-head strong{font-size:14px!important}
#adminWorkspace .workspace-home-access-head small{font-size:12px!important}
#adminWorkspace .workspace-home-shortcut strong{font-size:14px!important}
#adminWorkspace .workspace-home-shortcut small{font-size:12px!important;line-height:1.5!important}
#adminWorkspace .home-date-card strong,
#adminWorkspace .rail-card-head strong,
#adminWorkspace .home-update-list strong,
#adminWorkspace .home-action-list strong,
#adminWorkspace .workspace-home-help strong{font-size:13px!important}
#adminWorkspace .home-date-card small,
#adminWorkspace .home-update-list small,
#adminWorkspace .workspace-home-help small,
#adminWorkspace .rail-link{font-size:11px!important}
#adminWorkspace .admin-pane-heading h1{font-size:28px!important}
#adminWorkspace .admin-pane-heading p{font-size:11px!important}
#adminWorkspace .admin-pane-heading span{font-size:13px!important}
#adminWorkspace .admin-workspace-section-head h2{font-size:18px!important}
#adminWorkspace .admin-workspace-section-head p{font-size:13px!important;line-height:1.55!important}
#adminWorkspace .workspace-source-meta span,
#adminWorkspace .workspace-data-kpi span,
#adminWorkspace .visitor-summary-card span,
#adminWorkspace .workspace-data-toolbar label,
#adminWorkspace .workspace-source-editor label,
#adminWorkspace .workspace-user-form label,
#adminWorkspace label{font-size:12px!important}
#adminWorkspace .workspace-source-meta strong{font-size:15px!important}
#adminWorkspace .workspace-source-meta a,
#adminWorkspace .workspace-source-line,
#adminWorkspace .workspace-note,
#adminWorkspace .msg{font-size:13px!important}
#adminWorkspace .workspace-data-kpi strong,
#adminWorkspace .visitor-summary-card strong{font-size:27px!important}
#adminWorkspace input,
#adminWorkspace select,
#adminWorkspace textarea,
#adminWorkspace button,
#adminWorkspace .secondary{font-size:13px!important}
#adminWorkspace .workspace-table-footer,
#adminWorkspace .workspace-page-info,
#adminWorkspace .workspace-page-number{font-size:12px!important}

/* Light dashboard cards: explicitly defeat generic primary-button styling. */
html[data-theme="light"] #adminWorkspace .workspace-home-flow button[data-home-pane],
html[data-theme="light"] #adminWorkspace .workspace-home-flow button[data-home-tool],
html[data-theme="light"] #adminWorkspace .workspace-home-flow button[data-home-report]{
  background:rgba(255,255,255,.68)!important;
  background-image:none!important;
  border:1px solid rgba(255,255,255,.90)!important;
  color:#142757!important;
  box-shadow:0 9px 22px rgba(45,72,148,.08),inset 0 1px rgba(255,255,255,.92)!important;
}
html[data-theme="light"] #adminWorkspace .workspace-home-flow button strong{color:#142757!important}
html[data-theme="light"] #adminWorkspace .workspace-home-flow button small{color:#4d6391!important}
html[data-theme="light"] #adminWorkspace .workspace-home-shortcut{
  background-image:none!important;
  color:#142757!important;
}
html[data-theme="light"] #adminWorkspace .workspace-home-shortcut.shortcut-blue{
  background:linear-gradient(115deg,#e2f2ff 0%,#f8fbff 100%)!important;
}
html[data-theme="light"] #adminWorkspace .workspace-home-shortcut.shortcut-purple{
  background:linear-gradient(115deg,#eee4ff 0%,#fbf9ff 100%)!important;
}
html[data-theme="light"] #adminWorkspace .workspace-home-shortcut.shortcut-orange{
  background:linear-gradient(115deg,#ffedd6 0%,#fffaf3 100%)!important;
}
html[data-theme="light"] #adminWorkspace .workspace-home-shortcut strong{color:#142757!important}
html[data-theme="light"] #adminWorkspace .workspace-home-shortcut small{color:#4d6391!important}

/* ALL table headers use the same visual as Riwayat Token. */
#adminWorkspace .table-wrap thead th,
#adminWorkspace #workspaceDataCard .workspace-data-table thead th{
  background:linear-gradient(180deg,#2b5ca5 0%,#214b88 100%)!important;
  background-image:linear-gradient(180deg,#2b5ca5 0%,#214b88 100%)!important;
  color:#fff!important;
  border-right:1px solid rgba(255,255,255,.12)!important;
  border-bottom:1px solid #3768b1!important;
  box-shadow:inset 0 1px rgba(255,255,255,.10)!important;
}
#adminWorkspace .table-wrap thead th:first-child{border-top-left-radius:11px!important}
#adminWorkspace .table-wrap thead th:last-child{
  border-top-right-radius:11px!important;
  border-right:0!important;
}
#adminWorkspace .workspace-data-table thead th .workspace-sort{
  min-height:48px!important;
  padding:11px 13px!important;
  background:transparent!important;
  background-image:none!important;
  border:0!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:750!important;
  box-shadow:none!important;
}
#adminWorkspace .workspace-data-table thead th .workspace-sort:hover{
  background:rgba(255,255,255,.08)!important;
  color:#fff!important;
}
#adminWorkspace .workspace-data-table thead th .workspace-sort.active{
  background:rgba(143,192,255,.11)!important;
  color:#fff!important;
  box-shadow:inset 0 -3px 0 #8fc0ff!important;
}
#adminWorkspace .table-wrap thead th.standard-sortable{
  padding:12px 34px 12px 13px!important;
  font-size:13px!important;
  font-weight:750!important;
  color:#fff!important;
}
#adminWorkspace .table-wrap thead th.standard-sortable.active-sort{
  box-shadow:inset 0 -3px 0 #8fc0ff!important;
}
#adminWorkspace .workspace-sort-arrow,
#adminWorkspace .standard-sort-icon{color:#c7d9fa!important}
#adminWorkspace .workspace-sort-arrow.active,
#adminWorkspace .standard-sort-icon.active{color:#fff!important}
#adminWorkspace .table-wrap tbody td{
  font-size:13px!important;
  padding:12px 13px!important;
}

/* Complete dark mode: every main surface becomes genuinely dark. */
html[data-theme="dark"] body.admin-workspace-mode,
html[data-theme="dark"] body.jl-tools-ui.admin-workspace-mode{
  background:#071326!important;
  color:#edf3ff!important;
}
html[data-theme="dark"] #adminWorkspace{
  background:#071326!important;
  color:#edf3ff!important;
}
html[data-theme="dark"] #adminWorkspace .admin-workspace-main{
  background:#09172b!important;
}
html[data-theme="dark"] #adminWorkspace .admin-workspace-top{
  background:#0b1a31!important;
  border-bottom-color:#203758!important;
  box-shadow:0 7px 22px rgba(0,0,0,.18)!important;
}
html[data-theme="dark"] #adminWorkspace .workspace-search{
  background:#0f2039!important;
  border-color:#294366!important;
  box-shadow:inset 0 1px rgba(255,255,255,.03)!important;
}
html[data-theme="dark"] #adminWorkspace .workspace-search input{
  color:#eef4ff!important;
}
html[data-theme="dark"] #adminWorkspace .workspace-search input::placeholder{color:#8296bb!important}
html[data-theme="dark"] #adminWorkspace .admin-notification,
html[data-theme="dark"] #adminWorkspace .ops-theme-switch{
  background:#10213c!important;
  border-color:#2a4469!important;
  color:#dce8ff!important;
}
html[data-theme="dark"] #adminWorkspace .ops-theme-switch button{color:#9eb0d1!important}
html[data-theme="dark"] #adminWorkspace .ops-theme-switch button.active{
  background:#234b91!important;
  color:#fff!important;
}
html[data-theme="dark"] #adminWorkspace .admin-profile strong{color:#f3f6ff!important}
html[data-theme="dark"] #adminWorkspace .admin-profile small,
html[data-theme="dark"] #adminWorkspace .admin-workspace-version{color:#9aadd1!important}
html[data-theme="dark"] #adminWorkspace .admin-workspace-version{
  background:#10213c!important;
  border-color:#294366!important;
}
html[data-theme="dark"] #adminWorkspace .admin-pane-heading{
  background:#101f36!important;
  border-color:#2a405f!important;
  box-shadow:none!important;
}
html[data-theme="dark"] #adminWorkspace .admin-pane-heading p{color:#8297bf!important}
html[data-theme="dark"] #adminWorkspace .admin-pane-heading h1{color:#f4f7ff!important}
html[data-theme="dark"] #adminWorkspace .admin-pane-heading span{color:#adbad3!important}

html[data-theme="dark"] #adminWorkspace .card,
html[data-theme="dark"] #adminWorkspace .glass-card,
html[data-theme="dark"] #adminWorkspace .workspace-home-workflow,
html[data-theme="dark"] #adminWorkspace .workspace-home-updates,
html[data-theme="dark"] #adminWorkspace .workspace-home-actions,
html[data-theme="dark"] #adminWorkspace .home-date-card,
html[data-theme="dark"] #adminWorkspace .workspace-home-help{
  background:#101f36!important;
  border-color:#293f5f!important;
  color:#eaf0fb!important;
  box-shadow:0 10px 26px rgba(0,0,0,.15)!important;
}
html[data-theme="dark"] #adminWorkspace .workspace-home-hero{
  background:
    radial-gradient(circle at 83% 18%,rgba(78,105,214,.20),transparent 26%),
    linear-gradient(115deg,#101f3a 0%,#13264a 56%,#172a52 100%)!important;
  border:1px solid #2b4164!important;
}
html[data-theme="dark"] #adminWorkspace .workspace-home-kicker{color:#8fb0ff!important}
html[data-theme="dark"] #adminWorkspace .workspace-home-hero h2{color:#f5f7ff!important}
html[data-theme="dark"] #adminWorkspace .workspace-home-hero p{color:#b8c5de!important}
html[data-theme="dark"] #adminWorkspace .hero-note{color:#9fb4e2!important}
html[data-theme="dark"] #adminWorkspace .hero-panel{
  background:linear-gradient(145deg,rgba(45,66,124,.88),rgba(43,47,108,.70))!important;
  border-color:#405b8c!important;
  box-shadow:0 14px 30px rgba(0,0,0,.20)!important;
}

html[data-theme="dark"] #adminWorkspace .workspace-home-kpi{
  background:#101f36!important;
  border-color:#293f5f!important;
  box-shadow:none!important;
}
html[data-theme="dark"] #adminWorkspace .kpi-copy small{color:#aab9d6!important}
html[data-theme="dark"] #adminWorkspace .kpi-copy strong{color:#fff!important}
html[data-theme="dark"] #adminWorkspace .kpi-copy em{color:#8398bf!important}

html[data-theme="dark"] #adminWorkspace .workspace-home-section-title h3,
html[data-theme="dark"] #adminWorkspace .workspace-home-access-head,
html[data-theme="dark"] #adminWorkspace .rail-card-head strong,
html[data-theme="dark"] #adminWorkspace .home-date-card strong,
html[data-theme="dark"] #adminWorkspace .home-update-list strong,
html[data-theme="dark"] #adminWorkspace .workspace-home-help strong{
  color:#eef4ff!important;
}
html[data-theme="dark"] #adminWorkspace .workspace-home-section-title p,
html[data-theme="dark"] #adminWorkspace .workspace-home-access-head small,
html[data-theme="dark"] #adminWorkspace .home-date-card small,
html[data-theme="dark"] #adminWorkspace .home-update-list small,
html[data-theme="dark"] #adminWorkspace .workspace-home-help small{
  color:#9eb0d1!important;
}

html[data-theme="dark"] #adminWorkspace .workspace-home-flow button[data-home-pane],
html[data-theme="dark"] #adminWorkspace .workspace-home-flow button[data-home-tool],
html[data-theme="dark"] #adminWorkspace .workspace-home-flow button[data-home-report]{
  background:#142642!important;
  background-image:none!important;
  border-color:#314a6e!important;
  color:#eef4ff!important;
  box-shadow:none!important;
}
html[data-theme="dark"] #adminWorkspace .workspace-home-flow button:hover{
  background:#192e4e!important;
  border-color:#405e89!important;
}
html[data-theme="dark"] #adminWorkspace .workspace-home-flow button strong{color:#fff!important}
html[data-theme="dark"] #adminWorkspace .workspace-home-flow button small{color:#a8b8d5!important}
html[data-theme="dark"] #adminWorkspace .workspace-flow-arrow{color:#7893c6!important}

html[data-theme="dark"] #adminWorkspace .workspace-home-shortcut,
html[data-theme="dark"] #adminWorkspace .workspace-home-shortcut.shortcut-blue,
html[data-theme="dark"] #adminWorkspace .workspace-home-shortcut.shortcut-purple,
html[data-theme="dark"] #adminWorkspace .workspace-home-shortcut.shortcut-orange{
  background:#132541!important;
  background-image:none!important;
  border-color:#304a70!important;
  color:#eef4ff!important;
}
html[data-theme="dark"] #adminWorkspace .workspace-home-shortcut strong{color:#fff!important}
html[data-theme="dark"] #adminWorkspace .workspace-home-shortcut small{color:#9fb1d0!important}
html[data-theme="dark"] #adminWorkspace .workspace-home-shortcut b{
  background:#1d3457!important;
  color:#c9d9f8!important;
}
html[data-theme="dark"] #adminWorkspace .home-action-list button{
  background:#142642!important;
  background-image:none!important;
  border-color:#314a6e!important;
  color:#eef4ff!important;
}
html[data-theme="dark"] #adminWorkspace .home-action-list button:hover{background:#192e4e!important}
html[data-theme="dark"] #adminWorkspace .home-action-list button>span{background:#1c365e!important;color:#aecaFF!important}
html[data-theme="dark"] #adminWorkspace .home-action-list strong{color:#eef4ff!important}

html[data-theme="dark"] #adminWorkspace .workspace-source-card,
html[data-theme="dark"] #adminWorkspace .workspace-data-kpi,
html[data-theme="dark"] #adminWorkspace .visitor-summary-card{
  background:#14243b!important;
  border-color:#2d435f!important;
}
html[data-theme="dark"] #adminWorkspace .workspace-source-meta span,
html[data-theme="dark"] #adminWorkspace .workspace-data-kpi span,
html[data-theme="dark"] #adminWorkspace .visitor-summary-card span{color:#8fa4c8!important}
html[data-theme="dark"] #adminWorkspace .workspace-source-meta strong,
html[data-theme="dark"] #adminWorkspace .workspace-data-kpi strong,
html[data-theme="dark"] #adminWorkspace .visitor-summary-card strong{color:#f5f8ff!important}
html[data-theme="dark"] #adminWorkspace .workspace-source-meta a{color:#7da8ff!important}
html[data-theme="dark"] #adminWorkspace .workspace-source-line{
  background:#0a1830!important;
  border-color:#26415f!important;
  color:#b6c6df!important;
}
html[data-theme="dark"] #adminWorkspace input,
html[data-theme="dark"] #adminWorkspace select,
html[data-theme="dark"] #adminWorkspace textarea{
  background:#0c1a30!important;
  border-color:#2a4263!important;
  color:#eef4ff!important;
}
html[data-theme="dark"] #adminWorkspace input::placeholder,
html[data-theme="dark"] #adminWorkspace textarea::placeholder{color:#778cad!important}
html[data-theme="dark"] #adminWorkspace .workspace-note,
html[data-theme="dark"] #adminWorkspace .msg{color:#9fb0cd!important}

/* Dark tables retain the SAME header style, only body rows switch dark. */
html[data-theme="dark"] #adminWorkspace .table-wrap{
  background:#0c192d!important;
  border-color:#2b405e!important;
  box-shadow:none!important;
}
html[data-theme="dark"] #adminWorkspace .table-wrap thead th,
html[data-theme="dark"] #adminWorkspace #workspaceDataCard .workspace-data-table thead th{
  background:linear-gradient(180deg,#2b5ca5 0%,#214b88 100%)!important;
  color:#fff!important;
  border-right-color:rgba(255,255,255,.12)!important;
  border-bottom-color:#3768b1!important;
}
html[data-theme="dark"] #adminWorkspace .table-wrap tbody td,
html[data-theme="dark"] #adminWorkspace #workspaceDataCard tbody td{
  background:#0e1b30!important;
  color:#dce6f7!important;
  border-bottom-color:#203651!important;
}
html[data-theme="dark"] #adminWorkspace .table-wrap tbody tr:nth-child(even) td,
html[data-theme="dark"] #adminWorkspace #workspaceDataCard tbody tr:nth-child(even) td{
  background:#112039!important;
}
html[data-theme="dark"] #adminWorkspace .table-wrap tbody tr:hover td,
html[data-theme="dark"] #adminWorkspace #workspaceDataCard tbody tr:hover td{
  background:#182c4b!important;
}
html[data-theme="dark"] #adminWorkspace #workspaceDataCard .workspace-data-table td:first-child{
  background:#0e1b30!important;
}
html[data-theme="dark"] #adminWorkspace #workspaceDataCard tbody tr:nth-child(even) td:first-child{
  background:#112039!important;
}
html[data-theme="dark"] #adminWorkspace #workspaceDataCard tbody tr:hover td:first-child{
  background:#182c4b!important;
}

/* Primary / secondary controls remain readable in dark mode. */
html[data-theme="dark"] #adminWorkspace button.ghost,
html[data-theme="dark"] #adminWorkspace button.secondary,
html[data-theme="dark"] #adminWorkspace .secondary{
  background:#142642!important;
  border-color:#355075!important;
  color:#dbe8ff!important;
}
html[data-theme="dark"] #adminWorkspace button.ghost:hover,
html[data-theme="dark"] #adminWorkspace button.secondary:hover,
html[data-theme="dark"] #adminWorkspace .secondary:hover{
  background:#1a3152!important;
}
html[data-theme="dark"] #adminWorkspace .workspace-source-actions .md-open-link{
  color:#ff776b!important;
  background:#17243a!important;
  border-color:#4b5368!important;
}

/* Ensure light mode table bodies keep strong contrast too. */
html[data-theme="light"] #adminWorkspace .table-wrap tbody td{
  color:#263d6c!important;
  background:#fff!important;
}
html[data-theme="light"] #adminWorkspace .table-wrap tbody tr:nth-child(even) td{
  background:#f7faff!important;
}
html[data-theme="light"] #adminWorkspace .table-wrap tbody tr:hover td{
  background:#edf4ff!important;
}

/* Larger mobile/tablet type without overflowing layout. */
@media(max-width:820px){
  body.admin-workspace-mode{
    --aq-font-xs:10px;
    --aq-font-sm:11px;
    --aq-font-md:12px;
    --aq-font-base:13px;
  }
  #adminWorkspace .workspace-home-hero h2{font-size:31px!important}
  #adminWorkspace .workspace-home-flow strong{font-size:13px!important}
  #adminWorkspace .workspace-home-flow small{font-size:11px!important}
}


/* ===== Annotated Data QC cleanup v4.4 ===== */

/* Data pane deliberately has no duplicate page-level hero/heading. */
#adminWorkspace .admin-workspace-pane[data-pane="data"]{
  gap:0!important;
}
#adminWorkspace .workspace-data-head{
  min-height:48px!important;
  margin:0!important;
  padding:2px 0 10px!important;
  border-bottom:0!important;
  align-items:center!important;
}
#adminWorkspace .workspace-data-head h2{
  margin:0!important;
  font-size:20px!important;
  line-height:1.2!important;
}
#adminWorkspace .workspace-data-head .action-buttons{
  margin-left:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
}

/* Source panel moves directly under the compact Data QC header. */
#adminWorkspace #workspaceDataCard .workspace-source-card{
  margin:0 0 12px!important;
  padding:13px 14px!important;
}
#adminWorkspace #workspaceDataCard .workspace-source-meta{
  min-width:0!important;
}
#adminWorkspace #workspaceDataCard .workspace-source-meta span{
  margin-bottom:3px!important;
}
#adminWorkspace #workspaceDataCard .workspace-source-meta strong{
  margin-top:0!important;
}
#adminWorkspace #workspaceDataCard .workspace-source-meta a{
  margin-top:4px!important;
}

/* Compact single theme toggle. */
#adminWorkspace .ops-theme-switch{
  display:none!important;
}
#adminWorkspace .ops-theme-toggle{
  min-width:72px!important;
  height:36px!important;
  min-height:36px!important;
  padding:0 11px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border:1px solid rgba(65,95,180,.22)!important;
  border-radius:999px!important;
  background:#315fdd!important;
  background-image:linear-gradient(135deg,#386fff,#5a5ee8)!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(48,78,180,.18)!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1!important;
  cursor:pointer!important;
}
#adminWorkspace .ops-theme-toggle:hover{
  transform:translateY(-1px)!important;
  filter:brightness(1.04)!important;
}
#adminWorkspace .ops-theme-toggle .aq-icon{
  width:14px!important;
  height:14px!important;
  margin:0!important;
}
html[data-theme="dark"] #adminWorkspace .ops-theme-toggle{
  border-color:#36527d!important;
  background:#173363!important;
  background-image:linear-gradient(135deg,#173363,#244b8c)!important;
  color:#eef4ff!important;
  box-shadow:0 5px 14px rgba(0,0,0,.20)!important;
}

/* On narrow screens keep the same single-control behavior. */
@media(max-width:820px){
  #adminWorkspace .workspace-data-head{
    align-items:flex-start!important;
    gap:8px!important;
  }
  #adminWorkspace .workspace-data-head .action-buttons{
    margin-left:0!important;
  }
  #adminWorkspace .ops-theme-toggle{
    min-width:38px!important;
    width:38px!important;
    padding:0!important;
  }
  #adminWorkspace .ops-theme-toggle span{display:none!important}
}


/* ===== Annotated Data QC cleanup v4.5 ===== */
/* Source information now lives inside the Data QC header, replacing the removed description. */
#adminWorkspace #workspaceDataCard{
  padding-top:14px!important;
}
#adminWorkspace .workspace-data-head{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:18px!important;
  min-height:0!important;
  padding:0 0 12px!important;
}
#adminWorkspace .workspace-data-head-main{
  min-width:0!important;
  flex:1 1 auto!important;
  display:grid!important;
  gap:8px!important;
}
#adminWorkspace .workspace-data-head h2{
  margin:0!important;
  font-size:20px!important;
  line-height:1.2!important;
}
#adminWorkspace .workspace-source-inline{
  min-width:0!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  grid-template-areas:
    "label name"
    "label link"!important;
  column-gap:10px!important;
  row-gap:2px!important;
  align-items:start!important;
}
#adminWorkspace .workspace-source-inline>span{
  grid-area:label!important;
  align-self:center!important;
  padding:5px 8px!important;
  border-radius:999px!important;
  background:rgba(72,105,202,.10)!important;
  color:#5f76aa!important;
  font-size:10px!important;
  font-weight:800!important;
  letter-spacing:.03em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
#adminWorkspace .workspace-source-inline>strong{
  grid-area:name!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#1b3264!important;
  font-size:13px!important;
  line-height:1.35!important;
}
#adminWorkspace .workspace-source-inline>a{
  grid-area:link!important;
  min-width:0!important;
  max-width:min(760px,70vw)!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  color:#4d78d8!important;
  font-size:12px!important;
  text-decoration:none!important;
}
#adminWorkspace .workspace-source-inline>a:hover{text-decoration:underline!important}
#adminWorkspace .workspace-data-head-actions{
  flex:0 0 auto!important;
  display:grid!important;
  justify-items:end!important;
  gap:8px!important;
}
#adminWorkspace .workspace-data-head-actions .action-buttons,
#adminWorkspace .workspace-source-actions-inline{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  margin:0!important;
}
#adminWorkspace .workspace-source-actions-inline a,
#adminWorkspace .workspace-source-actions-inline button{
  min-height:32px!important;
  padding:6px 10px!important;
  font-size:11px!important;
}
#adminWorkspace .workspace-source-editor-inline{
  margin:0 0 12px!important;
  padding:12px!important;
  border:1px solid rgba(78,105,170,.16)!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.42)!important;
}

/* One minimal theme button: icon only; tooltip/aria-label explains the action. */
#adminWorkspace .ops-theme-toggle{
  width:38px!important;
  min-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  padding:0!important;
  border-radius:11px!important;
  gap:0!important;
}
#adminWorkspace .ops-theme-toggle .aq-icon{
  width:16px!important;
  height:16px!important;
}
#adminWorkspace .ops-theme-toggle span{display:none!important}

/* Dark-mode source line stays compact and readable. */
html[data-theme="dark"] #adminWorkspace .workspace-source-inline>span{
  background:rgba(105,139,230,.16)!important;
  color:#9db6e8!important;
}
html[data-theme="dark"] #adminWorkspace .workspace-source-inline>strong{color:#f0f5ff!important}
html[data-theme="dark"] #adminWorkspace .workspace-source-inline>a{color:#83aaff!important}
html[data-theme="dark"] #adminWorkspace .workspace-source-editor-inline{
  background:#12233c!important;
  border-color:#2d4568!important;
}

@media(max-width:980px){
  #adminWorkspace .workspace-data-head{
    flex-direction:column!important;
    align-items:stretch!important;
  }
  #adminWorkspace .workspace-data-head-actions{
    width:100%!important;
    justify-items:start!important;
  }
  #adminWorkspace .workspace-data-head-actions .action-buttons,
  #adminWorkspace .workspace-source-actions-inline{
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
  }
  #adminWorkspace .workspace-source-inline{
    grid-template-columns:1fr!important;
    grid-template-areas:"label" "name" "link"!important;
  }
  #adminWorkspace .workspace-source-inline>span{
    justify-self:start!important;
  }
}


/* ===== Soft frosted sidebar v4.6 ===== */
#adminWorkspace .admin-workspace-sidebar{
  width:auto!important;
  padding:14px 12px 16px!important;
  background:
    radial-gradient(circle at 22% 0%,rgba(89,124,255,.22),transparent 25%),
    radial-gradient(circle at 100% 38%,rgba(113,82,221,.12),transparent 36%),
    linear-gradient(180deg,#15377c 0%,#102c67 44%,#0c2458 100%)!important;
  border-right:1px solid rgba(184,203,255,.16)!important;
  box-shadow:
    inset -1px 0 rgba(255,255,255,.03),
    10px 0 28px rgba(9,24,67,.10)!important;
}

#adminWorkspace .admin-workspace-brand{
  min-height:96px!important;
  padding:12px 10px 18px!important;
  margin-bottom:4px!important;
  border-bottom:1px solid rgba(197,212,255,.13)!important;
}
#adminWorkspace .brand-lockup{gap:12px!important}
#adminWorkspace .brand-lockup img{
  width:46px!important;
  height:46px!important;
  filter:drop-shadow(0 9px 18px rgba(75,114,255,.26))!important;
}
#adminWorkspace .brand-lockup strong{
  color:#fff!important;
  font-size:22px!important;
  font-weight:800!important;
  letter-spacing:-.035em!important;
}
#adminWorkspace .brand-lockup span{
  margin-top:5px!important;
  color:#aebfe8!important;
  font-size:10px!important;
  font-weight:500!important;
}

#adminWorkspace .admin-workspace-nav{
  display:grid!important;
  gap:0!important;
  margin-top:4px!important;
}
#adminWorkspace .admin-nav-group{
  display:grid!important;
  gap:5px!important;
}
#adminWorkspace .admin-nav-group-label{
  margin:17px 10px 7px!important;
  color:#afbee0!important;
  font-size:10px!important;
  font-weight:650!important;
  letter-spacing:.01em!important;
  text-transform:none!important;
}

#adminWorkspace .admin-workspace-nav button[data-workspace-nav],
#adminWorkspace .admin-workspace-nav button[data-admin-tool]{
  position:relative!important;
  min-height:46px!important;
  padding:8px 38px 8px 10px!important;
  gap:10px!important;
  border:1px solid rgba(190,207,255,.10)!important;
  border-radius:12px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.035))!important;
  color:#eef3ff!important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.045),
    0 4px 14px rgba(3,13,41,.07)!important;
  font-size:13px!important;
  font-weight:650!important;
  transition:
    background .16s ease,
    border-color .16s ease,
    transform .16s ease,
    box-shadow .16s ease!important;
}
#adminWorkspace .admin-workspace-nav button[data-workspace-nav]::after,
#adminWorkspace .admin-workspace-nav button[data-admin-tool]::after{
  content:""!important;
  position:absolute!important;
  right:14px!important;
  top:50%!important;
  width:7px!important;
  height:7px!important;
  border-top:1.8px solid currentColor!important;
  border-right:1.8px solid currentColor!important;
  transform:translateY(-50%) rotate(45deg)!important;
  color:#9eb6ec!important;
  opacity:.9!important;
}
#adminWorkspace .admin-workspace-nav button[data-workspace-nav]:hover,
#adminWorkspace .admin-workspace-nav button[data-admin-tool]:hover{
  transform:translateY(-1px)!important;
  background:
    linear-gradient(180deg,rgba(122,151,255,.18),rgba(111,128,228,.10))!important;
  border-color:rgba(181,201,255,.20)!important;
  color:#fff!important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.07),
    0 8px 18px rgba(4,17,54,.11)!important;
}
#adminWorkspace .admin-workspace-nav button[data-workspace-nav].active,
#adminWorkspace .admin-workspace-nav button[data-admin-tool].active{
  background:
    linear-gradient(135deg,rgba(87,156,255,.95) 0%,rgba(82,107,255,.95) 56%,rgba(113,96,246,.93) 100%)!important;
  border-color:rgba(213,227,255,.42)!important;
  color:#fff!important;
  box-shadow:
    0 9px 20px rgba(39,82,212,.22),
    inset 0 1px rgba(255,255,255,.24),
    inset 0 -1px rgba(25,53,145,.14)!important;
}
#adminWorkspace .admin-workspace-nav button.active::after{color:#dbe6ff!important}

#adminWorkspace .admin-workspace-nav .nav-icon{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
  display:grid!important;
  place-items:center!important;
  border-radius:9px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.11),rgba(255,255,255,.055))!important;
  color:#cfe0ff!important;
  border:1px solid rgba(206,221,255,.10)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.07)!important;
}
#adminWorkspace .admin-workspace-nav .nav-icon .aq-icon{
  width:16px!important;
  height:16px!important;
}
#adminWorkspace .admin-workspace-nav button.active .nav-icon{
  background:rgba(255,255,255,.12)!important;
  border-color:rgba(255,255,255,.16)!important;
  color:#fff!important;
}

#adminWorkspace .admin-sidebar-promo{
  margin:14px 2px 10px!important;
  padding:12px!important;
  border-radius:13px!important;
  border:1px solid rgba(184,202,255,.13)!important;
  background:
    linear-gradient(145deg,rgba(87,110,210,.20),rgba(54,73,164,.14))!important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.05),
    0 8px 20px rgba(2,10,35,.08)!important;
}
#adminWorkspace .promo-gem{
  background:rgba(120,153,255,.14)!important;
  color:#d5e2ff!important;
}
#adminWorkspace .admin-sidebar-promo strong{font-size:11px!important}
#adminWorkspace .admin-sidebar-promo small{
  color:#acbce0!important;
  font-size:9px!important;
}

#adminWorkspace .admin-workspace-user{
  margin-top:5px!important;
  padding-top:12px!important;
  border-top:1px solid rgba(196,211,255,.11)!important;
}
#adminWorkspace .admin-workspace-user small{color:#8fa4d0!important}
#adminWorkspace .admin-workspace-user strong{color:#f4f7ff!important}
#adminWorkspace .admin-workspace-sidebar-foot button{
  border-color:rgba(188,204,255,.12)!important;
  background:rgba(255,255,255,.045)!important;
  color:#dce6ff!important;
}

/* Light theme keeps the selected frosted-blue sidebar instead of turning it white. */
html[data-theme="light"] #adminWorkspace .admin-workspace-sidebar{
  background:
    radial-gradient(circle at 22% 0%,rgba(89,124,255,.22),transparent 25%),
    radial-gradient(circle at 100% 38%,rgba(113,82,221,.12),transparent 36%),
    linear-gradient(180deg,#15377c 0%,#102c67 44%,#0c2458 100%)!important;
}

/* Dark theme deepens the same soft glass language. */
html[data-theme="dark"] #adminWorkspace .admin-workspace-sidebar{
  background:
    radial-gradient(circle at 22% 0%,rgba(76,103,218,.18),transparent 25%),
    radial-gradient(circle at 100% 38%,rgba(98,69,196,.10),transparent 36%),
    linear-gradient(180deg,#102a64 0%,#0d2455 47%,#091d46 100%)!important;
}
html[data-theme="dark"] #adminWorkspace .admin-workspace-nav button[data-workspace-nav],
html[data-theme="dark"] #adminWorkspace .admin-workspace-nav button[data-admin-tool]{
  background:
    linear-gradient(180deg,rgba(255,255,255,.065),rgba(255,255,255,.025))!important;
  border-color:rgba(182,200,255,.09)!important;
}
html[data-theme="dark"] #adminWorkspace .admin-workspace-nav button[data-workspace-nav].active,
html[data-theme="dark"] #adminWorkspace .admin-workspace-nav button[data-admin-tool].active{
  background:
    linear-gradient(135deg,#3f83f6 0%,#4e63ec 58%,#7257e7 100%)!important;
}

/* Tablet/mobile keeps same style while becoming horizontally scrollable. */
@media(max-width:820px){
  #adminWorkspace .admin-workspace-sidebar{
    padding:7px!important;
    background:linear-gradient(180deg,#15377c,#102c67)!important;
  }
  #adminWorkspace .admin-workspace-nav button[data-workspace-nav],
  #adminWorkspace .admin-workspace-nav button[data-admin-tool]{
    min-height:40px!important;
    padding:7px 12px 7px 8px!important;
    border-radius:10px!important;
  }
  #adminWorkspace .admin-workspace-nav button[data-workspace-nav]::after,
  #adminWorkspace .admin-workspace-nav button[data-admin-tool]::after{
    display:none!important;
  }
  #adminWorkspace .admin-workspace-nav .nav-icon{
    width:27px!important;
    height:27px!important;
    flex-basis:27px!important;
  }
}


/* ===== Report palette alignment v4.7 ===== */
html[data-theme="light"]{
  --ops-page:#f3efe9;
  --ops-panel:#fffdf9;
  --ops-panel-2:#f7f2ec;
  --ops-panel-3:#f1ebe4;
  --ops-border:#ddd5cc;
  --ops-border-soft:#e9e1d8;
  --ops-text:#121a2f;
  --ops-muted:#6b6f78;
  --ops-muted-2:#8b8d93;
  --ops-accent:#a93226;
  --ops-accent-2:#8f291f;
  --ops-accent-soft:#f4e5e2;
  --ops-success:#477154;
  --ops-warning:#a96824;
  --ops-danger:#b42318;
  --ops-shadow:0 15px 42px rgba(48,38,30,.08);
}
html[data-theme="dark"]{
  --ops-page:#0d1420;
  --ops-panel:#121b2a;
  --ops-panel-2:#192434;
  --ops-panel-3:#1e2b3d;
  --ops-border:#2d3747;
  --ops-border-soft:#253142;
  --ops-text:#f7f1e8;
  --ops-muted:#a9adb6;
  --ops-muted-2:#858b96;
  --ops-accent:#d94b3d;
  --ops-accent-2:#ee6254;
  --ops-accent-soft:#3a2425;
  --ops-success:#77a985;
  --ops-warning:#d3a35f;
  --ops-danger:#f97066;
  --ops-shadow:0 18px 48px rgba(0,0,0,.32);
}

/* Page and main workspace now use the same base as the QC report. */
html[data-theme="light"] body.admin-workspace-mode,
html[data-theme="light"] body.jl-tools-ui.admin-workspace-mode{
  background:#f3efe9!important;
  background-image:linear-gradient(145deg,rgba(255,255,255,.40),transparent 44%)!important;
  color:#121a2f!important;
}
html[data-theme="light"] #adminWorkspace,
html[data-theme="light"] #adminWorkspace .admin-workspace-main{
  background:#f3efe9!important;
  color:#121a2f!important;
}
html[data-theme="dark"] body.admin-workspace-mode,
html[data-theme="dark"] body.jl-tools-ui.admin-workspace-mode{
  background:#0d1420!important;
  background-image:linear-gradient(145deg,rgba(255,255,255,.025),transparent 44%)!important;
  color:#f7f1e8!important;
}
html[data-theme="dark"] #adminWorkspace,
html[data-theme="dark"] #adminWorkspace .admin-workspace-main{
  background:#0d1420!important;
  color:#f7f1e8!important;
}

/* Topbar follows report page/surface colors instead of blue glass. */
html[data-theme="light"] #adminWorkspace .admin-workspace-top{
  background:rgba(243,239,233,.94)!important;
  border-bottom:1px solid #ddd5cc!important;
  box-shadow:0 4px 18px rgba(48,38,30,.04)!important;
}
html[data-theme="dark"] #adminWorkspace .admin-workspace-top{
  background:rgba(13,20,32,.96)!important;
  border-bottom:1px solid #2d3747!important;
  box-shadow:0 5px 20px rgba(0,0,0,.18)!important;
}
html[data-theme="light"] #adminWorkspace .workspace-search{
  background:#fffdf9!important;
  border-color:#ddd5cc!important;
  box-shadow:none!important;
}
html[data-theme="light"] #adminWorkspace .workspace-search input{color:#121a2f!important}
html[data-theme="light"] #adminWorkspace .workspace-search input::placeholder{color:#7d7d83!important}
html[data-theme="dark"] #adminWorkspace .workspace-search{
  background:#121b2a!important;
  border-color:#2d3747!important;
}
html[data-theme="dark"] #adminWorkspace .workspace-search input{color:#f7f1e8!important}
html[data-theme="dark"] #adminWorkspace .workspace-search input::placeholder{color:#8e949e!important}

/* Main cards/panels align to ivory report surfaces. */
html[data-theme="light"] #adminWorkspace .card,
html[data-theme="light"] #adminWorkspace .glass-card,
html[data-theme="light"] #adminWorkspace .workspace-home-workflow,
html[data-theme="light"] #adminWorkspace .workspace-home-updates,
html[data-theme="light"] #adminWorkspace .workspace-home-actions,
html[data-theme="light"] #adminWorkspace .home-date-card,
html[data-theme="light"] #adminWorkspace .workspace-home-help,
html[data-theme="light"] #adminWorkspace .workspace-home-kpi,
html[data-theme="light"] #adminWorkspace .workspace-source-card,
html[data-theme="light"] #adminWorkspace .workspace-data-kpi,
html[data-theme="light"] #adminWorkspace .visitor-summary-card{
  background:#fffdf9!important;
  border-color:#ddd5cc!important;
  color:#121a2f!important;
  box-shadow:0 12px 30px rgba(48,38,30,.055)!important;
}
html[data-theme="dark"] #adminWorkspace .card,
html[data-theme="dark"] #adminWorkspace .glass-card,
html[data-theme="dark"] #adminWorkspace .workspace-home-workflow,
html[data-theme="dark"] #adminWorkspace .workspace-home-updates,
html[data-theme="dark"] #adminWorkspace .workspace-home-actions,
html[data-theme="dark"] #adminWorkspace .home-date-card,
html[data-theme="dark"] #adminWorkspace .workspace-home-help,
html[data-theme="dark"] #adminWorkspace .workspace-home-kpi,
html[data-theme="dark"] #adminWorkspace .workspace-source-card,
html[data-theme="dark"] #adminWorkspace .workspace-data-kpi,
html[data-theme="dark"] #adminWorkspace .visitor-summary-card{
  background:#121b2a!important;
  border-color:#2d3747!important;
  color:#f7f1e8!important;
  box-shadow:0 14px 32px rgba(0,0,0,.20)!important;
}

/* Hero becomes report-like instead of luminous blue. */
html[data-theme="light"] #adminWorkspace .workspace-home-hero{
  background:
    radial-gradient(circle at 84% 20%,rgba(169,50,38,.055),transparent 26%),
    linear-gradient(135deg,#fffdf9 0%,#faf6f1 60%,#f6efe8 100%)!important;
  border:1px solid #ddd5cc!important;
  border-left:5px solid #a93226!important;
  box-shadow:0 15px 42px rgba(48,38,30,.07)!important;
}
html[data-theme="light"] #adminWorkspace .workspace-home-hero h2{color:#121a2f!important}
html[data-theme="light"] #adminWorkspace .workspace-home-hero p{color:#6b6f78!important}
html[data-theme="light"] #adminWorkspace .workspace-home-kicker,
html[data-theme="light"] #adminWorkspace .hero-note{color:#a93226!important}
html[data-theme="light"] #adminWorkspace .hero-panel{
  background:linear-gradient(145deg,#fffdf9,#f2e7df)!important;
  border-color:#ddd5cc!important;
  box-shadow:0 12px 26px rgba(48,38,30,.08)!important;
}

/* Text follows report navy / muted gray. */
html[data-theme="light"] #adminWorkspace h1,
html[data-theme="light"] #adminWorkspace h2,
html[data-theme="light"] #adminWorkspace h3,
html[data-theme="light"] #adminWorkspace h4,
html[data-theme="light"] #adminWorkspace .kpi-copy strong,
html[data-theme="light"] #adminWorkspace .workspace-data-kpi strong,
html[data-theme="light"] #adminWorkspace .visitor-summary-card strong,
html[data-theme="light"] #adminWorkspace .workspace-source-inline>strong,
html[data-theme="light"] #adminWorkspace .admin-profile strong{
  color:#121a2f!important;
}
html[data-theme="light"] #adminWorkspace p,
html[data-theme="light"] #adminWorkspace small,
html[data-theme="light"] #adminWorkspace .workspace-note,
html[data-theme="light"] #adminWorkspace .msg,
html[data-theme="light"] #adminWorkspace .kpi-copy em,
html[data-theme="light"] #adminWorkspace .workspace-data-kpi span,
html[data-theme="light"] #adminWorkspace .visitor-summary-card span{
  color:#6b6f78!important;
}

/* Report-like terracotta actions. Sidebar active state intentionally remains cool/soft. */
html[data-theme="light"] #adminWorkspace button:not(.ghost):not(.secondary):not([data-workspace-nav]):not([data-admin-tool]):not(.admin-notification):not(.rail-link):not(.ops-theme-toggle),
html[data-theme="light"] #adminWorkspace .btn.primary{
  background:#a93226!important;
  background-image:none!important;
  border-color:#a93226!important;
  color:#fff!important;
  box-shadow:none!important;
}
html[data-theme="light"] #adminWorkspace button:not(.ghost):not(.secondary):not([data-workspace-nav]):not([data-admin-tool]):not(.admin-notification):not(.rail-link):not(.ops-theme-toggle):hover{
  background:#8f291f!important;
  border-color:#8f291f!important;
}
html[data-theme="dark"] #adminWorkspace button:not(.ghost):not(.secondary):not([data-workspace-nav]):not([data-admin-tool]):not(.admin-notification):not(.rail-link):not(.ops-theme-toggle){
  background:#d94b3d!important;
  background-image:none!important;
  border-color:#d94b3d!important;
  color:#fff!important;
  box-shadow:none!important;
}
html[data-theme="dark"] #adminWorkspace button:not(.ghost):not(.secondary):not([data-workspace-nav]):not([data-admin-tool]):not(.admin-notification):not(.rail-link):not(.ops-theme-toggle):hover{
  background:#ee6254!important;
  border-color:#ee6254!important;
}

/* Secondary controls match report cards. */
html[data-theme="light"] #adminWorkspace button.ghost,
html[data-theme="light"] #adminWorkspace button.secondary,
html[data-theme="light"] #adminWorkspace .secondary{
  background:transparent!important;
  border-color:#ddd5cc!important;
  color:#a93226!important;
}
html[data-theme="light"] #adminWorkspace button.ghost:hover,
html[data-theme="light"] #adminWorkspace button.secondary:hover,
html[data-theme="light"] #adminWorkspace .secondary:hover{
  background:#f7f2ec!important;
  border-color:#d2c7bc!important;
  color:#8f291f!important;
}
html[data-theme="dark"] #adminWorkspace button.ghost,
html[data-theme="dark"] #adminWorkspace button.secondary,
html[data-theme="dark"] #adminWorkspace .secondary{
  background:transparent!important;
  border-color:#2d3747!important;
  color:#d94b3d!important;
}
html[data-theme="dark"] #adminWorkspace button.ghost:hover,
html[data-theme="dark"] #adminWorkspace button.secondary:hover,
html[data-theme="dark"] #adminWorkspace .secondary:hover{
  background:#192434!important;
  color:#ee6254!important;
}

/* Inputs and source editor use the same report surfaces/borders. */
html[data-theme="light"] #adminWorkspace input,
html[data-theme="light"] #adminWorkspace select,
html[data-theme="light"] #adminWorkspace textarea{
  background:#fffdf9!important;
  border-color:#ddd5cc!important;
  color:#121a2f!important;
}
html[data-theme="light"] #adminWorkspace input:focus,
html[data-theme="light"] #adminWorkspace select:focus,
html[data-theme="light"] #adminWorkspace textarea:focus{
  border-color:#a93226!important;
  box-shadow:0 0 0 4px rgba(169,50,38,.10)!important;
}
html[data-theme="light"] #adminWorkspace .workspace-source-inline>span{
  background:#f7f2ec!important;
  color:#a93226!important;
}
html[data-theme="light"] #adminWorkspace .workspace-source-inline>a{color:#a93226!important}
html[data-theme="light"] #adminWorkspace .workspace-source-editor-inline{
  background:#f7f2ec!important;
  border-color:#ddd5cc!important;
}

/* KPI icon containers are softened toward the report palette. */
html[data-theme="light"] #adminWorkspace .kpi-icon,
html[data-theme="light"] #adminWorkspace .rail-icon{
  background:#f7f2ec!important;
  border:1px solid #e5ddd4!important;
  color:#a93226!important;
}
html[data-theme="light"] #adminWorkspace .kpi-spark i{
  background:#a93226!important;
}

/* Workflow / quick-access become ivory rather than purple/blue. */
html[data-theme="light"] #adminWorkspace .workspace-home-flow button[data-home-pane],
html[data-theme="light"] #adminWorkspace .workspace-home-flow button[data-home-tool],
html[data-theme="light"] #adminWorkspace .workspace-home-flow button[data-home-report]{
  background:#fffdf9!important;
  border-color:#ddd5cc!important;
  color:#121a2f!important;
  box-shadow:0 8px 22px rgba(48,38,30,.05)!important;
}
html[data-theme="light"] #adminWorkspace .workspace-home-flow button strong{color:#121a2f!important}
html[data-theme="light"] #adminWorkspace .workspace-home-flow button small{color:#6b6f78!important}
html[data-theme="light"] #adminWorkspace .workspace-flow-arrow{color:#a68f84!important}
html[data-theme="light"] #adminWorkspace .workspace-home-shortcut,
html[data-theme="light"] #adminWorkspace .workspace-home-shortcut.shortcut-blue,
html[data-theme="light"] #adminWorkspace .workspace-home-shortcut.shortcut-purple,
html[data-theme="light"] #adminWorkspace .workspace-home-shortcut.shortcut-orange{
  background:#fffdf9!important;
  border-color:#ddd5cc!important;
  color:#121a2f!important;
}
html[data-theme="light"] #adminWorkspace .workspace-home-shortcut strong{color:#121a2f!important}
html[data-theme="light"] #adminWorkspace .workspace-home-shortcut small{color:#6b6f78!important}
html[data-theme="light"] #adminWorkspace .workspace-home-shortcut b{
  background:#f7f2ec!important;
  color:#a93226!important;
}
html[data-theme="light"] #adminWorkspace .shortcut-icon{
  background:#f3e4e1!important;
  color:#a93226!important;
  box-shadow:none!important;
}

/* Table header stays navy per previous user choice; rows adopt report surfaces. */
html[data-theme="light"] #adminWorkspace .table-wrap{
  background:#fffdf9!important;
  border-color:#ddd5cc!important;
  box-shadow:0 8px 22px rgba(48,38,30,.04)!important;
}
html[data-theme="light"] #adminWorkspace .table-wrap tbody td,
html[data-theme="light"] #adminWorkspace #workspaceDataCard tbody td{
  background:#fffdf9!important;
  color:#30394a!important;
  border-bottom-color:#e7dfd7!important;
}
html[data-theme="light"] #adminWorkspace .table-wrap tbody tr:nth-child(even) td,
html[data-theme="light"] #adminWorkspace #workspaceDataCard tbody tr:nth-child(even) td{
  background:#fbf7f2!important;
}
html[data-theme="light"] #adminWorkspace .table-wrap tbody tr:hover td,
html[data-theme="light"] #adminWorkspace #workspaceDataCard tbody tr:hover td{
  background:#f7f2ec!important;
}
html[data-theme="light"] #adminWorkspace #workspaceDataCard .workspace-data-table td:first-child{
  background:#fffdf9!important;
}
html[data-theme="light"] #adminWorkspace #workspaceDataCard tbody tr:nth-child(even) td:first-child{
  background:#fbf7f2!important;
}
html[data-theme="light"] #adminWorkspace #workspaceDataCard tbody tr:hover td:first-child{
  background:#f7f2ec!important;
}

/* Snapshot/status bar uses report navy, tying dashboard and report together. */
html[data-theme="light"] #adminWorkspace .workspace-source-line{
  background:#121a2f!important;
  border-color:#121a2f!important;
  color:#f7f1e8!important;
}

/* Theme toggle inherits terracotta accent instead of bright blue. */
html[data-theme="light"] #adminWorkspace .ops-theme-toggle{
  background:#a93226!important;
  background-image:none!important;
  border-color:#a93226!important;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(169,50,38,.16)!important;
}
html[data-theme="dark"] #adminWorkspace .ops-theme-toggle{
  background:#d94b3d!important;
  background-image:none!important;
  border-color:#d94b3d!important;
  color:#fff!important;
}

/* Sidebar keeps the selected soft design but now uses report navy rather than electric blue. */
#adminWorkspace .admin-workspace-sidebar,
html[data-theme="light"] #adminWorkspace .admin-workspace-sidebar{
  background:
    radial-gradient(circle at 18% 0%,rgba(92,116,170,.16),transparent 28%),
    radial-gradient(circle at 100% 42%,rgba(107,76,92,.10),transparent 36%),
    linear-gradient(180deg,#172949 0%,#132440 48%,#10203a 100%)!important;
}
html[data-theme="dark"] #adminWorkspace .admin-workspace-sidebar{
  background:
    radial-gradient(circle at 18% 0%,rgba(76,96,145,.13),transparent 28%),
    linear-gradient(180deg,#111f38 0%,#0e1b31 50%,#0b172a 100%)!important;
}
#adminWorkspace .admin-workspace-nav button[data-workspace-nav].active,
#adminWorkspace .admin-workspace-nav button[data-admin-tool].active,
html[data-theme="dark"] #adminWorkspace .admin-workspace-nav button[data-workspace-nav].active,
html[data-theme="dark"] #adminWorkspace .admin-workspace-nav button[data-admin-tool].active{
  background:linear-gradient(135deg,#315d9b 0%,#294d84 60%,#493c73 100%)!important;
  border-color:rgba(207,220,245,.28)!important;
  box-shadow:0 8px 18px rgba(8,20,48,.20),inset 0 1px rgba(255,255,255,.16)!important;
}
