.otk-sblp {
	--sblp-accent: #285a50;
	--sblp-text: #23332f;
	--sblp-surface: #fff;
	--sblp-border: #cbd8d2;
	--sblp-gap: 2rem;
	color: var(--sblp-text);
	background: var(--sblp-surface);
	padding: 1.5rem;
	border: 1px solid var(--sblp-border);
	border-radius: 16px;
	line-height: 1.6;
	overflow-wrap: anywhere;
}
.otk-sblp *, .otk-sblp *::before, .otk-sblp *::after { box-sizing: border-box; }
.otk-sblp h2, .otk-sblp h3, .otk-sblp h4, .otk-sblp h5 { color: inherit; line-height: 1.35; margin: 0 0 .6rem; }
.otk-sblp h2 { font-size: 1.5em; }
.otk-sblp h3 { font-size: 1.1em; }
.otk-sblp h4, .otk-sblp h5 { font-size: 1em; }
.otk-sblp p { margin: .5rem 0; }
.otk-sblp a { color: var(--sblp-accent); text-decoration: underline; text-underline-offset: .2em; }
.otk-sblp :is(a, button, input, select, summary):focus-visible { outline: 3px solid var(--sblp-accent); outline-offset: 4px; }
.otk-sblp > section { margin-top: var(--sblp-gap); scroll-margin-top: 3rem; }
.otk-sblp .sblp-tabs { display: flex; width: 100%; max-width: 490px; margin-top: var(--sblp-gap); padding: 5px; border: 1px solid var(--sblp-border); border-radius: 12px; background: #edf4f1; gap: 4px; }
.otk-sblp .sblp-tabs[hidden], .otk-sblp > section[hidden] { display: none; }
.otk-sblp .sblp-tabs { max-width: 740px; }
.otk-sblp .sblp-bundles [hidden] { display: none !important; }
.otk-sblp .sblp-bundle { border: 1px solid var(--sblp-border); border-radius: 8px; overflow: hidden; margin: .8rem 0; }
.otk-sblp .sblp-bundle > header { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; background: #edf4f1; color: var(--sblp-accent); padding: .8rem; }
.otk-sblp .sblp-bundle > header h3 { margin: 0; font-size: 1em; overflow-wrap: anywhere; flex: 1 1 220px; }
.otk-sblp .sblp-bundle-roles { display: flex; flex-wrap: wrap; gap: .4rem; }
.otk-sblp .sblp-bundle-role { font-size: .8em; border: 1px solid var(--sblp-border); border-radius: 20px; padding: .15rem .6rem; }
.otk-sblp .sblp-bundle-leader { background: var(--sblp-accent); color: #fff; }
.otk-sblp .sblp-bundle ul { padding: 0; margin: 0; list-style: none; }
.otk-sblp .sblp-bundle li { padding: .8rem; border-top: 1px solid var(--sblp-border); overflow-wrap: anywhere; }
.otk-sblp .sblp-bundle > p { padding: .5rem .8rem; }
.otk-sblp .sblp-bundle-details > summary { padding: .65rem .8rem; }
.otk-sblp .sblp-bundle-details > p { padding: .5rem .8rem; }
@media (max-width: 600px) {
	.otk-sblp .sblp-tabs button { padding: .6rem .3rem; font-size: .85em; }
	.otk-sblp .sblp-bundle-search label { flex-basis: 100%; }
}
.otk-sblp .sblp-tabs button { flex: 1; min-width: 0; min-height: 48px; padding: .75rem 1rem; border: 0; border-radius: 8px; background: transparent; color: var(--sblp-accent); font: inherit; cursor: pointer; overflow-wrap: anywhere; }
.otk-sblp .sblp-tabs button[aria-selected="true"] { color: #fff; background: var(--sblp-accent); font-weight: 700; }
.otk-sblp .sblp-tabs button:hover { text-decoration: underline; text-underline-offset: .2em; }
.otk-sblp.sblp-tabbed > section { margin-top: 1rem; }
.otk-sblp.sblp-tabbed > section > h2 { display: none; }
.otk-sblp .sblp-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.otk-sblp .sblp-filters a { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--sblp-border); border-radius: 24px; background: var(--sblp-surface); color: var(--sblp-accent); font-size: .9em; text-decoration: none; }
.otk-sblp .sblp-filters a[aria-current="true"] { border-color: var(--sblp-accent); background: #edf4f1; box-shadow: inset 0 0 0 1px var(--sblp-accent); font-weight: 700; }
.otk-sblp .sblp-filters a:hover { text-decoration: underline; text-underline-offset: .2em; }
.otk-sblp > .sblp-tabs, .otk-sblp .sblp-filters { scroll-margin-top: var(--sblp-scroll-offset, 96px); }
.otk-sblp .sblp-screen-reader { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.otk-sblp .sblp-courses-loading > :is(.sblp-course, .sblp-certificate, .sblp-pager, p[role="status"]) { display: none; }
.otk-sblp .sblp-loading-card { min-height: 205px; border: 1px solid var(--sblp-border); border-radius: 10px; padding: 1.25rem; margin: .75rem 0; background: var(--sblp-surface); }
.otk-sblp .sblp-loading-heading { display: flex; align-items: center; gap: .75rem; color: var(--sblp-accent); margin-bottom: 1.25rem; }
.otk-sblp .sblp-loading-spinner { display: inline-block; flex-shrink: 0; width: 27px; height: 27px; border: 3px solid var(--sblp-border); border-top-color: var(--sblp-accent); border-radius: 50%; animation: sblp-loading-spin .9s linear infinite; }
.otk-sblp .sblp-loading-line { height: 13px; border-radius: 5px; background: var(--sblp-border); margin-bottom: 14px; }
.otk-sblp .sblp-loading-line:nth-child(2) { width: 84%; height: 18px; }
.otk-sblp .sblp-loading-line:nth-child(3) { width: 24%; }
.otk-sblp .sblp-loading-line:nth-child(4) { height: 7px; margin-top: 24px; }
.otk-sblp .sblp-loading-line:nth-child(5) { width: 44%; }
@keyframes sblp-loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .otk-sblp .sblp-loading-spinner { animation: none; } }
.otk-sblp .sblp-header { display: flex; align-items: center; gap: 1.25rem; }
.otk-sblp .sblp-header img { border-radius: 50%; width: 80px; height: 80px; }
.otk-sblp .sblp-links { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin: .5rem 0; }
.otk-sblp .sblp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 1rem; margin: 1.5rem 0 .5rem; }
.otk-sblp .sblp-stats > div { border: 1px solid var(--sblp-border); padding: 1rem; border-radius: 10px; display: flex; flex-direction: column-reverse; }
.otk-sblp .sblp-stats dt { font-size: .85em; }
.otk-sblp .sblp-stats dd { margin: 0; font-size: 1.8em; font-weight: 700; }
.otk-sblp .sblp-note { font-size: .88em; }
.otk-sblp .sblp-toolbar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem; margin: 1rem 0; }
.otk-sblp .sblp-toolbar label { display: flex; flex-direction: column; flex: 1 1 150px; font-size: .88em; }
.otk-sblp .sblp-toolbar input, .otk-sblp .sblp-toolbar select { color: inherit; background: var(--sblp-surface); border: 1px solid var(--sblp-border); border-radius: 6px; padding: .6rem; min-width: 0; width: 100%; min-height: 44px; font: inherit; }
.otk-sblp .sblp-button { display: inline-flex; align-items: center; justify-content: center; padding: .65rem 1.15rem; min-height: 44px; color: #fff; background: var(--sblp-accent); border: 1px solid transparent; border-radius: 6px; text-decoration: none; cursor: pointer; font: inherit; }
.otk-sblp .sblp-button.sblp-reset { color: var(--sblp-accent); background: var(--sblp-surface); border-color: var(--sblp-border); }
.otk-sblp .sblp-button.sblp-reset:hover { border-color: var(--sblp-accent); text-decoration: underline; }
.otk-sblp .sblp-course, .otk-sblp .sblp-certificate { border: 1px solid var(--sblp-border); border-radius: 10px; margin: .75rem 0; padding: 1.1rem; }
.otk-sblp .sblp-certificate { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.otk-sblp .sblp-certificate .sblp-button { flex-shrink: 0; }
.otk-sblp .sblp-status { font-size: .85em; font-weight: 600; }
.otk-sblp .sblp-progress { display: flex; align-items: center; gap: 1rem; margin: .75rem 0; }
.otk-sblp progress { flex: 1; min-width: 0; height: 12px; accent-color: var(--sblp-accent); }
.otk-sblp .sblp-progress > span { flex-shrink: 0; white-space: nowrap; }
.otk-sblp summary { padding: .65rem 0; min-height: 44px; cursor: pointer; color: var(--sblp-accent); }
.otk-sblp .sblp-details { border-top: 1px solid var(--sblp-border); padding-top: .75rem; }
.otk-sblp .sblp-attempt { margin: .75rem 0; padding: .75rem; border-inline-start: 3px solid var(--sblp-border); }
.otk-sblp .sblp-quiz-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; margin: .5rem 0; border: 0; font-size: .9em; background: var(--sblp-surface); }
.otk-sblp .sblp-quiz-table th, .otk-sblp .sblp-quiz-table td { text-align: start; vertical-align: middle; padding: .7rem .65rem; border: 0; border-bottom: 1px solid var(--sblp-border); background: transparent; color: inherit; overflow-wrap: anywhere; }
.otk-sblp .sblp-quiz-table thead th { background: #edf4f1; color: var(--sblp-accent); font-weight: 600; }
.otk-sblp .sblp-quiz-table thead th:first-child { width: 44%; border-start-start-radius: 7px; border-end-start-radius: 7px; }
.otk-sblp .sblp-quiz-table thead th:nth-child(2) { width: 16%; }
.otk-sblp .sblp-quiz-table thead th:nth-child(3) { width: 21%; }
.otk-sblp .sblp-quiz-table thead th:last-child { width: 19%; border-start-end-radius: 7px; border-end-end-radius: 7px; }
.otk-sblp .sblp-quiz-table tbody th { font-weight: 400; }
.otk-sblp .sblp-quiz-table tbody tr:last-child > * { border-bottom: 0; }
.otk-sblp .sblp-quiz-title, .otk-sblp .sblp-quiz-score { font-weight: 600; }
.otk-sblp .sblp-quiz-score { display: block; font-variant-numeric: tabular-nums; }
.otk-sblp .sblp-quiz-passed { color: var(--sblp-accent); }
.otk-sblp .sblp-quiz-date { font-size: .9em; }
.otk-sblp .sblp-quiz-certificate { margin-top: .4rem; font-size: .9em; }
@media (max-width: 600px) {
	.otk-sblp .sblp-quiz-table, .otk-sblp .sblp-quiz-table tbody { display: block; }
	.otk-sblp .sblp-quiz-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.otk-sblp .sblp-quiz-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .5rem 1rem; padding: .8rem 0; border-bottom: 1px solid var(--sblp-border); }
	.otk-sblp .sblp-quiz-table tbody tr:last-child { border: 0; }
	.otk-sblp .sblp-quiz-table tbody th, .otk-sblp .sblp-quiz-table tbody td { display: block; border: 0; padding: 0; }
	.otk-sblp .sblp-quiz-table tbody th { grid-column: 1 / -1; }
	.otk-sblp .sblp-quiz-table tbody td:last-child { grid-column: 1 / -1; }
	.otk-sblp .sblp-quiz-table a { display: inline-flex; align-items: center; min-height: 44px; }
}
.otk-sblp .sblp-essay { border-top: 1px solid var(--sblp-border); padding-top: .6rem; margin-top: .6rem; }
.otk-sblp .sblp-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem; padding: .75rem 0; font-size: .9em; }
.otk-sblp .sblp-pager a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 600px) {
	.otk-sblp { padding: 1rem; }
	.otk-sblp .sblp-certificate { align-items: stretch; flex-direction: column; }
	.otk-sblp .sblp-header { align-items: flex-start; }
	.otk-sblp .sblp-header img { width: 56px; height: 56px; }
}

@media (max-width: 600px) {
 .otk-sblp .sblp-tabs button { padding: .6rem .15rem; font-size: .78em; overflow-wrap: normal; }
 .otk-sblp .sblp-toolbar.sblp-bundle-search label { flex: 1 1 100%; }
}

/* Compact bundle course states and certificate actions. */
.otk-sblp .sblp-bundle > header h3 { flex: 0 1 auto; }
.otk-sblp .sblp-bundle-roles { margin-inline-start: auto; }
.otk-sblp .sblp-open-group { font-size: .85em; padding: .45rem .8rem; }
.otk-sblp .sblp-bundle li.sblp-bundle-course { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: .8rem; align-items: center; }
.otk-sblp .sblp-course-icon { width: 28px; height: 28px; border: 2px solid var(--sblp-accent); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--sblp-accent); font-size: 20px; font-weight: 700; line-height: 1; }
.otk-sblp .sblp-course-icon-in_progress { background: linear-gradient(to right, var(--sblp-accent) 50%, var(--sblp-surface) 50%); }
.otk-sblp .sblp-bundle-course-status { display: block; font-size: .8em; margin-top: .25rem; }
.otk-sblp .sblp-bundle-course-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .6rem; }
.otk-sblp .sblp-course-ended { text-transform: uppercase; font-size: .7em; border-radius: 20px; padding: .2rem .65rem; background: #edf0f1; color: #30484b; }
.otk-sblp .sblp-bundle-certificate { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--sblp-border); border-radius: 6px; background: var(--sblp-surface); }
.otk-sblp .sblp-bundle-certificate:hover { border-color: var(--sblp-accent); }
@media (max-width: 600px) {
 .otk-sblp .sblp-bundle li.sblp-bundle-course { grid-template-columns: 28px minmax(0, 1fr); }
 .otk-sblp .sblp-bundle-course-actions { grid-column: 2; }
 .otk-sblp .sblp-bundle-course-actions:empty { display: none; }
}

/* My Courses uses the same status colors and actions as My Bundles. */
.otk-sblp .sblp-course-heading { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: .8rem; align-items: start; }
.otk-sblp .sblp-course-heading-actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.otk-sblp .sblp-course-heading-actions:empty { display: none; }
@media (max-width: 600px) {
 .otk-sblp .sblp-course-heading { grid-template-columns: 28px minmax(0, 1fr); }
 .otk-sblp .sblp-course-heading-actions { grid-column: 2; }
}

.otk-sblp .sblp-bundle-course > .sblp-course-activity { grid-column: 2 / -1; min-width: 0; }
.otk-sblp .sblp-bundle-course > .sblp-course-activity > summary { padding: .25rem 0 .6rem; }
@media (max-width: 600px) {
 .otk-sblp .sblp-bundle-course > .sblp-course-activity { grid-column: 1 / -1; }
}
