/* Satin Signal: /weekly-numbers-sheet only, on top of styles.css. Nothing here loads on the homepage.
   The page keeps the site's split screen (sticky violet column, scrolling right column). Its own pieces:
   the input boxes on a white card in the form's numbered groups, the sheet as a studio card (lilac card, white
   ledger, violet index tab that reads "Example" or "Your week", like the guides' examples), the "look at first"
   line on lilac with a violet edge, the reading notes as a ruled list, the rules in the site's lilac step rows,
   and a print style that prints the sheet alone.
   Nothing moves except the shared entrance in the left column and press feedback on buttons. */

/* Left column: the guides' headline size. */
.wn-title { font-size: clamp(2.1rem, 9vw, 3rem); line-height: 1.06; overflow-wrap: break-word; }
.side__updated { margin-top: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.side__hero > :nth-child(5) { animation-delay: 240ms; }
@media (min-width: 1024px) {
  .wn-title { font-size: clamp(2.2rem, min(3.3vw, 6.6vh), 4rem); }
  .wn-nav a { border: 0; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .4); padding-inline: 0; margin-right: 16px; }
  .wn-nav a[aria-current="true"] { background: transparent; color: #fff; border-bottom: 2px solid var(--pink); }
}

.wn-eyebrow {
  margin-bottom: 14px;
  color: var(--violet-ink);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
#main .block > .block__text + .block__text { margin-top: 12px; }
.wn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons that only work with the script stay hidden without it. */
.wn-js { display: none; }
.js .wn-js { display: flex; }
.wn-textbtn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  background: none; border: 0; cursor: pointer;
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px;
  color: var(--violet-ink);
}
.btn.wn-btn-line { background: var(--lilac-2); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn.wn-btn-line:hover { background: #cfbff3; } }

/* ---------- The boxes: a white card, two numbered groups ---------- */
.wn-form { margin-top: 26px; background: var(--card); border-radius: var(--radius); padding: 22px 18px; max-width: 640px; }
.wn-group + .wn-group { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--rule); }
.wn-group .group__title { margin-bottom: 14px; }
.wn-group .opt { font-family: var(--body); font-size: .9rem; font-weight: 500; letter-spacing: 0; }
.wn-fields { clear: both; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; align-items: start; }
.wn-fields .field { gap: 4px; }
.wn-fields .field > label { font-size: .9rem; line-height: 1.3; }
.wn-fields input { font-variant-numeric: tabular-nums; }
.wn-hint { font-size: .8rem; line-height: 1.35; color: var(--muted); }
.wn-form__actions { margin-top: 20px; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
@media (min-width: 600px) {
  .wn-form { padding: 28px 30px; }
  .wn-fields { gap: 16px 20px; }
}

/* ---------- The sheet: a studio card holding a white ledger, with an index tab ---------- */
.wn-sheet {
  --pad: 12px;
  --tab: 32px;
  position: relative;
  width: calc(100% - var(--tab));
  max-width: 640px;
  margin: 30px 0 0;
  padding: var(--pad);
  background: var(--lilac-2);
  border-radius: var(--radius);
}
.wn-sheet__paper {
  background: var(--card);
  border-radius: calc(var(--radius) - var(--pad));
  padding: 20px 18px 22px;
}
.wn-sheet__tab {
  position: absolute; left: 100%; top: 28px;
  display: flex; align-items: center; gap: 10px;
  width: var(--tab);
  padding: 16px 0;
  writing-mode: vertical-rl;
  background: var(--violet); color: #fff;
  border-radius: 0 12px 12px 0;
  font-family: var(--display); font-weight: 700; font-size: .9rem; line-height: 1; letter-spacing: .03em;
  white-space: nowrap;
}
.wn-sheet__tab::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
/* The example wears an ink tab, so it never passes for someone's real week. */
.wn-sheet.is-example .wn-sheet__tab { background: var(--ink); }

.wn-sheet__head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px; border-bottom: 2px solid var(--ink);
}
.wn-sheet__mark { width: 34px; height: 34px; flex: none; color: var(--violet); }
.wn-sheet__name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; line-height: 1.1; letter-spacing: -.01em; }
.wn-sheet__source { margin-top: 2px; font-size: .9rem; color: var(--muted); }
.wn-sheet.is-example .wn-sheet__source { color: var(--violet-ink); font-weight: 600; }

/* Ledger rows: the label and its value on one line, last week's line underneath. */
.wn-ledger { margin-top: 4px; display: grid; }
.wn-ledger > div {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; align-items: baseline;
  padding: 10px 0; border-bottom: 1px dotted rgba(31, 22, 64, .28);
  font-size: .95rem;
}
.wn-ledger dt { display: flex; align-items: baseline; min-width: 0; color: var(--ink-2); line-height: 1.35; }
.wn-ledger dd { display: contents; }
.wn-val { grid-column: 2; grid-row: 1; font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.wn-of, .wn-last {
  grid-column: 1 / -1;
  padding-left: 1.4em;
  font-size: .82rem; line-height: 1.4; color: var(--muted); font-variant-numeric: tabular-nums;
}
.wn-of { margin-top: 2px; color: var(--ink-2); }
.wn-last:empty, .wn-of:empty { display: none; }
.wn-op {
  flex: none; width: 1.4em;
  font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: var(--violet-ink);
}
.wn-ledger > .wn-ledger__total { border-bottom: 2px solid var(--ink); padding: 12px 0; }
.wn-ledger__total dt { color: var(--ink); font-weight: 700; }
.wn-ledger__key .wn-op::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.wn-ledger__key .wn-val { font-family: var(--display); font-size: 1.2rem; letter-spacing: -.01em; }
.wn-ledger > div:last-child { border-bottom: 0; }

/* The one line to start from: lilac with a violet edge. */
.wn-first { margin-top: 14px; padding: 14px 16px; background: var(--lilac); border-radius: 16px; border-left: 4px solid var(--violet); }
.wn-first__label, .wn-problems__label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--violet-ink); }
.wn-first__what { margin-top: 2px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.wn-first__why { margin-top: 4px; font-size: .95rem; color: var(--ink-2); }

/* Numbers that can't all be right: said in words, on a pale red. */
.wn-problems { margin-top: 12px; padding: 14px 16px; background: #fde8ee; border-radius: 16px; }
.wn-problems__label { color: var(--error); }
.wn-problems ul { margin-top: 6px; display: grid; gap: 8px; }
.wn-problems li { position: relative; padding-left: 16px; font-size: .92rem; color: var(--ink); }
.wn-problems li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--error); }

.wn-sheet__foot { margin-top: 14px; font-size: .84rem; color: var(--muted); }
.wn-sheet__actions { margin-top: 14px; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.wn-status { font-size: .9rem; font-weight: 600; color: var(--violet-ink); }
.wn-status:empty { display: none; }
.wn-print { display: none; }
.wn-noscript { margin-top: 18px; }

.wn-fields [aria-invalid="true"] { border-color: var(--error); background: #fff7f9; }

@media (min-width: 600px) {
  .wn-sheet { --pad: 14px; }
  .wn-sheet__paper { padding: 26px 28px 26px; }
  .wn-ledger > div { font-size: 1rem; }
}

/* ---------- Reading each line: a ruled list ---------- */
.wn-reads { margin-top: 26px; border-top: 2px solid var(--ink); max-width: 40rem; }
.wn-reads > div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.wn-reads > div:last-child { border-bottom: 0; padding-bottom: 0; }
.wn-reads dt { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.25; color: var(--violet-ink); }
.wn-reads dd { margin-top: 4px; color: var(--ink-2); }
@media (min-width: 720px) {
  .wn-reads > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 24px; align-items: baseline; }
  .wn-reads dd { margin-top: 0; }
}

/* ---------- The rules: the site's lilac step rows ---------- */
.wn-rules h3 { font-size: 1.08rem; }
.wn-rules + .block__text { margin-top: 22px; }

/* ---------- Where the numbers are: rows under an ink rule, each with a pink dot ---------- */
.wn-where { margin-top: 26px; border-top: 2px solid var(--ink); max-width: 40rem; }
.wn-where li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.wn-where li:last-child { border-bottom: 0; padding-bottom: 0; }
.wn-where h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; line-height: 1.25; }
.wn-where h3::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.wn-where p { margin-top: 4px; color: var(--ink-2); }

/* ---------- The three checks ---------- */
.wn-checks { margin-top: 22px; display: grid; gap: 10px; max-width: 40rem; }
.wn-checks li { padding: 16px 18px; background: var(--card); border-radius: 18px; color: var(--ink-2); }
.wn-checks strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.wn-checks + .block__text { margin-top: 18px; }

/* ---------- Questions: always open ---------- */
.faq__item h3 { font-size: 1.1rem; line-height: 1.3; letter-spacing: -.01em; }

/* ---------- Call to action: a flat violet panel ---------- */
.wn-cta {
  margin: 8px 0 56px;
  padding: 34px 24px 30px;
  background: var(--violet); color: #fff;
  border-radius: var(--radius);
}
.wn-cta__title { font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.08; }
.wn-cta p { margin-top: 12px; max-width: 30rem; }
.wn-cta__actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.wn-cta__actions .btn { width: 100%; }
.wn-cta__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration-thickness: 1.5px; }
@media (min-width: 560px) { .wn-cta__actions .btn { width: auto; } }
@media (min-width: 1024px) {
  .wn-cta { padding: 44px 40px 40px; margin-bottom: 72px; }
}

/* ---------- Print: the sheet alone, in black on white ---------- */
@media print {
  @page { margin: 14mm; }
  html, body { background: #fff; }
  .bar, .side, .foot, .skip, .wn-tool > :not(.wn-sheet), #main > :not(.wn-tool),
  .wn-sheet__actions, .wn-sheet__tab { display: none !important; }
  .split { display: block; }
  #main { max-width: none; margin: 0; padding: 0; }
  .block, .block--first { padding: 0; border: 0; }
  .wn-sheet { width: 100%; max-width: none; margin: 0; padding: 0; background: none; }
  .wn-sheet__paper { padding: 0; }
  .wn-first, .wn-problems { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .wn-ledger > div { break-inside: avoid; }
  .wn-print { display: block; margin-top: 12px; font-size: .8rem; color: var(--muted); }
}
