/* Reading Club OS — member app design system.
   Palette from brand reference screenshot. */
:root {
	--rc-primary: #7379ff;
	--rc-primary-dark: #5a5fe0;
	--rc-pink: #f0a7fe;
	--rc-pink-pale: #fee8fe;
	--rc-lavender: #dcb8fe;
	--rc-purple: #be9ffe;
	--rc-lavender-light: #e6d1fd;
	--rc-pink-light: #f8f0fe;

	--rc-ink: #1a1a2e;
	--rc-ink-soft: #6b6b80;
	--rc-white: #ffffff;
	--rc-page-bg: linear-gradient(160deg, var(--rc-lavender-light) 0%, var(--rc-pink-light) 100%);
	--rc-card-radius: 20px;
	--rc-shadow: 0 20px 60px rgba(90, 70, 160, 0.15);
	--rc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, sans-serif;
}

* { box-sizing: border-box; }

/* ---- Custom icon utility (replaces emoji everywhere in the app) ---- */

.rc-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	vertical-align: -0.15em;
	flex-shrink: 0;
}

.rc-icon svg { width: 100%; height: 100%; }

h2 .rc-icon, .rc-step-panel h2 .rc-icon {
	width: 15px;
	height: 15px;
	vertical-align: -2px;
	margin-right: 3px;
	color: var(--rc-primary);
}

body.rc-app {
	margin: 0;
	font-family: var(--rc-font);
	background: var(--rc-page-bg);
	color: var(--rc-ink);
	min-height: 100vh;
}

/* ---- Shell (sidebar + content) ---- */

.rc-shell {
	display: flex;
	max-width: 1400px;
	margin: 24px auto;
	background: var(--rc-white);
	border-radius: 28px;
	box-shadow: var(--rc-shadow);
	overflow: hidden;
	min-height: calc(100vh - 48px);
}

.rc-sidebar {
	width: 96px;
	background: linear-gradient(180deg, var(--rc-primary) 0%, var(--rc-purple) 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 24px 0;
	gap: 28px;
}

.rc-sidebar .rc-logo {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.92);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--rc-primary);
	font-weight: 700;
	font-size: 18px;
}

.rc-nav {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.rc-nav a {
	width: 50px;
	height: 50px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: background .15s, color .15s;
}

.rc-nav a:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

.rc-nav a.active {
	background: #fff;
	color: var(--rc-primary);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

#rc-logout {
	color: rgba(255, 255, 255, 0.75);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 14px;
	transition: background .15s, color .15s;
}

#rc-logout:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

.rc-nav svg { width: 20px; height: 20px; }

.rc-content {
	flex: 1;
	padding: 28px 36px;
	min-width: 0;
}

/* ---- Topbar ---- */

.rc-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	gap: 16px;
}

.rc-greeting h1 {
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 2px;
	color: var(--rc-ink-soft);
}

.rc-greeting p {
	margin: 0;
	color: var(--rc-ink-soft);
	font-size: 14px;
}

.rc-greeting-team {
	display: flex;
	align-items: center;
	gap: 14px;
}

.rc-greeting-photo {
	width: 96px;
	height: 96px;
	border-radius: 24px;
	object-fit: cover;
	flex-shrink: 0;
	border: 3px solid #fff;
	box-shadow: 0 4px 14px rgba(90, 70, 160, 0.2);
}

.rc-greeting-team-name {
	background: linear-gradient(120deg, var(--rc-primary), var(--rc-pink));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	font-weight: 800;
	font-size: 30px !important;
	margin: 0 0 4px !important;
	line-height: 1.2;
	display: flex;
	align-items: center;
	gap: 8px;
}

.rc-greeting-team-name .rc-icon {
	width: 26px;
	height: 26px;
	color: var(--rc-pink);
	flex-shrink: 0;
}

.rc-topbar-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.rc-icon-btn {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--rc-pink-light);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--rc-ink);
}

.rc-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--rc-purple), var(--rc-pink));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
}

/* ---- Layout grid ---- */

.rc-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 20px;
	margin-bottom: 24px;
}

.rc-week-grid {
	grid-template-columns: 1fr 2fr;
	align-items: start;
}

@media (max-width: 900px) {
	.rc-grid { grid-template-columns: 1fr; }
	.rc-shell { flex-direction: column; }
	.rc-sidebar { width: 100%; flex-direction: row; padding: 12px 16px; }
	.rc-nav { flex-direction: row; }
}

/* ---- Banner ---- */

.rc-banner {
	background: linear-gradient(135deg, var(--rc-primary) 0%, var(--rc-purple) 60%, var(--rc-pink) 130%);
	border-radius: var(--rc-card-radius);
	padding: 18px 22px;
	margin-bottom: 20px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(90, 70, 160, 0.14);
}

.rc-banner-deco-dot { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.18); }
.rc-banner-deco-ring { position: absolute; border: 1.5px solid rgba(255,255,255,0.22); border-radius: 50%; }
.rc-banner-text { position: relative; z-index: 2; min-width: 0; }
.rc-banner-illustration { position: relative; z-index: 2; flex-shrink: 0; display: block; width: 92px; height: auto; opacity: .92; }

@media (max-width: 900px) {
	.rc-banner-illustration { display: none; }
}

.rc-banner .rc-quote-zh {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 3px;
	line-height: 1.45;
}

.rc-banner .rc-quote-en {
	font-size: 12px;
	opacity: .82;
	margin: 0;
	line-height: 1.4;
}

.rc-banner .rc-quote-author {
	font-size: 11px;
	opacity: .7;
	margin: 6px 0 0;
	font-style: italic;
}

/* ---- Calendar card ---- */

.rc-card {
	background: var(--rc-white);
	border: 1px solid #f1eefb;
	border-radius: var(--rc-card-radius);
	padding: 20px 22px;
	box-shadow: 0 6px 20px rgba(90, 70, 160, 0.05);
}

.rc-calendar-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	font-weight: 600;
}

.rc-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 6px;
	text-align: center;
	font-size: 13px;
}

.rc-calendar-grid .rc-day-label {
	color: var(--rc-ink-soft);
	font-size: 11px;
	padding-bottom: 6px;
}

.rc-calendar-grid .rc-day {
	padding: 6px 0;
	border-radius: 10px;
}

.rc-calendar-grid .rc-day.rc-today {
	background: var(--rc-ink);
	color: #fff;
	font-weight: 700;
}

.rc-calendar-grid .rc-day.rc-checked-in {
	background: var(--rc-pink-pale);
	color: var(--rc-primary-dark);
	font-weight: 700;
}

/* ---- Stat tiles ---- */

.rc-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 24px;
}

@media (max-width: 700px) {
	.rc-stats { grid-template-columns: repeat(2, 1fr); }
}

.rc-stat {
	border-radius: 18px;
	padding: 18px 20px;
	color: var(--rc-ink);
}

.rc-stat.rc-tone-1 { background: var(--rc-lavender-light); }
.rc-stat.rc-tone-2 { background: var(--rc-pink-pale); }
.rc-stat.rc-tone-3 { background: var(--rc-purple); color: #fff; }
.rc-stat.rc-tone-4 { background: var(--rc-ink); color: #fff; }

.rc-stat .rc-icon {
	width: 20px;
	height: 20px;
	display: block;
	margin-bottom: 8px;
	opacity: .8;
}

.rc-stat .rc-stat-num {
	font-size: 26px;
	font-weight: 700;
	display: block;
}

.rc-stat .rc-stat-label {
	font-size: 13px;
	opacity: .8;
}

.rc-stat .rc-stat-bar {
	height: 6px;
	border-radius: 4px;
	background: rgba(0,0,0,.1);
	margin-top: 10px;
	overflow: hidden;
}

.rc-stat .rc-stat-bar > span {
	display: block;
	height: 100%;
	background: currentColor;
	opacity: .8;
}

/* ---- Weekly missions ---- */

.rc-missions-card { margin-bottom: 24px; }

.rc-mission-row {
	padding: 12px 0;
	border-bottom: 1px solid #f1eefb;
}

.rc-mission-row:last-child { border-bottom: none; }

.rc-mission-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	font-size: 13.5px;
}

.rc-mission-label { display: flex; align-items: center; gap: 6px; }
.rc-mission-label .rc-icon { width: 14px; height: 14px; color: var(--rc-primary); }

.rc-mission-progress { font-weight: 600; color: var(--rc-ink-soft); }
.rc-mission-progress .rc-icon { width: 13px; height: 13px; vertical-align: -2px; }

.rc-mission-row .rc-stat-bar {
	height: 6px;
	border-radius: 4px;
	background: var(--rc-pink-light);
	overflow: hidden;
}

.rc-mission-row .rc-stat-bar > span {
	display: block;
	height: 100%;
	background: var(--rc-primary);
	transition: width .3s;
}

.rc-mission-row.rc-mission-complete .rc-mission-progress { color: #1f8a4d; }
.rc-mission-row.rc-mission-complete .rc-stat-bar > span { background: #1f8a4d; }

.rc-missions-celebrate {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid var(--rc-pink-light);
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
	text-align: center;
}

.rc-missions-celebrate p {
	margin: 0;
	font-size: 13.5px;
	font-weight: 700;
	color: var(--rc-primary-dark);
	line-height: 1.6;
}

.rc-missions-celebrate .rc-icon { width: 14px; height: 14px; color: var(--rc-pink); }

/* ---- John 10:10 action plan (dashboard) ---- */

.rc-action-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f4f1fb;
}

.rc-action-item:last-child { border-bottom: none; }

.rc-action-checkbox {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: var(--rc-primary);
	cursor: pointer;
}

.rc-action-meta { min-width: 0; }
.rc-action-pillar { font-weight: 600; font-size: 13px; color: var(--rc-primary); }
.rc-action-what { font-size: 14px; margin: 2px 0; }

.rc-action-item.rc-action-done .rc-action-what {
	text-decoration: line-through;
	color: var(--rc-ink-soft);
}
.rc-action-item.rc-action-done .rc-action-pillar { color: var(--rc-ink-soft); }

/* ---- Section lists ---- */

.rc-section-title {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 14px;
}

.rc-diamond-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f4f1fb;
}

.rc-diamond-item:last-child { border-bottom: none; }

.rc-diamond-thumb {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--rc-pink-light);
	object-fit: cover;
	flex-shrink: 0;
}

.rc-diamond-meta { min-width: 0; }
.rc-diamond-meta .rc-book { font-weight: 600; font-size: 14px; }
.rc-diamond-meta .rc-date { font-size: 12px; color: var(--rc-ink-soft); }

.rc-leader-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #f4f1fb;
	font-size: 14px;
}

.rc-leader-row:last-child { border-bottom: none; }

.rc-leader-rank {
	display: inline-flex;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--rc-pink-light);
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	margin-right: 10px;
}

.rc-tier-badge {
	display: inline-flex;
	vertical-align: -3px;
	margin-right: 6px;
}

.rc-tier-badge .rc-icon { width: 16px; height: 16px; }

.rc-points-pill {
	background: var(--rc-ink);
	color: #fff;
	border-radius: 999px;
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 700;
}

/* ---- Login page ---- */

.rc-login-wrap {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.rc-login-card {
	background: var(--rc-white);
	border-radius: var(--rc-card-radius);
	box-shadow: var(--rc-shadow);
	padding: 40px 36px;
	width: 100%;
	max-width: 380px;
	text-align: center;
}

.rc-login-card .rc-logo {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	margin: 0 auto 20px;
	background: linear-gradient(135deg, var(--rc-primary), var(--rc-pink));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 24px;
}

.rc-login-card h1 {
	font-size: 20px;
	margin: 0 0 4px;
}

.rc-login-card p.rc-sub {
	color: var(--rc-ink-soft);
	font-size: 13px;
	margin: 0 0 24px;
}

.rc-field {
	text-align: left;
	margin-bottom: 16px;
}

.rc-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}

.rc-field input {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid #e5e0f5;
	font-size: 14px;
	font-family: inherit;
}

.rc-field input:focus {
	outline: none;
	border-color: var(--rc-primary);
}

.rc-btn-primary {
	width: 100%;
	padding: 13px;
	border-radius: 12px;
	border: none;
	background: linear-gradient(120deg, var(--rc-primary), var(--rc-purple));
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	font-family: inherit;
	box-shadow: 0 6px 16px rgba(115, 121, 255, 0.3);
	transition: box-shadow .15s, transform .15s;
}

.rc-btn-primary:hover { background: linear-gradient(120deg, var(--rc-primary-dark), var(--rc-purple)); box-shadow: 0 8px 20px rgba(115, 121, 255, 0.4); }
.rc-btn-primary:disabled { opacity: .6; cursor: default; box-shadow: none; }

.rc-error {
	background: #fff0f0;
	color: #c0324a;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 13px;
	margin-bottom: 16px;
	display: none;
}

/* Marks the specific field(s) named in the error message above, so people
   don't have to guess which of several fields on the step needs fixing. */
.rc-field.rc-field-invalid > label { color: #c0324a; }

.rc-field.rc-field-invalid input:not([type="checkbox"]),
.rc-field.rc-field-invalid select,
.rc-field.rc-field-invalid textarea {
	border-color: #c0324a;
}

.rc-field-invalid.rc-hobby-grid,
.rc-field-invalid.rc-consent-check,
.rc-field-invalid.rc-photo-upload {
	outline: 1.5px solid #c0324a;
	outline-offset: 2px;
	border-radius: 10px;
}

.rc-error.rc-visible { display: block; }

.rc-loading, .rc-empty {
	color: var(--rc-ink-soft);
	font-size: 13px;
	padding: 8px 0;
}

/* ---- Register page ---- */

.rc-register-wrap {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px 20px;
}

.rc-register-card {
	background: var(--rc-white);
	border-radius: var(--rc-card-radius);
	box-shadow: var(--rc-shadow);
	padding: 36px;
	width: 100%;
	max-width: 460px;
}

.rc-register-card.rc-wizard {
	max-width: 620px;
}

/* ---- Wizard step indicator ---- */

.rc-steps {
	display: flex;
	justify-content: space-between;
	margin: 4px 0 26px;
	position: relative;
}

.rc-steps::before {
	content: "";
	position: absolute;
	top: 15px;
	left: 30px;
	right: 30px;
	height: 2px;
	background: #ece7f8;
	z-index: 0;
}

.rc-step {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex: 1;
}

.rc-step-circle {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #ece7f8;
	color: var(--rc-ink-soft);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	transition: background .2s, color .2s;
}

.rc-step.rc-active .rc-step-circle {
	background: var(--rc-primary);
	color: #fff;
}

.rc-step.rc-done .rc-step-circle {
	background: var(--rc-ink);
	color: #fff;
}

.rc-step-label {
	font-size: 11px;
	color: var(--rc-ink-soft);
	text-align: center;
	max-width: 70px;
}

.rc-step.rc-active .rc-step-label { color: var(--rc-ink); font-weight: 600; }

/* ---- Wizard panels ---- */

.rc-step-panel { display: none; }
.rc-step-panel.rc-visible { display: block; }

.rc-step-panel h2 {
	font-size: 17px;
	margin: 0 0 4px;
}

.rc-step-panel p.rc-step-sub {
	color: var(--rc-ink-soft);
	font-size: 13px;
	margin: 0 0 18px;
}

.rc-tc-box {
	max-height: 220px;
	overflow-y: auto;
	border: 1px solid #ece7f8;
	border-radius: 12px;
	padding: 14px 16px;
	font-size: 12.5px;
	line-height: 1.7;
	color: var(--rc-ink);
	margin-bottom: 16px;
	background: #fbfaff;
}

.rc-tc-box strong { display: block; margin-top: 10px; }
.rc-tc-box strong:first-child { margin-top: 0; }

.rc-consent-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.5;
	padding: 12px 14px;
	background: var(--rc-pink-light);
	border-radius: 12px;
	cursor: pointer;
}

.rc-consent-check input {
	margin-top: 3px;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.rc-wizard-nav {
	display: flex;
	gap: 10px;
	margin-top: 24px;
}

.rc-wizard-nav .rc-btn-primary { flex: 1; }
.rc-wizard-nav .rc-btn-secondary {
	padding: 13px 20px;
	border-radius: 12px;
}

/* ---- Child card ---- */

.rc-child-card {
	border: 1px solid #ece7f8;
	border-radius: 14px;
	padding: 16px;
	margin-bottom: 14px;
	background: #fbfaff;
}

.rc-child-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}

.rc-child-card-head strong { font-size: 13px; }

.rc-add-child-btn2 {
	background: none;
	border: 1px dashed #cfc4ea;
	border-radius: 10px;
	padding: 10px 14px;
	color: var(--rc-primary);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	width: 100%;
}

.rc-add-child-btn2:hover { background: var(--rc-pink-light); }

/* ---- Payment step ---- */

.rc-payment-amount {
	text-align: center;
	background: linear-gradient(120deg, var(--rc-primary), var(--rc-purple));
	color: #fff;
	border-radius: 14px;
	padding: 16px;
	margin-bottom: 18px;
}

.rc-payment-amount .rc-amount-num { font-size: 26px; font-weight: 700; display: block; }
.rc-payment-amount .rc-amount-label { font-size: 12px; opacity: .85; }

.rc-qr-box {
	border: 2px dashed #e5e0f5;
	border-radius: 14px;
	padding: 24px;
	text-align: center;
	margin-bottom: 18px;
	color: var(--rc-ink-soft);
	font-size: 13px;
}

.rc-qr-box img { max-width: 220px; width: 100%; border-radius: 10px; }

.rc-payment-steps {
	font-size: 13px;
	color: var(--rc-ink-soft);
	margin: 0 0 18px;
	padding-left: 18px;
}

.rc-payment-steps li { margin-bottom: 4px; }

.rc-referral-card { margin-bottom: 24px; }

.rc-referral-code-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.rc-referral-code {
	font-family: monospace;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 1px;
	background: var(--rc-pink-light);
	color: var(--rc-primary-dark);
	padding: 8px 16px;
	border-radius: 10px;
}

.rc-promo-feedback {
	font-size: 12.5px;
	margin: 6px 0 0;
	display: none;
}

.rc-promo-feedback.rc-visible { display: block; }
.rc-promo-feedback.rc-promo-valid { color: #1f8a4d; }
.rc-promo-feedback.rc-promo-invalid { color: #c0324a; }

/* ---- Hobby tick-boxes ---- */

.rc-hobby-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 7px 16px;
	margin-top: 8px;
}

@media (max-width: 480px) {
	.rc-hobby-grid { grid-template-columns: 1fr; }
}

.rc-hobby-chip {
	display: flex;
	align-items: flex-start;
	gap: 6px;
	padding: 3px 4px;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.35;
	cursor: pointer;
	transition: background .15s;
}

.rc-hobby-chip:hover { background: var(--rc-pink-light); }

.rc-hobby-chip input {
	width: 16px;
	height: 16px;
	margin: 1px 0 0;
	flex-shrink: 0;
	accent-color: var(--rc-primary);
}

.rc-hobby-chip.rc-checked { background: var(--rc-pink-light); color: var(--rc-primary-dark); font-weight: 600; }

.rc-hobby-other-input {
	margin-top: 8px;
	width: 100%;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #e5e0f5;
	font-size: 13px;
	font-family: inherit;
	display: none;
}

.rc-hobby-other-input.rc-visible { display: block; }

/* ---- Price breakdown ---- */

.rc-price-card {
	border: 1px solid #ece7f8;
	border-radius: 14px;
	padding: 4px 16px;
	margin-bottom: 16px;
	background: #fbfaff;
}

.rc-price-row {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
	border-bottom: 1px solid #ece7f8;
	font-size: 13.5px;
}

.rc-price-row:last-child { border-bottom: none; }

.rc-price-row .rc-icon {
	width: 14px;
	height: 14px;
	vertical-align: -2px;
	margin-right: 4px;
	color: var(--rc-primary);
}

.rc-price-row.rc-price-total {
	font-weight: 700;
	font-size: 15px;
	color: var(--rc-primary-dark);
}

.rc-feature-section { margin-bottom: 18px; }

.rc-feature-heading {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--rc-ink);
	margin-bottom: 10px;
}

.rc-feature-heading .rc-icon { width: 14px; height: 14px; color: #1f8a4d; }

.rc-feature-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	margin-bottom: 14px;
}

@media (max-width: 480px) {
	.rc-feature-grid { grid-template-columns: 1fr; }
}

.rc-feature-card {
	background: var(--rc-pink-light);
	border-radius: 12px;
	padding: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rc-feature-card .rc-icon {
	width: 18px;
	height: 18px;
	color: var(--rc-primary);
}

.rc-feature-card span {
	font-size: 12px;
	line-height: 1.45;
	color: var(--rc-ink);
}

.rc-feature-excluded {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff0f0;
	color: #c0324a;
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 12px;
}

.rc-feature-excluded .rc-icon { width: 13px; height: 13px; }

.rc-value-note {
	font-size: 13px;
	line-height: 1.7;
	color: var(--rc-ink);
	background: var(--rc-lavender-light);
	border-radius: 14px;
	padding: 14px 16px;
	margin-bottom: 16px;
}

.rc-value-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--rc-ink);
	color: #fff;
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 11.5px;
	font-weight: 700;
	margin-bottom: 10px;
}

.rc-value-badge .rc-icon { width: 12px; height: 12px; }

.rc-register-card .rc-logo {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	margin: 0 auto 16px;
	background: linear-gradient(135deg, var(--rc-primary), var(--rc-pink));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 20px;
}

.rc-register-card h1 {
	font-size: 19px;
	margin: 0 0 4px;
	text-align: center;
}

.rc-register-card p.rc-sub {
	color: var(--rc-ink-soft);
	font-size: 13px;
	margin: 0 0 20px;
	text-align: center;
}

.rc-privacy-note {
	background: var(--rc-pink-light);
	border-radius: 14px;
	padding: 14px 16px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--rc-ink);
	margin-bottom: 22px;
}

.rc-privacy-note strong {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
}

.rc-section-label {
	font-size: 13px;
	font-weight: 700;
	margin: 22px 0 10px;
	color: var(--rc-ink-soft);
	text-transform: uppercase;
	letter-spacing: .03em;
}

.rc-child-row {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
	align-items: center;
}

.rc-child-row input {
	flex: 1;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #e5e0f5;
	font-size: 14px;
	font-family: inherit;
}

.rc-child-remove {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	border: 1px solid #e5e0f5;
	background: #fff;
	color: var(--rc-ink-soft);
	cursor: pointer;
	flex-shrink: 0;
	font-size: 16px;
	line-height: 1;
}

.rc-child-remove:hover { background: #fff0f0; color: #c0324a; }

.rc-add-child-btn {
	background: none;
	border: 1px dashed #cfc4ea;
	border-radius: 10px;
	padding: 8px 14px;
	color: var(--rc-primary);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	font-family: inherit;
	width: 100%;
}

.rc-add-child-btn:hover { background: var(--rc-pink-light); }

.rc-auth-switch {
	text-align: center;
	margin-top: 18px;
	font-size: 13px;
	color: var(--rc-ink-soft);
}

.rc-auth-switch a {
	color: var(--rc-primary);
	font-weight: 600;
	text-decoration: none;
}

/* ---- Forms (diamond check-in, etc.) ---- */

.rc-form-card {
	max-width: 640px;
}

.rc-field textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid #e5e0f5;
	font-size: 14px;
	font-family: inherit;
	resize: vertical;
}

.rc-field textarea:focus,
.rc-field select:focus {
	outline: none;
	border-color: var(--rc-primary);
}

.rc-field select {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid #e5e0f5;
	font-size: 14px;
	font-family: inherit;
	background: #fff;
}

.rc-field-static {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid #e5e0f5;
	font-size: 14px;
	font-family: inherit;
	background: var(--rc-pink-light);
	color: var(--rc-ink-soft);
	box-sizing: border-box;
}

.rc-field-row {
	display: flex;
	gap: 16px;
}

.rc-field-row .rc-field { flex: 1; }

.rc-autocomplete {
	position: relative;
}

.rc-autocomplete-list {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #e5e0f5;
	border-radius: 12px;
	box-shadow: 0 12px 30px rgba(90,70,160,.12);
	max-height: 220px;
	overflow-y: auto;
	z-index: 10;
	display: none;
}

.rc-autocomplete-list.rc-visible { display: block; }

.rc-autocomplete-list div {
	padding: 10px 14px;
	font-size: 14px;
	cursor: pointer;
}

.rc-autocomplete-list div:hover { background: var(--rc-pink-light); }

.rc-photo-upload {
	border: 2px dashed #e5e0f5;
	border-radius: 14px;
	padding: 20px;
	text-align: center;
	cursor: pointer;
	color: var(--rc-ink-soft);
	font-size: 13px;
}

.rc-photo-upload:hover { border-color: var(--rc-primary); }

.rc-photo-upload img {
	max-width: 100%;
	max-height: 160px;
	border-radius: 10px;
	display: block;
	margin: 0 auto 8px;
}

/* Square-framed variant, used for the team photo — 320x320 with a face
   alignment guide so parents can center everyone before uploading. */
.rc-photo-upload.rc-square {
	width: 320px;
	max-width: 100%;
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.rc-photo-upload.rc-square img {
	width: 100%;
	height: 100%;
	max-height: none;
	object-fit: cover;
	margin: 0;
}

.rc-photo-guide {
	position: absolute;
	inset: 14px;
	border: 2px dashed var(--rc-primary);
	border-radius: 12px;
	opacity: .5;
	pointer-events: none;
}

.rc-success {
	background: #eefaf1;
	color: #1f8a4d;
	border-radius: 10px;
	padding: 10px 12px;
	font-size: 13px;
	margin-bottom: 16px;
	display: none;
}

.rc-success.rc-visible { display: block; }

/* ---- Voice recorder ---- */

.rc-recorder {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 20px;
	background: var(--rc-pink-light);
	border-radius: 16px;
}

.rc-record-btn {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	border: none;
	background: var(--rc-primary);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s, transform .1s;
}

.rc-record-btn svg { width: 26px; height: 26px; }
.rc-record-btn:hover { transform: scale(1.05); }
.rc-record-btn.rc-recording { background: #e0325a; animation: rc-pulse 1.2s infinite; }

@keyframes rc-pulse {
	0% { box-shadow: 0 0 0 0 rgba(224,50,90,.4); }
	70% { box-shadow: 0 0 0 14px rgba(224,50,90,0); }
	100% { box-shadow: 0 0 0 0 rgba(224,50,90,0); }
}

.rc-record-status {
	font-size: 13px;
	color: var(--rc-ink-soft);
	font-weight: 600;
}

.rc-recorder audio {
	width: 100%;
	margin-top: 6px;
}

.rc-record-actions {
	display: flex;
	gap: 8px;
}

.rc-btn-secondary {
	padding: 8px 16px;
	border-radius: 10px;
	border: 1px solid #e5e0f5;
	background: #fff;
	font-size: 13px;
	cursor: pointer;
	font-family: inherit;
}

.rc-storyteller-tag {
	display: inline-block;
	background: var(--rc-lavender-light);
	border-radius: 999px;
	padding: 2px 10px;
	font-size: 12px;
	font-weight: 600;
	margin-right: 6px;
}

/* ---- Leaderboard ---- */

.rc-leader-rank.rc-rank-1 { background: #f6d675; color: #7a5b00; }
.rc-leader-rank.rc-rank-2 { background: #dfe3ea; color: #55606e; }
.rc-leader-rank.rc-rank-3 { background: #f0c9a0; color: #7a4a1a; }
.rc-leader-rank .rc-icon { width: 12px; height: 12px; }

.rc-lb-tab.active {
	background: var(--rc-ink);
	color: #fff;
	border-color: var(--rc-ink);
}

.rc-leader-row.rc-me {
	background: var(--rc-pink-pale);
	border-radius: 12px;
	padding-left: 8px;
	padding-right: 8px;
}

.rc-badge-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #f4f1fb;
}

.rc-badge-item:last-child { border-bottom: none; }

.rc-badge-icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--rc-purple), var(--rc-pink));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 16px;
	flex-shrink: 0;
}

.rc-badge-icon .rc-icon { width: 16px; height: 16px; }

.rc-badge-name { font-weight: 600; font-size: 14px; }
.rc-badge-date { font-size: 12px; color: var(--rc-ink-soft); }

/* ---- Life Wheel ---- */

.rc-lw-period-label {
	color: var(--rc-primary-dark) !important;
	font-weight: 600;
	margin-top: 4px !important;
}

.rc-lw-domain-group {
	border-radius: 14px;
	padding: 16px 18px;
	margin-bottom: 16px;
	border-left: 4px solid transparent;
}

.rc-lw-domain-heading { margin: 0 0 10px; }

.rc-lw-domain-personal { background: var(--rc-lavender-light); border-left-color: var(--rc-primary); }
.rc-lw-domain-partner { background: var(--rc-pink-pale); border-left-color: var(--rc-pink); }
.rc-lw-domain-family { background: #fbfaff; border-left-color: var(--rc-purple); }

.rc-lw-trend-wrap {
	background: #fbfaff;
	border: 1px solid #ece7f8;
	border-radius: 14px;
	padding: 14px 16px;
	margin-bottom: 20px;
}

.rc-lw-trend-header,
.rc-lw-trend-row {
	display: grid;
	grid-template-columns: 1fr 44px 24px 44px;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
}

.rc-lw-trend-header {
	font-weight: 700;
	color: var(--rc-ink-soft);
	padding-bottom: 8px;
	border-bottom: 1px solid #ece7f8;
	margin-bottom: 6px;
}

.rc-lw-trend-header span:nth-child(2),
.rc-lw-trend-header span:nth-child(4),
.rc-lw-trend-score { text-align: center; }

.rc-lw-trend-row { padding: 5px 0; }

.rc-lw-trend-score { font-weight: 700; }

.rc-lw-trend-arrow { text-align: center; font-weight: 700; display:flex; justify-content:center; }
.rc-lw-trend-arrow .rc-icon { width: 13px; height: 13px; }
.rc-lw-trend-arrow.rc-lw-up { color: #1f8a4d; }
.rc-lw-trend-arrow.rc-lw-down { color: #c0324a; }
.rc-lw-trend-arrow.rc-lw-flat { color: var(--rc-ink-soft); }

/* ---- Submission guidelines box ---- */

.rc-guidelines-box {
	background: var(--rc-pink-light);
	border-radius: 14px;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--rc-ink);
}

.rc-guidelines-box strong {
	display: block;
	margin-bottom: 8px;
	font-size: 13px;
}

.rc-guidelines-box p { margin: 0 0 8px; }
.rc-guidelines-box p:last-child { margin-bottom: 0; }

.rc-guidelines-box .rc-guidelines-note {
	color: var(--rc-primary-dark);
	font-weight: 600;
}

/* ---- Family Reading Project: hero + Part 1 / Part 2 sections ---- */

.rc-family-hero {
	background: linear-gradient(135deg, var(--rc-purple) 0%, var(--rc-primary) 60%, var(--rc-pink) 130%);
	border-radius: var(--rc-card-radius);
	padding: 24px 30px;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

.rc-family-hero-illustration { flex-shrink: 0; display: block; }

@media (max-width: 900px) {
	.rc-family-hero { flex-direction: column; text-align: center; }
	.rc-family-hero-illustration { width: 130px; height: auto; }
}

.rc-story-tagline {
	margin: 0;
	font-size: 23px;
	font-weight: 700;
	line-height: 1.5;
}

@media (max-width: 600px) {
	.rc-story-tagline { font-size: 19px; }
}

.rc-part-title {
	font-size: 15px;
	font-weight: 800;
	color: var(--rc-primary-dark);
	margin: 28px 0 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--rc-pink-light);
}

.rc-part-title:first-of-type { margin-top: 4px; }

.rc-motivation-quote {
	background: linear-gradient(120deg, var(--rc-lavender-light), var(--rc-pink-light));
	border-radius: 14px;
	padding: 14px 18px;
	margin-bottom: 16px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--rc-ink);
}

/* ---- Sidebar logo image ---- */

.rc-sidebar .rc-logo.rc-logo-img {
	background: rgba(255, 255, 255, 0.92);
	padding: 5px;
}

.rc-sidebar .rc-logo.rc-logo-img img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

/* ---- Latest photo cards (dashboard) ---- */

.rc-latest-photos-grid { grid-template-columns: 1fr 1fr; }

.rc-insta-post {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #f1eefb;
}

.rc-insta-post-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
}

.rc-insta-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--rc-purple), var(--rc-pink));
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.rc-insta-post-meta {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.rc-insta-post-name { font-weight: 700; font-size: 13px; }
.rc-insta-post-date { font-size: 12px; color: var(--rc-ink-soft); }

.rc-insta-post-photo {
	width: 100%;
	height: 320px;
	object-fit: cover;
	display: block;
	background: var(--rc-pink-light);
}

.rc-insta-post-caption {
	padding: 10px 12px;
	font-size: 13px;
	color: var(--rc-ink-soft);
}

@media (max-width: 900px) {
	.rc-latest-photos-grid { grid-template-columns: 1fr; }
}

/* ---- This week's events ---- */


.rc-event-item {
	border: 1px solid #f1eefb;
	border-radius: 16px;
	padding: 16px 18px;
	margin-bottom: 14px;
}

.rc-event-item:last-child { margin-bottom: 0; }

.rc-event-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.rc-event-name {
	font-weight: 700;
	font-size: 15px;
}

.rc-event-name-en {
	font-weight: 500;
	font-size: 12px;
	color: var(--rc-ink-soft);
}

.rc-event-tagline {
	font-size: 12px;
	color: var(--rc-ink-soft);
	margin-top: 2px;
}

.rc-event-mode-tag {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: var(--rc-pink-light);
	color: var(--rc-primary-dark);
	border-radius: 999px;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.rc-event-mode-tag .rc-icon { width: 13px; height: 13px; }

.rc-event-mode-tag.rc-mode-online { background: var(--rc-lavender-light); color: var(--rc-primary-dark); }

.rc-event-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 10px;
	font-size: 13px;
	color: var(--rc-ink-soft);
}

.rc-event-meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.rc-event-meta .rc-icon { width: 14px; height: 14px; color: var(--rc-primary); }

.rc-rsvp {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed #f1eefb;
}

.rc-rsvp-status {
	font-size: 12px;
	font-weight: 600;
	color: var(--rc-primary-dark);
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.rc-rsvp-status .rc-icon { width: 13px; height: 13px; }

.rc-rsvp-toggle {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-bottom: 10px;
	font-size: 13px;
}

.rc-rsvp-toggle label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; cursor: pointer; }

.rc-rsvp-meal-label { font-weight: 600; color: var(--rc-ink); }

.rc-rsvp-row {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 10px;
	font-size: 13px;
}

.rc-rsvp-row label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }

.rc-rsvp-row input[type="number"] {
	width: 90px;
	padding: 8px 10px;
	border-radius: 10px;
	border: 1px solid #e5e0f5;
	font-size: 14px;
	font-family: inherit;
}

.rc-rsvp-submit { margin-top: 4px; }

.rc-rsvp-confirm-btn { padding: 10px; font-size: 13px; }

.rc-rsvp-form-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 4px;
}

.rc-rsvp-cancel {
	background: none;
	border: none;
	color: var(--rc-ink-soft);
	font-size: 13px;
	font-family: inherit;
	cursor: pointer;
	padding: 8px 4px;
}
.rc-rsvp-cancel:hover { color: var(--rc-ink); text-decoration: underline; }



