/*
  LVL5-FAMILY: the list of printable dua sheets (Views/DuaSheets/Index.cshtml). A head with the sheet to start with,
  then a dense grid of little A4 papers, each with its name, count and Open, Print and Download PDF. Light and dark
  (the Learn tokens), phone and desktop, right to left.
*/
.ln-ds { display: grid; gap: 18px; }
.ln-ds-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: 24px; align-items: center;
  padding: 22px 24px; border-radius: 24px;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--w-accent, #0e7a5f) 16%, var(--ln-card)) 0%, var(--ln-card) 55%), var(--ln-card);
  box-shadow: inset 0 0 0 1px var(--ln-line);
}
.ln-ds-title { margin: 4px 0 8px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.08; letter-spacing: -.02em; color: var(--ln-ink); }
.ln-ds-sub { margin: 0; max-width: 64ch; color: var(--ln-ink-2); font-size: 15px; line-height: 1.5; }

.ln-ds-lead { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 18px; text-decoration: none; color: inherit; background: var(--ln-card-2, var(--ln-card)); box-shadow: inset 0 0 0 1px var(--ln-line); }
.ln-ds-lead:hover, .ln-ds-lead:focus-visible { box-shadow: inset 0 0 0 2px var(--w-accent, #0e7a5f); }
.ln-ds-lead-copy { display: grid; gap: 2px; }
.ln-ds-lead-copy small { font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--w-ink, #0e7a5f); }
.ln-ds-lead-copy b { font-size: 18px; line-height: 1.2; color: var(--ln-ink); }
.ln-ds-lead-copy span { font-size: 13px; color: var(--ln-muted); }

/* A little A4 sheet: a tinted head and lines of duas, drawn in CSS. */
.ln-ds-paper {
  position: relative; display: grid; gap: 5px; align-content: start; aspect-ratio: 210 / 297; padding: 22% 10% 8%;
  border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 12px 24px -12px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.ln-ds-paper::before { content: ""; position: absolute; inset: 0 0 auto; height: 16%; background: linear-gradient(120deg, color-mix(in srgb, var(--w-accent, #0e7a5f) 30%, #fff), #fff); border-bottom: 3px solid var(--w-accent, #0e7a5f); }
.ln-ds-paper i { display: block; height: 9px; border-radius: 3px; background: color-mix(in srgb, var(--w-accent, #0e7a5f) 12%, #fff); border-inline-start: 3px solid var(--w-accent, #0e7a5f); }
.ln-ds-paper--small { padding: 24% 12% 10%; gap: 4px; }

.ln-ds-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ln-ds-card {
  display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 14px; border-radius: 18px;
  background: var(--ln-card); box-shadow: inset 0 0 0 1px var(--ln-line);
}
.ln-ds-card-paper { display: block; }
.ln-ds-card-body { display: grid; gap: 6px; align-content: start; min-width: 0; }
.ln-ds-card-title { margin: 0; font-size: 17px; line-height: 1.25; }
.ln-ds-card-title a { color: var(--ln-ink); text-decoration: none; }
.ln-ds-card-title a:hover, .ln-ds-card-title a:focus-visible { color: var(--w-ink, #0e7a5f); text-decoration: underline; }
.ln-ds-card-note { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--ln-ink-2); }
.ln-ds-card-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.ln-ds-card-facts span { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--w-ink, #0e7a5f); background: color-mix(in srgb, var(--w-accent, #0e7a5f) 12%, transparent); }
.ln-ds-card-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 0; }
.ln-ds-card-tools .ln-btn { min-height: 0; padding: 6px 12px; font-size: 13px; line-height: 1.2; }

/* The "Print the wall sheet" card under a dua video (Views/Shared/Blocks/_SheetLink.cshtml). */
.ln-sheetcard { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 18px; background: var(--ln-card); box-shadow: inset 0 0 0 1px var(--ln-line); }
.ln-sheetcard b { display: block; color: var(--ln-ink); font-size: 16px; }
.ln-sheetcard small { color: var(--ln-muted); font-size: 13px; }

@media (max-width: 760px) {
  .ln-ds-head { grid-template-columns: 1fr; padding: 18px; }
  .ln-sheetcard { grid-template-columns: 52px 1fr; }
  .ln-sheetcard .ln-btn { grid-column: 1 / -1; justify-self: start; }
}
.ln-vl-sheets { text-decoration: none; color: inherit; }
.ln-vl-sheets:hover, .ln-vl-sheets:focus-visible { box-shadow: inset 0 0 0 2px var(--w-accent, #0e7a5f); }
