/* Dotty Retro DS · toolkit.css */

/* Toolkit master–detail browser */
.toolkit-browser {
  display: grid;
  grid-template-columns: 220px 1fr;
  grid-template-rows: auto 1fr;
  min-height: 380px;
  border: 1px solid var(--ds-rule);
  border-radius: var(--ds-radius-lg);
  box-shadow: var(--ds-shadow);
  overflow: hidden;
  background: #fff;
}
.toolkit-toolbar {
  grid-column: 1 / -1;
  position: relative;
  z-index: 2;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  /* Soft divider — matches outer panel chrome */
  border-bottom: 1px solid #b0b0b0;
  background: linear-gradient(
    to bottom,
    #efefef 0%,
    #d4d4d4 45%,
    #b8b8b8 55%,
    #d0d0d0 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #222;
}
.toolkit-body {
  display: contents;
}
@media (max-width: 700px) {
  .toolkit-browser {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
    min-height: 0;
  }
}
.toolkit-list {
  margin: 0;
  padding: 10px 0;
  border-right: 1px solid #c5d4e4;
  background: linear-gradient(to bottom, #d5e4f2, #b7cce2);
}
@media (max-width: 700px) {
  .toolkit-list { border-right: 0; border-bottom: 1px solid #c5d4e4; }
}
.toolkit-list button {
  display: block;
  width: 100%;
  padding: 8px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: #1a2a3a;
  text-shadow: 0 1px 0 rgba(255,255,255,0.35);
  border: 0;
  background: transparent;
  cursor: pointer;
}
.toolkit-list button:hover { background: rgba(255,255,255,0.28); }
.toolkit-list button.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);
}

.toolkit-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
}
.toolkit-panels {
  flex: 1;
  padding: 22px 24px;
}
.toolkit-panel { display: none; }
.toolkit-panel.is-active { display: block; }
.toolkit-panel-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 800px) {
  .toolkit-panel-grid { grid-template-columns: 1fr; }
}
.toolkit-panel .lead {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ds-ink-muted);
  margin: 8px 0 14px;
  max-width: 38ch;
}
.toolkit-panel .ds-list-check { margin-bottom: 16px; }
.toolkit-shots {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.toolkit-panel .shot {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.toolkit-shot-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.toolkit-shot-thumbs button {
  display: block;
  padding: 0;
  margin: 0;
  border: 1px solid transparent;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  opacity: 0.72;
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.toolkit-shot-thumbs button:hover { opacity: 1; }
.toolkit-shot-thumbs button.is-active {
  opacity: 1;
  border-color: #0085cf;
}
.toolkit-shot-thumbs img {
  display: block;
  width: 56px;
  height: 36px;
  object-fit: cover;
}
