/*
 * Burn and Joy Üye Portalı
 * Yazı tipi temadan devralınır; portal yalnızca renk, boşluk ve bileşenleri tanımlar.
 * Belirleyici öğe: ders kartı. Çevresindeki her şey sade tutulur.
 */

.bjp {
	--bjp-accent: #D13B14;
	--bjp-ink: #1B1B1F;
	--bjp-muted: #62626A;
	--bjp-line: #E3E3DF;
	--bjp-soft: #F4F4F2;
	--bjp-paper: #FFFFFF;
	--bjp-ok: #1D6B45;
	--bjp-ok-bg: #E4F2EA;
	--bjp-warn: #8A4B00;
	--bjp-warn-bg: #FCEFD9;
	--bjp-err: #A8231A;
	--bjp-err-bg: #FBE7E5;
	--bjp-radius: 12px;

	box-sizing: border-box;
	container-type: inline-size;
	container-name: bjp;
	width: 100%;
	max-width: 1080px;
	margin-left: auto;
	margin-right: auto;
	padding: 32px 20px 72px;
	color: var(--bjp-ink);
	font-size: 16px;
	line-height: 1.55;
	text-align: left;
	-webkit-font-smoothing: antialiased;
}

.bjp *,
.bjp *::before,
.bjp *::after {
	box-sizing: border-box;
}

/* Tipografi */

.bjp h2,
.bjp h3,
.bjp h4 {
	color: var(--bjp-ink) !important;
	font-family: inherit;
	text-transform: none !important;
	letter-spacing: -0.01em !important;
	margin: 0;
}

.bjp h2 {
	font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.2rem);
	line-height: 1.12;
	font-weight: 800;
}

.bjp h3 {
	font-size: 1.25rem;
	line-height: 1.25;
	font-weight: 700;
	margin-bottom: 16px;
}

.bjp h4 {
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 12px;
}

.bjp p {
	margin: 0 0 12px;
	color: inherit;
}

.bjp a {
	color: var(--bjp-ink);
	text-decoration: underline;
	text-decoration-color: var(--bjp-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.bjp a:hover {
	color: var(--bjp-accent);
}

.bjp a:focus-visible,
.bjp button:focus-visible,
.bjp summary:focus-visible {
	outline: 3px solid var(--bjp-accent);
	outline-offset: 2px;
	border-radius: 4px;
}

.bjp-lead {
	font-size: 1.05rem;
	color: var(--bjp-muted);
	max-width: 60ch;
}

.bjp .bjp-muted {
	color: var(--bjp-muted);
}

.bjp-small {
	font-size: 0.875rem;
}

.bjp-strong {
	font-weight: 700;
}

.bjp .bjp-empty {
	padding: 20px;
	border: 1px dashed #CDCDC8;
	border-radius: var(--bjp-radius);
	color: var(--bjp-muted);
	background: var(--bjp-paper);
}

.bjp .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.bjp dl,
.bjp dt,
.bjp dd {
	padding: 0;
}

/* Sayfa başlığı ve gezinme */

.bjp-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 24px;
}

.bjp-head p {
	margin: 6px 0 0;
}

.bjp-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 0 0 28px;
	border-bottom: 1px solid var(--bjp-line);
}

.bjp .bjp-nav a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 4px;
	margin: 0 12px -1px 0;
	border-bottom: 3px solid transparent;
	color: var(--bjp-muted);
	font-weight: 600;
	text-decoration: none;
}

.bjp .bjp-nav a:hover {
	color: var(--bjp-ink);
}

.bjp .bjp-nav a.is-current {
	color: var(--bjp-ink);
	border-bottom-color: var(--bjp-accent);
}

.bjp-badge {
	display: inline-block;
	min-width: 1.5em;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--bjp-accent);
	color: #fff;
	font-size: 0.75rem;
	line-height: 1.5;
	text-align: center;
}

.bjp-crumb {
	font-size: 0.9rem;
}

/* Bildirimler */

.bjp-notice {
	margin: 0 0 24px;
	padding: 12px 16px;
	border-left: 4px solid var(--bjp-ink);
	border-radius: 0 8px 8px 0;
	background: var(--bjp-soft);
	font-weight: 500;
}

.bjp-notice--success {
	border-left-color: var(--bjp-ok);
	background: var(--bjp-ok-bg);
}

.bjp-notice--error {
	border-left-color: var(--bjp-err);
	background: var(--bjp-err-bg);
}

.bjp-callout {
	padding: 20px;
	border-radius: var(--bjp-radius);
	background: var(--bjp-warn-bg);
	margin-bottom: 20px;
}

.bjp-callout form {
	margin: 12px 0 8px;
}

/* Etiketler */

.bjp-tag {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--bjp-soft);
	color: var(--bjp-ink);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.6;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.bjp-tag--ok { background: var(--bjp-ok-bg); color: var(--bjp-ok); }
.bjp-tag--warn { background: var(--bjp-warn-bg); color: var(--bjp-warn); }
.bjp-tag--err { background: var(--bjp-err-bg); color: var(--bjp-err); }
.bjp-tag--muted { background: var(--bjp-soft); color: var(--bjp-muted); }

/*
 * Butonlar. Temalar düğme stillerini yüksek özgüllükle tanımladığı için
 * görünümü belirleyen özellikler !important ile sabitlenir.
 */

.bjp .bjp-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	min-height: 44px !important;
	margin: 0;
	padding: 10px 20px !important;
	border: 2px solid var(--bjp-accent) !important;
	border-radius: 10px !important;
	background: var(--bjp-accent) !important;
	color: #fff !important;
	font-family: inherit !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: filter 0.15s ease, background-color 0.15s ease;
}

.bjp .bjp-btn:hover,
.bjp .bjp-btn:focus {
	background: var(--bjp-accent) !important;
	color: #fff !important;
	filter: brightness(0.9);
}

.bjp .bjp-btn[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
	filter: none;
}

.bjp .bjp-btn--ghost {
	background: transparent !important;
	border-color: var(--bjp-ink) !important;
	color: var(--bjp-ink) !important;
}

.bjp .bjp-btn--ghost:hover,
.bjp .bjp-btn--ghost:focus {
	background: var(--bjp-ink) !important;
	color: #fff !important;
	filter: none;
}

.bjp .bjp-btn--small {
	min-height: 36px !important;
	padding: 6px 14px !important;
	font-size: 0.875rem !important;
}

.bjp .bjp-btn--block {
	display: flex !important;
	width: 100% !important;
}

.bjp .bjp-link-danger {
	display: inline !important;
	min-height: 0 !important;
	margin: 0;
	padding: 4px 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	color: var(--bjp-err) !important;
	font-family: inherit !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: underline !important;
	text-underline-offset: 3px;
	box-shadow: none !important;
	cursor: pointer;
}

/* Formlar */

.bjp form {
	margin: 0;
}

.bjp-field {
	margin-bottom: 16px;
}

.bjp-field > label {
	display: block;
	margin: 0;
}

.bjp-field__label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--bjp-ink);
}

.bjp .bjp-field__hint {
	display: block;
	margin-top: 6px;
	font-size: 0.85rem;
	color: var(--bjp-muted);
}

.bjp input[type="text"],
.bjp input[type="email"],
.bjp input[type="tel"],
.bjp input[type="password"],
.bjp input[type="number"],
.bjp input[type="date"],
.bjp input[type="search"],
.bjp select,
.bjp textarea {
	display: block;
	width: 100% !important;
	max-width: none;
	min-height: 46px;
	height: auto;
	margin: 0;
	padding: 10px 12px !important;
	border: 1px solid #C9C9C3 !important;
	border-radius: 10px !important;
	background-color: var(--bjp-paper) !important;
	color: var(--bjp-ink) !important;
	font-family: inherit;
	font-size: 16px !important;
	line-height: 1.4;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	-webkit-appearance: none;
	appearance: none;
}

.bjp select {
	padding-right: 36px !important;
	background-image: linear-gradient(45deg, transparent 50%, var(--bjp-ink) 50%), linear-gradient(135deg, var(--bjp-ink) 50%, transparent 50%);
	background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
}

.bjp textarea {
	min-height: 0;
	resize: vertical;
}

.bjp input:focus,
.bjp select:focus,
.bjp textarea:focus {
	outline: 2px solid var(--bjp-accent) !important;
	outline-offset: 0;
	border-color: var(--bjp-accent) !important;
}

.bjp input[type="file"] {
	display: block;
	width: 100% !important;
	max-width: 100%;
	min-height: 46px;
	margin: 0;
	padding: 6px !important;
	border: 1px dashed #C9C9C3 !important;
	border-radius: 10px !important;
	background: var(--bjp-soft) !important;
	color: var(--bjp-ink) !important;
	font-family: inherit;
	font-size: 0.9rem !important;
	line-height: 1.4;
	box-shadow: none !important;
	cursor: pointer;
}

.bjp input[type="file"]:hover {
	border-color: var(--bjp-ink) !important;
}

.bjp input[type="file"]::file-selector-button {
	margin: 0 12px 0 0;
	padding: 7px 14px;
	border: 2px solid var(--bjp-ink);
	border-radius: 8px;
	background: var(--bjp-paper);
	color: var(--bjp-ink);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.bjp input[type="file"]:hover::file-selector-button {
	background: var(--bjp-ink);
	color: #fff;
}

.bjp-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 12px 0;
	cursor: pointer;
}

.bjp-check input {
	flex: none;
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--bjp-accent);
}

.bjp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 0 16px;
}

.bjp-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bjp-grid--metrics {
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
}

.bjp-field--full {
	grid-column: 1 / -1;
}

.bjp-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.bjp-consent {
	margin: 8px 0 20px;
	padding: 16px 0 0;
	border: 0;
	border-top: 1px solid var(--bjp-line);
}

.bjp-consent legend {
	padding: 0;
	font-weight: 700;
}

.bjp .bjp-consent__text {
	max-height: 170px;
	overflow: auto;
	margin: 12px 0;
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--bjp-soft);
	font-size: 0.9rem;
	line-height: 1.6;
}

.bjp-callout .bjp-consent__text {
	background: rgba(255, 255, 255, 0.7);
}

.bjp-inline {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bjp-inline select {
	min-width: 180px;
}

/* Giriş ve kayıt */

.bjp--auth {
	max-width: 560px;
}

.bjp--auth .bjp-auth--wide {
	max-width: none;
}

.bjp--auth:has(.bjp-auth--wide) {
	max-width: 720px;
}

.bjp-auth h2 {
	margin-bottom: 10px;
}

.bjp-auth .bjp-lead {
	margin-bottom: 24px;
}

.bjp-auth__links {
	margin-top: 16px;
	font-size: 0.95rem;
}

.bjp-auth__alt {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid var(--bjp-line);
	font-size: 0.95rem;
}

.bjp-auth__alt p {
	margin-bottom: 6px;
}

/*
 * Ders kartı: solda kalan hak sayısını taşıyan koçan, ortada kesik çizgi ve çentikler,
 * sağda paketteki her ders için bir delik. Kullanılan dersler delinmiş görünür.
 */

.bjp-ticket {
	--stub: 190px;
	--notch: 13px;
	position: relative;
	display: grid;
	grid-template-columns: var(--stub) minmax(0, 1fr);
	border-radius: 18px;
	background:
		radial-gradient(circle at var(--stub) 0, transparent var(--notch), var(--bjp-ink) calc(var(--notch) + 0.5px)) top / 100% 51% no-repeat,
		radial-gradient(circle at var(--stub) 100%, transparent var(--notch), var(--bjp-ink) calc(var(--notch) + 0.5px)) bottom / 100% 51% no-repeat;
	color: #fff;
}

.bjp-ticket::after {
	content: "";
	position: absolute;
	top: calc(var(--notch) + 8px);
	bottom: calc(var(--notch) + 8px);
	left: calc(var(--stub) - 1px);
	border-left: 2px dashed rgba(255, 255, 255, 0.25);
	pointer-events: none;
}

.bjp-ticket--empty {
	display: block;
	padding: 24px 28px;
	background: var(--bjp-soft);
	color: var(--bjp-ink);
}

.bjp-ticket--empty::after {
	display: none;
}

.bjp-ticket--empty p {
	margin: 0;
}

.bjp-ticket__stub {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 28px 22px 28px 28px;
}

.bjp-ticket__num {
	font-size: clamp(3.75rem, 3rem + 2.5vw, 5.5rem);
	font-weight: 800;
	line-height: 0.85;
	letter-spacing: -0.04em;
	font-variant-numeric: tabular-nums;
	color: #fff;
}

.bjp-ticket__label {
	margin-top: 12px;
	font-size: 0.95rem;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.78);
}

.bjp-ticket__body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 20px;
	padding: 26px 28px 26px 30px;
}

.bjp-ticket__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 0.925rem;
	color: rgba(255, 255, 255, 0.78);
}

.bjp-ticket__meta strong {
	margin-bottom: 2px;
	font-size: 1.05rem;
	color: #fff;
}

.bjp-ticket__warn {
	color: #FFB4A3;
	font-weight: 600;
}

.bjp .bjp-holes {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bjp .bjp-holes li {
	width: 22px;
	height: 22px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	background: var(--bjp-accent);
	list-style: none;
}

.bjp .bjp-holes li::marker {
	content: none;
}

/* Kullanılmış ders: delinmiş delik */
.bjp .bjp-holes li.is-used {
	background: transparent;
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.3);
	animation: bjp-punch 0.35s ease-out both;
	animation-delay: calc(var(--i, 0) * 35ms);
}

@keyframes bjp-punch {
	from {
		background: var(--bjp-accent);
		transform: scale(1);
	}
	60% {
		transform: scale(0.8);
	}
	to {
		background: transparent;
		transform: scale(1);
	}
}

.bjp-ticket .bjp-bar {
	background: rgba(255, 255, 255, 0.15);
}

/* Özet sayılar */

.bjp-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	margin-bottom: 8px;
}

.bjp-stats {
	margin: 0;
}

.bjp-stat {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--bjp-line);
}

.bjp-stat:first-child {
	padding-top: 4px;
}

.bjp-stat dt {
	color: var(--bjp-muted);
	font-size: 0.95rem;
}

.bjp .bjp-stat dd {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.bjp .bjp-stat dd.bjp-stat__date {
	font-size: 1.05rem;
	font-weight: 700;
	text-align: right;
}

.bjp-goal {
	margin: 0 0 24px;
	padding: 12px 16px;
	border-radius: 10px;
	background: var(--bjp-soft);
}

.bjp-goal span {
	display: inline-block;
	margin-right: 8px;
	font-weight: 700;
}

/* Bölümler ve kutular */

.bjp-section {
	margin-top: 48px;
}

.bjp-box {
	padding: 20px;
	border: 1px solid var(--bjp-line);
	border-radius: var(--bjp-radius);
	background: var(--bjp-paper);
}

.bjp .bjp-box__foot {
	margin: 16px 0 0;
	font-size: 0.925rem;
}

.bjp-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

.bjp-split {
	display: grid;
	grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.bjp-narrow {
	max-width: 720px;
}

/* Takvim */

.bjp-cal {
	max-width: 420px;
}

.bjp-cal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.bjp-cal__title {
	font-size: 1.05rem;
}

.bjp .bjp-cal__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--bjp-line);
	border-radius: 50%;
	color: var(--bjp-ink);
	font-size: 1.4rem;
	line-height: 1;
	text-decoration: none;
}

.bjp .bjp-cal__nav:hover {
	border-color: var(--bjp-ink);
	color: var(--bjp-ink);
}

.bjp-cal__nav.is-disabled {
	opacity: 0.3;
}

.bjp-cal__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px 4px;
	text-align: center;
}

.bjp-cal__wd {
	padding-bottom: 4px;
	font-size: 0.8rem;
	color: var(--bjp-muted);
}

.bjp-cal__day {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 44px;
	aspect-ratio: 1;
	margin: 0 auto;
	border-radius: 50%;
	font-size: 0.925rem;
	font-variant-numeric: tabular-nums;
}

.bjp-cal__day.is-today {
	box-shadow: inset 0 0 0 1.5px var(--bjp-ink);
}

.bjp-cal__day.is-attended {
	background: var(--bjp-accent);
	color: #fff;
	font-weight: 700;
}

.bjp-cal__day.is-late {
	border: 2px dashed var(--bjp-accent);
	font-weight: 600;
}

.bjp-cal__day.is-multi {
	box-shadow: 0 0 0 3px var(--bjp-paper), 0 0 0 5px var(--bjp-accent);
}

.bjp .bjp-cal__sum {
	margin: 16px 0 6px;
	font-weight: 600;
}

.bjp .bjp-cal__legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	font-size: 0.85rem;
	color: var(--bjp-muted);
}

.bjp-cal__key {
	display: inline-block;
	width: 12px;
	height: 12px;
	border-radius: 50%;
}

.bjp-cal__key.is-attended {
	background: var(--bjp-accent);
}

.bjp-cal__key.is-late {
	margin-left: 8px;
	border: 2px dashed var(--bjp-accent);
}

/* Ölçüm grafikleri */

.bjp-metrics {
	margin-bottom: 28px;
}

.bjp-metrics__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.bjp .bjp-metrics__tab {
	min-height: 36px !important;
	margin: 0;
	padding: 6px 14px !important;
	border: 1px solid var(--bjp-line) !important;
	border-radius: 999px !important;
	background: var(--bjp-paper) !important;
	color: var(--bjp-ink) !important;
	font-family: inherit !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
	cursor: pointer;
}

.bjp .bjp-metrics__tab:hover {
	border-color: var(--bjp-ink) !important;
}

.bjp .bjp-metrics__tab.is-active {
	border-color: var(--bjp-ink) !important;
	background: var(--bjp-ink) !important;
	color: #fff !important;
}

.bjp-metrics__panel[hidden] {
	display: none;
}

.bjp-delta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	margin: 0 0 12px;
}

.bjp-delta dt {
	font-size: 0.85rem;
	color: var(--bjp-muted);
}

.bjp .bjp-delta dd {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 1.3rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.bjp-chart {
	display: block;
	width: 100%;
	max-width: 760px;
	height: auto;
	overflow: visible;
}

.bjp-chart__grid {
	stroke: var(--bjp-line);
	stroke-width: 1;
}

.bjp-chart__area {
	fill: var(--bjp-accent);
	opacity: 0.08;
}

.bjp-chart__line {
	fill: none;
	stroke: var(--bjp-accent);
	stroke-width: 3;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.bjp-chart__dot {
	fill: var(--bjp-paper);
	stroke: var(--bjp-accent);
	stroke-width: 2.5;
}

.bjp-chart__dot.is-last {
	fill: var(--bjp-accent);
}

.bjp-chart text {
	fill: var(--bjp-muted);
	font-family: inherit;
	font-size: 12px;
}

.bjp-chart .bjp-chart__value {
	fill: var(--bjp-ink);
	font-size: 14px;
	font-weight: 700;
}

/* Tablolar */

.bjp-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.bjp table.bjp-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: transparent;
	font-size: 0.95rem;
}

.bjp .bjp-table th {
	padding: 10px 12px;
	border: 0;
	border-bottom: 1px solid var(--bjp-line);
	background: transparent;
	color: var(--bjp-muted);
	font-size: 0.85rem;
	font-weight: 600;
	text-align: left;
	text-transform: none;
	letter-spacing: 0;
	white-space: nowrap;
}

.bjp .bjp-table td {
	padding: 12px;
	border: 0;
	border-bottom: 1px solid var(--bjp-line);
	background: transparent;
	vertical-align: middle;
	text-align: left;
	font-variant-numeric: tabular-nums;
}

.bjp .bjp-table tr:last-child td {
	border-bottom: 0;
}

.bjp-actions {
	white-space: nowrap;
}

.bjp-actions form {
	display: inline-block;
	margin-right: 6px;
}

.bjp .bjp-table--students td:last-child {
	text-align: right;
}

/* Filtreler */

.bjp-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 20px;
}

.bjp-filters label {
	margin: 0;
}

.bjp-filters__search {
	flex: 1 1 260px;
}

.bjp-filters select {
	min-width: 170px;
}

.bjp .bjp-count {
	margin-bottom: 4px;
	font-size: 0.9rem;
}

/* Paketler */

.bjp-packs {
	display: grid;
	gap: 14px;
	margin: 0 0 20px;
	padding: 0;
	list-style: none;
}

.bjp-pack {
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--bjp-line);
	border-radius: var(--bjp-radius);
	background: var(--bjp-paper);
	list-style: none;
}

.bjp-pack__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.bjp .bjp-pack__meta {
	margin: 10px 0 0;
	font-size: 0.9rem;
	color: var(--bjp-muted);
}

.bjp .bjp-pack__note {
	margin: 6px 0 0;
	font-size: 0.9rem;
}

.bjp-bar {
	height: 8px;
	border-radius: 999px;
	background: var(--bjp-soft);
	overflow: hidden;
}

.bjp-bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--bjp-accent);
}

/* Açılır bölümler */

.bjp-details {
	margin-top: 12px;
}

.bjp-details > summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}

.bjp-details > summary::-webkit-details-marker {
	display: none;
}

.bjp-details > summary::before {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--bjp-soft);
	font-weight: 700;
	line-height: 1;
}

.bjp-details[open] > summary::before {
	content: "\2212";
}

.bjp-details[open] > summary {
	margin-bottom: 16px;
}

.bjp-details > form + form {
	margin-top: 12px;
}

.bjp-details--add {
	margin-bottom: 24px;
	padding: 16px 20px;
	border: 1px dashed #C9C9C3;
	border-radius: var(--bjp-radius);
	background: var(--bjp-paper);
}

.bjp-details--inner {
	margin: 4px 0 20px;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--bjp-soft);
}

.bjp-details--inner[open] > summary {
	margin-bottom: 8px;
}

.bjp-details--inner > summary::before {
	background: var(--bjp-paper);
}

.bjp .bjp-details__lead {
	margin: 0 0 14px;
}

/* Ölçüm raporu bağlantısı */

.bjp .bjp-report {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--bjp-ink);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.bjp .bjp-report__type {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 6px;
	background: var(--bjp-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.5;
}

.bjp .bjp-report__text {
	text-decoration: underline;
	text-decoration-color: var(--bjp-accent);
	text-underline-offset: 3px;
}

.bjp .bjp-report:hover .bjp-report__text,
.bjp .bjp-report:focus .bjp-report__text {
	color: var(--bjp-accent);
}

/* Öğrenci başlığı (panel) */

.bjp-student-head {
	margin: 8px 0 20px;
}

.bjp h3.bjp-student-head__name {
	margin: 0 0 6px;
	font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
	font-weight: 800;
}

.bjp .bjp-student-head__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin: 0 0 10px;
	color: var(--bjp-muted);
}

.bjp .bjp-student-head__tags {
	margin: 0;
}

/* Onay listesi */

.bjp-approvals {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bjp-approval {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 18px 20px;
	border: 1px solid var(--bjp-line);
	border-radius: var(--bjp-radius);
	background: var(--bjp-paper);
	list-style: none;
}

.bjp .bjp-approval__info p {
	margin: 0 0 4px;
}

.bjp-approval__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.bjp-approval__actions form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

/* Antrenman programı: kartlar */

.bjp [hidden] {
	display: none !important;
}

.bjp-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.bjp .bjp-section__head h3 {
	margin: 0;
}

.bjp-program {
	padding: 22px;
	border: 1px solid var(--bjp-line);
	border-radius: var(--bjp-radius);
	background: var(--bjp-paper);
}

.bjp-program.is-current {
	border: 2px solid var(--bjp-ink);
}

.bjp-programs-old .bjp-program + .bjp-program {
	margin-top: 16px;
}

.bjp-programs-old {
	margin-top: 20px;
}

.bjp-program__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 20px;
	margin-bottom: 16px;
}

.bjp .bjp-program__title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin: 0 0 4px;
	font-size: 1.2rem;
}

.bjp .bjp-program__meta {
	margin: 0;
	color: var(--bjp-muted);
	font-size: 0.9rem;
}

.bjp-program__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
}

.bjp .bjp-program__note {
	margin: 0 0 16px;
	padding: 12px 14px;
	border-left: 3px solid var(--bjp-accent);
	border-radius: 0 8px 8px 0;
	background: var(--bjp-soft);
	font-size: 0.95rem;
}

.bjp-ex-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 14px;
}

.bjp-ex {
	min-width: 0;
	padding: 16px 16px 10px;
	border: 1px solid var(--bjp-line);
	border-radius: 10px;
	background: var(--bjp-paper);
}

.bjp-ex__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-bottom: 10px;
}

.bjp .bjp-ex__name {
	margin: 0 !important;
	padding: 0 !important;
	color: var(--bjp-ink) !important;
	font-family: inherit !important;
	font-size: 1.1rem !important;
	font-weight: 800 !important;
	line-height: 1.25 !important;
	letter-spacing: -0.01em !important;
	text-transform: none !important;
}

.bjp-ex__eq {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	border: 1.5px solid var(--bjp-ink);
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.5;
}

.bjp-ex__count {
	margin-left: auto;
	color: var(--bjp-muted);
	font-size: 0.85rem;
}

.bjp-ex__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.bjp table.bjp-ex__sets {
	width: auto !important;
	min-width: 100%;
	margin: 0 !important;
	border: 0 !important;
	border-collapse: collapse;
	background: transparent !important;
	table-layout: auto;
}

.bjp .bjp-ex__sets th,
.bjp .bjp-ex__sets td {
	min-width: 56px;
	padding: 7px 6px !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--bjp-ink);
	font-size: 1rem;
	text-align: center !important;
	vertical-align: middle;
	white-space: nowrap;
}

.bjp .bjp-ex__sets th[scope="row"] {
	width: 1%;
	min-width: 0;
	padding-left: 0 !important;
	padding-right: 10px !important;
	color: var(--bjp-muted);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-align: left !important;
	text-transform: uppercase;
}

.bjp .bjp-ex__sets thead th {
	padding-top: 0 !important;
}

.bjp .bjp-ex__sets tbody tr th,
.bjp .bjp-ex__sets tbody tr td {
	border-top: 1px solid var(--bjp-line) !important;
}

.bjp .bjp-ex__sets tbody td {
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.bjp .bjp-ex__sets td small {
	color: var(--bjp-muted);
	font-size: 0.72rem;
	font-weight: 600;
}

.bjp .bjp-ex__sets td.bjp-ex__none {
	color: var(--bjp-muted);
	font-weight: 400;
}

.bjp-ex__no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 2px solid var(--bjp-accent);
	border-radius: 50%;
	color: var(--bjp-accent);
	font-size: 0.8rem;
	font-weight: 800;
	line-height: 1;
}

/* Antrenman programı: hareket geçmişi */

.bjp-history {
	margin-bottom: 24px;
	padding: 18px 20px;
	border-radius: var(--bjp-radius);
	background: var(--bjp-soft);
}

.bjp .bjp-history__label {
	display: block;
	margin-bottom: 8px;
	font-size: 1rem;
	font-weight: 700;
}

.bjp-history__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.bjp .bjp-history__controls select {
	flex: 1 1 260px;
	width: auto !important;
	max-width: 520px;
}

.bjp .bjp-history.is-js .bjp-history__go {
	display: none !important;
}

.bjp .bjp-history__clear {
	font-size: 0.9rem;
	font-weight: 600;
}

.bjp-history__result {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--bjp-line);
}

.bjp-history__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin-bottom: 14px;
}

.bjp .bjp-history__title {
	margin: 0;
	font-size: 1.2rem;
}

.bjp .bjp-delta dd.bjp-delta__sub {
	color: var(--bjp-muted);
	font-size: 0.85rem;
	font-weight: 400;
}

.bjp-history .bjp-chart {
	max-width: 560px;
	margin-bottom: 4px;
}

.bjp-history__list {
	margin-top: 18px;
}

.bjp-ex--history.is-latest {
	border-color: var(--bjp-ink);
}

.bjp-ex__prog {
	color: var(--bjp-muted);
	font-size: 0.85rem;
	font-weight: 600;
}

.bjp .bjp-ex__sets td.is-best {
	color: var(--bjp-accent);
}

.bjp .bjp-ex__sets td.is-best small {
	color: var(--bjp-accent);
}

.bjp .bjp-history__legend {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
}

.bjp-history__key {
	flex: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--bjp-accent);
}

/* Editörde hareket geçmişi ve satır ipuçları */

.bjp-history-slot {
	margin-bottom: 28px;
	transition: opacity 0.15s ease;
}

.bjp-history-slot .bjp-history {
	margin-bottom: 0;
}

.bjp-history-slot.is-loading {
	opacity: 0.45;
	pointer-events: none;
}

.bjp .bjp-history--empty .bjp-history__label {
	margin-bottom: 4px;
}

.bjp .bjp-history--empty .bjp-field__hint {
	margin: 0;
}

.bjp-prow__hint {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 16px;
	grid-column: 1 / -1;
	margin: -2px 2px 2px;
	padding-left: 10px;
	border-left: 3px solid var(--bjp-accent);
	color: var(--bjp-ink);
	font-size: 0.85rem;
	line-height: 1.45;
}

.bjp .bjp-prow__hint strong {
	font-weight: 700;
}

.bjp-prow__best {
	color: var(--bjp-muted);
}

/* Antrenman programı: PT editörü */

.bjp-peditor-head {
	margin-bottom: 20px;
}

.bjp .bjp-peditor-head h3 {
	margin-bottom: 6px;
}

.bjp-grid--program {
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr) minmax(0, 1fr);
}

.bjp .bjp-field input[disabled] {
	background: var(--bjp-soft) !important;
	color: var(--bjp-muted) !important;
}

.bjp-peditor {
	margin-top: 8px;
}

.bjp-prows {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.bjp-prow {
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr) 112px;
	gap: 8px;
	align-items: center;
	padding: 8px;
	border-radius: 10px;
	background: var(--bjp-soft);
}

.bjp-prow--head {
	padding: 0 8px 2px;
	background: none;
	color: var(--bjp-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.bjp-prow__f {
	display: block;
	min-width: 0;
	margin: 0;
}

.bjp-prow__l {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.bjp .bjp-prow select {
	min-height: 42px;
	padding: 8px 28px 8px 10px !important;
	font-size: 15px !important;
	background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
}

.bjp-prow__actions {
	display: flex;
	justify-content: flex-end;
	gap: 6px;
}

.bjp .bjp-prow__btn {
	min-height: 42px;
	margin: 0;
	padding: 0 10px;
	border: 1px solid #C9C9C3;
	border-radius: 8px;
	background: var(--bjp-paper);
	color: var(--bjp-ink);
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: none;
	cursor: pointer;
}

.bjp .bjp-prow__btn:hover {
	border-color: var(--bjp-ink);
	background: var(--bjp-paper);
	color: var(--bjp-ink);
}

.bjp .bjp-prow__btn--del {
	width: 42px;
	padding: 0;
	font-size: 1.35rem;
}

.bjp .bjp-prow__btn--del:hover {
	border-color: var(--bjp-err);
	color: var(--bjp-err);
}

.bjp-prow.is-error {
	background: var(--bjp-err-bg);
	box-shadow: inset 0 0 0 2px var(--bjp-err);
}

.bjp-peditor:not(.is-js) .bjp-prow {
	grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.8fr);
}

.bjp-peditor:not(.is-js) .bjp-prow__actions,
.bjp-peditor:not(.is-js) .bjp-prow--head span:last-child,
.bjp-peditor:not(.is-js) .bjp-peditor__add {
	display: none;
}

.bjp .bjp-peditor__add {
	margin-top: 12px;
}

.bjp-peditor__error {
	margin-top: 16px;
}

.bjp-peditor__submit {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.bjp-preview {
	margin-top: 36px;
	padding: 20px;
	border: 1px dashed #C9C9C3;
	border-radius: var(--bjp-radius);
	background: var(--bjp-soft);
}

.bjp .bjp-preview h4 {
	margin-bottom: 14px;
}

/* Dar alanlar: sayfa genişliğine değil portal kapsayıcısının genişliğine göre uyarlanır. */

@container bjp (max-width: 860px) {
	.bjp-hero,
	.bjp-split {
		grid-template-columns: minmax(0, 1fr);
	}

	.bjp-split {
		gap: 36px;
	}

	.bjp-cal {
		max-width: 460px;
	}
}

@container bjp (max-width: 600px) {
	.bjp-grid--2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.bjp-ticket {
		--stub: 128px;
	}

	.bjp-ticket__stub {
		padding: 22px 14px 22px 20px;
	}

	.bjp-ticket__num {
		font-size: 3.5rem;
	}

	.bjp-ticket__label {
		font-size: 0.85rem;
	}

	.bjp-ticket__body {
		padding: 22px 20px 22px 22px;
	}

	.bjp .bjp-holes {
		gap: 7px;
	}

	.bjp .bjp-holes li {
		width: 18px;
		height: 18px;
	}

	.bjp .bjp-table--stack thead {
		display: none;
	}

	.bjp .bjp-table--stack,
	.bjp .bjp-table--stack tbody,
	.bjp .bjp-table--stack tr,
	.bjp .bjp-table--stack td {
		display: block;
		width: 100%;
	}

	.bjp .bjp-table--stack tr {
		margin-bottom: 12px;
		padding: 6px 14px;
		border: 1px solid var(--bjp-line);
		border-radius: var(--bjp-radius);
		background: var(--bjp-paper);
	}

	.bjp .bjp-table--stack td {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		padding: 8px 0;
		border-bottom: 1px solid var(--bjp-soft);
		text-align: right;
	}

	.bjp .bjp-table--stack tr td:last-child {
		border-bottom: 0;
	}

	.bjp .bjp-table--stack td::before {
		content: attr(data-label);
		flex: none;
		color: var(--bjp-muted);
		font-size: 0.85rem;
		text-align: left;
	}

	.bjp .bjp-table--stack td:empty,
	.bjp .bjp-table--stack td.bjp-na {
		display: none;
	}

	.bjp-chart text {
		font-size: 20px;
	}

	.bjp-chart .bjp-chart__value {
		font-size: 24px;
	}

	.bjp-chart__line {
		stroke-width: 5;
	}

	.bjp .bjp-table--students td:first-child {
		display: block;
		text-align: left;
	}

	.bjp .bjp-table--students td:first-child::before,
	.bjp .bjp-table--students td.bjp-actions::before {
		display: none;
	}

	.bjp .bjp-table--students td.bjp-actions {
		flex-wrap: wrap;
		justify-content: flex-end;
	}

	.bjp .bjp-table--lessons tr {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 6px 12px;
		padding: 12px 14px;
	}

	.bjp .bjp-table--lessons td {
		display: block;
		width: auto;
		padding: 0;
		border: 0;
		text-align: left;
	}

	.bjp .bjp-table--lessons td::before {
		display: none;
	}

	.bjp .bjp-table--lessons td[data-label="Tarih"] {
		font-weight: 600;
	}

	.bjp .bjp-table--lessons td[data-label="PT"],
	.bjp .bjp-table--lessons td[data-label="Not"],
	.bjp .bjp-table--lessons td[data-label="İşlem"] {
		flex-basis: 100%;
		color: var(--bjp-muted);
		font-size: 0.875rem;
	}

	.bjp-approval__actions,
	.bjp-approval__actions form {
		width: 100%;
	}

	.bjp-grid--program,
	.bjp-ex-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.bjp-program {
		padding: 16px;
	}

	.bjp-prow--head {
		display: none !important;
	}

	.bjp-prow,
	.bjp-peditor:not(.is-js) .bjp-prow {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 10px;
		padding: 12px;
	}

	.bjp-prow {
		position: relative;
	}

	.bjp-prow__f--ex,
	.bjp-prow__f--eq {
		grid-column: 1 / -1;
	}

	.bjp-prow__actions {
		position: absolute;
		top: 8px;
		right: 12px;
	}

	.bjp .bjp-prow__btn {
		min-height: 30px;
		font-size: 0.8rem;
	}

	.bjp .bjp-prow__btn--del {
		width: 30px;
		font-size: 1.15rem;
	}

	.bjp .bjp-prow__f--ex .bjp-prow__l {
		display: flex;
		align-items: center;
		min-height: 30px;
		margin-bottom: 2px;
	}

	.bjp-prow__l {
		position: static !important;
		display: block;
		width: auto;
		height: auto;
		margin-bottom: 4px;
		overflow: visible;
		clip: auto;
		color: var(--bjp-muted);
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.05em;
		text-transform: uppercase;
	}
}

@media (max-width: 640px) {
	.bjp {
		padding: 24px 16px 56px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bjp .bjp-holes li.is-used {
		animation: none;
	}

	.bjp .bjp-btn {
		transition: none;
	}
}
