/* R10: three compact, consistently placed highlights above each existing CTA.
   Figures describe operation results or usage; the embedded tools remain demos. */
body.layout-dark-draft #works .work-folder-with-caption .work-folder-caption {
  grid-template-rows: auto 1fr auto;
}

body.layout-dark-draft #works :is(.work-result-summary, .work-result-summary span, .work-result-item, .work-result-item span, .work-result-item strong) {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}

body.layout-dark-draft #works .work-result-summary {
  align-self: start;
  width: 100%;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--folder-accent) 32%, transparent);
}

body.layout-dark-draft #works .work-result-summary .work-result-kicker {
  margin-bottom: 10px;
  color: color-mix(in srgb, var(--folder-accent) 70%, #e5e8ec);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.5;
  letter-spacing: .08em;
}

body.layout-dark-draft #works .work-result-grid,
body.layout-dark-draft #works .work-result-summary .work-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  min-width: 0;
}

body.layout-dark-draft #works .work-result-item strong {
  color: color-mix(in srgb, var(--folder-accent, var(--story-accent, #9fbfe2)) 38%, #eef1f5);
  font-size: clamp(20px, 1.85vw, 28px);
  font-weight: 550;
  line-height: 1.2;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.layout-dark-draft #works .work-result-item strong > span {
  display: inline;
  margin-left: 2px;
  font-size: .52em;
  font-weight: 500;
  letter-spacing: 0;
}

body.layout-dark-draft #works .work-result-item .work-result-name {
  margin-top: 7px;
  color: #aeb8c3;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

body.layout-dark-draft #works .work-result-grid--detail {
  margin-top: 16px;
  padding: 16px 0;
  border-block: 1px solid color-mix(in srgb, var(--story-accent) 26%, transparent);
}

body.layout-dark-draft #works .work-result-grid--detail .work-result-item strong {
  font-size: clamp(20px, 2vw, 30px);
}

body.layout-dark-draft #works .work-story-results .work-story-list b {
  color: #e3e8ee;
  font-weight: 550;
}

html[data-theme="light"] body.layout-dark-draft #works .work-result-summary .work-result-kicker,
html[data-theme="light"] body.layout-dark-draft #works .work-result-item strong {
  color: color-mix(in srgb, var(--folder-accent, var(--story-accent, #577694)) 70%, #263442);
}

html[data-theme="light"] body.layout-dark-draft #works .work-result-item .work-result-name {
  color: var(--lp-muted, #637383);
}

html[data-theme="light"] body.layout-dark-draft #works .work-story-results .work-story-list b {
  color: var(--lp-ink, #263442);
}

@media (max-width: 1100px) {
  body.layout-dark-draft #works .work-folder-with-caption .work-folder-caption {
    padding-inline: 24px;
  }
  body.layout-dark-draft #works .work-result-grid,
  body.layout-dark-draft #works .work-result-summary .work-result-grid {
    gap: 7px;
  }
}

@media (max-width: 560px) {
  body.layout-dark-draft #works .work-result-grid {
    gap: 7px;
  }
  body.layout-dark-draft #works .work-folder-with-caption .work-folder-caption {
    padding-inline: 24px;
  }
  body.layout-dark-draft #works .work-result-grid--detail .work-result-item strong {
    font-size: 22px;
  }
}

@media (max-width: 380px) {
  body.layout-dark-draft #works .work-result-grid--detail {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  body.layout-dark-draft #works .work-result-grid--detail .work-result-item {
    display: grid;
    grid-template-columns: minmax(88px, .85fr) 1fr;
    align-items: center;
    gap: 10px;
  }
  body.layout-dark-draft #works .work-result-grid--detail .work-result-name {
    margin-top: 0;
  }
}
