/* 寫作練習 (2026-11-21): same soft palette as the practice screens; gentle length colours, no alarms. */
.wr-group { display: flex; align-items: center; gap: 8px; }
.wr-group .glyph { width: 28px; height: 28px; border-radius: 8px; font-size: .85rem; }
.wr-item { border-left: 4px solid var(--sub); }
.wr-item b, .wr-item small { display: block; }
.wr-item b { margin: 2px 0; line-height: 1.35; }
.wr-done { width: 22px; flex-shrink: 0; text-align: center; color: var(--ok); font-weight: 800; }
.wr-steps { display: flex; gap: 6px; margin-top: 4px; }
.wr-steps span { font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: #efe9dd; color: var(--muted); }
.wr-steps span.on { background: var(--sub); color: #fff; font-weight: 700; }
.wr-target { margin-left: auto; }
.wr-title { margin: 12px 0 6px; font-size: 1.1rem; }
.wr-task { white-space: pre-wrap; line-height: 1.65; font-size: 1rem; }
.wr-label { font-size: .78rem; font-weight: 700; color: var(--muted); margin: 2px 0 4px; }
.wr-input { display: block; width: 100%; min-height: 280px; resize: vertical; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fffdf8; font: inherit; font-size: 1.05rem; line-height: 1.75; color: inherit; }
.wr-input:focus { outline: none; border-color: var(--sub); box-shadow: 0 0 0 3px #efe9dd; }
.wr-count { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; padding: 6px 10px;
  border-radius: 10px; background: #f6f2ea; color: var(--muted); font-size: .9rem; transition: background .3s, color .3s; }
.wr-count b { color: var(--ink); font-variant-numeric: tabular-nums; }
.wr-count.in { background: #eaf7f0; color: #237a53; }
.wr-count.in b { color: #237a53; }
.wr-count.over { background: #fff6e3; color: var(--gold-ink); }
.wr-checks { display: flex; flex-direction: column; gap: 2px; }
.wr-checks label.check { margin: 6px 0; font-size: .95rem; }
.wr-total { font-size: 1.5rem; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.wr-total small, .wr-total-big small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.wr-total-big { font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1.1; margin: 4px 0; }
.wr-crit { border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 10px; }
.wr-crit .options { margin-top: 6px; gap: 8px; }
.wr-band { font-size: .92rem; padding: 10px; }
.wr .opt.wr-band.chosen { background: #fbf8f1; }
.wr-band-name { display: block; font-size: .85rem; margin-bottom: 2px; }
.wr-compare { display: flex; flex-direction: column; gap: 10px; }
.wr-text { white-space: pre-wrap; line-height: 1.75; background: #fbf8f1; border-radius: 12px; padding: 10px 12px; font-size: .98rem; overflow-wrap: anywhere; }
.wr-text.model { background: #f3f7f1; }
.wr-note { background: #fff8e6; border: 1px solid #f5d99a; border-radius: 12px; padding: 8px 12px; margin: 12px 0; }
.wr-saved .btn { margin-top: 12px; }
/* parent report */
.wr-rp-item { border: 1px solid var(--line); border-radius: 12px; margin: 6px 0; overflow: hidden; }
.wr-rp-head { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; font: inherit; font-size: .88rem; color: inherit; }
.wr-rp-head b { white-space: nowrap; }
.wr-rp-item .wr-text { margin: 0 10px 10px; font-size: .92rem; }
