/*
 * Online application form + parent dashboard.
 * Depends on base.css for tokens and for .ssc-button / .ssc-alert / .ssc-table.
 */

/* ============================================================ application = */

.ssc-registration-wrap {
	width: 100%;
	max-width: var(--ssc-container-narrow);
	margin: 0 auto 48px;
	color: var(--ssc-text);
	box-sizing: border-box;
}

.ssc-registration-wrap * {
	box-sizing: border-box;
}

.ssc-form-intro {
	padding: 24px 28px;
	margin-bottom: var(--ssc-space-5);
	border: 1px solid #d5e4f6;
	border-radius: 18px;
	background: linear-gradient(135deg, #edf5ff, var(--ssc-surface));
}

.ssc-form-intro h2 {
	margin-top: 0;
	color: var(--ssc-brand);
}

.ssc-registration-form {
	padding: 24px;
	border: 1px solid #dce5ef;
	border-radius: 18px;
	background: var(--ssc-surface);
	box-shadow: var(--ssc-shadow);
}

.ssc-registration-form legend,
.ssc-registration-form .ssc-step-tab {
	text-transform: none !important;
}

/* --- step navigation ------------------------------------------------------
 *
 * The tabs stick to the top of the viewport on small screens so the current
 * step stays visible while a long fieldset is being filled in.
 */

.ssc-steps {
	position: sticky;
	top: 0;
	z-index: 5;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--ssc-space-2);
	padding: var(--ssc-space-2) 0;
	margin-bottom: var(--ssc-space-5);
	background: var(--ssc-surface);
}

.ssc-step-tab {
	min-height: var(--ssc-tap);
	padding: 10px 8px;
	border: 0;
	border-radius: var(--ssc-radius-sm);
	background: #edf1f5;
	color: #52657b;
	font: inherit;
	font-weight: 700;
	line-height: 1.25;
	cursor: pointer;
}

.ssc-step-tab.is-active {
	background: var(--ssc-brand);
	color: #fff;
}

.ssc-step-tab:focus-visible {
	outline: none;
	box-shadow: var(--ssc-focus);
}

.ssc-form-step {
	display: none;
	padding: 0;
	margin: 0;
	border: 0;
}

.ssc-form-step.is-active {
	display: block;
}

.ssc-form-step legend {
	display: block;
	width: 100%;
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #dce8f6;
	color: var(--ssc-brand);
	font-size: 23px;
	font-weight: 800;
}

.ssc-form-step h3 { margin: 24px 0 8px; color: #244d7f; font-size: 17px; }
.ssc-form-step h4 { margin: 18px 0 10px; color: #355d88; font-size: 16px; }

/* --- fields --------------------------------------------------------------- */

.ssc-grid   { display: grid; gap: 18px; }
.ssc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ssc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: var(--ssc-space-3); }
.ssc-span-2 { grid-column: span 2; }
.ssc-field  { min-width: 0; }

.ssc-registration-form label {
	display: block;
	color: #2e4259;
	font-weight: 650;
}

/* The asterisk marking a required field. */
.ssc-registration-form label > span:first-child,
.ssc-registration-form label span:not(.ssc-inline-check) {
	color: #c62828;
}

.ssc-registration-form input[type="text"],
.ssc-registration-form input[type="email"],
.ssc-registration-form input[type="tel"],
.ssc-registration-form input[type="date"],
.ssc-registration-form input[type="number"],
.ssc-registration-form textarea,
.ssc-registration-form select {
	display: block;
	width: 100%;
	min-height: var(--ssc-tap);
	margin-top: 7px;
	padding: 11px 13px;
	border: 1px solid var(--ssc-line-strong);
	border-radius: var(--ssc-radius-sm);
	background: var(--ssc-surface);
	color: var(--ssc-text-strong);
	font: inherit;
	box-sizing: border-box;
}

.ssc-registration-form textarea {
	line-height: 1.5;
	resize: vertical;
}

.ssc-registration-form input:focus,
.ssc-registration-form textarea:focus,
.ssc-registration-form select:focus {
	outline: none;
	border-color: #256fb5;
	box-shadow: var(--ssc-focus);
}

.ssc-registration-form input[type="checkbox"],
.ssc-registration-form input[type="radio"] {
	width: 20px;
	height: 20px;
	accent-color: var(--ssc-brand);
}

.ssc-registration-form small {
	display: block;
	margin-top: 6px;
	color: var(--ssc-text-muted);
	font-weight: 400;
}

.ssc-block-label { margin-top: 18px; }
.ssc-help-text   { margin: 0 0 10px; color: #687b90; font-size: 15px; }

.ssc-phone-field .ssc-phone-updates {
	display: flex !important;
	align-items: center;
	gap: var(--ssc-space-2);
	min-height: var(--ssc-tap);
	margin-top: 7px;
	color: #53677e;
	font-weight: 500 !important;
}

.ssc-phone-field .ssc-phone-updates input { margin: 0; }

/* --- choice tiles --------------------------------------------------------- */

.ssc-choice-grid   { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ssc-space-3); }
.ssc-choice-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.ssc-choice,
.ssc-check-choice {
	position: relative;
}

.ssc-choice input,
.ssc-check-choice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.ssc-choice span,
.ssc-check-choice span {
	display: flex !important;
	align-items: center;
	min-height: 54px;
	padding: 12px 14px;
	border: 2px solid #d7e1ec;
	border-radius: var(--ssc-radius);
	background: var(--ssc-surface);
	color: #2c435d !important;
	font-weight: 650;
	cursor: pointer;
}

.ssc-check-choice span {
	justify-content: center;
}

.ssc-choice input:checked + span,
.ssc-check-choice input:checked + span {
	border-color: #1f6eb2;
	box-shadow: inset 0 0 0 1px #1f6eb2;
}

.ssc-check-choice input:checked + span {
	background: #edf6ff;
}

.ssc-choice input:focus-visible + span,
.ssc-check-choice input:focus-visible + span {
	box-shadow: var(--ssc-focus);
}

.ssc-check-choice small { display: inline; margin: 0 0 0 5px; }

.ssc-skill-list,
.ssc-package-choice-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 9px;
}

.ssc-skill-choice span   { min-height: 48px; }
.ssc-skill-beginner span { background: #fff8d9; }
.ssc-skill-green span    { background: #edf8e9; }
.ssc-skill-blue span     { background: #eaf4ff; }
.ssc-skill-parallel span { background: #fff0f0; }

/* Keep the level colour when selected; the border already signals the choice. */
.ssc-skill-choice input:checked + span { background: inherit; }

.ssc-package-choice span { min-height: 46px; }
.ssc-package-choice em   { color: #2c435d; font-style: italic; }

/* --- equipment ------------------------------------------------------------ */

.ssc-equipment-table {
	border: 1px solid #d8e3ee;
	border-radius: 13px;
	background: var(--ssc-surface);
	overflow: hidden;
}

.ssc-equipment-row {
	display: grid;
	grid-template-columns: minmax(150px, .7fr) minmax(0, 1.8fr);
	gap: 18px;
	align-items: center;
	padding: 15px 17px;
	border-bottom: 1px solid #e4ebf2;
}

.ssc-equipment-row strong { color: var(--ssc-brand); }

.ssc-equipment-options {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.ssc-equipment-options label {
	display: flex !important;
	align-items: center;
	gap: var(--ssc-space-2);
	min-height: var(--ssc-tap);
	padding: 9px 11px;
	border: 1px solid #d9e3ed;
	border-radius: var(--ssc-radius-sm);
	background: var(--ssc-surface-subtle);
	font-weight: 550 !important;
}

.ssc-equipment-options input { margin: 0; }

.ssc-conditional-panel {
	display: none;
	padding: var(--ssc-space-4) 17px;
	border-bottom: 1px solid #e4ebf2;
	background: #f8fbff;
}

.ssc-conditional-panel.is-visible { display: block; }

/* --- consents ------------------------------------------------------------- */

.ssc-sensitive-box {
	padding: 18px;
	margin-bottom: 20px;
	border: 1px solid var(--ssc-warning-border);
	border-radius: var(--ssc-radius);
	background: #fffaf0;
}

.ssc-sensitive-box p { color: #6b5930; font-size: 14px; }

.ssc-declaration { display: grid; gap: var(--ssc-space-3); margin-top: 18px; }
.ssc-declaration a { font-weight: 750; }

.ssc-consent {
	display: flex !important;
	align-items: flex-start;
	gap: 10px;
	padding: 12px 14px;
	border: 1px solid #dbe4ed;
	border-radius: var(--ssc-radius-sm);
	background: var(--ssc-surface-subtle);
	font-weight: 500 !important;
}

.ssc-consent input { margin-top: 3px; }
.ssc-overnight     { margin-top: 18px; background: var(--ssc-surface-sunken); }

/*
 * The asterisk on a required consent.
 *
 * Every required text field is marked with one, but the three declarations at
 * the end of the form were not, so nothing on screen said they had to be
 * ticked - the parent found out from the validation error after pressing
 * submit. `.ssc-consent` is a flex row, so the span becomes its own flex item
 * and the asterisks line up in a column of their own.
 */
.ssc-required {
	flex: none;
	color: #c62828;
	font-weight: 800;
	line-height: 1.5;
}

.ssc-required-legend {
	margin: 10px 2px 0;
	color: var(--ssc-text-muted);
	font-size: 14px;
}

/*
 * "Are these choices final?" - answered where the choices are made.
 * Blue rather than the amber of `.ssc-sensitive-box`: this is reassurance,
 * not a warning.
 */
.ssc-choice-note {
	margin: 0 0 18px;
	padding: var(--ssc-space-3) var(--ssc-space-4);
	border: 1px solid var(--ssc-info-border);
	border-left: 4px solid #2b6da8;
	border-radius: var(--ssc-radius-sm);
	background: var(--ssc-info-bg);
	color: #34506e;
	font-size: 15px;
	line-height: 1.55;
}

.ssc-choice-note strong { color: #1d4a76; }

.ssc-legal-note {
	margin-top: var(--ssc-space-4);
	padding: var(--ssc-space-3);
	border-radius: var(--ssc-radius-sm);
	background: #f3f5f7;
	color: #66788a;
	font-size: 14px;
}

.ssc-nav {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: var(--ssc-space-6);
}

.ssc-registration-form .ssc-invalid {
	border-color: #c62828 !important;
	box-shadow: 0 0 0 3px rgba(198, 40, 40, .12);
}

.ssc-success-card {
	max-width: 760px;
	margin: 30px auto;
	padding: var(--ssc-space-6);
	border: 1px solid #acd1ba;
	border-radius: var(--ssc-radius-lg);
	background: #f4fff7;
	text-align: center;
}

.ssc-success-card h2 { color: var(--ssc-success); }

/* ============================================================== dashboard = */

.ssc-dashboard {
	width: 100%;
	max-width: var(--ssc-container);
	margin: 0 auto;
	box-sizing: border-box;
}

.ssc-dashboard * { box-sizing: border-box; }

.ssc-dashboard-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 18px;
}

.ssc-dashboard-head h2 { margin-bottom: var(--ssc-space-1); }

.ssc-profile-summary {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: var(--ssc-space-3);
	margin: 18px 0;
}

.ssc-profile-summary > div {
	padding: 14px;
	border: 1px solid var(--ssc-line);
	border-radius: var(--ssc-radius);
	background: var(--ssc-surface-subtle);
	overflow-wrap: anywhere;
}

.ssc-summary-label {
	display: block;
	margin-bottom: 5px;
	color: var(--ssc-text-muted);
	font-size: 13px;
}

.ssc-member-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 18px 0 24px;
}

.ssc-athlete-card {
	padding: 20px;
	margin: 18px 0;
	border: 1px solid #dce5ef;
	border-radius: 15px;
	background: var(--ssc-surface);
}

.ssc-athlete-card-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 18px;
	margin-bottom: 15px;
}

.ssc-athlete-card-head h3 { margin: 0 0 7px; }

.ssc-status-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: var(--ssc-radius-pill);
	background: #eef2f6;
	color: #536579;
	font-size: 13px;
	font-weight: 700;
}

.ssc-status-active   { background: var(--ssc-success-bg); color: var(--ssc-success); }
.ssc-status-pending  { background: var(--ssc-warning-bg); color: var(--ssc-warning); }
.ssc-status-inactive,
.ssc-status-archived { background: #f3f3f3; color: #666; }

.ssc-year-lessons {
	min-width: 100px;
	padding: 10px;
	border: 1px solid var(--ssc-line);
	border-radius: var(--ssc-radius-sm);
	background: var(--ssc-surface-subtle);
	text-align: center;
}

.ssc-year-lessons strong,
.ssc-year-lessons span { display: block; }
.ssc-year-lessons strong { color: var(--ssc-brand); font-size: 24px; }
.ssc-year-lessons span   { color: var(--ssc-text-muted); font-size: 12px; }

.ssc-package-list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--ssc-space-3);
}

.ssc-package-card {
	padding: 15px;
	border: 1px solid var(--ssc-line);
	border-radius: var(--ssc-radius-sm);
	background: var(--ssc-surface-subtle);
}

.ssc-package-card strong,
.ssc-package-card span { display: block; margin: var(--ssc-space-1) 0; }
.ssc-package-card > strong { color: var(--ssc-brand); }
.ssc-package-card .ssc-remaining strong { color: var(--ssc-success); }

/* --- lesson history ------------------------------------------------------- */

.ssc-lesson-history    { margin-top: 18px; }
.ssc-lesson-history h4 { margin: 0 0 10px; color: var(--ssc-brand); }
.ssc-no-lessons        { margin: 14px 0 0; color: #6b7b8d; font-size: 15px; }

.ssc-parent-feedback { margin: 0 0 var(--ssc-space-2); line-height: 1.45; }
.ssc-parent-feedback:last-child { margin-bottom: 0; }

/* --- my child's photos (v0.12) -------------------------------------------- */

.ssc-my-photos { margin-top: var(--ssc-space-5); }

.ssc-my-photos h4 {
	margin: 0 0 var(--ssc-space-2);
	color: var(--ssc-brand);
}

.ssc-my-photos-intro {
	margin: 0 0 var(--ssc-space-3);
	color: var(--ssc-text-muted);
	font-size: 15px;
}

.ssc-my-photos-group { margin-bottom: var(--ssc-space-4); }

.ssc-my-photos-group-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--ssc-space-2);
	margin-bottom: var(--ssc-space-2);
}

.ssc-my-photos-group-head strong { color: var(--ssc-text-strong); }
.ssc-my-photos-group-head span   { color: var(--ssc-text-muted); font-size: 14px; }

.ssc-my-photos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 10px;
}

.ssc-my-photo {
	display: block;
	aspect-ratio: 1 / 1;
	border: 1px solid var(--ssc-line);
	border-radius: var(--ssc-radius-sm);
	background: var(--ssc-surface-thumb);
	overflow: hidden;
}

.ssc-my-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ssc-my-photo:focus-visible {
	outline: none;
	box-shadow: var(--ssc-focus);
}

.ssc-my-photos-more {
	display: inline-block;
	margin-top: var(--ssc-space-2);
	font-size: 14px;
}

/* ============================================================== responsive = */

@media (max-width: 760px) {
	.ssc-registration-form { padding: 17px; }
	.ssc-steps             { grid-template-columns: repeat(2, 1fr); }
	.ssc-step-tab          { font-size: 14px; }

	.ssc-grid-2,
	.ssc-grid-4,
	.ssc-choice-grid,
	.ssc-choice-grid-3,
	.ssc-equipment-options { grid-template-columns: 1fr; }

	.ssc-span-2        { grid-column: auto; }
	.ssc-equipment-row { grid-template-columns: 1fr; gap: 9px; }

	.ssc-nav { justify-content: stretch; }
	.ssc-nav .ssc-button { flex: 1 1 140px; }

	.ssc-dashboard-head,
	.ssc-athlete-card-head { flex-direction: column; }

	.ssc-year-lessons { width: 100%; text-align: left; }
	.ssc-year-lessons strong,
	.ssc-year-lessons span { display: inline; margin-right: 5px; }

	.ssc-athlete-card { padding: 15px; }
}

@media (max-width: 420px) {
	.ssc-my-photos-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

.ssc-add-child-action {
	margin: 28px 0 8px;
	padding: 18px;
	border: 1px dashed var(--ssc-line-strong);
	border-radius: var(--ssc-radius);
	background: var(--ssc-surface-subtle);
	text-align: center;
}
.ssc-add-child-action p { margin: 8px 0 0; color: var(--ssc-text-muted); font-size: 14px; }

/* Family / add-another-child application. Parent contact data is collected once. */
.ssc-family-start,
.ssc-family-count-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
}
.ssc-family-start a,
.ssc-family-count-links a { text-decoration: none; }
.ssc-family-parent-section,
.ssc-family-declarations { margin-bottom: 24px; }
.ssc-family-parent-section > h3,
.ssc-family-declarations > h3 { color: var(--ssc-brand); }
.ssc-family-children { display: grid; gap: 18px; margin: 22px 0; }
.ssc-family-child {
	border: 1px solid var(--ssc-line);
	border-radius: var(--ssc-radius-lg);
	background: var(--ssc-surface);
	overflow: hidden;
}
/*
 * Children after the first are collapsed, and a bare bold heading gave no hint
 * that it opens - parents filled in child 1 and submitted, thinking child 2 had
 * not been added. The +/− marker says the row is a control; the native triangle
 * is hidden because it renders inconsistently and reads as decoration.
 */
.ssc-family-child > summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 15px 18px;
	background: var(--ssc-brand-soft);
	color: var(--ssc-brand-ink);
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}
.ssc-family-child > summary::-webkit-details-marker { display: none; }
.ssc-family-child > summary::before {
	content: "+";
	flex: none;
	width: 22px;
	height: 22px;
	display: inline-grid;
	place-content: center;
	border-radius: 50%;
	background: var(--ssc-brand);
	color: #fff;
	font-size: 16px;
	line-height: 1;
}
.ssc-family-child[open] > summary::before { content: "−"; }
.ssc-family-child > summary:hover { filter: brightness(.97); }
.ssc-family-child > summary:focus-visible { outline: 2px solid var(--ssc-brand); outline-offset: -2px; }
.ssc-family-child-body { padding: 18px; }
.ssc-family-child-body > h3:first-child { margin-top: 0; }
.ssc-family-child-name { color: var(--ssc-text-muted) !important; font-weight: 600; }
.ssc-existing-parent-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	padding: 14px 16px;
	border: 1px solid var(--ssc-line);
	border-radius: var(--ssc-radius);
	background: var(--ssc-success-bg);
}
.ssc-existing-parent-summary span { color: var(--ssc-text-muted); }
@media(max-width:760px){
	.ssc-family-child-body { padding: 14px; }
	.ssc-family-count-links span { width: 100%; }
}

/* v0.35.2: secure receipt actions + editable parent account details. */
.ssc-receipt-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
}
.ssc-receipt-actions form { margin: 0; }
.ssc-receipt-security-note { margin-top: 9px; color: var(--ssc-text-muted); font-size: 14px; }

.ssc-parent-account-edit {
	margin: 18px 0;
	padding: 14px 16px;
	border: 1px solid var(--ssc-line);
	border-radius: var(--ssc-radius);
	background: var(--ssc-surface-subtle);
}
.ssc-parent-account-edit > summary { cursor: pointer; font-weight: 800; }
.ssc-parent-account-form { margin-top: 16px; }
.ssc-parent-account-grid {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: 12px;
	margin-bottom: 14px;
}
.ssc-parent-account-grid label { display: grid; gap: 6px; font-weight: 700; }
.ssc-parent-account-grid input {
	width: 100%; min-height: var(--ssc-tap); padding: 10px 11px;
	border: 1px solid var(--ssc-line-input); border-radius: var(--ssc-radius-sm); background: var(--ssc-surface);
}
.ssc-parent-account-grid small { color: var(--ssc-text-muted); font-weight: 400; }
.ssc-parent-account-wide { grid-column: 1 / -1; }
@media(max-width:700px){.ssc-parent-account-grid{grid-template-columns:1fr}.ssc-parent-account-wide{grid-column:auto}.ssc-receipt-actions{align-items:stretch}.ssc-receipt-actions .ssc-button{width:100%}}


/* v0.35.4 - family count selector and copy-first-child helper */
.ssc-child-count-picker {
	margin: 18px 0 8px;
	padding: 16px;
	border: 1px solid var(--ssc-line);
	border-radius: var(--ssc-radius-sm);
	background: var(--ssc-surface-subtle);
}
.ssc-child-count-picker label { display: block; margin-bottom: 8px; }
.ssc-child-count-picker select { width: min(180px, 100%); }
.ssc-child-count-picker .ssc-help-text { margin: 8px 0 0; }
.ssc-family-copy-first {
	margin: 0 0 18px;
	padding: 12px 14px;
	border: 1px dashed var(--ssc-line);
	border-radius: var(--ssc-radius-sm);
	background: #fff;
}
.ssc-family-copy-first label { display: flex; align-items: flex-start; gap: 8px; font-weight: 700; }
.ssc-family-copy-first input { margin-top: 3px; flex: 0 0 auto; }
.ssc-family-copy-first small { display: block; margin: 5px 0 0 26px; color: var(--ssc-text-muted); }

/* v0.35.6 — each child in a family submission keeps its own secure receipt actions. */
.ssc-family-receipts {
	display: grid;
	gap: 14px;
	margin-top: 18px;
}
.ssc-family-receipt-card {
	border: 1px solid rgba(23,43,77,.14);
	border-radius: 12px;
	padding: 16px;
	background: #fff;
}
.ssc-family-receipt-card h3 { margin: 0 0 6px; }
.ssc-family-receipt-card p { margin: 0 0 12px; }

/*
 * The field is dd/mm/yyyy for everyone as of v0.55.0, whatever the browser's
 * locale. The echo below it still spells the month out in Greek, because a
 * mistyped 05/03 for 3 May is otherwise invisible.
 */
.ssc-birth-date .ssc-date-field { width: 100%; }
.ssc-birth-date .ssc-date-input { width: 100%; }
.ssc-birth-echo {
	display: block;
	min-height: 1.2em;
	margin-top: 5px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ssc-brand-ink);
}
.ssc-birth-echo:empty { min-height: 0; }

/* ---------------------------------------------------------------------------
 * Application chooser and WE application (v0.55.0)
 *
 * The chooser is the first thing a parent sees, so it is deliberately plain:
 * two cards, a count, one button. The WE form reuses the ski form's field and
 * consent styling - only the package picker is its own.
 * ------------------------------------------------------------------------ */
.ssc-apply-chooser {
	display: grid;
	gap: 20px;
	max-width: 720px;
}

.ssc-apply-options {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	border: 0;
}

.ssc-apply-options legend {
	padding: 0;
	margin-bottom: 4px;
	font-weight: 600;
}

.ssc-apply-choice {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--ssc-color-border, #d7dee8);
	border-radius: 10px;
	cursor: pointer;
}

.ssc-apply-choice:hover,
.ssc-apply-choice:focus-within {
	border-color: var(--ssc-color-primary, #17427a);
}

.ssc-apply-choice input { margin-top: 4px; }

.ssc-apply-choice-text {
	display: grid;
	gap: 4px;
}

.ssc-apply-choice-text small { color: var(--ssc-color-muted, #5b6b80); }

.ssc-apply-count {
	display: grid;
	gap: 6px;
	max-width: 320px;
}

.ssc-we-parent,
.ssc-we-child {
	margin-bottom: 24px;
}

.ssc-we-child {
	padding: 20px;
	border: 1px solid var(--ssc-color-border, #d7dee8);
	border-radius: 10px;
}

.ssc-we-package-list {
	display: grid;
	gap: 10px;
	margin-top: 8px;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.ssc-we-package {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border: 1px solid var(--ssc-color-border, #d7dee8);
	border-radius: 8px;
	cursor: pointer;
}

.ssc-we-package span {
	display: grid;
	gap: 2px;
}

.ssc-we-package small { color: var(--ssc-color-muted, #5b6b80); }

.ssc-we-success-list {
	margin: 16px 0;
	padding-left: 20px;
}

.ssc-we-success-list li { margin-bottom: 6px; }

/* Two counters where a child does both programmes; one where they do not. */
.ssc-athlete-card-head { flex-wrap: wrap; gap: 12px; }
.ssc-year-lessons-we strong { color: #10507f; }
