/* Carnet Prep: same Carnet system as Abroad; only Prep's own components live here. */

.onb-points { display: flex; flex-direction: column; gap: 12px; color: rgba(255,255,255,.86); font-size: 14px; }
.onb-points svg { color: var(--lime); flex: none; }

/* Schools board */
.board { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.board-col { background: var(--canvas-raised); border: 0; border-radius: var(--r-lg); padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.board-h { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px; font-size: 13.5px; }
.school-card { display: flex; flex-direction: column; gap: 6px; text-align: left; border: 0; background: var(--surface); border-radius: var(--r); padding: 12px 14px; color: var(--ink); min-width: 0; box-shadow: none; transition: transform .15s, border-color .15s; }
.school-card:hover { transform: translateY(-1px); background: var(--surface-3); }
.school-card b { font-size: 14px; line-height: 1.3; }
@media (max-width: 1099px) { .board { grid-template-columns: repeat(5, minmax(220px, 1fr)); } }

/* Pipeline and trend */
.pipeline { display: flex; flex-direction: column; gap: 10px; }
.pipe-row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 28px; gap: 10px; align-items: center; }
.trend { display: flex; align-items: flex-end; gap: 12px; height: 180px; padding-top: 10px; overflow-x: auto; }
.trend-col { flex: 1 0 54px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.trend-bar { width: 100%; max-width: 64px; border-radius: 12px 12px 6px 6px; background: var(--lav); display: flex; justify-content: center; padding-top: 6px; color: var(--ink); font-size: 12px; }
.term .t td { padding: 6px; }

/* CV */
.cv-group + .cv-group { margin-top: 16px; }
.cv-group .eyebrow { margin-bottom: 4px; }
.cv-doc { background: #fff; color: #1C1B19; border-radius: 12px; padding: 22px; border: 1px solid var(--line); font-size: 13px; }
.cv-doc h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; color: #2E2450; }
.cv-doc h4 { margin: 16px 0 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #5E578F; border-bottom: 1px solid #E6E6F0; padding-bottom: 4px; }
.cv-item { margin-bottom: 8px; }
.cv-item b { display: block; font-size: 13px; }
.cv-item span { display: block; font-size: 11.5px; color: #77756D; }
.cv-item p { margin-top: 3px; color: #3C3A36; }
@media (min-width: 961px) { .cv-preview { position: sticky; top: 100px; } }

/* Letters */
.letter-text { min-height: 320px; font-size: 14.5px; line-height: 1.65; }
.letter-snippet { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Country chips */
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-flex; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 13px; font-weight: 500; cursor: pointer; transition: background .15s, border-color .15s; }
.chip-check input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip-check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Masterplan */
.mp-tabs { align-self: flex-start; max-width: 100%; overflow-x: auto; display: inline-flex; flex-wrap: nowrap; }
.mp-tabs button { white-space: nowrap; }
.mp-table td, .mp-table th { padding: 8px 6px; }
.mp-table .rk { width: 76px; text-align: right; }
.mp-star { width: 40px; }
.mp-star .icon-btn.on { color: var(--sand); }
.mp-star .icon-btn.on svg { fill: currentColor; }
.mp-short { display: flex; flex-direction: column; gap: 12px; }
.mp-short h3 { font-size: 16px; line-height: 1.3; }
.mp-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.mp-facts > span { display: flex; flex-direction: column; gap: 4px; }
.mp-facts small, .mp-notes small { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--ink-3); }
.mp-notes { margin-top: 12px; gap: 12px; }
.grid.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .grid.g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mp-rk { margin-top: 6px; }
.sem-grid { display: grid; grid-template-columns: repeat(6, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; min-width: 940px; }
.sem { background: var(--surface-2); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.sem-h { display: flex; justify-content: space-between; align-items: baseline; padding: 0 2px 2px; font-size: 13px; }
.course { display: flex; flex-direction: column; gap: 2px; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 7px 9px; font-size: 12.5px; line-height: 1.35; color: var(--ink); }
.course small { font-size: 11px; color: var(--ink-3); }
.course:hover { border-color: var(--lav); }
.course.el { border-style: dashed; border-color: var(--line-2); }
.course.shared { background: var(--lav-soft); border-color: transparent; }
.course.add { flex-direction: row; align-items: center; gap: 4px; color: var(--ink-3); background: transparent; border-style: dashed; }
.mp-bench td { vertical-align: top; }
.mp-cat { max-height: 52vh; overflow-y: auto; }
