/* Dotty Retro DS · sidebar.css */

/* ─────────────────────────────────────────
   7. SIDEBAR (source list, still useful)
   ───────────────────────────────────────── */
.ds-shell {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 280px;
  background: #fff;
  border: 1px solid var(--ds-rule-strong);
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow);
  overflow: hidden;
}
@media (max-width: 700px) {
  .ds-shell { grid-template-columns: 1fr; }
}
.ds-shell-wide { grid-template-columns: 200px 1fr; }

.ds-sidebar {
  padding: 10px 0;
  border-right: 1px solid #7f95ad;
  background: linear-gradient(to bottom, #d5e4f2, #b7cce2);
}
.ds-sidebar-deep {
  background: linear-gradient(to bottom, #6a90c0, #3a6098 50%, #2a4a78);
  border-right-color: #1a355a;
}
.ds-sidebar-label {
  padding: 6px 12px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2a4a6a;
  text-shadow: 0 1px 0 rgba(255,255,255,0.4);
}
.ds-sidebar-deep .ds-sidebar-label {
  color: #d0e4f8;
  text-shadow: 0 1px 0 rgba(0,0,0,0.3);
}
.ds-sidebar a {
  display: block;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #1a2a3a;
  text-shadow: 0 1px 0 rgba(255,255,255,0.3);
  text-decoration: none;
}
.ds-sidebar a:hover { background: rgba(255,255,255,0.28); }
.ds-sidebar a.is-active {
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.3), rgba(0,0,0,0.08)),
    linear-gradient(to bottom, #6a9ad0, #2f5f9a);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
}
.ds-sidebar-deep a { color: #eef6ff; text-shadow: 0 1px 0 rgba(0,0,0,0.25); }
.ds-sidebar-deep a.is-active {
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.35), rgba(0,0,0,0.08)),
    linear-gradient(to bottom, #b0d4ff, #5080c0);
}

.ds-shell-main { display: flex; flex-direction: column; min-width: 0; background: #fff; }
.ds-shell-toolbar {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  border-bottom: 1px solid #7a7a7a;
  background: linear-gradient(
    to bottom,
    #fbfbfb 0%,
    #e8e8e8 45%,
    #d4d4d4 55%,
    #ececec 100%
  );
  box-shadow: inset 0 1px 0 #fff;
  text-shadow: 0 1px 0 #fff;
}
.ds-shell-content { flex: 1; padding: 18px; font-size: 13px; line-height: 1.5; }
.ds-shell-content.flush { padding: 0; }
