/* Study Quest — examplan.css (V7.7 "Steady ground", builder v77-examplan): THE HELD EXAM PLAN (js/ui-examplan.js).
 * 1. The Opsada's card "Your plan, held" on the vellum page (planner.css's colours: new #2f5a9a lapis, final review #b36a0f, over
 *    #a8321e): flat colour and the planner's hatching for days off; no gradients. Text on #f4ecdb: ink 15:1, ink-2 9.6:1, meta 8:1.
 * 2. The character select's plan line on each champion and on the chosen hero's plate (Ember & Iron: gold text on the dark roll). */
.xp-card { margin: 14px 0 4px; padding: 12px 14px 12px; border: 1px solid var(--nk-rule, #cdbf9f); border-radius: 4px; background: #fbf6ea; }
.xp-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.xp-head > b { font: 600 17px/1.2 var(--nk-read, Georgia, serif); color: var(--nk-ink, #211a12); cursor: help; }
.xp-way { font: 500 12.5px/1.3 var(--nk-ui, sans-serif); color: var(--nk-meta, #5a4a33); }
.xp-head .xp-btn { margin-left: auto; }
.xp-btn { height: 26px; padding: 0 10px; border: 1px solid #2f5a9a; border-radius: 4px; background: #2f5a9a; color: #f8f2e4; font: 600 12px/1 var(--nk-ui, sans-serif); cursor: pointer; white-space: nowrap; }
.xp-btn:hover { background: #24497f; }
.xp-btn--ghost { background: #fffaf0; color: var(--nk-ink-2, #3b2f20); border-color: var(--nk-rule, #cdbf9f); }
.xp-btn--ghost:hover { background: #f1e7d2; }
.xp-today { margin: 8px 0 8px; font: 400 14.5px/1.45 var(--nk-read, Georgia, serif); color: var(--nk-ink-2, #3b2f20); }
.xp-today b { color: var(--nk-ink, #211a12); font-weight: 600; }
.xp-strip { position: relative; display: flex; align-items: stretch; gap: 1px; height: 104px; padding: 0 0 18px; border-bottom: 1px solid #8a7656; }
.xp-day, .xp-exam { position: relative; flex: 1 1 0; min-width: 2px; display: flex; flex-direction: column; justify-content: flex-end; }
.xp-day { cursor: pointer; }
.xp-day.xp-past { cursor: default; }
.xp-col { position: relative; flex: 1 1 auto; display: block; }
.xp-day.xp-off .xp-col { background: repeating-linear-gradient(135deg, #efe5cf 0 3px, #e1d3b5 3px 6px); }
.xp-day.xp-fin:not(.xp-off) .xp-col { background: rgba(179, 106, 15, .10); }
.xp-day.xp-today .xp-col { box-shadow: inset 0 0 0 1.5px #c2410c; background-color: rgba(194, 65, 12, .07); }
.xp-day:not(.xp-past):hover .xp-col { box-shadow: inset 0 0 0 1px #2f5a9a; }
.xp-day.xp-today:hover .xp-col { box-shadow: inset 0 0 0 1.5px #c2410c, inset 0 0 0 3px rgba(47, 90, 154, .5); }
.xp-col i { position: absolute; left: 0; right: 0; bottom: 0; display: block; }
.xp-col i.xp-hb { left: 0; right: 0; border: 1.5px solid #6b5a40; border-bottom: 0; background: #fffaf0; box-sizing: border-box; }
.xp-col i.xp-db { left: 2px; right: 2px; background: #1f5f8a; }
.xp-col i.xp-db.xp-part { background: #1f5f8a; }
.xp-day.xp-miss .xp-col i.xp-hb { border-color: #a8321e; background: repeating-linear-gradient(135deg, #fffaf0 0 3px, #f3d9cf 3px 5px); }
.xp-col i.xp-mk { left: 50%; bottom: 3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #a8321e; }
.xp-col i.xp-nb { background: #2f5a9a; opacity: .78; }
.xp-day.xp-fin .xp-col i.xp-nb { background: #b36a0f; }
.xp-col i.xp-hl { height: 0; border-top: 2px solid #211a12; margin-bottom: -2px; }   /* its top edge on the held number */
.xp-exam .xp-col { background: #8a2414; max-width: 12px; }
.xp-exam { flex: 0 0 12px; }
.xp-lab { position: absolute; top: 100%; margin-top: 3px; left: 0; white-space: nowrap; font: 500 11px/1 var(--nk-ui, sans-serif); color: #54442f; pointer-events: none; }
.xp-day.xp-today .xp-lab { color: #9a330a; font-weight: 700; }
.xp-exam .xp-lab { left: auto; right: 0; color: #8a2414; font-weight: 700; }
.xp-legend { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; font: 500 12px/1 var(--nk-ui, sans-serif); color: var(--nk-ink-2, #3b2f20); }
.xp-legend i { display: inline-block; width: 11px; height: 11px; margin-right: 5px; vertical-align: -2px; border-radius: 1px; }
.xp-legend i.xp-lg-h { background: #fffaf0; box-shadow: inset 0 0 0 1.5px #6b5a40; }
.xp-legend i.xp-lg-d { background: #1f5f8a; }
.xp-legend i.xp-lg-n { background: #2f5a9a; opacity: .78; }
.xp-legend i.xp-lg-m { background: repeating-linear-gradient(135deg, #fffaf0 0 3px, #f3d9cf 3px 5px); box-shadow: inset 0 0 0 1.5px #a8321e; }
.xp-legend i.xp-lg-o { background: repeating-linear-gradient(135deg, #efe5cf 0 3px, #e1d3b5 3px 6px); box-shadow: inset 0 0 0 1px #cdbf9f; }
.xp-legend i.xp-lg-f { background: rgba(179, 106, 15, .35); }
.xp-stats { font: 500 13px/1.45 var(--nk-ui, sans-serif); color: var(--nk-ink-2, #3b2f20); }
.xp-good { color: #1d6b56; font-weight: 700; }
.xp-bad { color: #8a2414; font-weight: 700; }
.xp-acts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 9px; }
.xp-small { font: 500 12px/1.35 var(--nk-ui, sans-serif); color: var(--nk-meta, #5a4a33); }
.xp-nofit { margin-top: 10px; padding: 10px 12px; border: 1px solid #a8321e; border-radius: 4px; background: rgba(168, 50, 30, .06); font: 400 14px/1.45 var(--nk-read, Georgia, serif); color: var(--nk-ink-2, #3b2f20); display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.xp-nofit b { color: #8a2414; font-weight: 700; }

/* 2. the character select (dark roll, gold text: world-ui.css's glue-select) */
.glue-select .glue-row__plan { font: 600 12.5px/1.3 var(--cx-font-num, sans-serif) !important; color: var(--cx-text, #e8dcc0); cursor: help; }
.glue-select .glue-row__plan.is-wait { color: var(--cx-text-dim, #b9a985); font-style: italic; cursor: default; }
.glue-select .glue-row__plan .glue-row__min { color: var(--cx-gold-text, #e9c47a); font-weight: 700; }
.glue-select .glue-row__plan em { font-style: normal; font-weight: 700; color: #f08a6a; }
.glue-select .glue-row__plan.st-ahead em { color: #8fd3a8; }
.glue-select .glue-row__plan.st-nofit em { color: #f08a6a; }
.glue-select .glue-row__first { margin-left: 8px; vertical-align: 3px; font-size: 10px; text-shadow: none; cursor: help; }
.glue-select .glue-row__first, .glue-select__first { display: inline-block; margin-right: 6px; padding: 1px 6px 2px; border-radius: 3px; background: #7a2e12; box-shadow: inset 0 0 0 1px #e2b56a; color: #ffe2a8; font: 700 11px/1.35 var(--cx-font-num, sans-serif); letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.glue-select__plan { display: block; margin-top: 6px; font: 500 14px/1.35 var(--cx-font-num, sans-serif); color: var(--cx-text, #e8dcc0); text-shadow: 0 1px 2px #000, 0 0 6px rgba(0, 0, 0, .85); cursor: help; }
.glue-select__plan b { color: var(--cx-gold-text, #e9c47a); font-weight: 700; }
.glue-select__plan em { font-style: normal; font-weight: 700; color: #f08a6a; }
.glue-select__plan em.st-ahead { color: #8fd3a8; }
.glue-select__first { font-size: 12px; margin-right: 8px; text-shadow: none; }
@media (max-width: 719px), (max-height: 519px) {
  .glue-select .glue-row__plan { font-size: 11.5px !important; }
  .glue-select .glue-row__plan em, .glue-select .glue-row__plan .glue-row__exam { display: none; }
  .glue-select__plan { font-size: 12px; margin-top: 3px; }
}
/* V7.8 r5 (v78-planner): .xp-cu = the two-part line (steady track + catch-up, or ahead) and the final review's "cleared at 4"; flat colour, no gradients */
.xp-cu { margin: 6px 0 2px; font: 600 14px/1.4 var(--nk-ui, sans-serif); color: var(--nk-ink-2, #3b2f20); }
.xp-cu .xp-good { color: #1f5f3a; }
.xp-clear { margin: 0 0 6px; font: 500 13px/1.4 var(--nk-ui, sans-serif); color: var(--nk-ink-2, #3b2f20); }
/* V7.8 r5 (v78-planner): the two-part row line ("≈ 57 min today · + 20 min catch-up · exam in 6 days") is longer: it wraps inside the roll, never cut */
.glue-select .glue-row .codex-row__meta.glue-row__plan { white-space: normal; overflow: visible; text-overflow: clip; }
/* V7.8 r5 (v78-planner): the rating plates' "before the exam" / "in the final review" on a second line under the interval (never cut off) */
.st-r .st-meta.st-iv.has-ex { white-space: pre-line; overflow: visible; text-overflow: clip; line-height: 1.25; }
