/* ─────────────────────────────────────────────────────────────
   wr-dashboard.css — Writing Dashboard (Session 5: dense bento)

   Layout: one viewport-sized cream canvas with brown gutters.
   Inside a 12-column / 3-row grid that fits 640px viewport height.

   Grid placement (12 cols × 3 rows):
     Row 1 — band(4) · radar(4) · insights(4)
     Row 2 — crits(5) · traj(7)
     Row 3 — activity(8) · rec(4)

   Everything animates in with a stagger on first paint. No tabs,
   no scrolling for the main view.
   ───────────────────────────────────────────────────────────── */

.wd-outer {
  height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.2rem;
  box-sizing: border-box;
  max-width: 100% !important;
  margin: 0 !important;
}

.wd-canvas {
  width: 100%;
  max-width: 1320px;
  height: 100%;
  max-height: 760px;
  background: var(--ielts-paper, #F5EBD3);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.50  0 0 0 0 0.32  0 0 0 0 0.16  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  color: var(--ielts-paper-ink, #1F1812);
  border-radius: 18px;
  padding: 1rem;
  display: flex;
  overflow: hidden;
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.18),
    0 28px 60px -28px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(31, 24, 18, 0.05);
  animation: wd-canvas-in .4s ease both;
}
@keyframes wd-canvas-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Bento grid ─────────────────────────────────────────── */
.wd-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1.5fr) minmax(0, 2fr) minmax(0, 1fr);
  gap: .65rem;
}

.wd-card {
  position: relative;
  background: rgba(255, 250, 235, 0.55);
  border: 1px solid rgba(31, 24, 18, 0.08);
  border-radius: 11px;
  padding: .75rem .9rem .65rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
}
.wd-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent, #D9A268);
}

/* Grid placements */
.wd-card--band     { grid-column: span 4; grid-row: 1;       --accent: #B8552F; }
.wd-card--radar    { grid-column: span 4; grid-row: 1;       --accent: #D9A268; align-items: center; padding-top: .55rem; }
.wd-insights       { grid-column: span 4; grid-row: 1;       display: flex; flex-direction: column; gap: .5rem; min-width: 0; min-height: 0; }
.wd-card--crits    { grid-column: span 5; grid-row: 2;       --accent: #B8552F; }
.wd-card--traj     { grid-column: span 7; grid-row: 2;       --accent: #4A7BB5; }
.wd-card--activity { grid-column: span 8; grid-row: 3;       --accent: rgba(31, 24, 18, 0.20); }
.wd-card--rec      { grid-column: span 4; grid-row: 3;       padding: 0; border: none; background: transparent; }
.wd-card--rec::before { display: none; }

/* Eyebrow + headers */
.wd-eye {
  font-family: 'Inter', sans-serif;
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(31, 24, 18, 0.48);
  margin-bottom: .4rem;
}
.wd-eye-meta {
  font-family: 'Inter', sans-serif;
  font-size: .55rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(31, 24, 18, 0.4);
}
.wd-card-head {
  display: flex; align-items: baseline;
  justify-content: space-between;
  gap: .6rem;
  margin-bottom: .4rem;
}
.wd-empty-mid {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: .85rem;
  color: rgba(31, 24, 18, 0.42);
  text-align: center;
  padding: .5rem;
}

/* ───────────────────────────────────────────────────────────
   Loading + signed-out
   ─────────────────────────────────────────────────────────── */
.wd-loading {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  width: 100%; gap: .9rem;
  font-family: 'Inter', sans-serif;
  color: rgba(31, 24, 18, 0.55);
}
.wd-loading-sp {
  width: 22px; height: 22px;
  border: 2px solid rgba(31, 24, 18, 0.15);
  border-top-color: #B8552F;
  border-radius: 50%;
  animation: wd-spin .8s linear infinite;
}
@keyframes wd-spin { to { transform: rotate(360deg); } }
.wd-signed-out {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  width: 100%; padding: 2rem; text-align: center;
}
.wd-signed-out h2 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 1.6rem;
  margin-bottom: .6rem;
}

/* ───────────────────────────────────────────────────────────
   Stagger animation
   ─────────────────────────────────────────────────────────── */
.wd-stagger {
  opacity: 0;
  transform: translateY(8px);
  animation: wd-in .45s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: calc(var(--i, 1) * 0.045s);
}
@keyframes wd-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ───────────────────────────────────────────────────────────
   BAND CARD
   ─────────────────────────────────────────────────────────── */
.wd-band-row {
  display: flex; align-items: baseline; gap: .65rem;
}
.wd-band-num {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 3.2rem;
  line-height: .9;
  color: #B8552F;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
.wd-band-trend {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 999px;
}
.wd-band-trend-up   { background: rgba(92, 154, 109, 0.22); color: #3A7A4F; }
.wd-band-trend-down { background: rgba(184, 82, 122, 0.22); color: #9B2F4F; }

.wd-band-break {
  display: flex; align-items: baseline;
  gap: .35rem;
  margin-top: .15rem;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  color: rgba(31, 24, 18, 0.7);
}
.wd-band-break-k {
  font-size: .58rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(31, 24, 18, 0.45);
}
.wd-band-break-v {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ielts-paper-ink, #1F1812);
  font-variant-numeric: tabular-nums;
}
.wd-band-break-sep { opacity: .35; padding: 0 .15rem; }
.wd-band-break-x {
  background: rgba(31, 24, 18, 0.08);
  border-radius: 999px;
  padding: .05rem .4rem;
  font-size: .65rem;
  font-weight: 700;
  color: rgba(31, 24, 18, 0.55);
}
.wd-band-break-note {
  font-style: italic;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: .82rem;
  color: rgba(31, 24, 18, 0.55);
}
.wd-meta-line {
  margin-top: auto;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .55rem;
  font-family: 'Inter', sans-serif;
  font-size: .7rem;
  color: rgba(31, 24, 18, 0.5);
  padding-top: .5rem;
}
.wd-meta-line strong { color: var(--ielts-paper-ink, #1F1812); font-weight: 700; }
.wd-meta-soft { display: inline-flex; align-items: center; gap: .25rem; }
.wd-band-empty {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 2.8rem;
  color: rgba(31, 24, 18, 0.28);
  line-height: 1;
  margin: .25rem 0;
}

/* Confidence dots */
.wd-dots { display: inline-flex; gap: .18rem; }
.wd-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(31, 24, 18, 0.18); }
.wd-dot.is-on { background: #B8552F; }

/* ───────────────────────────────────────────────────────────
   RADAR CARD
   ─────────────────────────────────────────────────────────── */
.wd-rd {
  width: 100%;
  max-width: 230px;
  height: 100%;
  max-height: 200px;
  flex: 1;
  min-height: 0;
}
.wd-rd-ring  { fill: none; stroke: rgba(31, 24, 18, 0.08); stroke-width: 1; }
.wd-rd-spoke { stroke: rgba(31, 24, 18, 0.10); stroke-width: 1; }
.wd-rd-best  {
  fill: none;
  stroke: rgba(31, 24, 18, 0.35);
  stroke-width: 1.4;
  stroke-dasharray: 4 3;
}
.wd-rd-mean  {
  fill: rgba(217, 162, 104, 0.32);
  stroke: #D9A268;
  stroke-width: 2;
  stroke-linejoin: round;
  transform-origin: center;
  animation: wd-poly-in .6s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: .25s;
}
@keyframes wd-poly-in {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.wd-rd-dot { stroke: var(--ielts-paper, #F5EBD3); stroke-width: 1.6; }
.wd-rd-axis {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  fill: rgba(31, 24, 18, 0.5);
}
.wd-rd-axis-v {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 11px;
  font-weight: 500;
}
.wd-rd-leg {
  display: flex; gap: .6rem;
  font-family: 'Inter', sans-serif;
  font-size: .62rem;
  color: rgba(31, 24, 18, 0.55);
  margin-top: .25rem;
}
.wd-leg-k { display: inline-flex; align-items: center; gap: .25rem; }
.wd-sw { width: 7px; height: 7px; border-radius: 50%; }
.wd-sw-out {
  background: transparent !important;
  border: 1.4px dashed rgba(31, 24, 18, 0.45);
}
.wd-radar-empty {
  flex: 1; display: flex; align-items: center; text-align: center;
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic; font-size: .85rem;
  color: rgba(31, 24, 18, 0.45);
  padding: 1.5rem .5rem;
}

/* ───────────────────────────────────────────────────────────
   INSIGHTS — Strength + Opportunity stacked
   ─────────────────────────────────────────────────────────── */
.wd-pill-card {
  position: relative;
  flex: 1;
  background: rgba(255, 250, 235, 0.55);
  border: 1px solid rgba(31, 24, 18, 0.08);
  border-radius: 11px;
  padding: .65rem .9rem .6rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}
.wd-pill-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
}
.wd-pill-card--strong { --accent: #5C9A6D; }
.wd-pill-card--weak   { --accent: #B8527A; }
.wd-pill-card--placeholder { --accent: rgba(31, 24, 18, 0.20); }

.wd-pc-eye {
  font-family: 'Inter', sans-serif;
  font-size: .56rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(31, 24, 18, 0.48);
}
.wd-pc-row {
  display: flex; align-items: baseline;
  gap: .55rem;
  margin: .15rem 0 .2rem;
  flex-wrap: wrap;
}
.wd-pc-name {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ielts-paper-ink, #1F1812);
}
.wd-pc-band {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.wd-pc-body {
  font-family: 'Inter', sans-serif;
  font-size: .73rem;
  color: rgba(31, 24, 18, 0.62);
  line-height: 1.45;
  margin: 0 0 .35rem;
}
.wd-pc-cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  padding: .3rem .6rem;
  background: rgba(31, 24, 18, 0.06);
  border: 1px solid rgba(31, 24, 18, 0.18);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  color: var(--ielts-paper-ink, #1F1812);
  text-decoration: none;
  transition: background .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.wd-pc-cta:hover {
  background: rgba(184, 82, 122, 0.18);
  border-color: #B8527A;
  transform: translateY(-1px);
}
.wd-pc-empty {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: .82rem;
  color: rgba(31, 24, 18, 0.5);
  margin-top: .4rem;
}

/* Trend pills */
.wd-pill {
  display: inline-flex;
  padding: .12rem .45rem;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}
.wd-pill-up   { background: rgba(92, 154, 109, 0.20); color: #3A7A4F; }
.wd-pill-down { background: rgba(184, 82, 122, 0.20); color: #9B2F4F; }
.wd-pill-flat { background: rgba(31, 24, 18, 0.08);   color: rgba(31, 24, 18, 0.55); }

/* ───────────────────────────────────────────────────────────
   PER-CRITERION BARS
   ─────────────────────────────────────────────────────────── */
.wd-crit-list {
  display: flex; flex-direction: column; gap: .55rem;
  flex: 1;
  min-height: 0;
  margin-top: .25rem;
  justify-content: space-around;
}
.wd-crit-row {
  display: grid;
  grid-template-columns: 70px 1fr 38px auto;
  align-items: center;
  gap: .7rem;
}
.wd-crit-name {
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(31, 24, 18, 0.7);
}
.wd-crit-bar {
  position: relative;
  display: block;
  height: 8px;
  background: rgba(31, 24, 18, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.wd-crit-fill {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 0;
  border-radius: 999px;
  animation: wd-bargrow .9s cubic-bezier(.2,.7,.2,1) both;
  animation-delay: var(--delay, .2s);
  --target: var(--w);
}
@keyframes wd-bargrow { to { width: var(--target); } }
.wd-crit-best {
  position: absolute; top: -2px; bottom: -2px; left: 0;
  width: var(--w);
  border-right: 2px dashed rgba(31, 24, 18, 0.30);
  pointer-events: none;
}
.wd-crit-val {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--c, var(--ielts-paper-ink, #1F1812));
  font-variant-numeric: tabular-nums;
  text-align: right;
  line-height: 1;
}
.wd-crit-trend { justify-self: end; }
.wd-crit-row--empty .wd-crit-name { opacity: .4; }
.wd-crit-row--empty .wd-crit-val  { opacity: .4; color: rgba(31, 24, 18, 0.4); }

/* ───────────────────────────────────────────────────────────
   TRAJECTORY CHART
   ─────────────────────────────────────────────────────────── */
.wd-card--traj .wd-card-head {
  align-items: center;
}
.wd-tr-legend {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.wd-tr-pill {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .18rem .55rem;
  background: rgba(31, 24, 18, 0.04);
  border: 1px solid rgba(31, 24, 18, 0.10);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: .65rem;
  font-weight: 600;
  color: rgba(31, 24, 18, 0.5);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.wd-tr-pill.is-on {
  background: rgba(31, 24, 18, 0.07);
  border-color: rgba(31, 24, 18, 0.22);
  color: var(--ielts-paper-ink, #1F1812);
}
.wd-tr-pill:hover { transform: translateY(-1px); }

.wd-tr-svg {
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
}
.wd-tr-grid { stroke: rgba(31, 24, 18, 0.07); stroke-width: 1; }
.wd-tr-tick { stroke: rgba(31, 24, 18, 0.18); stroke-width: 1; }
.wd-tr-yl, .wd-tr-xl {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  fill: rgba(31, 24, 18, 0.45);
}
.wd-tr-dot { stroke: var(--ielts-paper, #F5EBD3); stroke-width: 1.4; }
.wd-tr-line {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 800;
  stroke-dashoffset: 800;
  animation: wd-line-draw 1.2s cubic-bezier(.4, 0, .2, 1) both;
  animation-delay: .35s;
}
@keyframes wd-line-draw { to { stroke-dashoffset: 0; } }
.wd-traj-single {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem;
}
.wd-traj-single-num {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 3rem;
  color: #B8552F;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.wd-traj-single-msg {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: .82rem;
  color: rgba(31, 24, 18, 0.55);
  max-width: 32ch;
  text-align: center;
}

/* ───────────────────────────────────────────────────────────
   RECENT ACTIVITY
   ─────────────────────────────────────────────────────────── */
.wd-arows {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  flex: 1;
  min-height: 0;
  justify-content: center;
}
.wd-arow {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  align-items: center;
  gap: .7rem;
  padding: .35rem .65rem;
  background: rgba(255, 250, 235, 0.6);
  border: 1px solid rgba(31, 24, 18, 0.06);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform .12s, border-color .15s, background .15s;
}
.wd-arow--linked { cursor: pointer; }
.wd-arow--linked:hover {
  background: rgba(217, 162, 104, 0.10);
  border-color: rgba(217, 162, 104, 0.45);
  transform: translateY(-1px);
}
.wd-arow-badge {
  padding: .12rem .45rem;
  background: rgba(217, 162, 104, 0.16);
  border: 1px solid rgba(217, 162, 104, 0.42);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: .56rem;
  font-weight: 700;
  color: #8C5A2A;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.wd-badge-task-1 { background: rgba(201, 127, 78, 0.16); border-color: rgba(201, 127, 78, 0.42); color: #8C4C2A; }
.wd-badge-task-2 { background: rgba(217, 162, 104, 0.18); border-color: rgba(217, 162, 104, 0.45); color: #8C5A2A; }
.wd-badge-paragraph { background: rgba(92, 154, 109, 0.16); border-color: rgba(92, 154, 109, 0.40); color: #3A7A4F; }
.wd-badge-exam { background: rgba(74, 123, 181, 0.14); border-color: rgba(74, 123, 181, 0.42); color: #2D5A8A; }
.wd-badge-rewrite, .wd-badge-sentence { background: rgba(184, 82, 122, 0.14); border-color: rgba(184, 82, 122, 0.40); color: #9B2F4F; }

.wd-arow-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: .88rem;
  color: var(--ielts-paper-ink, #1F1812);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wd-arow-band {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #B8552F;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  min-width: 30px;
  text-align: right;
}
.wd-arow-crits {
  display: flex; gap: .55rem;
  font-family: 'Inter', sans-serif;
  font-size: .68rem;
  color: rgba(31, 24, 18, 0.55);
  font-variant-numeric: tabular-nums;
}
.wd-arow-crits--single {
  font-style: italic;
  color: rgba(31, 24, 18, 0.4);
}
.wd-arow-when {
  font-family: 'Inter', sans-serif;
  font-size: .65rem;
  color: rgba(31, 24, 18, 0.45);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ───────────────────────────────────────────────────────────
   RECOMMENDED CARD
   ─────────────────────────────────────────────────────────── */
.wd-card--rec {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  padding: .85rem 1.1rem;
  background-color: #D9A268;
  background-image: linear-gradient(135deg, #D9A268 0%, #C97F4E 100%);
  color: #1F1812;
  border-radius: 11px;
  position: relative;
  overflow: hidden;
}
.wd-rec-glow {
  position: absolute;
  top: -50%; right: -30%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255, 240, 200, 0.4) 0%, transparent 70%);
  pointer-events: none;
}
.wd-rec-body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
.wd-rec-eye {
  font-family: 'Inter', sans-serif;
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(31, 24, 18, 0.65);
  margin-bottom: .15rem;
}
.wd-rec-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.08rem;
  color: #1F1812;
  line-height: 1.2;
  margin-bottom: .15rem;
}
.wd-rec-text {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  color: rgba(31, 24, 18, 0.7);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.wd-rec-cta {
  align-self: stretch;
  text-align: center;
  padding: .55rem 1rem;
  background: #1F1812;
  color: #F2E6CC;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, transform .15s;
  margin-top: .5rem;
}
.wd-rec-cta:hover { background: #2A2018; transform: translateY(-1px); }

/* ───────────────────────────────────────────────────────────
   Mobile fallback (under 900px): stack the bento.
   The canvas becomes auto-height and scrolls naturally.
   ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .wd-outer { height: auto; padding: .8rem; }
  .wd-canvas { height: auto; max-height: none; padding: 1rem; }
  .wd-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: .65rem;
  }
  .wd-card--band, .wd-card--radar, .wd-insights,
  .wd-card--crits, .wd-card--traj,
  .wd-card--activity, .wd-card--rec {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .wd-arow {
    grid-template-columns: auto 1fr auto;
    gap: .5rem;
  }
  .wd-arow-crits, .wd-arow-when { display: none; }
}
@media (max-width: 560px) {
  .wd-crit-row { grid-template-columns: 60px 1fr 32px auto; gap: .45rem; }
  .wd-band-num { font-size: 2.6rem; }
}
