/* Shared application palette, matched to the Overview navigation. */
body.workspace-page.ek-refresh {
  --workspace-navy: #08182a;
  --workspace-blue: #0f557d;
  --workspace-ink: #102b40;
  --workspace-muted: #607588;
  --workspace-line: #dbe6ee;
  background: #eef5fa !important;
  color: var(--workspace-ink);
  color-scheme: light;
}
body.workspace-page #main-content { background: transparent; }
body.workspace-page .nav.ek-nav,
body.workspace-page .nav.ek-nav.scrolled {
  background: linear-gradient(90deg, #050c18 0%, #08182a 55%, #0b2234 100%) !important;
  border-bottom: 1px solid #193348 !important;
  box-shadow: none;
}
body.workspace-page .ek-nav .nav-logo,
body.workspace-page .ek-nav .nav-logo span { color: #f2f7fa !important; }
body.workspace-page .ek-nav .nav-link { color: #b8c9d4 !important; }
body.workspace-page .ek-nav .nav-link:hover { color: #fff !important; }
body.workspace-page .ek-nav .nav-link[aria-current="page"] { color: #8dc9ef !important; }
body.workspace-page .ek-nav .ek-button { background: transparent !important; border-color: #486075 !important; color: #eef5f8 !important; }
body.workspace-page .ek-nav .ek-button-primary { background: #0f557d !important; border-color: #0f557d !important; color: #fff !important; }
body.workspace-page .ek-nav .nav-hamburger span { background: #eef5f8 !important; }
body.workspace-page .ek-nav :focus-visible { outline-color: #8dc9ef; }
body.workspace-page .scroll-bar,
body.workspace-page #back-to-top { display: none; }
body.workspace-page .workspace-footer {
  width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 22px 0;
  display: flex; justify-content: space-between; gap: 20px;
  font: 400 11px/1.5 Inter, sans-serif; color: #607588;
}
body.workspace-page .workspace-footer span,
body.workspace-page .workspace-footer a { color: #607588; text-decoration: none; }
.workspace-footer nav { display: flex; gap: 20px; }
body.workspace-page .account-sidebar {
  background: linear-gradient(155deg, #0b2234, #08182a);
  border-right-color: #17384f;
}
body.workspace-page .account-person { border-color: #274257; }
body.workspace-page .account-avatar { background: #1c405b; color: #b6dcf5; }
body.workspace-page .account-person strong { color: #f1f7fc; }
body.workspace-page .account-person div > span { color: #a4bbcd; }
body.workspace-page .account-navigation a { color: #b5cada; }
body.workspace-page .account-navigation a:hover { background: #17384f; color: #fff; }
body.workspace-page .account-navigation a[aria-current="page"] { background: #1b405d; border-color: #2e5672; color: #d5ecff; }
body.workspace-page .account-sidebar-bottom :is(a, button) { color: #a4bbcd; }
body.workspace-page.ek-refresh #main-content .account-workspace a.account-primary,
body.workspace-page.ek-refresh #main-content .account-workspace .ek-button-primary { background: #0f557d; border-color: #0f557d; }
body.workspace-page.ek-refresh #main-content .account-workspace a.account-primary:hover,
body.workspace-page.ek-refresh #main-content .account-workspace .ek-button-primary:hover { background: #0a4264; border-color: #0a4264; }
body.workspace-page .account-workspace-summary { background: #f0f7fc; border-color: #d1e3f0; }
body.workspace-page.ek-refresh #main-content .account-workspace .account-usage th { background: #f0f7fc; border-bottom-color: #d1e3f0; }
@media (max-width: 760px) {
  body.workspace-page .workspace-footer { width: calc(100% - 28px); }
  body.workspace-page .ek-nav .nav-links { background: #08182a; }
}
/* Sign-in and one-time key reveal stay in the same application shell. */
body.workspace-auth #main-content { min-height:calc(100vh - 70px); padding-top:110px; }
body.workspace-auth .account-shell { padding:20px 24px 48px; }
body.workspace-auth .account-layout { display:block; max-width:520px; margin:0 auto; }
body.workspace-auth .account-card { background:#fff; border:1px solid #dbe6ee; border-radius:12px; padding:32px; box-shadow:0 8px 30px #0b223407; }
body.workspace-auth .account-card h2 { color:#102b40; font-size:26px; }
body.workspace-auth .account-card p { color:#607588; }
body.workspace-auth .account-card .account-primary { display:inline-flex; justify-content:center; background:#0f557d; color:#fff; border-radius:6px; text-decoration:none; padding:12px 16px; margin:10px 0; }
body.workspace-auth .account-card input:not([type=hidden]) { background:#fff; color:#102b40; border:1px solid #cbdce9; border-radius:6px; }
body.workspace-key-reveal #main-content { min-height:calc(100vh - 70px); padding:112px 24px 36px; }
body.workspace-key-reveal .enterprise-portal { background:transparent; }
body.workspace-key-reveal .portal-content { max-width:660px !important; padding:30px !important; margin:0 auto; background:#fff; border:1px solid #dbe6ee; border-radius:12px; }
body.workspace-key-reveal .portal-content h1 { color:#102b40; }
body.workspace-key-reveal .portal-content p { font-size:13px; color:#607588; }
body.workspace-key-reveal .portal-content .btn { padding:10px 14px; font-size:12px; border-radius:6px; background:#0f557d; color:#fff; }
@media(max-width:760px) { body.workspace-key-reveal #main-content { padding:90px 14px 26px; } body.workspace-key-reveal .portal-content { padding:22px !important; } }
