.smtkd-screen { padding: 32px 0 64px; background:#f7f8fa; min-height: 60vh; color:#1a1a1a; }
.smtkd-screen, .smtkd-screen * { box-sizing: border-box; }
.smtkd-screen p { color:#1a1a1a; }
.smtkd-screen h1, .smtkd-screen h2, .smtkd-screen h3, .smtkd-screen h4, .smtkd-screen h5, .smtkd-screen h6 { color:#1a1a1a; }
.smtkd-container { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.smtkd-container h1 { font-size: 26px; margin: 0 0 8px; color:#1a1a1a; }
.smtkd-container h2 { font-size: 20px; margin: 28px 0 10px; color:#1e4b8a; }
.smtkd-container h3 { color:#1e4b8a; }
.smtkd-hint { color:#666; font-size:13px; margin: 4px 0 14px; display:block; }
.smtkd-muted { color:#888; }
.smtkd-saved { background:#e6f4ea; color:#1e6b37; padding:10px 14px; border-radius:6px; margin:12px 0; }
.smtkd-errors { background:#fdecea; color:#8a1c13; padding:10px 14px; border-radius:6px; margin:12px 0; }
.smtkd-err { background:#fdecea; color:#8a1c13; padding:10px 14px; border-radius:6px; margin:6px 0; }

.smtkd-form { display:flex; flex-direction:column; gap:12px; max-width:640px; color:#1a1a1a; }
.smtkd-form label { display:flex; flex-direction:column; gap:4px; font-weight:600; color:#333; }
.smtkd-form label.smtkd-inline { flex-direction:row; align-items:center; gap:8px; font-weight:400; color:#1a1a1a; }
.smtkd-form input[type=text], .smtkd-form input[type=email], .smtkd-form input[type=url], .smtkd-form input[type=date], .smtkd-form input[type=number], .smtkd-form input[type=password], .smtkd-form input[type=tel], .smtkd-form input[type=search], .smtkd-form select, .smtkd-form textarea {
	font-size:16px; line-height:1.5; padding:12px 14px; min-height:46px; border:1px solid #cfd6dd; border-radius:8px; background:#fff; color:#111; width:100%; box-sizing:border-box; -webkit-text-fill-color:#111; appearance:auto;
}
.smtkd-form select { padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, #555 50%), linear-gradient(135deg, #555 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.smtkd-form textarea { min-height: 88px; line-height: 1.5; }
.smtkd-form input::placeholder, .smtkd-form textarea::placeholder { color:#888; opacity:1; }
.smtkd-form input:focus, .smtkd-form textarea:focus, .smtkd-form select:focus { outline:2px solid #1e4b8a; outline-offset:1px; border-color:#1e4b8a; }
.smtkd-form textarea { font-family: inherit; }
.smtkd-form fieldset { border:1px solid #e4e8ec; border-radius:10px; padding:14px 16px; background:#fff; color:#1a1a1a; }
.smtkd-form fieldset legend { padding:0 8px; font-weight:600; color:#1e4b8a; }
.smtkd-form fieldset.smtkd-inline-group { display:inline-block; margin-right:10px; }
.smtkd-form fieldset p { color:#1a1a1a; }
.smtkd-form code { background:#eef2f7; color:#1e4b8a; padding:1px 6px; border-radius:4px; font-size:13px; }

.smtkd-form-actions { display:flex; gap:8px; flex-wrap:wrap; margin-top:18px; }

.smtkd-btn { display:inline-block; font-size:15px; padding:10px 16px; border-radius:8px; border:0; cursor:pointer; text-decoration:none; font-weight:600; line-height:1.2; }
.smtkd-btn-primary { background:#1e4b8a; color:#fff; }
.smtkd-btn-primary:hover { background:#173a6e; }
.smtkd-btn-secondary { background:#6c7a8b; color:#fff; }
.smtkd-btn-secondary:hover { background:#52606e; }
.smtkd-btn-danger { background:#b12a20; color:#fff; }
.smtkd-btn-danger:hover { background:#8e201a; }
.smtkd-btn-link { background:transparent; color:#1e4b8a; padding:6px 0; }
.smtkd-btn-link:hover { text-decoration:underline; }
.smtkd-btn-link-danger { background:none; border:0; color:#b12a20; cursor:pointer; padding:0; font-size:13px; }

.smtkd-table { width:100%; border-collapse:collapse; background:#fff; border-radius:8px; overflow:hidden; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.smtkd-submission-filters { display:flex; gap:12px; flex-wrap:wrap; align-items:flex-end; background:#fff; padding:14px; border-radius:10px; margin-bottom:14px; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.smtkd-submission-filters label { display:flex; flex-direction:column; gap:4px; font-size:13px; font-weight:600; color:#333; }
.smtkd-submission-filters select, .smtkd-submission-filters input[type=search] { font-size:14px; padding:8px 10px; border:1px solid #cfd6dd; border-radius:6px; background:#fff; color:#111; min-width:160px; }
.smtkd-bulk-bar { display:flex; gap:10px; align-items:center; margin-bottom:10px; padding:8px 12px; background:#fff; border-radius:8px; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.smtkd-bulk-bar select { font-size:14px; padding:6px 8px; border:1px solid #cfd6dd; border-radius:6px; background:#fff; color:#111; }
.smtkd-submission-table .smtkd-col-check { width:32px; text-align:center; }
.smtkd-submission-table .smtkd-row-actions { white-space:nowrap; font-size:13px; }
.smtkd-table th { text-align:left; background:#eef2f7; padding:10px 12px; }
.smtkd-table td { padding:10px 12px; border-top:1px solid #eef2f7; }
.smtkd-table tr.smtkd-status-new { background:#fff6e0; }

.smtkd-list { list-style:none; padding:0; margin:0; }
.smtkd-list li { background:#fff; padding:12px 14px; border-radius:8px; margin-bottom:8px; display:flex; flex-wrap:wrap; gap:12px; align-items:center; box-shadow:0 1px 2px rgba(0,0,0,.04); }
.smtkd-list li .smtkd-actions { margin-left:auto; display:flex; gap:10px; }

.smtkd-events-list { display:flex; flex-direction:column; gap:16px; }
.smtkd-events-admin { margin-bottom:12px; }
.smtkd-event-card { background:#fff; padding:16px 18px; border-radius:10px; box-shadow:0 2px 4px rgba(0,0,0,.04); border-left:4px solid #1e4b8a; }
.smtkd-event-card header { display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:10px; }
.smtkd-event-card header h4 { margin:0; font-size:18px; flex:1 1 auto; min-width:0; }
.smtkd-event-date { background:#1e4b8a; color:#fff !important; font-weight:700; font-size:14px; padding:6px 12px; border-radius:6px; white-space:nowrap; letter-spacing:0.02em; }
.smtkd-event-card.smtkd-event-type-grading .smtkd-event-date { background:#b12a20; }
.smtkd-event-card.smtkd-event-type-course .smtkd-event-date { background:#d28b00; }
.smtkd-event-card.smtkd-event-type-tournament .smtkd-event-date,
.smtkd-event-card.smtkd-event-type-championship .smtkd-event-date { background:#5e3fa3; }
.smtkd-sessions { list-style:none; padding:0; margin:10px 0; }
.smtkd-sessions li { padding:2px 0; }
.smtkd-event-venue { margin:10px 0; }
.smtkd-event-desc { margin:8px 0; color:#333; }
.smtkd-event-admin { margin-top:8px; }
.smtkd-grading-downloads { display:flex; gap:10px; flex-wrap:wrap; margin-top:10px; }
.smtkd-event-external { margin-top:10px; }

.smtkd-event-type-grading { border-left-color:#b12a20; }
.smtkd-event-type-course { border-left-color:#d28b00; }
.smtkd-event-type-tournament, .smtkd-event-type-championship { border-left-color:#5e3fa3; }
.smtkd-event-type-training { border-left-color:#1e4b8a; }

.smtkd-student-area { display:flex; flex-direction:column; gap:18px; }
.smtkd-student-header { display:flex; justify-content:space-between; align-items:center; }
.smtkd-event-group { background:transparent; }
.smtkd-event-group h3 { margin: 8px 0 12px; color:#1e4b8a; border-bottom:1px solid #dde2e8; padding-bottom:4px; }

.smtkd-videos { margin-top:24px; }
.smtkd-videos > h2 { color:#f0c14b; }
.smtkd-video-player { position:relative; max-width:960px; margin:0 auto 18px; }
.smtkd-video-player iframe { width:100%; aspect-ratio:16/9; border-radius:10px; border:0; box-shadow:0 6px 20px rgba(0,0,0,.25); display:block; }
.smtkd-video-current-title { color:#fff; font-weight:600; margin:10px 0 0; text-align:center; }
.smtkd-video-list { list-style:none; padding:0; margin:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(180px, 1fr)); gap:14px; }
.smtkd-video-list li { margin:0; }
.smtkd-video-thumb { display:block; width:100%; padding:0; border:2px solid transparent; background:transparent; cursor:pointer; border-radius:8px; overflow:hidden; transition:transform .15s, border-color .15s; color:inherit; text-align:left; }
.smtkd-video-thumb:hover { transform:translateY(-2px); border-color:rgba(240,193,75,.4); }
.smtkd-video-thumb.is-active { border-color:#f0c14b; }
.smtkd-video-thumb img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; background:#222; }
.smtkd-video-thumb-title { display:block; padding:6px 8px 8px; font-size:13px; line-height:1.3; font-weight:600; color:#fff; }

.smtkd-student-lock { max-width:420px; margin:30px auto; background:#fff; padding:24px; border-radius:12px; box-shadow:0 2px 8px rgba(0,0,0,.06); color:#1a1a1a; }
.smtkd-student-lock h2 { color:#1e4b8a; margin-top:0; }
.smtkd-student-lock p { color:#1a1a1a; }

.smtkd-screen a { color:#1e4b8a; }
.smtkd-screen a:hover { text-decoration: underline; }
.smtkd-table { color:#1a1a1a; }
.smtkd-event-card, .smtkd-event-card * { color:#1a1a1a; }
.smtkd-event-card header h4 { color:#1a1a1a; }
.smtkd-event-card .smtkd-event-date { color:#555; }
.smtkd-list li { color:#1a1a1a; }
.smtkd-submission-detail, .smtkd-submission-detail * { color:#1a1a1a; }
.smtkd-thanks { color:#1e6b37; }

.smtkd-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:10px 14px; }

.smtkd-actions-bar { display:flex; gap:10px; margin:14px 0 20px; flex-wrap:wrap; }

.smtkd-submission-detail { background:#fff; padding:16px; border-radius:10px; box-shadow:0 2px 4px rgba(0,0,0,.04); }

.smtkd-badge { display:inline-block; background:#b12a20; color:#fff; border-radius:10px; padding:1px 7px; font-size:11px; margin-left:4px; }

.smtkd-thanks { background:#e6f4ea; color:#1e6b37; padding:20px; border-radius:10px; text-align:center; }
.smtkd-thanks h3 { margin-top:0; }

.smtkd-session-row { display:flex; gap:8px; margin-bottom:6px; }
.smtkd-session-row input { flex:1; }

.smtkd-honey { position:absolute !important; left:-10000px !important; width:1px !important; height:1px !important; overflow:hidden !important; }

.smtkd-student-area { margin-top: 18px; }
.smtkd-student-events-row, .smtkd-student-info-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; margin-bottom: 8px; }
.smtkd-student-events-row > div, .smtkd-student-info-row > div { min-width: 0; }
.smtkd-event-group { margin-bottom: 24px; }
.smtkd-event-group h3,
.smtkd-student-area .smtkd-info-block h3 { color: #f0c14b !important; font-size: 22px; margin-top: 0; border-bottom: 0; padding-bottom: 0; }
.smtkd-student-area .smtkd-event-group h3 { border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 6px; }

.smtkd-info-block { background: rgba(255,255,255,.06); padding: 18px 22px; border-radius: 10px; margin-bottom: 24px; color:inherit; }
.smtkd-info-block h3 { margin-top:0; color:#f0c14b; font-size: 22px; }
.smtkd-info-block h4 { color:#fff; margin: 10px 0 4px; font-size: 16px; }
.smtkd-info-block p { color:inherit; }
.smtkd-info-block a { color:#f0c14b; text-decoration: underline; }

.smtkd-training-block { margin-bottom: 12px; }
.smtkd-training-block h4 { margin: 4px 0 2px; }
.smtkd-training-addr { margin: 0 0 4px; font-size: 13px; opacity: 0.75; }
.smtkd-training-schedule { line-height: 1.6; }

.smtkd-forms-list { list-style: none; padding: 0; margin: 0; }
.smtkd-forms-list li { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.smtkd-forms-list li:last-child { border-bottom: 0; }

.smtkd-course-notes { line-height: 1.55; }
.smtkd-course-notes strong { color: #fff; }

.smtkd-fees-block .smtkd-fees-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; }
.smtkd-fee-list { list-style: none; padding: 0; margin: 6px 0 0; }
.smtkd-fee-list li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
.smtkd-fee-list li strong { color: #fff; }

/* Instructors page */
.smtkd-instructors { padding: 8px 0 24px; color: inherit; }
.smtkd-instructors-intro { max-width: 920px; margin: 0 auto 28px; text-align: center; line-height: 1.55; opacity: 0.9; }
.smtkd-instructors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; align-items: start; margin-bottom: 36px; }
.smtkd-instructor-card { color: inherit; }
.smtkd-instructor-photo { width: 100%; aspect-ratio: 4/5; overflow: hidden; border-radius: 8px; background: #1a2533; }
.smtkd-instructor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.smtkd-instructor-name { color: #f0c14b; font-size: 22px; margin: 14px 0 4px; font-weight: 700; }
.smtkd-instructor-title { color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; margin: 0 0 8px; line-height: 1.4; }
.smtkd-instructor-bio { font-size: 14px; line-height: 1.5; opacity: 0.9; margin: 0 0 8px; }
.smtkd-instructor-socials { display: flex; gap: 10px; margin-top: 8px; }
.smtkd-instructor-socials a { color: #f0c14b; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; transition: transform .15s; }
.smtkd-instructor-socials a:hover { transform: translateY(-1px); color: #fff; }
.smtkd-instructor-edit { font-size: 12px; margin-top: 8px; }
.smtkd-instructors-why { max-width: 880px; margin: 24px auto 0; text-align: left; }
.smtkd-instructors-why h2 { color: #fff !important; text-align: center; margin: 16px 0 18px; }
.smtkd-instructors-why ol, .smtkd-instructors-why ul { padding-left: 28px; line-height: 1.6; }
.smtkd-instructors-why li { margin-bottom: 8px; }
.smtkd-instructors-why strong { color: #fff; }

.smtkd-photo-preview img { max-width: 160px; max-height: 160px; border-radius: 8px; margin-bottom: 8px; display: block; }

/* Contact page */
.smtkd-contact { padding: 4px 0 24px; color: inherit; }
.smtkd-contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; }
.smtkd-contact-info h2 { color: #fff; margin-top: 0; font-size: 30px; }
.smtkd-contact-info p { line-height: 1.6; }
.smtkd-contact-list { margin: 16px 0; }
.smtkd-contact-list dt { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; margin-top: 14px; padding-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.smtkd-contact-list dd { margin: 6px 0 0; font-size: 17px; }
.smtkd-contact-list dd a { color: #f0c14b; text-decoration: underline; }
.smtkd-contact-socials h4 { color: #fff; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin: 22px 0 10px; }
.smtkd-contact-socials-row { display: flex; gap: 10px; flex-wrap: wrap; }
.smtkd-social-icon { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff !important; transition: transform .15s, background .15s; }
.smtkd-social-icon:hover { transform: translateY(-2px); }
.smtkd-social-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.smtkd-social-x-twitter { background: #000; }
.smtkd-social-facebook { background: #1877f2; }
.smtkd-social-youtube { background: #ff0000; }

.smtkd-contact-form-wrap { background: #fff; padding: 28px; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.18); color: #1a1a1a; }
.smtkd-contact-form-wrap h3 { color: #1e4b8a; margin-top: 0; font-size: 22px; }
.smtkd-contact-form label { color: #333; }
.smtkd-contact-form input, .smtkd-contact-form textarea { background: #fff !important; }

@media (max-width: 760px) {
	.smtkd-contact-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Gallery (public) */
.smtkd-gallery { display: grid; grid-template-columns: repeat(var(--smtkd-gallery-cols, 3), 1fr); gap: 8px; }
.smtkd-gallery-item { display: block; aspect-ratio: 1/1; overflow: hidden; border-radius: 4px; background: #1a2533; }
.smtkd-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; display: block; }
.smtkd-gallery-item:hover img { transform: scale(1.04); }
@media (max-width: 700px) { .smtkd-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .smtkd-gallery { grid-template-columns: 1fr; } }

/* Gallery (admin) */
.smtkd-gallery-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 16px; }
.smtkd-gallery-admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin: 0 0 16px; min-height: 60px; padding: 12px; border: 2px dashed #cfd6dd; border-radius: 10px; background: #fff; }
.smtkd-gallery-admin-grid:empty::before { content: 'No images selected yet — click "Pick from media library".'; color: #888; padding: 20px; text-align: center; grid-column: 1/-1; }
.smtkd-gallery-thumb { position: relative; aspect-ratio: 1/1; border-radius: 8px; overflow: hidden; cursor: grab; background: #f0f0f0; }
.smtkd-gallery-thumb.is-dragging { opacity: 0.4; }
.smtkd-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.smtkd-gallery-remove { position: absolute; top: 4px; right: 4px; background: rgba(177,42,32,.92); color: #fff !important; -webkit-text-fill-color: #fff !important; border: 0; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; padding: 0; display: flex; align-items: center; justify-content: center; }

/* "Where we train" page */
.smtkd-training-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 36px; align-items: start; padding: 12px 0; }
.smtkd-training-card { color: inherit; display: grid; grid-template-rows: auto 280px auto auto auto; gap: 14px; text-align: center; }
.smtkd-training-card h3 { font-size: 26px; color: #fff; margin: 0; font-weight: 700; line-height: 1.25; min-height: calc(2 * 1.25em); display: flex; align-items: center; justify-content: center; }
.smtkd-training-map { width: 100%; height: 280px; border-radius: 6px; overflow: hidden; background: #1a2533; }
.smtkd-training-map-empty { display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center; }
.smtkd-training-map .leaflet-container { text-align: left; }
.smtkd-training-address { margin: 0; font-weight: 600; line-height: 1.5; }
.smtkd-training-address div:first-child { font-weight: 700; }
.smtkd-training-schedule { margin: 0; }
.smtkd-training-schedule h4 { color: #fff; margin: 8px 0 4px; font-size: 16px; font-weight: 700; }
.smtkd-schedule-list { list-style: none; padding: 0; margin: 0 0 6px; }
.smtkd-schedule-list li { padding: 2px 0; }
.smtkd-training-instructor { margin: 0; }
.smtkd-training-instructor h4 { color: #fff; margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.smtkd-training-instructor p { margin: 0; }
.smtkd-training-regeocode { margin: 4px 0 0; font-size: 13px; }

/* Settings page repeat rows */
.smtkd-repeat-row { background:#fff; padding:12px 14px; border-radius:10px; margin-bottom:10px; display:flex; flex-direction:column; gap:8px; }
.smtkd-repeat-row.smtkd-repeat-inline { flex-direction:row; flex-wrap:wrap; }
.smtkd-repeat-row.smtkd-repeat-inline > label { flex:1 1 200px; }

@media (max-width: 760px) {
	.smtkd-student-events-row, .smtkd-student-info-row { grid-template-columns: 1fr; }
	.smtkd-fees-block .smtkd-fees-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.smtkd-container { padding: 0 12px; }
	.smtkd-container h1 { font-size: 22px; }
	.smtkd-bar-inner { flex-wrap: wrap; }
	.smtkd-video-grid { grid-template-columns: 1fr; }
}
