/* Story Book - front-end styles. Accent color comes from --sp-accent (Settings > Story Book). */
.sp-block { --sp-tint: #ecf8f0; --sp-border: #e5e7eb; box-sizing: border-box; font-size: 14px; line-height: 1.4; }
.sp-block *, .sp-block *::before, .sp-block *::after { box-sizing: border-box; }
@supports (background: color-mix(in srgb, red 10%, white)) {
	.sp-block { --sp-tint: color-mix(in srgb, var(--sp-accent, #16a34a) 9%, #fff); }
}

/* Pills */
.sp-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0 12px; }
.sp-pills__label { font-size: 12px; font-weight: 700; }
.sp-pills__list { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sp-block .sp-pill { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border: 1.5px solid var(--sp-accent, #16a34a); border-radius: 50%; background: #fff; color: var(--sp-accent, #16a34a); font-size: 11px; font-weight: 700; text-decoration: none; transition: background .15s, color .15s; }
.sp-block a.sp-pill:hover { background: var(--sp-tint); }
.sp-block .sp-pill.is-current { background: var(--sp-accent, #16a34a); color: #fff; }
.sp-pill-gap { color: #6b7280; padding: 0 2px; }
.sp-pills__hint { font-size: 11px; color: #4b5563; }
.sp-pills__hint a { color: var(--sp-accent, #16a34a); font-weight: 600; text-decoration: none; }
.sp-pills__hint a:hover { text-decoration: underline; }

/* Meta */
.sp-meta { margin: 8px 0; font-size: 12px; color: #6b7280; }
.sp-meta__eye { vertical-align: -2px; }

/* All parts list */
.sp-list { margin: 20px 0 16px; }
.sp-list__title { border-left: 3px solid var(--sp-accent, #16a34a); padding-left: 8px; margin-bottom: 10px; font-size: 15px; font-weight: 700; }
.sp-block .sp-item { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding: 10px 14px; border: 1px solid var(--sp-border); border-radius: 10px; background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, background .15s; }
.sp-block a.sp-item:hover { border-color: var(--sp-accent, #16a34a); background: var(--sp-tint); }
.sp-block .sp-item.is-current { border-color: var(--sp-accent, #16a34a); background: var(--sp-tint); }
.sp-item__num { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sp-accent, #16a34a); color: #fff; font-size: 12px; font-weight: 700; }
.sp-item__title { flex: 1 1 auto; min-width: 0; font-size: 13px; font-weight: 700; }
.sp-item__cta { flex: 0 0 auto; font-size: 11px; font-weight: 700; color: var(--sp-accent, #16a34a); }

/* Buttons */
.sp-nav, .sp-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 14px 0; }
.sp-block a.sp-btn { display: inline-block; padding: 9px 22px; border-radius: 8px; background: var(--sp-accent, #16a34a); color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; transition: opacity .15s; }
.sp-block a.sp-btn:hover { opacity: .88; color: #fff; }

@media (max-width: 480px) {
	.sp-block a.sp-btn { padding: 9px 16px; }
}
