.lime-library .lime-start {
  margin-block: 24px;
  padding: 16px 20px;
  border: 1px solid var(--lime-ink);
  background: var(--lime-lilac);
  color: var(--lime-ink);
}
.lime-start strong { display: block; margin-bottom: 4px; }
.lime-library .lime-start p { margin: 0; max-width: 74ch; line-height: 1.55; }
.lime-library .ts, .lime-library .tb {
  width: min(100% - 48px, 1144px);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
  color: var(--lime-ink);
}
.lime-library .ts-hero, .lime-library .lime-toolbox-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 72px);
  align-items: center;
  max-width: none;
  padding-block: clamp(40px, 7vw, 92px);
  border-bottom: 1px solid var(--lime-ink);
}
.lime-library .ts h1, .lime-library .tb h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(36px, 6vw, 78px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.055em;
}
.lime-library .ts-hero h1, .lime-library .lime-toolbox-hero h1 { text-transform: uppercase; }
.lime-library .ts-hero figure { margin: 0; }
.lime-library .ts-hero img, .lime-library .lime-toolbox-hero img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border: 1px solid var(--lime-ink);
  border-radius: 0;
}
.lime-library .ts-kicker, .lime-library .tb-kicker {
  font: 12px/1.5 ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .055em;
}
.lime-library .ts-grid, .lime-library .tb-grid { gap: 20px 36px; }
.lime-library .ts-card, .lime-library .tb-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 20px 0;
  border: 0;
  border-top: 1px solid var(--lime-ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.lime-library .ts-card .ts-kicker, .lime-library .tb-card .tb-kicker {
  background: var(--lime-lilac);
  padding: 4px 7px;
}
.lime-library .ts-card .ts-link, .lime-library .tb-card .tb-link { margin-top: auto; }
.lime-library .ts-card h2, .lime-library .tb-card h2 { margin-block: 12px; overflow-wrap: anywhere; }
.lime-library .ts-search, .lime-library .ts-close, .lime-library .ts-first,
.lime-library .tb-boundary, .lime-library .tb-collections a {
  background: var(--lime-lilac);
  border-radius: 0;
}
.lime-library .ts .btn, .lime-library .tb .btn,
.lime-library .tb button[aria-pressed="true"] {
  background: var(--lime-accent);
  color: var(--lime-ink);
  border: 1px solid var(--lime-ink);
  border-radius: 0;
}
.lime-library .tb button { border-radius: 0; }
.lime-library .ts-body, .lime-library .tb-detail { overflow-wrap: anywhere; }
.lime-library .tb-detail { max-width: 800px; }
@media (max-width: 700px) {
  .lime-library .ts, .lime-library .tb { width: calc(100% - 32px); }
  .lime-library .ts-hero, .lime-library .lime-toolbox-hero,
  .lime-library .ts-grid, .lime-library .tb-grid,
  .lime-library .ts-guide-layout, .lime-library .tb-controls,
  .lime-library .ts-search { grid-template-columns: minmax(0, 1fr); }
  .lime-library .ts-hero figure, .lime-library .lime-toolbox-hero img { max-width: 320px; }
  .lime-library .ts-toc { position: static; }
}
