/* BPA AP Business Challenge — teacher front-end. Brand navy #00263E / red #C8102E / gold #C6AA76. */
.bpa-abc-pub { --navy:#00263E; --red:#C8102E; --gold:#C6AA76;
	max-width: 860px; margin: 0 auto; color: #1e293b;
	font-family: var(--wp--preset--font-family--neutraface-text, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif); }
.bpa-abc-pub * { box-sizing: border-box; }
.bpa-abc-pub-title { margin: 0 0 2px; color: var(--navy); font-size: 1.6rem;
	font-family: var(--wp--preset--font-family--josefin-sans, inherit); }
.bpa-abc-pub-sub { color: #64748b; margin: 0 0 16px; font-weight: 600; }

.bpa-abc-pub-msg { padding: 12px 14px; border-radius: 8px; margin: 12px 0; font-weight: 600; }
.bpa-abc-pub-msg.is-success { background: #dcfce7; color: #166534; }
.bpa-abc-pub-msg.is-error { background: #fee2e2; color: #991b1b; }
.bpa-abc-pub-note { background: #f1f5f9; border-left: 4px solid var(--navy); padding: 12px 14px; border-radius: 8px; color: #475569; }

.bpa-abc-pub-teams { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 20px; }
.bpa-abc-pub-team { display: block; text-decoration: none; background: #fff; border: 1px solid #e2e8f0;
	border-radius: 12px; padding: 12px 16px; min-width: 180px; border-left: 4px solid var(--navy); color: #1e293b; }
.bpa-abc-pub-team.is-on { border-left-color: var(--red); box-shadow: 0 2px 8px rgba(0,38,62,.1); }
.bpa-abc-pub-team-n { display: block; font-weight: 700; color: var(--navy); }
.bpa-abc-pub-team-s { display: block; font-size: .8rem; color: #64748b; margin-top: 2px; }

.bpa-abc-pub-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 20px 22px; margin: 18px 0; }
.bpa-abc-pub-card h3 { margin-top: 0; color: var(--navy); font-family: var(--wp--preset--font-family--josefin-sans, inherit); }

.bpa-abc-pub-form label { display: block; font-weight: 600; color: #334155; margin: 14px 0 4px; font-size: .92rem; }
.bpa-abc-pub-form input[type=text], .bpa-abc-pub-form textarea {
	width: 100%; padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-weight: 400; }
.bpa-abc-pub-form textarea { resize: vertical; }
.bpa-abc-pub-count { display: inline-block; font-size: .8rem; color: #64748b; font-weight: 600; margin-top: 4px; }
.bpa-abc-pub-count.over { color: var(--red); }
.bpa-abc-pub-rlabel { font-weight: 700; color: #334155; margin: 16px 0 6px; }
.bpa-abc-pub-mrow { display: flex; gap: 8px; margin-bottom: 8px; }
.bpa-abc-pub-mrow input:first-child { flex: 1 1 60%; }
.bpa-abc-pub-mrow input:last-child { flex: 1 1 30%; }

.bpa-abc-pub-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; align-items: center; }
.bpa-abc-pub-btn { background: var(--navy); color: #fff; border: none; padding: 10px 22px; border-radius: 24px;
	font-weight: 700; cursor: pointer; font: inherit; font-weight: 700; text-decoration: none; display: inline-block; }
.bpa-abc-pub-btn:hover { background: #001a2b; }
.bpa-abc-pub-btn.ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.bpa-abc-pub-btn[disabled], .bpa-abc-pub-btn.is-disabled { opacity: .45; cursor: not-allowed; }
.bpa-abc-pub-btn[disabled]:hover { background: var(--navy); }

/* ---- multi-section instrument ---- */
.bpa-abc-instrument { margin-top: 8px; }
.bpa-abc-section { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px 22px; margin: 16px 0;
	border-top: 4px solid var(--navy); }
.bpa-abc-section-title { margin: 0 0 4px; color: var(--navy); font-size: 1.2rem;
	font-family: var(--wp--preset--font-family--josefin-sans, inherit); }
.bpa-abc-section-intro { color: #475569; margin: 0 0 8px; font-size: .92rem; }
.bpa-abc-group { color: var(--red); text-transform: uppercase; letter-spacing: .04em; font-size: .82rem;
	margin: 20px 0 2px; border-bottom: 1px solid #f1f5f9; padding-bottom: 4px; }

.bpa-abc-field { margin: 14px 0; }
.bpa-abc-field label { display: block; font-weight: 600; color: #334155; margin: 0 0 3px; font-size: .92rem; }
.bpa-abc-field input[type=text], .bpa-abc-field input[type=email], .bpa-abc-field input[type=tel],
.bpa-abc-field input[type=date], .bpa-abc-field select, .bpa-abc-field textarea {
	width: 100%; padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; }
.bpa-abc-field textarea { resize: vertical; }
.bpa-abc-field input[type=file] { font: inherit; font-size: .9rem; }
.bpa-abc-help { color: #64748b; font-size: .82rem; margin: 0 0 5px; font-weight: 400; }
.bpa-abc-req { color: var(--red); font-weight: 700; }
.bpa-abc-opt { color: #94a3b8; font-weight: 400; font-size: .8rem; }
.bpa-abc-count { display: inline-block; font-size: .8rem; color: #64748b; font-weight: 600; margin-top: 4px; }
.bpa-abc-count.over { color: var(--red); }
.bpa-abc-link { color: var(--red); font-weight: 600; text-decoration: underline; font-size: .85rem; }
.bpa-abc-note-inline { color: #64748b; font-size: .82rem; }

/* checkboxes / consent */
.bpa-abc-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important;
	color: #334155; font-size: .9rem; line-height: 1.4; cursor: pointer; }
.bpa-abc-check input { margin-top: 3px; flex: 0 0 auto; width: 18px; height: 18px; }

/* team member blocks */
.bpa-abc-member { border: 1px dashed #cbd5e1; border-radius: 12px; padding: 12px 16px; margin: 12px 0; background: #f8fafc; }
.bpa-abc-member-title { margin: 0 0 6px; color: var(--navy); font-size: 1rem; }

.bpa-abc-gate-note { color: #64748b; font-size: .84rem; margin: 8px 0 0; }

/* status chips */
.bpa-abc-status-submitted { color: #166534 !important; }
.bpa-abc-status-waitlist { color: #92400e !important; }
.bpa-abc-status-ineligible { color: #991b1b !important; }
.bpa-abc-status-draft { color: #64748b !important; }

/* ---- Rules & Consent documents ([bpa_abc_rules], [bpa_abc_consent]) ---- */
.bpa-abc-doc { max-width: 820px; line-height: 1.6; color: #1f2937; }
.bpa-abc-doc-eyebrow { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 700; color: var(--red); margin: 0 0 2px; }
.bpa-abc-doc h2 { color: var(--navy); font-size: 1.18rem; margin: 26px 0 8px; padding-bottom: 6px; border-bottom: 2px solid #eef2f7; }
.bpa-abc-doc ul, .bpa-abc-doc ol { padding-left: 22px; margin: 8px 0; }
.bpa-abc-doc li { margin: 6px 0; }
.bpa-abc-doc p { margin: 8px 0; }
.bpa-abc-doc-foot { margin-top: 28px; padding-top: 12px; border-top: 1px solid #e2e8f0; color: #94a3b8; font-size: .85rem; }
.bpa-abc-consent-form { margin-top: 8px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; }
.bpa-abc-consent-form .req { color: var(--red); }
.bpa-abc-consent-form .bpa-abc-field { margin: 0 0 14px; }
.bpa-abc-consent-form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.bpa-abc-consent-form input[type=text], .bpa-abc-consent-form input[type=email], .bpa-abc-consent-form select {
	width: 100%; max-width: 460px; padding: 9px 11px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: .95rem; }
.bpa-abc-consent-boxes { margin: 16px 0; padding: 14px; background: #f8fafc; border-radius: 10px; }
.bpa-abc-consent-boxes .bpa-abc-check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-weight: 500; color: #334155; }
.bpa-abc-consent-boxes .bpa-abc-check:last-child { margin-bottom: 0; }
.bpa-abc-consent-boxes .bpa-abc-check input { margin-top: 3px; }
.bpa-abc-consent-form .bpa-abc-help { color: #64748b; font-size: .85rem; margin: 4px 0 0; font-weight: 400; }
.bpa-abc-submit { margin: 18px 0 0; }
.bpa-abc-btn { display: inline-block; background: var(--navy); color: #fff; border: 0; border-radius: 8px;
	padding: 11px 22px; font-size: 1rem; font-weight: 700; cursor: pointer; }
.bpa-abc-btn:hover { background: #013a5e; }

/* Rules document: the stage timeline. A definition-style table rather than prose,
   because four dated milestones are what an adviser scans for. */
.bpa-abc-doc-table { width: 100%; max-width: 640px; border-collapse: collapse; margin: 14px 0 18px; }
.bpa-abc-doc-table th,
.bpa-abc-doc-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #e3e7eb; }
.bpa-abc-doc-table th { width: 44%; font-weight: 600; color: var(--navy); }
@media (max-width: 560px) {
	.bpa-abc-doc-table th,
	.bpa-abc-doc-table td { display: block; border-bottom: 0; padding: 2px 0; }
	.bpa-abc-doc-table th { width: auto; padding-top: 10px; }
	.bpa-abc-doc-table tr { display: block; border-bottom: 1px solid #e3e7eb; padding-bottom: 8px; }
}

/* Phase list: the three self-contained registrations. A locked phase is visibly
   unavailable rather than absent, so a student can see the ladder they are on. */
.bpa-abc-phases { margin: 18px 0 22px; }
.bpa-abc-phase-list { list-style: none; margin: 8px 0 0; padding: 0; }
.bpa-abc-phase { display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	border: 1px solid #e3e7eb; border-radius: 8px; padding: 12px 14px; margin: 0 0 8px; background: #fff; }
.bpa-abc-phase.is-on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.bpa-abc-phase.is-locked { opacity: .62; }
.bpa-abc-phase-n { font-weight: 700; color: var(--navy); flex: 1 1 240px; }
.bpa-abc-phase-s { color: #5B6B7B; font-size: 13px; }
@media (max-width: 560px) { .bpa-abc-phase-n { flex-basis: 100%; } }
