:root {
  --workspace-rail: 260px;
  --workspace-bg: #080d10;
  --workspace-panel: #0f1519;
  --workspace-border: #29363e;
  --workspace-muted: #9bb0bb;
  --workspace-blue: #4cb9d8;
}

body.has-workspace-shell {
  background: var(--workspace-bg);
  color: #f4f7f8;
  font-family: Arial, Helvetica, sans-serif;
}

.workspace-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: var(--workspace-rail);
  display: flex;
  flex-direction: column;
  padding: 5px 21px 20px;
  border-right: 1px solid #243038;
  background: #090e11;
}
.sidebar-brand {
  display: grid;
  justify-items: start;
  gap: 2px;
  width: fit-content;
  margin-left: 4px;
  color: inherit;
  text-decoration: none;
}
.sidebar-brand img { width: 132px; height: 66px; object-fit: contain; object-position: left center; }
.sidebar-brand span { margin: 5px 0 0 1px; color: #78909b; font-size: 9px; font-weight: 500; letter-spacing: .21em; }
.workspace-nav { display: grid; gap: 4px; margin-top: 15px; }
.nav-label { margin: 22px 10px 7px; color: #536873; font-size: 9px; font-weight: 600; letter-spacing: .18em; }
.nav-link {
  position: relative;
  min-height: 43px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 8px;
  color: #92a8b3;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: #f2f5f7; background: rgba(255,255,255,.025); }
.nav-link.active {
  padding-left: 10px;
  border-left: 3px solid var(--workspace-blue);
  border-radius: 10px;
  color: #e9f8fd;
  background: #10242c;
}
.nav-link.active::before { content: none; }
.sidebar-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 20px 10px 0;
  border-top: 1px solid #202a30;
  color: #70808a;
  font-size: 11px;
}
.sidebar-foot .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #65d5bd;
  box-shadow: 0 0 0 4px rgba(101,213,189,.08);
}

body.has-workspace-shell > .topbar {
  height: 62px;
  margin-left: var(--workspace-rail);
  padding: 0 clamp(24px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom: 1px solid #243038;
  background: #080d10;
}
body.has-workspace-shell .topbar-actions { display: flex; align-items: center; gap: 18px; }
body.has-workspace-shell .app-user { display: flex; align-items: center; gap: 14px; }
body.has-workspace-shell .version-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 6px 11px;
  border: 1px solid #31414a;
  border-radius: 999px;
  color: #91a5b0;
  background: #0b151a;
  line-height: 1.15;
  white-space: nowrap;
}
body.has-workspace-shell .version-badge strong { color: var(--workspace-blue); font-size: 10px; letter-spacing: .04em; }
body.has-workspace-shell .version-badge small { padding-left: 10px; border-left: 1px solid #31414a; font-size: 9px; }
body.has-workspace-shell .topbar-user { color: #aeb9bf; font-size: 11px; }
body.has-workspace-shell .system-status { display: flex; align-items: center; gap: 8px; color: #aeb9bf; font-size: 11px; }
body.has-workspace-shell .system-status .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #65d5bd; box-shadow: 0 0 0 4px rgba(101,213,189,.08); }
body.has-workspace-shell .system-status.unhealthy .status-dot { background: #ff7a78; box-shadow: 0 0 0 4px rgba(255,122,120,.08); }
body.has-workspace-shell .topbar-link,
body.has-workspace-shell .topbar button,
body.has-workspace-shell .back-link {
  min-height: auto;
  padding: 0;
  border: 0;
  color: var(--workspace-blue);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}
body.has-workspace-shell .topbar button:hover,
body.has-workspace-shell .topbar-link:hover,
body.has-workspace-shell .back-link:hover { color: #72cbec; text-decoration: underline; filter: none; }
body.has-workspace-shell .topbar button.release-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: auto;
  padding: 6px 11px;
  border: 1px solid #31414a;
  border-radius: 999px;
  color: #91a5b0;
  background: #0b151a;
  cursor: pointer;
  line-height: 1.15;
}
body.has-workspace-shell .topbar button.release-trigger:hover {
  border-color: var(--workspace-blue);
  color: #b9c8cf;
  background: #0d1a20;
  text-decoration: none;
}
body.has-workspace-shell .topbar button.release-trigger:focus-visible { outline: 2px solid var(--workspace-blue); outline-offset: 2px; }

.release-dialog {
  width: min(780px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(67,186,232,.5);
  border-radius: 18px;
  color: #f2f5f7;
  background: #10191e;
  box-shadow: 0 32px 100px rgba(0,0,0,.65);
}
.release-dialog::backdrop { background: rgba(3,8,11,.78); backdrop-filter: blur(7px); }
.release-panel { max-height: calc(100vh - 34px); overflow: auto; }
.release-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px;
  border-bottom: 1px solid #2d3c44;
  background: rgba(16,25,30,.97);
}
.release-head p { margin: 0 0 16px; color: var(--workspace-blue); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.release-head h2 { margin: 0 0 12px; font-size: 30px; font-weight: 500; letter-spacing: -.025em; }
.release-head span { color: #91a5b0; font-size: 14px; }
.release-close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  padding: 0;
  border: 1px solid #3c5664;
  border-radius: 50%;
  color: #d9e5ea;
  background: transparent;
  font: 400 27px/1 system-ui, sans-serif;
  cursor: pointer;
}
.release-close:hover { border-color: var(--workspace-blue); color: var(--workspace-blue); background: rgba(67,186,232,.07); }
.release-list { padding: 4px 30px 18px; }
.release-entry { display: grid; grid-template-columns: 155px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid #2d3c44; }
.release-entry:last-child { border-bottom: 0; }
.release-meta { display: grid; align-content: start; gap: 10px; }
.release-meta strong { color: var(--workspace-blue); font-size: 16px; }
.release-meta small { color: #76909c; font-size: 9px; }
.release-copy h3 { margin: 0 0 12px; font-size: 17px; font-weight: 600; }
.release-copy ul { display: grid; gap: 7px; margin: 0; padding-left: 18px; color: #b7d8e6; font-size: 14px; line-height: 1.45; }

@media (max-width: 620px) {
  .release-head { padding: 23px 20px; }
  .release-list { padding-inline: 20px; }
  .release-entry { grid-template-columns: 1fr; gap: 14px; }
}

body.has-workspace-shell > main,
body.has-workspace-shell > .pricing-main {
  width: auto;
  max-width: none;
  margin: 0 0 0 var(--workspace-rail);
  padding: 38px clamp(42px, 6vw, 128px) 90px;
}
body.has-workspace-shell > main.feasibility-main { padding-top: 0; }
body.has-workspace-shell .dashboard,
body.has-workspace-shell .pricing-content { max-width: 2020px; }
body.has-workspace-shell .eyebrow { color: var(--workspace-blue); font-size: 11px; font-weight: 800; letter-spacing: .2em; }
body.has-workspace-shell h1 { color: #f4f7f8; font-size: clamp(42px, 5vw, 72px); font-weight: 400; letter-spacing: -.055em; line-height: .98; }
body.has-workspace-shell h2 { font-weight: 500; }
body.has-workspace-shell main button { font-weight: 650; }
body.has-workspace-shell .hero-copy,
body.has-workspace-shell .pricing-hero > p:last-child,
body.has-workspace-shell .dashboard-head .intro { color: #9bb0bb; }
body.has-workspace-shell .feasibility-card { background: #0f1519; }
body.has-workspace-shell .mode-tab { color: #92a8b3; }
body.has-workspace-shell .mode-tab:hover { color: #f2f5f7; }
body.has-workspace-shell .mode-tab.active {
  color: #061015;
  background: linear-gradient(135deg, #53bbe5, #2d9eac);
  box-shadow: 0 5px 16px rgba(39,170,226,.16);
}
body.has-workspace-shell > footer { margin-left: var(--workspace-rail); }

body.has-workspace-shell .pricing-hero { max-width: 760px; margin-bottom: 20px; }
body.has-workspace-shell .pricing-hero h1 { margin: 8px 0 12px; }
body.has-workspace-shell .pricing-hero > p:last-child { font-size: 15px; line-height: 1.6; }
body.has-workspace-shell .pricing-tabs { margin-top: 18px; }
body.has-workspace-shell .pricing-view { border-color: var(--workspace-border); background: var(--workspace-panel); }

body.has-workspace-shell .admin-main { padding-top: 38px; }
body.has-workspace-shell .dashboard-head { margin-bottom: 20px; }
body.has-workspace-shell .dashboard-head .intro { font-size: 13px; }
body.has-workspace-shell .settings-card { border-color: var(--workspace-border); background: var(--workspace-panel); }

@media (max-width: 900px) {
  .workspace-sidebar { display: none; }
  body.has-workspace-shell > .topbar { margin-left: 0; }
  body.has-workspace-shell > main,
  body.has-workspace-shell > .pricing-main { width: min(100% - 40px, 1180px); margin: 0 auto; padding: 42px 0 70px; }
  body.has-workspace-shell > main.feasibility-main { padding-top: 0; }
  body.has-workspace-shell > footer { margin-left: 0; }
}

@media (max-width: 620px) {
  body.has-workspace-shell > .topbar { padding: 0 14px; }
  body.has-workspace-shell .topbar-actions { width: 100%; justify-content: space-between; gap: 10px; }
  body.has-workspace-shell .version-badge small,
  body.has-workspace-shell .topbar-user,
  body.has-workspace-shell .topbar-link,
  body.has-workspace-shell .system-status { display: none; }
}
