.workspace-sidebar {
  box-sizing: border-box;
  width: 240px;
  flex: 0 0 240px;
  min-width: 0;
  padding: 26px 15px 20px;
  background: var(--workspace-surface);
  border-right: 1px solid var(--workspace-border);
  display: flex;
  flex-direction: column;
}
.workspace-brand, .workspace-brand:link, .workspace-brand:visited {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 9px;
  color: var(--workspace-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
}
.workspace-brand img { display: block; width: 150px; max-width: 100%; height: auto; }
.workspace-brand .workspace-logo-dark, :root[data-theme="dark"] .workspace-brand .workspace-logo-light { display: none; }
:root[data-theme="dark"] .workspace-brand .workspace-logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .workspace-brand .workspace-logo-light { display: none; }
  :root:not([data-theme]) .workspace-brand .workspace-logo-dark { display: block; }
}
.workspace-label { margin: 36px 12px 10px; color: var(--workspace-label); font-size: 11px; font-weight: 600; letter-spacing: .03em; }
.workspace-nav { display: grid; gap: 4px; }
.workspace-settings-label { margin-top: 24px; }
.workspace-link, .workspace-link:link, .workspace-link:visited {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 40px;
  box-sizing: border-box;
  padding: 0 11px;
  border-radius: 4px;
  color: var(--workspace-muted);
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
}
.workspace-link > span { width: 20px; height: 20px; display: grid; place-items: center; flex: 0 0 20px; }
.workspace-link svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.workspace-link:hover, .workspace-link.is-active, .workspace-link.is-active:visited { color: var(--workspace-accent); background: var(--workspace-selected); }
.workspace-link.is-active { box-shadow: inset 3px 0 var(--workspace-accent); font-weight: 600; }
.workspace-link:focus-visible { outline: 3px solid var(--workspace-accent); outline-offset: 2px; }
.workspace-bottom { margin-top: auto; padding: 20px 12px 0; color: var(--workspace-label); font-size: 11px; }
@media (max-width: 767px) {
  .workspace-sidebar { width: auto; padding: 16px; border-right: 0; border-bottom: 1px solid var(--workspace-border); }
  .workspace-label, .workspace-bottom { display: none; }
  .workspace-nav { display: flex; gap: 4px; overflow-x: auto; margin-top: 16px; }
  .workspace-settings-label { display: block; margin: 14px 10px 0; }
  .workspace-settings-nav { margin-top: 4px; }
  .workspace-link, .workspace-link:link, .workspace-link:visited { flex: 0 0 auto; min-height: 38px; padding: 0 10px; white-space: nowrap; }
}
