/*
 * LOCAL PREVIEW ONLY — the "warm" skin for every page that is not the home page
 * (2026-11-11, Wil on the warm home page: "do rest pages like this").
 *
 * Loaded AFTER site.css and only restyles: the workbook covers' look — warm
 * paper, teal, serif headlines, soft paper shadows — in place of the black
 * contour, the hard offset shadows and the patterned desk. Layout, markup and
 * scripts are untouched, so the makers, the printing and the age picker work
 * exactly as before. A port moves these values into make-site.js's CSS.
 */
:root, body.t-plain, body.t-clay, body.t-amber, body.t-moss, body.t-fern, body.t-teal, body.t-sky, body.t-plum, body.t-rose {
  --ink: #22201C; --paper: #FFFFFF; --ground: #F6EFE3; --accent: #C0511D; --muted: #6F665B; --mark: #D8CDBB;
  --teal: #1F6F66; --edge: #D8CDBB;
  --soft: 0 22px 44px -22px rgba(70,48,14,.42), 0 2px 6px rgba(70,48,14,.07);
}
/* !important: site.js gives the body a random desk tint (t-plum, t-sky…) after load */
html, body { background: #F6EFE3 !important; color: var(--ink); }
body { --ground: #F6EFE3 !important; --mark: #D8CDBB !important; }
.desk { display: none; }                      /* the patterned desk and its picker belong to the old look */
.bucket, .js .bucket { display: none; }
main { max-width: 52rem; }

/* DUSK (tone.js): a dark walnut table; every paper panel stays light, so only what sits
   straight on the table changes colour. */
html.dusk, html.dusk body { background: #26221E !important; }
html.dusk body { --ground: #26221E !important; }
html.dusk .panel, html.dusk .card { border-color: #0000; }
html.dusk nav.foot { border-top-color: #4A4239; }
html.dusk nav.foot a { color: #F3EADB; }
html.dusk .legal, html.dusk .legal a, html.dusk .upd { color: #B5A996; }

/* top bar: the name on a paper pill, the app on the right */
.top { margin: 1rem 0 .6rem; }
.plate { border: 0; background: none; padding: 0; }
.mark { background: var(--paper); border: 0; border-radius: .7rem; padding: .5rem .85rem; box-shadow: var(--soft);
  font-family: "Source Serif 4", Georgia, serif; font-weight: 700; color: var(--ink); }
.mark svg { color: var(--teal); }
.getbtn { border: 0; border-radius: .7rem; box-shadow: var(--soft); }
.getbtn:hover { background: var(--teal); }

/* paper */
.panel { border: 1px solid var(--edge); border-radius: 1rem; background: var(--paper); box-shadow: 0 14px 30px -22px rgba(70,48,14,.4); }
.panel.raised { box-shadow: var(--soft); border-color: var(--edge); }
.tab { color: var(--teal); border-bottom: 2px solid var(--teal); background: none; }
h1, h2 { font-family: "Source Serif 4", Georgia, serif; font-weight: 700; letter-spacing: -.012em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.08; }
.lede { color: var(--ink); }
.muted, .upd, .legal, .legal a { color: var(--muted); }
a { color: var(--teal); }
.panel a:not(.btn):not(.row):not(.card):not(.age):not(.sheetcard):not(.badge):not(.qr) { color: var(--teal); }

/* buttons */
.btn { border: 2px solid var(--ink); border-radius: .7rem; color: var(--ink); background: var(--paper); box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 18px -10px rgba(70,48,14,.5); background: var(--paper); color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent); color: #fff; }

/* lists of packs and sheets */
/* No frame of its own: the list already sits inside a paper panel, and a second
   outline around it read as a double border (Wil, 2026-11-11). Hairlines between rows only. */
.rows { border: 0; border-radius: 0; overflow: visible; margin-left: -.4rem; margin-right: -.4rem; }
.row { border: 0; border-top: 1px solid var(--edge); border-radius: 0; color: var(--ink); padding-left: .4rem; padding-right: .4rem; }
.row:first-child { border-top: 0; }
.row:hover { background: #FBF6EC; color: var(--ink); }
.row .rowicon, .row .rownum { border: 0; border-radius: .6rem; background: #EEF5F3; color: var(--teal); }
.row .rownum { font-family: "Archivo Black", sans-serif; font-weight: 400; }
.row .arrow { color: var(--teal); }
.subjects { border: 1px solid var(--edge); border-radius: .8rem; overflow: hidden; }
.subj { border-color: var(--edge); }
.subj svg { color: var(--teal); }
.stats .stat { border: 1px solid var(--edge); border-radius: .7rem; font-family: "Archivo Black", sans-serif; font-weight: 400; color: var(--teal); }
.stat span { font-family: Quicksand, sans-serif; color: var(--muted); }

/* cards (makers, coloring) and previews */
.card { border: 1px solid var(--edge); border-radius: .9rem; background: var(--paper); box-shadow: 0 12px 24px -18px rgba(70,48,14,.45); overflow: hidden; }
.card .thumb { border-color: var(--edge); }
.paper { border: 1px solid var(--edge); border-radius: .6rem; box-shadow: var(--soft); background: #EFE7D8; }
.sheetcard img { border: 1px solid var(--edge); box-shadow: 0 12px 22px -14px rgba(70,48,14,.45); }
.sheetcard:hover img { transform: translateY(-4px); box-shadow: var(--soft); }
.phone img { border: 2px solid var(--ink); }

/* forms (the makers) */
.form input[type=text], .form input[type=number] { border: 2px solid var(--ink); border-radius: .6rem; }
.form input:focus { outline: 3px solid var(--teal); outline-offset: 2px; }
.radios label { border: 2px solid var(--ink); border-radius: .6rem; }
.age { border: 0; border-radius: 50%; background: #EEF5F3; color: var(--teal); font-weight: 700; }
.age:hover { background: var(--teal); color: #fff; }

/* the app panel */
.ad video { border: 2px solid var(--ink); box-shadow: var(--soft); }
.adplay { border: 2px solid var(--ink); box-shadow: var(--soft); }
.getapp .qr { border: 1px solid var(--edge); border-radius: .5rem; }

/* foot */
nav.foot { border-top: 1px solid var(--edge); }
nav.foot a { color: var(--ink); }
