/* src/components/jr/worksheet/worksheet.css — SJ2 Worksheet.
   Every number transcribed from
   art-source/design-sj2-2026-09-12/screens/SJ2 Worksheet.dc.html.

   Two deliberate differences, both written down in docs/DECISIONS.md:
     - her five `<input type="text">` are gone. A child's side of this app has no text input,
       ever (CLAUDE.md), so the answers are tap options or the app's own letter pad, drawn in
       her own tokens at her own sizes.
     - her Lexi is a dashed image slot ("LEXI guide art"); the picture exists, so it is drawn
       in the capsule's own geometry.

   The 30px Andika on a typeset passage is hers and is a floor, not a preference: it is the
   size anything a child reads to learn is set at. */

/* ---------------------------------------------------------------- the bar */
.jr-ws-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 72px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 20px;
  box-sizing: border-box;
  background: var(--sj-card);
  border-bottom: 1px solid var(--sj-line);
}

.jr-ws-close {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sj-stage);
  border: 1px solid var(--sj-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sj-ink);
}

.jr-ws-badge {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 11px;
  background: var(--sj-green-tint);
  border: 1px solid #c3dda9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sj-green-ink);
}

.jr-ws-title {
  flex: none;
  white-space: nowrap;
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 20px;
  color: var(--sj-ink);
}

.jr-ws-from {
  flex: none;
  white-space: nowrap;
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--sj-green-ink);
  background: var(--sj-green-tint);
  border: 1px solid #c3dda9;
  border-radius: var(--sj-r-pill);
  padding: 7px 14px;
}

.jr-ws-gap { flex: 1 1 auto; }

.jr-ws-pagelabel {
  flex: none;
  font-family: var(--sj-font);
  font-weight: 500;
  font-size: 17px;
  color: var(--sj-ink);
  white-space: nowrap;
}

.jr-ws-clock {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--sj-r-pill);
  background: var(--sj-green-tint);
  border: 1px solid #c3dda9;
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 17px;
  color: var(--sj-green-ink);
  white-space: nowrap;
}
.jr-ws-clockof { font-weight: 500; color: var(--sj-ink); }

.jr-ws-grownup {
  flex: none;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--sj-r-pill);
  background: var(--sj-teal-tint);
  border: 1px solid #c7e3f3;
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--sj-sky-ink);
  white-space: nowrap;
  text-decoration: none;
}

/* ---------------------------------------------------------------- the split */
.jr-ws-split {
  position: absolute;
  left: 0;
  right: 0;
  top: 72px;
  bottom: 0;
  display: flex;
}

.jr-ws-pane {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  background: #dbc9a8;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 14px;
  box-sizing: border-box;
}

.jr-ws-paperwrap { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; }

/* Their page, at the shape their page is. */
.jr-ws-paper {
  position: relative;
  height: 100%;
  aspect-ratio: 8.5 / 11;
  background: var(--sj-card);
  box-shadow: 0 18px 44px rgba(35, 50, 44, .34);
  border-radius: 3px;
  overflow: hidden;
}
.jr-ws-pageimg {
  width: 100%;
  height: 100%;
  display: block;
  background-color: var(--sj-card);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.jr-ws-pagemissing {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
  text-align: center;
}
.jr-ws-pagemissing-text { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--sj-ink); text-wrap: pretty; }

.jr-ws-asitcame {
  position: absolute;
  left: 0;
  top: 0;
  padding: 7px 14px;
  border-bottom-right-radius: 12px;
  background: var(--sj-ink);
  color: var(--sj-card);
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.jr-ws-turn { flex: none; display: flex; align-items: center; gap: 12px; }
.jr-ws-turnbtn {
  appearance: none;
  cursor: pointer;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 15px;
  background: var(--sj-card);
  border: 1.5px solid #d8ccb0;
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 17px;
  color: var(--sj-ink);
}
.jr-ws-turnbtn-off { background: #e9dfc9; color: #a89e8c; cursor: default; }

.jr-ws-dots { display: flex; align-items: center; gap: 7px; }
/* Same ruling and the same reasoning as .jr-st-dot in story.css (DECISIONS #126): her 16px
   page dot keeps every pixel and gains an invisible 44px-tall hit box, as wide as the dot plus
   half the 7px gap. Seven of them sit in a row, so a 44px-wide box each would take its
   neighbours' taps. */
.jr-ws-dot {
  position: relative;
  appearance: none;
  cursor: pointer;
  width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--sj-card);
  border: 1px solid #d8ccb0;
  padding: 0;
}
.jr-ws-dot::before {
  content: '';
  position: absolute;
  left: -3.5px;
  right: -3.5px;
  top: 50%;
  height: 44px;
  transform: translateY(-50%);
}
.jr-ws-dot-q { background: var(--sj-green-line); }
.jr-ws-dot-on { width: 34px; background: var(--sj-orange); border-color: var(--sj-orange-deep); }

/* ---- typeset mode ---- */
.jr-ws-typeset {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  background: #fffcf4;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(35, 50, 44, .3);
  overflow: hidden;
}
.jr-ws-typeset-head {
  flex: none;
  padding: 20px 40px 14px;
  border-bottom: 2px dashed #e8dec9;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.jr-ws-kind {
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sj-green-ink);
}
.jr-ws-typeset-title { font-family: var(--sj-font); font-weight: 700; font-size: 31px; line-height: 1.1; color: var(--sj-ink); text-wrap: pretty; }
.jr-ws-level { font-size: 17px; font-weight: 500; color: var(--sj-ink); }
.jr-ws-typeset-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 24px 44px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* 30px Andika. The floor for anything a child reads to learn. */
.jr-ws-para { margin: 0; font-family: var(--sj-font-story); font-size: 30px; line-height: 1.5; color: var(--sj-ink); text-wrap: pretty; }

/* ---------------------------------------------------------------- the rail */
.jr-ws-rail {
  flex: 0 0 430px;
  box-sizing: border-box;
  padding: 16px 18px 18px;
  background: var(--sj-stage);
  border-left: 1px solid var(--sj-line);
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.jr-ws-guide { flex: none; display: flex; align-items: flex-end; gap: 11px; }
.jr-ws-guide-art {
  flex: none;
  width: 96px;
  height: 140px;
  border-radius: 48px 48px 20px 20px;
  border: 2.5px solid var(--sj-green);
  background-color: #eaf7ef;
  background-size: cover;
  background-position: center top;
  display: block;
}
.jr-ws-guide-line {
  flex: 1 1 auto;
  min-width: 0;
  padding: 13px 15px;
  border-radius: 18px;
  background: #eaf7ef;
  border: 1.5px solid var(--sj-green-line);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.38;
  color: var(--sj-ink);
  text-wrap: pretty;
}
.jr-ws-guide-big .jr-ws-guide-art { width: 126px; height: 184px; border-radius: 64px 64px 24px 24px; }
.jr-ws-guide-big .jr-ws-guide-line { padding: 16px 18px; border-radius: 20px; font-size: 19px; line-height: 1.4; }

.jr-ws-readrail { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 12px; }

.jr-ws-readbtn {
  flex: none;
  appearance: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 60px;
  padding: 0 20px;
  border-radius: 18px;
  background: var(--sj-card);
  border: 2px solid var(--sj-line);
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 18px;
  color: var(--sj-ink);
}
.jr-ws-readbtn-on { background: #eaf7ef; border-color: var(--sj-green); color: var(--sj-green-ink); }

/* Her three bars. The animation is a scale, so it is transform-only already (ruling 3). */
.jr-ws-wave { flex: none; display: flex; align-items: flex-end; gap: 3px; height: 19px; }
.jr-ws-wave span,
.jr-ws-wave > span { width: 4px; height: 100%; border-radius: 2px; background: currentColor; display: block; }
.jr-ws-wave-a,
.jr-ws-wave-b,
.jr-ws-wave-c {
  width: 4px;
  height: 100%;
  border-radius: 2px;
  background: currentColor;
  display: block;
  animation: sj2-wave .9s ease-in-out infinite;
}
.jr-ws-wave-b { animation-delay: .15s; }
.jr-ws-wave-c { animation-delay: .3s; }

@keyframes sj2-wave {
  0%, 100% { transform: scaleY(.4); }
  50% { transform: scaleY(1); }
}

.jr-ws-tips,
.jr-ws-owner {
  background: var(--sj-card);
  border: 1px solid var(--sj-line);
  border-radius: 20px;
  padding: 15px 17px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.jr-ws-tips { flex: none; }
.jr-ws-owner { flex: 1 1 auto; min-height: 0; gap: 7px; overflow: hidden; }

.jr-ws-kicker {
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sj-green-ink);
}
.jr-ws-kicker-teal { color: var(--sj-teal-ink); }

.jr-ws-tip { display: flex; align-items: flex-start; gap: 10px; }
.jr-ws-tip-n {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #eaf7ef;
  border: 1px solid var(--sj-green-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 13px;
  color: var(--sj-green-ink);
}
.jr-ws-tip-text { flex: 1 1 auto; font-size: 16.5px; font-weight: 600; line-height: 1.38; color: var(--sj-ink); text-wrap: pretty; }

.jr-ws-owner-line { font-family: var(--sj-font); font-weight: 600; font-size: 18px; line-height: 1.3; color: var(--sj-ink); text-wrap: pretty; }
.jr-ws-owner-note { font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--sj-ink); text-wrap: pretty; }
.jr-ws-owner-link { margin-top: auto; align-self: flex-start; font-family: var(--sj-font); font-weight: 600; font-size: 16px; color: var(--sj-teal-ink); }

/* ---------------------------------------------------------------- the answers */
.jr-ws-answers {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  padding-right: 3px;
}
.jr-ws-answers-head { flex: none; display: flex; align-items: baseline; gap: 9px; }
.jr-ws-answers-title { font-family: var(--sj-font); font-weight: 700; font-size: 22px; color: var(--sj-ink); }
.jr-ws-answers-count { font-family: var(--sj-font); font-weight: 600; font-size: 15px; color: var(--sj-green-ink); white-space: nowrap; }
.jr-ws-answernote { flex: none; font-size: 16.5px; font-weight: 500; line-height: 1.4; color: var(--sj-ink); text-wrap: pretty; }

.jr-ws-question { margin: 0; font-family: var(--sj-font); font-weight: 600; font-size: 20px; line-height: 1.3; color: var(--sj-ink); text-wrap: pretty; }
.jr-ws-look {
  align-self: flex-start;
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--sj-teal-ink);
  background: var(--sj-teal-tint);
  border: 1px solid var(--sj-teal-line);
  border-radius: var(--sj-r-pill);
  padding: 5px 12px;
}

.jr-ws-options { display: flex; flex-direction: column; gap: 9px; }
/* A child's control, so it clears the 64px floor. */
.jr-ws-option {
  appearance: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--sj-card);
  border: 2px solid var(--sj-line);
  text-align: left;
  font-family: var(--sj-font-story);
  font-size: 19px;
  line-height: 1.3;
  color: var(--sj-ink);
}
/* CHOSEN is not the same as MATCHES THE PAGE. A tapped card takes the neutral sand tint, and
   only the one that matches takes her green and the tick. Green on a card that does not match
   would read as approval; red on it would be the loss language the rules ban. Neither. */
.jr-ws-option-on { background: var(--sj-stage); border-color: var(--sj-teal); }
.jr-ws-option-yes { background: #eaf7ef; border-color: var(--sj-green); }
.jr-ws-option-n {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--sj-stage);
  border: 1.5px solid var(--sj-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 16px;
  color: var(--sj-green-ink);
}
.jr-ws-option-text { flex: 1 1 auto; min-width: 0; }
.jr-ws-option-tick { flex: none; color: var(--sj-green-ink); display: flex; }

.jr-ws-why {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--sj-stage);
  border: 1px solid var(--sj-line);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--sj-ink);
  text-wrap: pretty;
}
.jr-ws-marknote { margin: 0; flex: none; font-size: 15.5px; font-weight: 500; line-height: 1.4; color: var(--sj-ink); text-wrap: pretty; }

/* ---- her numbered slots, opened with the app's own letters ---- */
.jr-ws-slots { display: flex; flex-direction: column; gap: 9px; }
.jr-ws-slot { display: flex; align-items: center; gap: 10px; }
.jr-ws-slot-n {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #eaf7ef;
  border: 1.5px solid var(--sj-green-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 18px;
  color: var(--sj-green-ink);
}
.jr-ws-slot-box {
  flex: 1 1 auto;
  min-width: 0;
  appearance: none;
  cursor: pointer;
  box-sizing: border-box;
  min-height: 66px;
  display: flex;
  align-items: center;
  text-align: left;
  font-family: var(--sj-font-story);
  font-size: 26px;
  padding: 0 14px;
  border-radius: 14px;
  border: 2px solid var(--sj-line);
  background: var(--sj-card);
  color: var(--sj-ink);
}
.jr-ws-slot-full { background: #eaf7ef; border-color: var(--sj-green-line); }
.jr-ws-slot-open { border-color: var(--sj-green); }
.jr-ws-slot-hint { font-family: var(--sj-font); font-size: 17px; font-weight: 500; color: #8b8272; }
.jr-ws-slot-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* THE APP'S OWN LETTERS. There is no system keyboard on a child's screen, ever. */
.jr-ws-pad {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
  border-radius: 18px;
  background: var(--sj-card);
  border: 2px solid var(--sj-green-line);
}
.jr-ws-pad-head {
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sj-green-ink);
}
.jr-ws-pad-line {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--sj-stage);
  border: 1.5px solid var(--sj-line);
  font-family: var(--sj-font-story);
  font-size: 24px;
  color: var(--sj-ink);
  overflow: hidden;
  white-space: pre-wrap;
}
.jr-ws-pad-row { display: flex; gap: 5px; justify-content: center; }
.jr-ws-key {
  appearance: none;
  cursor: pointer;
  flex: 1 1 0;
  min-width: 0;
  min-height: 52px;
  border-radius: 11px;
  background: var(--sj-stage);
  border: 1.5px solid var(--sj-line);
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 19px;
  color: var(--sj-ink);
}
.jr-ws-key:active { transform: translateY(2px); }
.jr-ws-key-wide { flex: 2 1 0; font-weight: 600; font-size: 16px; }
.jr-ws-key-done { flex: 1.4 1 0; background: var(--sj-green); border-color: var(--sj-green); color: var(--sj-card); font-size: 17px; }

/* ---------------------------------------------------------------- the CTA */
.jr-ws-cta {
  flex: none;
  appearance: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 70px;
  padding: 0 24px;
  border-radius: 20px;
  background: var(--sj-orange);
  color: var(--sj-card);
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 21px;
  box-shadow: 0 5px 0 var(--sj-orange-deep);
}
.jr-ws-cta:active { transform: translateY(5px); box-shadow: none; }

/* ---------------------------------------------------------------- the done step */
.jr-ws-done {
  position: absolute;
  left: 0;
  right: 0;
  top: 72px;
  bottom: 0;
  padding: 24px 30px 26px;
  box-sizing: border-box;
  display: flex;
  gap: 20px;
}
.jr-ws-donemain { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.jr-ws-donehead { flex: none; display: flex; align-items: center; gap: 14px; }
.jr-ws-donetick {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #eaf7ef;
  border: 2px solid var(--sj-green-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sj-green-ink);
}
.jr-ws-doneh1 { margin: 0; font-family: var(--sj-font); font-weight: 700; font-size: 44px; line-height: 1.04; letter-spacing: -.016em; color: var(--sj-ink); text-wrap: pretty; }
.jr-ws-donenote { flex: none; margin: 0; font-size: 21px; font-weight: 500; line-height: 1.45; color: var(--sj-ink); max-width: 68ch; text-wrap: pretty; }

.jr-ws-nightcard {
  flex: none;
  background: var(--sj-card);
  border: 2px solid var(--sj-green-line);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(35, 50, 44, .1);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.jr-ws-nighthead { display: flex; align-items: baseline; gap: 12px; }
.jr-ws-nighttitle { font-family: var(--sj-font); font-weight: 700; font-size: 24px; color: var(--sj-ink); }
.jr-ws-nightline { font-family: var(--sj-font); font-weight: 600; font-size: 22px; color: var(--sj-green-ink); }
.jr-ws-nightbar { display: block; height: 18px; border-radius: var(--sj-r-pill); background: #dbc9a8; overflow: hidden; }
.jr-ws-nightfill { display: block; height: 100%; border-radius: var(--sj-r-pill); background: var(--sj-green); }
.jr-ws-nightnote { font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--sj-ink); text-wrap: pretty; }

.jr-ws-donerows { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.jr-ws-donerow {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 18px;
  background: var(--sj-card);
  border: 1px solid var(--sj-line);
}
.jr-ws-donerow-label {
  flex: 0 0 200px;
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--sj-ink);
}
.jr-ws-donerow-value { flex: 1 1 auto; min-width: 0; font-family: var(--sj-font); font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--sj-ink); text-wrap: pretty; }

.jr-ws-doneactions { flex: none; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.jr-ws-donecta {
  display: inline-flex;
  align-items: center;
  min-height: 68px;
  padding: 0 30px;
  border-radius: 20px;
  background: var(--sj-orange);
  color: var(--sj-card);
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 21px;
  box-shadow: 0 5px 0 var(--sj-orange-deep);
  text-decoration: none;
}
.jr-ws-donecta:active { transform: translateY(5px); box-shadow: none; }
.jr-ws-donealt {
  display: inline-flex;
  align-items: center;
  min-height: 68px;
  padding: 0 26px;
  border-radius: 20px;
  background: var(--sj-card);
  border: 1.5px solid var(--sj-line);
  box-shadow: 0 4px 0 var(--sj-line);
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 19px;
  color: var(--sj-ink);
  text-decoration: none;
}

.jr-ws-donerail { flex: 0 0 396px; display: flex; flex-direction: column; gap: 14px; }
.jr-ws-savedcard {
  flex: 1 1 auto;
  min-height: 0;
  background: var(--sj-card);
  border: 1px solid var(--sj-line);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(35, 50, 44, .1);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow: hidden;
}
.jr-ws-savedlist { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 3px; }
.jr-ws-savedrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--sj-stage);
  border: 1px solid var(--sj-line);
}
.jr-ws-savedrow-full { background: #eaf7ef; border-color: var(--sj-green-line); }
.jr-ws-savedrow-n { flex: none; font-family: var(--sj-font); font-weight: 700; font-size: 16px; color: var(--sj-green-ink); }
.jr-ws-savedrow-text { flex: 1 1 auto; min-width: 0; font-family: var(--sj-font-story); font-size: 19px; line-height: 1.35; color: var(--sj-ink); text-wrap: pretty; }
.jr-ws-savedfoot { flex: none; padding-top: 9px; border-top: 1px solid #f0ebe0; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--sj-ink); text-wrap: pretty; }

/* ---------------------------------------------------------------- the outside card */
/* A sheet that lives on somebody else's page. The child's side loads nothing (DECISIONS #97). */
.jr-ws-outside {
  position: absolute;
  left: 0;
  right: 0;
  top: 72px;
  bottom: 0;
  padding: 40px 60px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 28px;
}
.jr-ws-outsidecard {
  flex: 1 1 auto;
  max-width: 840px;
  background: var(--sj-card);
  border: 2px solid var(--sj-sun-line);
  border-radius: var(--sj-r-panel);
  box-shadow: 0 16px 40px rgba(35, 50, 44, .13);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.jr-ws-outsidekicker {
  align-self: flex-start;
  font-family: var(--sj-font);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sj-sun-ink);
  background: #fff8e6;
  border: 1px solid var(--sj-sun-line);
  border-radius: var(--sj-r-pill);
  padding: 6px 13px;
}
.jr-ws-outsideh1 { margin: 0; font-family: var(--sj-font); font-weight: 700; font-size: 33px; line-height: 1.1; color: var(--sj-ink); text-wrap: pretty; }
.jr-ws-outsidenote { margin: 0; font-size: 19px; font-weight: 500; line-height: 1.45; color: var(--sj-ink); max-width: 74ch; text-wrap: pretty; }
.jr-ws-outsideask { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.45; color: var(--sj-green-ink); text-wrap: pretty; }
.jr-ws-outsideback {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  padding: 0 26px;
  border-radius: 18px;
  background: var(--sj-orange);
  color: var(--sj-card);
  font-family: var(--sj-font);
  font-weight: 700;
  font-size: 19px;
  box-shadow: 0 4px 0 var(--sj-orange-deep);
  text-decoration: none;
}
.jr-ws-outside .jr-ws-guide { flex: 0 0 360px; }

/* ---------------------------------------------------------------- nothing to read */
.jr-ws-nothing {
  position: absolute;
  left: 0;
  right: 0;
  top: 72px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 120px;
  text-align: center;
}
.jr-ws-nothing-head { margin: 0; font-family: var(--sj-font); font-weight: 700; font-size: 30px; color: var(--sj-ink); }
.jr-ws-nothing-note { margin: 0; max-width: 62ch; font-size: 18px; font-weight: 500; line-height: 1.45; color: var(--sj-ink); text-wrap: pretty; }
.jr-ws-nothing-link { font-family: var(--sj-font); font-weight: 600; font-size: 17px; color: var(--sj-teal-ink); }
