:root {
  --ink: #3F2415; --ink-dark: #4A2C19; --muted: #8A6448; --rule: #C9A583; --hair: #E3CEB1;
  --tint: #F3E5D2; --band: #EFE0CA; --bg: #F5E7D6; --card: #FAF2E7; --accent: #B08968;
  --ok: #4A2C19; --wait: #D9A441; --err: #A3341F;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
/* author display rules (buttons, flex rows) would otherwise beat the browser's [hidden] default */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 var(--font); }
/* faint crosses, Bibles, stars and verse references behind everything; app.js scrolls
   the two layers slower than the page (tiles drawn by tools/gen_bg.py) */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg > div { position: absolute; left: 0; right: 0; top: 0; height: calc(100% + 600px); will-change: transform; }
.bg-far { background: url("bg/far.svg") 0 0 / 420px repeat; }
.bg-near { background: url("bg/near.svg") 90px 40px / 560px repeat; }
a { color: var(--ink-dark); }
h1, h2, h3 { margin: 0 0 .5rem; line-height: 1.2; }
h1 { font-size: 1.5rem; letter-spacing: .12em; }
h1.plain { letter-spacing: 0; margin: 1rem 0 .75rem; }
h2 { font-size: 1.1rem; }
h3 { font-size: 1rem; margin-top: 1.25rem; }
.muted, small { color: var(--muted); font-weight: 400; }
.sub { color: var(--muted); font-size: .8rem; letter-spacing: .14em; font-weight: 600; margin: 0 0 1rem; }
.hint { color: var(--muted); font-size: .85rem; margin: .5rem 0 0; }
.week-status { color: var(--ink); font-size: 1.05rem; margin: 0 0 .3rem; }
.week-status strong { font-weight: 700; }
.instruction { color: var(--muted); font-style: italic; font-size: .85rem; margin: 0 0 1rem; }
.center { text-align: center; }

.bar { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between;
       padding: .75rem 1rem; background: var(--card); border-bottom: 1px solid var(--rule); }
.brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; letter-spacing: .14em; font-size: .85rem; text-decoration: none; }
.brand img { display: block; width: 1.75rem; height: 1.75rem; }
.bar nav { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: center; font-size: .9rem; }
.bar nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
.bar nav a:hover { color: var(--ink); }

main { max-width: 64rem; margin: 0 auto; padding: 1rem 1rem 3rem; }
main.narrow { max-width: 34rem; }

.panel { background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 1.25rem; margin: 1rem 0; }
.flash { background: var(--tint); border: 1px solid var(--rule); border-radius: 10px; padding: .6rem .9rem; margin: 1rem 0; }
.error { color: var(--err); font-weight: 600; margin: 0; }

form.inline { display: inline; margin: 0; }
.stack { display: grid; gap: .9rem; text-align: left; }
label { display: grid; gap: .3rem; font-weight: 600; font-size: .9rem; }
input, textarea { font: inherit; padding: .65rem .75rem; border: 1px solid var(--rule); border-radius: 10px;
                  background: #FFFDF9; color: var(--ink); width: 100%; }
input:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--wait); outline-offset: 2px; }
button { font: inherit; cursor: pointer; }
button.primary, button.secondary, a.btn { display: inline-block; padding: .7rem 1.1rem; border-radius: 10px; font-weight: 700;
                                          border: 1px solid var(--ink-dark); text-decoration: none; }
button.primary { background: var(--ink-dark); color: var(--card); }
button.secondary, a.btn { background: var(--card); color: var(--ink-dark); }
button.link { background: none; border: 0; padding: .25rem; color: var(--muted); font-weight: 600; text-decoration: underline; }
select { font: inherit; padding: .65rem .75rem; border: 1px solid var(--rule); border-radius: 10px; background: #FFFDF9; color: var(--ink); width: 100%; }

/* student page */
.hero { text-align: center; padding: .5rem 0 0; }
/* lesson page: a borderless, feathered wash so the title reads cleanly over the background
   pattern (the box-shadow continues the fill outwards and fades it) */
.week-head { position: relative; margin: .5rem 0 1rem; padding: .1rem 0; border-radius: 1.5rem;
             background: rgba(245, 231, 214, .82); box-shadow: 0 0 1.25rem .9rem rgba(245, 231, 214, .82); }
.week-head .instruction { margin-bottom: 0; }
.score { margin: 0 0 .4rem; }
.score strong { font-size: 1.6rem; }
progress { width: 100%; height: 12px; border: 0; border-radius: 6px; overflow: hidden; background: var(--hair); }
progress::-webkit-progress-bar { background: var(--hair); }
progress::-webkit-progress-value { background: var(--ink-dark); }
progress::-moz-progress-bar { background: var(--ink-dark); }

.tasks { list-style: none; margin: 1rem 0; padding: 0; display: grid; gap: .9rem; }
.task { display: flex; flex-direction: column; gap: .75rem; padding: 1rem; background: var(--card);
        border: 1px solid var(--rule); border-radius: 14px; }
.task-head { display: flex; align-items: center; gap: .85rem; }
.task-head .label { flex: 1; font-weight: 700; }
.task .body > *:first-child { margin-top: 0; }
.task form { margin: 0; }
.refs { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 0; }
a.ref { display: inline-block; padding: .4rem .75rem; border: 1px solid var(--rule); border-radius: 14px; line-height: 1.35;
        background: var(--tint); color: var(--ink-dark); font-weight: 600; font-size: .9rem; text-decoration: none; }
a.ref:hover { background: var(--band); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.answer { margin-top: .75rem; }
.answer textarea { resize: vertical; min-height: 4rem; line-height: 1.5; }
.buttons { display: flex; flex-wrap: wrap; gap: .5rem; }
blockquote.submitted { margin: .75rem 0 .25rem; padding: .75rem 1rem; background: var(--tint); border-left: 4px solid var(--accent);
                       border-radius: 0 10px 10px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin: 1.5rem 0; }
.mini { color: var(--muted); font-size: .8rem; margin-left: .2rem; }
.tabs a[aria-current] .mini { color: var(--hair); }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.review-head h2 { margin: 0; }
.verse { margin: .75rem 0 0; padding: .85rem 1rem; background: var(--tint); border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; }
.verse-text { margin: 0 0 .75rem; font-size: 1.1rem; line-height: 1.7; }
.verse-text sup { color: var(--accent); font-weight: 700; font-size: .7em; margin-right: .1em; }
.verse-ref { display: block; margin-top: .4rem; color: var(--muted); font-size: .85rem; font-weight: 600; }
.verse .w[data-hidden] { background: var(--band); color: var(--muted); border-radius: 4px; padding: 0 .15em; cursor: pointer;
                         letter-spacing: .06em; font-weight: 700; }
.verse .hint { margin-top: .6rem; }
.notice { color: var(--muted); font-size: .75rem; line-height: 1.4; margin: 1rem 0 0; }
a.read { display: block; font-size: .75rem; margin-top: .15rem; }

.check { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 2px solid var(--accent); background: #FFFDF9; padding: 0;
         display: grid; place-items: center; }
.check::after { content: "✓"; font-size: 1.4rem; font-weight: 700; color: transparent; }
.task[data-state="ticked"] .check { background: var(--wait); border-color: var(--wait); }
.task[data-state="ticked"] .check::after, .task[data-state="stamped"] .check::after { color: var(--ink-dark); }
.task[data-state="stamped"] .check { background: var(--hair); border-color: var(--hair); cursor: default; }

.stamp { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 2px dashed var(--rule); display: grid; place-items: center; }
.task[data-state="stamped"] .stamp { border: 2px solid var(--ink-dark); background: var(--ink-dark); }
.task[data-state="stamped"] .stamp::after { content: "★"; color: var(--card); font-size: 1.2rem; }

/* teacher tables */
.scroll { overflow-x: auto; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; }
table.grid { border-collapse: collapse; width: 100%; }
.grid th, .grid td { padding: .55rem .75rem; text-align: center; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.grid th { background: var(--tint); font-size: .8rem; letter-spacing: .04em; white-space: nowrap; vertical-align: top; }
.grid th small { display: block; font-size: .7rem; letter-spacing: 0; white-space: normal; max-width: 9rem; margin: .15rem auto 0; }
.grid .name { text-align: left; font-weight: 600; white-space: nowrap; position: sticky; left: 0; background: var(--card); }
.grid th.name { background: var(--tint); }
.grid tbody tr:last-child td { border-bottom: 0; }
.grid .total { font-weight: 700; }
.badge { display: inline-block; min-width: 1.4rem; padding: 0 .4rem; margin-left: .35rem; border-radius: 999px; background: var(--wait);
         color: var(--ink-dark); font-size: .75rem; font-weight: 700; }
.dots { display: inline-flex; gap: 4px; }
.dot { display: inline-block; width: .85rem; height: .85rem; border-radius: 50%; border: 2px solid var(--rule); background: transparent; vertical-align: -2px; }
.dot[data-state="ticked"] { background: var(--wait); border-color: var(--wait); }
.dot[data-state="stamped"] { background: var(--ink-dark); border-color: var(--ink-dark); }
.legend { color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: center; }
.legend .dot { margin-right: .3rem; }

.tabs { display: flex; flex-wrap: wrap; gap: .5rem .4rem; margin-top: .5rem; padding: .6rem 0;
        border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.tabs a { position: relative; width: 2.4rem; height: 2.4rem; display: flex; align-items: center; justify-content: center;
          border: 1px solid var(--rule); border-radius: 50%; text-decoration: none; font-weight: 700; font-size: .9rem;
          background: var(--card); box-shadow: 0 2px 0 var(--hair); }
.tabs a:hover { border-color: var(--accent); }
.tabs .now-dot { position: absolute; top: -.15rem; right: -.15rem; width: .55rem; height: .55rem;
                 border-radius: 50%; background: var(--wait); }
/* the selected tab is a bigger circle (not a wider oval), and a small pointer ties it to what's below */
.tabs a[aria-current] { background: var(--ink-dark); color: var(--card); border-color: var(--ink-dark); box-shadow: none;
                        width: 2.75rem; height: 2.75rem; font-size: 1rem; }
.tabs a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: -.7rem; transform: translateX(-50%);
                               border-left: 6px solid transparent; border-right: 6px solid transparent;
                               border-top: 7px solid var(--ink-dark); }

/* a tab carrying data-done becomes a small progress ring, one slice per task done that week,
   with a thin gap cut between each of the 5 slices so they read as separate segments;
   the face on top keeps the number on a plain background regardless of how much ring shows */
.tabs a[data-done] { border: 0; box-shadow: none; }
.tabs a[data-done="0"] { background: conic-gradient(
  var(--card) 0deg 4deg, var(--hair) 4deg 68deg, var(--card) 68deg 76deg, var(--hair) 76deg 140deg,
  var(--card) 140deg 148deg, var(--hair) 148deg 212deg, var(--card) 212deg 220deg, var(--hair) 220deg 284deg,
  var(--card) 284deg 292deg, var(--hair) 292deg 356deg, var(--card) 356deg 360deg); }
.tabs a[data-done="1"] { background: conic-gradient(
  var(--card) 0deg 4deg, var(--wait) 4deg 68deg, var(--card) 68deg 76deg, var(--hair) 76deg 140deg,
  var(--card) 140deg 148deg, var(--hair) 148deg 212deg, var(--card) 212deg 220deg, var(--hair) 220deg 284deg,
  var(--card) 284deg 292deg, var(--hair) 292deg 356deg, var(--card) 356deg 360deg); }
.tabs a[data-done="2"] { background: conic-gradient(
  var(--card) 0deg 4deg, var(--wait) 4deg 68deg, var(--card) 68deg 76deg, var(--wait) 76deg 140deg,
  var(--card) 140deg 148deg, var(--hair) 148deg 212deg, var(--card) 212deg 220deg, var(--hair) 220deg 284deg,
  var(--card) 284deg 292deg, var(--hair) 292deg 356deg, var(--card) 356deg 360deg); }
.tabs a[data-done="3"] { background: conic-gradient(
  var(--card) 0deg 4deg, var(--wait) 4deg 68deg, var(--card) 68deg 76deg, var(--wait) 76deg 140deg,
  var(--card) 140deg 148deg, var(--wait) 148deg 212deg, var(--card) 212deg 220deg, var(--hair) 220deg 284deg,
  var(--card) 284deg 292deg, var(--hair) 292deg 356deg, var(--card) 356deg 360deg); }
.tabs a[data-done="4"] { background: conic-gradient(
  var(--card) 0deg 4deg, var(--wait) 4deg 68deg, var(--card) 68deg 76deg, var(--wait) 76deg 140deg,
  var(--card) 140deg 148deg, var(--wait) 148deg 212deg, var(--card) 212deg 220deg, var(--wait) 220deg 284deg,
  var(--card) 284deg 292deg, var(--hair) 292deg 356deg, var(--card) 356deg 360deg); }
.tabs a[data-done="5"] { background: conic-gradient(
  var(--card) 0deg 4deg, var(--wait) 4deg 68deg, var(--card) 68deg 76deg, var(--wait) 76deg 140deg,
  var(--card) 140deg 148deg, var(--wait) 148deg 212deg, var(--card) 212deg 220deg, var(--wait) 220deg 284deg,
  var(--card) 284deg 292deg, var(--wait) 292deg 356deg, var(--card) 356deg 360deg); }
.tabs .tab-face { position: absolute; top: 3px; right: 3px; bottom: 3px; left: 3px; border-radius: 50%;
                  background: var(--card); border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; }
.tabs a:hover .tab-face { border-color: var(--accent); }
.tabs a[aria-current] .tab-face { background: var(--ink-dark); color: var(--card); border-color: var(--ink-dark); }
.toolbar { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; color: var(--muted); }
.toolbar [hidden] { display: none; }

.cell { width: 2.75rem; height: 2.75rem; border-radius: 10px; border: 2px dashed var(--rule); background: transparent; padding: 0; display: grid; place-items: center; }
.stamping td { padding: .35rem .5rem; }
.stamping td form { margin: 0; }
[data-state="ticked"] .cell { border: 2px solid var(--wait); background: #FBEBC4; }
[data-state="ticked"] .cell::after { content: "✓"; font-weight: 700; color: var(--ink-dark); }
[data-state="stamped"] .cell { border: 2px solid var(--ink-dark); background: var(--ink-dark); }
[data-state="stamped"] .cell::after { content: "★"; color: var(--card); font-size: 1.2rem; }

.people { list-style: none; margin: 0; padding: 0; }
.people li { display: flex; flex-wrap: wrap; gap: .25rem 1rem; align-items: center; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--hair); }
.people li:last-child { border-bottom: 0; }
label.pick { display: inline-flex; gap: .6rem; align-items: center; font-weight: 400; font-size: 1rem; cursor: pointer; }
label.pick input[type="checkbox"] { width: 1.15rem; height: 1.15rem; padding: 0; margin: 0; accent-color: var(--ink-dark); flex: none; }
.bulkbar { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: .25rem 0 .5rem; }
.bulkbar .hint { margin: 0; }
.people .actions { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: center; }
.people a.edit-one { color: var(--muted); font-weight: 600; padding: .25rem; }

/* edit students page: a box per student, and the buttons kept in reach at the bottom of the screen */
.select-all { margin: .75rem 0 0; }
.editboxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; margin: 1rem 0; }
.editbox { display: grid; gap: .7rem; align-content: start; background: var(--card); border: 1px solid var(--rule);
           border-radius: 14px; padding: 1rem; }
.editbox input:not([type="checkbox"]), .editbox select { padding: .5rem .65rem; }
.actionbar { position: sticky; bottom: 0; margin: 0; padding: .75rem; background: var(--card);
             border: 1px solid var(--rule); border-radius: 14px; }

.slips { display: grid; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); gap: 1rem; }
.slip { background: var(--card); border: 1px dashed var(--accent); border-radius: 10px; padding: .9rem 1rem; break-inside: avoid; }
.slip-head { font-size: .7rem; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.slip-name { font-size: 1.2rem; font-weight: 700; margin: .25rem 0 .5rem; }
.slip dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .15rem .75rem; }
.slip dt { color: var(--muted); font-size: .85rem; }
.slip dd { margin: 0; white-space: nowrap; }   /* an address or password split over two lines gets mistyped */
.slip code { font: 700 1rem/1.3 ui-monospace, Menlo, Consolas, monospace; }
.slip-note { margin: .5rem 0 0; font-size: .85rem; color: var(--muted); }
.slip-note.error { color: var(--err); }

@media print {
  body { background: #fff; }
  .bg,
  .bar, .noprint, .flash { display: none; }
  main { padding: 0; max-width: none; }
  .slip { background: #fff; }
}

/* home: the stamp card, this week, group goal */
.card { position: relative; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 1.1rem;
        box-shadow: 0 1px 0 var(--hair), 0 10px 28px rgba(63, 36, 21, .10); margin: 1rem 0; }
.card-brand { font-weight: 700; letter-spacing: .12em; font-size: 1.1rem; }
.card-sub { color: var(--muted); font-size: .68rem; letter-spacing: .14em; font-weight: 600; margin-top: .1rem; }
.card-rule { border-top: 1px dashed var(--rule); margin: .8rem 0; }
.card-fields { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-size: .95rem; font-weight: 600; }
.card-fields b { color: var(--muted); font-size: .68rem; letter-spacing: .12em; margin-right: .45rem; }
.stars { list-style: none; margin: 1rem 0 .5rem; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: .65rem; }
.star { aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--accent); display: grid; place-items: center;
        color: var(--rule); font-weight: 700; font-size: 1.05rem; }
.star.on { border: 2px solid var(--ink-dark); background: var(--ink-dark); color: var(--card); }
.star.snack { font-size: .62rem; letter-spacing: .03em; }
.card-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; margin: .5rem 0 0; color: var(--muted); font-size: .85rem; font-weight: 600; }
.waiting { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: 1rem 0 0;
           padding: .6rem .9rem; background: #FBEBC4; border: 1px solid var(--wait); border-radius: 12px; }
.panel .tabs { margin-top: .25rem; }
.panel .score { margin-bottom: .5rem; }

/* teacher pages: which students, and groups */
.viewtoggles { display: flex; flex-wrap: wrap; gap: 0 1rem; }
.viewtoggle { display: inline-flex; margin: .25rem 0 1rem; border: 1px solid var(--rule); border-radius: 999px; overflow: hidden; background: var(--card); }
.viewtoggle a { padding: .4rem 1rem; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--muted); }
.viewtoggle a[aria-current] { background: var(--ink-dark); color: var(--card); }
.grid tr.group th { background: var(--band); text-align: left; font-size: .8rem; letter-spacing: .06em; position: sticky; left: 0; }


.now { display: inline-block; margin-left: .15rem; padding: 0 .4rem; border-radius: 999px; background: var(--wait); color: var(--ink-dark);
       font-size: .65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }
.tabs a[aria-current] .now { background: var(--card); }

/* lesson page: every stamp slot in a row, with a line after each card */
.strip { margin: .25rem 0 .5rem; }
.strip table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
.strip td { padding: 0; }
.strip .pip { height: .85rem; background: var(--hair); border: 1px solid var(--rule); border-left-width: 0; }
.strip .pip:first-child, .strip .pip.line + .pip { border-left-width: 1px; }
.strip .pip:first-child { border-radius: 6px 0 0 6px; }
.strip .pip.on { background: var(--ink-dark); border-color: var(--ink-dark); }
.strip .pip.line { border-right: 3px solid var(--accent); border-radius: 0 6px 6px 0; }
.strip .pip.line + .pip { border-radius: 6px 0 0 6px; }
.strip tr:first-child td:last-child { border-radius: 0 6px 6px 0; }
.strip .seg { padding-top: .3rem; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: center; }
.strip .seg.line { border-right: 3px solid var(--accent); }
.strip .seg.full { color: var(--ink-dark); }

/* preview site: banner and the Plans pages */
.preview-note { margin: 0; padding: .4rem 1rem; background: var(--wait); color: var(--ink-dark); font-size: .85rem;
                font-weight: 600; text-align: center; }
.plan-list { list-style: none; padding: 0; margin: 0; }
.plan-list .panel { margin: .75rem 0; }
.jump { display: flex; gap: 1rem; margin: 0 0 1rem; font-weight: 600; }
.plan-week { scroll-margin-top: 1rem; }
.plan-week h2 { margin-bottom: .75rem; }
.items { list-style: none; padding: 0; margin: 0; }
.item { display: grid; grid-template-columns: 8rem 1fr auto; gap: .25rem 1rem; align-items: start;
        padding: .45rem 0; border-top: 1px solid var(--hair); }
.item:first-child { border-top: 0; }
.item-label { color: var(--muted); font-weight: 600; font-size: .85rem; padding-top: .1rem; }
.plan-week blockquote { margin: .35rem 0 0; color: var(--ink); font-style: italic; }
.voters { margin: .2rem 0 0; color: var(--muted); font-size: .85rem; }
.vote { display: flex; gap: .35rem; margin: 0; }
.vote-btn { min-width: 3.2rem; padding: .35rem .6rem; border: 1px solid var(--rule); border-radius: 8px;
            background: var(--card); color: var(--ink-dark); font-weight: 700; }
.vote-btn.on { background: var(--ink-dark); border-color: var(--ink-dark); color: var(--card); }
@media (max-width: 34rem) {
  .item { grid-template-columns: 1fr auto; }
  .item-label { grid-column: 1 / -1; }
  .item-label:empty { display: none; }
}
.feedback-summary p { margin: 0 0 .4rem; }
.suggestions { margin-top: 1rem; border-top: 1px solid var(--rule); padding-top: .5rem; }
.suggestions ul { padding-left: 1.1rem; margin: 0 0 .75rem; }
.suggestions li { margin: .3rem 0; }
.suggest { max-width: 32rem; }
.plan-card { margin: 1rem 0 1.5rem; }
.plan-card figcaption { font-weight: 600; margin-bottom: .5rem; }
.card-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; }
.card-pair img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 1px 4px rgba(63, 36, 21, .25); }
@media print { .preview-note { display: none; } }
