/* Demo "fran-noll": one rule on top of the kit's replicas. */

/* Two panes in a narrow stage: less side air, so the Kursplan chip of task 1 stands whole */
@container rp (min-width: 761px) and (max-width: 1000px) {
  .fran-noll-window .rp-questions { padding-left: 18px; padding-right: 18px; }
  .fran-noll-window .rp-task-body { padding-right: 8px; }
  .fran-noll-window .rp-task-body .rp-field { padding-right: 8px; }
}

/* Mark at the foot of an open Årskurs / Ämne list: the timeline scrolls Hem to it */
.fran-noll-at { position: absolute; left: 0; top: calc(100% + 8px - var(--rp-vh)); width: 1px; height: 1px; visibility: hidden; pointer-events: none; }

/* The plan card is taller than the crop: less air above it, room under it for the Områden list */
.fran-noll-window { --rp-plan-top: 14px; }
.fran-noll-window .rp-plan.is-revealed { margin-bottom: 250px; }
[data-demo="fran-noll"] .rp-plan-row:nth-child(6) { scroll-margin-top: calc(var(--rp-vh) - 340px); }
/* The list is in the top layer in the app, above the AI box: the card goes above the box while the list is open */
.fran-noll-window .rp-plan:has(.rp-plan-pop:not([hidden])) { position: relative; z-index: 6; }

.fran-noll-subject-note { display: block; font-size: .75rem; opacity: .75; }
