@font-face {
	font-family: "ShuqbaTakreem";
	src: url("/assets/fonts/font_01.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #f5f3ec;
	--surface: #ffffff;
	--surface-soft: #fbfaf6;
	--ink: #18332d;
	--text: var(--ink);
	--muted: #6d7d78;
	--brand: #123f34;
	--brand-2: #1d5b4b;
	--brand-soft: #e9f2ee;
	--gold: #c59a45;
	--gold-soft: #f6edd8;
	--danger: #a53b3b;
	--danger-soft: #fff0f0;
	--warning: #8a641c;
	--warning-soft: #fff7df;
	--border: #dfe5e1;
	--shadow: 0 24px 70px rgba(25, 56, 48, .12);
	--radius-lg: 28px;
	--radius-md: 18px;
	--radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	min-height: 100vh;
	font-family: "ShuqbaTakreem", Tahoma, "Segoe UI", Arial, sans-serif;
	background:
		radial-gradient(circle at 8% 4%, rgba(197, 154, 69, .12), transparent 28rem),
		linear-gradient(180deg, #f8f7f1 0%, var(--bg) 100%);
	color: var(--ink);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button, label, select, input[type="checkbox"] { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.skip-link {
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 999;
	padding: 10px 14px;
	background: #fff;
	color: var(--brand);
	border-radius: 10px;
	transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.ambient { position: fixed; border-radius: 999px; filter: blur(1px); pointer-events: none; z-index: -1; opacity: .55; }
.ambient-one { width: 220px; height: 220px; background: rgba(32, 106, 87, .08); top: 18vh; right: -110px; }
.ambient-two { width: 260px; height: 260px; background: rgba(197, 154, 69, .09); bottom: 4vh; left: -130px; }

.shell { width: min(1120px, calc(100% - 28px)); margin-inline: auto; }
.site-header { padding: 18px 0 10px; }
.brand-wrap { display: flex; align-items: center; gap: 12px; }
.brand-mark {
	width: 48px; height: 48px; flex: 0 0 auto;
	display: grid; place-items: center;
	background: linear-gradient(145deg, var(--brand), #0f3028);
	border: 1px solid rgba(255,255,255,.22);
	box-shadow: 0 10px 28px rgba(18,63,52,.18);
	border-radius: 16px;
}
.brand-mark svg { width: 30px; height: 30px; fill: none; stroke: #e8c77d; stroke-width: 2; }
.brand-kicker { margin: 0 0 1px; color: var(--muted); font-size: .78rem; }
.brand-title { margin: 0; font-size: 1rem; line-height: 1.25; }
.environment-badge { margin-inline-start: auto; padding: 6px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #fff2c4; color: #704e00; border: 1px solid #f0d77e; }

.main-shell { padding-bottom: 40px; }
.event-banner {
	position: relative; overflow: hidden;
	margin-top: 10px;
	padding: 26px 22px;
	border-radius: var(--radius-lg);
	background:
		linear-gradient(120deg, rgba(255,255,255,.04), transparent 48%),
		linear-gradient(140deg, #123f34, #0d332a 72%);
	color: #fff;
	box-shadow: var(--shadow);
}
.event-banner::after {
	content: ""; position: absolute; inset: auto -70px -90px auto;
	width: 230px; height: 230px; border-radius: 50%;
	border: 36px solid rgba(218, 185, 111, .08);
}
.event-copy { position: relative; z-index: 1; max-width: 720px; }
.edition-pill { display: inline-flex; padding: 6px 12px; border: 1px solid rgba(238, 209, 145, .35); border-radius: 999px; background: rgba(255,255,255,.07); color: #f1d99f; font-size: .76rem; font-weight: 700; }
.event-banner h2 { margin: 14px 0 8px; font-size: clamp(1.45rem, 5vw, 2.35rem); line-height: 1.45; letter-spacing: -.02em; }
.event-banner p { margin: 0; color: rgba(255,255,255,.77); font-size: .95rem; }
.event-ornament { display: none; }

.notice { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding: 13px 15px; border: 1px solid #ecd9a5; border-radius: 16px; background: #fff9e9; color: #644d19; }
.notice div { display: grid; gap: 1px; }
.notice strong { font-size: .92rem; }
.notice span, .notice.compact { font-size: .8rem; }
.notice.compact { justify-content: flex-start; }
.text-button { border: 0; background: transparent; color: var(--brand); font-weight: 700; white-space: nowrap; padding: 8px; }

.registration-card { margin-top: 18px; background: var(--surface); border: 1px solid rgba(18,63,52,.08); border-radius: var(--radius-lg); box-shadow: 0 18px 55px rgba(23, 58, 49, .08); overflow: hidden; }
.progress-area { padding: 18px 18px 0; }
.progress-head { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 9px; }
.progress-head span { color: var(--muted); font-size: .74rem; }
.progress-head strong { font-size: .9rem; }
.progress-track { height: 6px; border-radius: 999px; background: #edf0ee; overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), #dfc177); transition: width .35s ease; }

.wizard-step { display: none; padding: 24px 18px 22px; animation: stepIn .25s ease; }
.wizard-step.active { display: block; }
@keyframes stepIn { from { opacity: .35; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.eyebrow { margin: 0 0 5px; color: var(--gold); font-weight: 800; font-size: .78rem; }
.section-title { margin: 0; font-size: clamp(1.35rem, 5.5vw, 2rem); line-height: 1.45; letter-spacing: -.02em; }
.section-lead { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }
.section-head { margin-bottom: 22px; }

.welcome-layout { display: grid; gap: 22px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.feature-list li { display: flex; gap: 11px; padding: 13px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-soft); }
.feature-list div { display: grid; gap: 2px; }
.feature-list strong { font-size: .88rem; }
.feature-list small { color: var(--muted); line-height: 1.55; }
.mini-icon { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: var(--brand-soft); color: var(--brand); font-weight: 900; }
.welcome-actions { margin-top: 22px; }
.privacy-note { margin: 9px 0 0; color: var(--muted); font-size: .72rem; text-align: center; }

.category-grid { display: grid; gap: 12px; }
.category-card { position: relative; display: grid; grid-template-columns: 48px 1fr 26px; align-items: center; gap: 12px; padding: 16px; border: 1.5px solid var(--border); border-radius: 18px; background: #fff; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
.category-card:hover { transform: translateY(-1px); box-shadow: 0 8px 26px rgba(18,63,52,.07); }
.category-card input { position: absolute; opacity: 0; pointer-events: none; }
.category-card:has(input:checked) { border-color: var(--brand); background: #f5faf8; box-shadow: inset 0 0 0 1px var(--brand); }
.category-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--brand-soft); color: var(--brand); font-weight: 900; font-size: 1.15rem; }
.category-copy { display: grid; gap: 3px; }
.category-copy strong { font-size: .93rem; }
.category-copy small { color: var(--muted); line-height: 1.5; }
.check-dot { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); color: transparent; font-size: .72rem; }
.category-card:has(input:checked) .check-dot { color: #fff; background: var(--brand); border-color: var(--brand); }

.form-grid { display: grid; gap: 15px; }
.field { min-width: 0; }
.field label { display: block; margin-bottom: 6px; font-size: .84rem; font-weight: 700; }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field input[type="number"], .field select, .field textarea {
	width: 100%; min-height: 50px; border: 1px solid #ccd7d2; border-radius: 13px; background: #fff; color: var(--ink); padding: 11px 12px; outline: 0; transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(29,91,75,.10); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c65c5c; background: #fffafa; }
.required { color: #a33636; }
.optional { color: var(--muted); font-size: .69rem; font-weight: 500; }
.helper { display: block; margin-top: 5px; color: var(--muted); font-size: .7rem; }
.field-error { min-height: 0; margin-top: 4px; color: var(--danger); font-size: .74rem; font-weight: 600; }
.page-error { margin-top: 12px; }
.inline-check { display: flex; align-items: center; gap: 7px; margin-top: 7px; color: var(--muted); font-size: .76rem; }
.inline-check label { margin: 0; font-weight: 500; }
.inline-check input, .consent-row input { width: 18px; height: 18px; accent-color: var(--brand); }
.toggle-row { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid #ccd7d2; border-radius: 13px; }
.switch { position: relative; display: inline-flex !important; margin: 0 !important; }
.switch input { position: absolute; opacity: 0; }
.switch span { display: block; width: 43px; height: 25px; border-radius: 999px; background: #cfd7d3; transition: .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; right: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); transition: .2s; }
.switch input:checked + span { background: var(--brand); }
.switch input:checked + span::after { transform: translateX(-18px); }

.subsection { margin-top: 24px; padding-top: 20px; border-top: 1px dashed #d7dfdb; }
.subsection-title { display: grid; gap: 3px; margin-bottom: 15px; }
.subsection-title span { font-weight: 800; }
.subsection-title small { color: var(--muted); }

.track-panel { margin-top: 16px; padding: 17px; border: 1px solid var(--border); border-radius: 20px; background: linear-gradient(180deg, #fff, #fbfcfb); }
.track-panel + .track-panel { margin-top: 14px; }
.track-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 17px; }
.track-heading h3 { margin: 0; font-size: 1rem; }
.track-heading p { margin: 2px 0 0; color: var(--muted); font-size: .75rem; }
.track-letter { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: 0 0 auto; background: var(--brand); color: #f2dca5; font-weight: 900; }
.policy-note { margin-top: 13px; padding: 10px 12px; border-radius: 12px; background: var(--warning-soft); color: var(--warning); font-size: .77rem; }

.eligibility-assistant {
	margin-top: 2px;
	padding: 15px;
	border: 1px solid var(--border);
	border-radius: 17px;
	background: #f8faf9;
}
.eligibility-assistant[data-state="ok"] { border-color: #b9d9cb; background: #f1f8f5; }
.eligibility-assistant[data-state="review"] { border-color: #ead69e; background: var(--warning-soft); }
.eligibility-assistant-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.eligibility-assistant-head strong { font-size: .86rem; }
.eligibility-badge { padding: 5px 9px; border-radius: 999px; background: #e9eeec; color: var(--muted); font-size: .68rem; font-weight: 800; white-space: nowrap; }
.eligibility-assistant[data-state="ok"] .eligibility-badge { background: #dfeee7; color: var(--brand); }
.eligibility-assistant[data-state="review"] .eligibility-badge { background: #f4e6b9; color: var(--warning); }
.eligibility-assistant p { margin: 8px 0 0; color: var(--muted); font-size: .77rem; line-height: 1.65; }
.eligibility-details { margin: 9px 0 0; padding: 0 18px 0 0; color: var(--ink); font-size: .74rem; }
.eligibility-details:empty { display: none; }
.eligibility-details li + li { margin-top: 4px; }
.eligibility-assistant > small { display: block; margin-top: 9px; color: var(--muted); font-size: .66rem; }
#membershipRelation:disabled { background: #f1f3f2; color: #87928e; cursor: not-allowed; }

.upload-list { display: grid; gap: 12px; margin-top: 16px; }
.upload-card { display: grid; grid-template-columns: 44px 1fr; gap: 10px 12px; padding: 15px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface-soft); }
.upload-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; background: var(--brand-soft); color: var(--brand); font-weight: 900; }
.upload-copy { min-width: 0; display: grid; gap: 2px; }
.upload-copy strong { font-size: .86rem; }
.upload-copy small { color: var(--muted); font-size: .69rem; }
.upload-status { margin-top: 6px; color: var(--muted); font-size: .73rem; word-break: break-word; }
.upload-status.success { color: var(--brand-2); font-weight: 700; }
.upload-status.error { color: var(--danger); font-weight: 700; }
.upload-status.loading { color: var(--warning); }
.upload-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 9px; }
.file-button { position: relative; overflow: hidden; flex: 1; text-align: center; }
.file-button input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.danger-link { border: 0; background: transparent; color: var(--danger); padding: 10px; font-size: .76rem; font-weight: 700; }

.review-warnings { display: grid; gap: 8px; margin-bottom: 15px; }
.warning-item { padding: 11px 13px; border-radius: 13px; background: var(--warning-soft); color: var(--warning); font-size: .78rem; }
.review-content { display: grid; gap: 12px; }
.review-group { border: 1px solid var(--border); border-radius: 17px; overflow: hidden; }
.review-group h3 { margin: 0; padding: 12px 14px; background: #f4f7f5; font-size: .86rem; }
.review-grid { display: grid; grid-template-columns: 1fr; }
.review-item { padding: 11px 14px; border-top: 1px solid #edf0ee; }
.review-item span { display: block; color: var(--muted); font-size: .68rem; }
.review-item strong { display: block; margin-top: 2px; font-size: .82rem; word-break: break-word; }

.consent-box { margin-top: 18px; display: grid; gap: 8px; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--border); border-radius: 14px; cursor: pointer; }
.consent-row input { margin-top: 3px; flex: 0 0 auto; }
.consent-row span { display: grid; gap: 2px; }
.consent-row strong { font-size: .78rem; line-height: 1.6; }
.consent-row small { color: var(--muted); font-size: .68rem; }
.optional-consent { background: #fbfbfb; }
.ready-box { margin-top: 18px; display: flex; gap: 12px; align-items: flex-start; padding: 15px; border-radius: 17px; background: var(--brand-soft); color: var(--brand); }
.ready-icon { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 50%; flex: 0 0 auto; background: var(--brand); color: #fff; font-weight: 900; }
.ready-box strong { font-size: .9rem; }
.ready-box p { margin: 3px 0 0; font-size: .75rem; color: #456b61; }

.primary-button, .secondary-button { min-height: 48px; border-radius: 13px; padding: 10px 17px; font-weight: 800; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease; }
.primary-button { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 8px 20px rgba(18,63,52,.16); }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 10px 25px rgba(18,63,52,.2); }
.primary-button:disabled, .secondary-button:disabled { cursor: not-allowed; opacity: .5; transform: none; box-shadow: none; }
.secondary-button { color: var(--brand); background: #fff; border-color: #cdd9d4; }
.wide { width: 100%; }
.wizard-nav { position: sticky; bottom: 0; z-index: 8; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 13px 14px calc(13px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.draft-state { text-align: center; color: var(--muted); font-size: .67rem; }
.form-alert { margin: 0 18px 12px; padding: 11px 13px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-size: .78rem; font-weight: 700; }

.public-footer { padding: 22px 4px 4px; text-align: center; color: var(--muted); }
.public-footer p { margin: 0; font-size: .8rem; font-weight: 700; color: var(--brand); }
.public-footer span { font-size: .65rem; }
.toast { position: fixed; z-index: 1000; bottom: calc(18px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(92%, 420px); padding: 12px 15px; border-radius: 14px; background: #153a31; color: #fff; box-shadow: 0 14px 40px rgba(0,0,0,.18); font-size: .78rem; text-align: center; }

@media (min-width: 720px) {
	.shell { width: min(1120px, calc(100% - 48px)); }
	.site-header { padding-top: 26px; }
	.brand-mark { width: 54px; height: 54px; }
	.brand-title { font-size: 1.1rem; }
	.event-banner { padding: 38px 40px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
	.event-copy { max-width: 700px; }
	.event-ornament { position: relative; z-index: 1; width: 150px; height: 150px; border: 1px solid rgba(232,199,125,.25); border-radius: 50%; display: grid; place-items: center; align-content: center; flex: 0 0 auto; color: #f0dcae; }
	.event-ornament::before, .event-ornament::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(232,199,125,.14); }
	.event-ornament::before { inset: 11px; }
	.event-ornament::after { inset: 22px; }
	.event-ornament span { font-weight: 900; font-size: 1.2rem; }
	.event-ornament small { font-size: .8rem; color: rgba(255,255,255,.55); }
	.registration-card { margin-top: 22px; }
	.progress-area { padding: 24px 34px 0; }
	.wizard-step { padding: 34px 34px 30px; }
	.welcome-layout { grid-template-columns: 1.1fr .9fr; gap: 38px; align-items: start; }
	.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 18px; }
	.field.full { grid-column: 1 / -1; }
	.category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.category-card { grid-template-columns: 1fr; align-content: start; text-align: right; min-height: 205px; }
	.category-icon { width: 52px; height: 52px; }
	.check-dot { position: absolute; top: 14px; left: 14px; }
	.track-panel { padding: 22px; }
	.upload-card { grid-template-columns: 50px 1fr auto; align-items: center; }
	.upload-actions { grid-column: auto; min-width: 190px; justify-content: end; }
	.file-button { flex: initial; min-width: 120px; }
	.review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.review-item:nth-child(even) { border-right: 1px solid #edf0ee; }
	.wizard-nav { padding-inline: 34px; }
}

@media (min-width: 1040px) {
	.registration-card { width: min(900px, 100%); margin-inline: auto; }
	.notice.draft-notice { width: min(900px, 100%); margin-inline: auto; margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* TK9-007 — Submission & Reference System */
.result-view { padding: 34px 22px 30px; text-align: center; }
.result-view[hidden] { display: none; }
.result-seal { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 2rem; font-weight: 900; box-shadow: 0 14px 34px rgba(18,63,52,.18); }
.tracking-seal { font-size: 1.5rem; }
.reference-card { margin: 24px auto 18px; width: min(100%, 520px); padding: 22px 18px; border: 1px solid #dbe5e1; border-radius: 20px; background: linear-gradient(180deg, #fff, #f7fbf9); box-shadow: 0 12px 34px rgba(28,58,50,.07); }
.reference-card span, .reference-card small { display: block; color: var(--muted); }
.reference-card span { font-size: .74rem; margin-bottom: 6px; }
.reference-card strong { display: block; direction: ltr; unicode-bidi: isolate; color: var(--brand); font-size: clamp(1.55rem, 7vw, 2.25rem); letter-spacing: .04em; }
.reference-card small { margin-top: 7px; font-size: .78rem; font-weight: 800; color: #8a6b2d; }
.compact-reference { margin-top: 20px; }
.result-meta { width: min(100%, 620px); margin: 0 auto 18px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.result-meta > div { padding: 13px; border: 1px solid var(--border); border-radius: 14px; background: #fff; text-align: right; }
.result-meta span { display: block; color: var(--muted); font-size: .68rem; margin-bottom: 4px; }
.result-meta strong { display: block; color: var(--text); font-size: .82rem; overflow-wrap: anywhere; }
.private-link-box { width: min(100%, 680px); margin: 20px auto; text-align: right; }
.private-link-box label { display: block; margin-bottom: 7px; font-weight: 800; color: var(--text); font-size: .8rem; }
.private-link-box input { width: 100%; min-height: 46px; border: 1px solid #cfdad6; border-radius: 12px; padding: 10px 12px; background: #f7faf9; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .7rem; text-align: left; }
.private-link-box small { display: block; margin-top: 7px; color: var(--muted); font-size: .65rem; line-height: 1.7; }
.result-actions { width: min(100%, 680px); margin: 18px auto 0; display: grid; gap: 9px; }
.button-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.result-new-button { margin-top: 19px; }
.tracking-home { margin-top: 22px; }
.tracking-view .section-lead { max-width: 620px; margin-inline: auto; }

@media (min-width: 720px) {
	.result-view { padding: 48px 42px 42px; }
	.result-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.result-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* TK9-008 — Application Tracking */
.tracking-credentials-box .tracking-link-label { margin-top: 16px; }
.tracking-lookup {
	width: min(100%, 640px);
	margin: 24px auto 0;
	padding: 18px;
	border: 1px solid var(--border);
	border-radius: 18px;
	background: #fbfdfc;
	display: grid;
	gap: 13px;
	text-align: right;
}
.tracking-lookup .field { margin: 0; }
.tracking-lookup input {
	width: 100%;
	min-height: 48px;
	border: 1px solid #cfdad6;
	border-radius: 12px;
	padding: 10px 12px;
	background: #fff;
}
.tracking-security-note {
	margin: 0;
	color: var(--muted);
	font-size: .68rem;
	line-height: 1.8;
	text-align: center;
}
.committee-note,
.tracking-history-card,
.revision-panel {
	width: min(100%, 680px);
	margin: 18px auto;
	padding: 17px;
	border: 1px solid var(--border);
	border-radius: 18px;
	background: #fff;
	text-align: right;
}
.committee-note {
	background: #fff9ea;
	border-color: #ead9a9;
}
.committee-note span {
	display: block;
	color: #8a6b2d;
	font-size: .68rem;
	font-weight: 800;
	margin-bottom: 5px;
}
.committee-note p,
.revision-note {
	margin: 0;
	color: var(--text);
	font-size: .82rem;
	line-height: 1.85;
}
.tracking-card-head h3 {
	margin: 1px 0 0;
	color: var(--text);
	font-size: .98rem;
}
.tracking-card-head .eyebrow { margin: 0; }
.tracking-history {
	list-style: none;
	margin: 15px 0 0;
	padding: 0;
	display: grid;
	gap: 9px;
}
.tracking-history li {
	position: relative;
	padding: 11px 38px 11px 12px;
	border-radius: 13px;
	background: #f6f9f7;
	border: 1px solid #e5ece9;
}
.tracking-history li::before {
	content: "✓";
	position: absolute;
	right: 12px;
	top: 12px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--brand-soft);
	color: var(--brand);
	font-size: .65rem;
	font-weight: 900;
}
.tracking-history strong {
	display: block;
	font-size: .76rem;
	color: var(--text);
}
.tracking-history span {
	display: block;
	margin-top: 3px;
	font-size: .65rem;
	color: var(--muted);
}
.revision-panel {
	background: linear-gradient(180deg, #fff, #fbfdfc);
	border-color: #cddbd5;
	box-shadow: 0 14px 34px rgba(24,67,56,.06);
}
.revision-scope-note {
	margin: 8px 0 17px;
	padding: 10px 12px;
	border-radius: 12px;
	background: var(--brand-soft);
	color: #416b60;
	font-size: .7rem;
	line-height: 1.8;
}
.revision-fields { margin-top: 14px; }
.revision-file-field {
	grid-column: 1 / -1;
	padding: 14px;
	border: 1px dashed #bdcec7;
	border-radius: 14px;
	background: #f9fbfa;
}
.revision-file-field input[type="file"] {
	width: 100%;
	margin-top: 8px;
	font-size: .72rem;
}
.revision-file-status {
	display: block;
	margin-top: 7px;
	font-size: .69rem;
	color: var(--muted);
}
.revision-file-status.success { color: var(--brand-2); font-weight: 800; }
.revision-file-status.error { color: var(--danger); font-weight: 800; }
.revision-file-status.loading { color: var(--warning); font-weight: 800; }
.revision-checkbox {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: #fff;
}
.revision-checkbox input { width: 18px; height: 18px; }
.revision-alert { margin: 14px 0 0; }
.tracking-change-button { margin-top: 10px; }
.status-new { color: #8a6b2d !important; }
.status-under-review { color: #315f8b !important; }
.status-needs-edit { color: #a15d15 !important; }
.status-approved { color: #147148 !important; }
.status-not-eligible { color: var(--danger) !important; }

@media (min-width: 720px) {
	.tracking-lookup { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
	.tracking-lookup .page-error,
	.tracking-lookup .primary-button,
	.tracking-lookup .tracking-security-note { grid-column: 1 / -1; }
}

/* TK9-013 — Communication & Tracking Recovery */
.tracking-share-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.whatsapp-button {
	min-height: 48px;
	border: 1px solid #1f7a55;
	border-radius: 14px;
	background: #eef8f3;
	color: #15563d;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	padding: 0.8rem 1rem;
}
.whatsapp-button:hover { background: #e3f4eb; }
.manual-token-details { width: min(100%, 680px); margin: 12px auto 0; color: var(--muted); font-size: .78rem; }
.manual-token-details summary { cursor: pointer; }
.manual-token-details .text-button { margin-top: 8px; }
.tracking-recovery-entry {
	grid-column: 1 / -1;
	text-align: center;
	border-top: 1px dashed #d7dfdb;
	padding-top: 12px;
}
.tracking-recovery-entry p { margin: 5px 0 0; color: var(--muted); font-size: .78rem; }
.tracking-recovery-panel {
	width: min(100%, 820px);
	margin: 18px auto 0;
	padding: 20px;
	border: 1px solid #d8e2dd;
	border-radius: 20px;
	background: #fbfdfc;
	text-align: right;
}
.recovery-public-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recovery-public-form .full { grid-column: 1 / -1; }
.recovery-public-actions { display: flex; gap: 10px; justify-content: flex-start; }
.tracking-share-card {
	margin-top: 16px;
	padding: 15px;
	border: 1px solid #d8e2dd;
	border-radius: 16px;
	background: #f8fbf9;
	text-align: right;
}
.tracking-share-card p { margin: 4px 0 12px; color: var(--muted); font-size: .78rem; }
.tracking-inline-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tracking-inline-actions > * { flex: 1 1 150px; }
@media (max-width: 620px) {
	.tracking-share-actions,
	.recovery-public-form { grid-template-columns: 1fr; }
	.recovery-public-form .full { grid-column: auto; }
	.recovery-public-actions { flex-direction: column; }
}


/* TK9-014 — verified honoree identity on success/tracking */
.result-identity-line{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:1rem auto;padding:.9rem 1rem;max-width:720px;border:1px solid var(--line,#d8e2dc);border-radius:16px;background:rgba(255,255,255,.62)}
.result-identity-line span{color:var(--muted,#66756e);font-size:.9rem}.result-identity-line strong{color:var(--ink,#123f35);font-size:1.05rem;text-align:left}

/* TK9-PUB-002 — Turnstile / public security checks */
.public-security-check {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin: 14px 0 18px;
	padding: 14px 16px;
	border: 1px solid #d5e2dc;
	border-radius: 16px;
	background: linear-gradient(180deg, #fbfdfc, #f5faf7);
}
.public-security-check > div:first-child { min-width: 0; }
.public-security-check strong { display: block; color: var(--brand); font-size: .9rem; }
.public-security-check small { display: block; margin-top: 4px; color: var(--muted); line-height: 1.7; }
.turnstile-widget-slot { min-width: 1px; min-height: 1px; }
.turnstile-widget-slot[data-security-state="error"]::before {
	content: "تعذر تحميل التحقق الأمني. تحقق من الاتصال ثم حاول مرة أخرى.";
	display: block;
	max-width: 310px;
	color: var(--danger);
	font-size: .75rem;
	font-weight: 800;
	line-height: 1.7;
}
.recovery-security-check { background: #f8fbf9; }
@media (max-width: 720px) {
	.public-security-check { align-items: stretch; flex-direction: column; }
	.turnstile-widget-slot { width: 100%; }
}

/* TK9-PUB-003 — Draft & temporary-file lifecycle */
.draft-storage-choice {
	margin-top: 12px;
	padding: 12px 13px;
	border: 1px solid #d7e1dd;
	border-radius: 14px;
	background: #f8fbfa;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 10px;
	text-align: right;
	cursor: pointer;
}
.draft-storage-choice input { margin-top: 4px; inline-size: 18px; block-size: 18px; accent-color: var(--brand); }
.draft-storage-choice strong { display: block; color: var(--text); font-size: .78rem; }
.draft-storage-choice small { display: block; margin-top: 3px; color: var(--muted); font-size: .66rem; line-height: 1.75; }
