/* Lily free tools, week 2 (4 Nov 2026): Bible verse generator, Which woman of the Bible are you? quiz, prayer generator.
   Shared base styles (.tool, .tchip, .vitem, .btn-sm) live in /site.css under "p6 tools". This file adds the
   stepped flow (pick, review, result), the quiz questions and the editable prayer. No em dashes. */
[data-step][hidden]{display:none}
.tool .tool-label[tabindex]{outline:none}
.tool .tool-label[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}
.tgroup{margin:0 0 16px}
.tgroup .tool-label{margin-bottom:8px}
.tchip input[type=radio],.tchip input[type=checkbox]{width:15px;height:15px}
.tchip:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.tsum{font-size:15px;color:var(--ink-soft);margin:0 0 14px;line-height:1.6}
.tsum b{color:var(--ink)}
button.btn-link{background:none;border:0;padding:0 2px;color:var(--accent);font:inherit;font-size:14px;text-decoration:underline;text-underline-offset:2px;cursor:pointer;border-radius:3px}
button.btn-link:hover{filter:none;color:var(--ink)}
button.btn-link:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.tool .tool-actions button:not(.btn-sm):not(.btn-link){min-height:44px}
.tool .tool-actions button:disabled{opacity:.5}
.tool .js-off{margin-top:6px}
.tool.js-on .js-off{display:none}
.tool .vnote{margin:6px 0 8px}
/* generator */
#g-out .vitem:first-child .verse{margin-top:4px}
#g-saved,#p-saved{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}
.gsaved-item{font-size:14.5px;color:var(--ink-soft);margin:0 0 8px;line-height:1.5}
.gsaved-item b{color:var(--ink)}
/* quiz */
.qq{border:0;padding:0;margin:0 0 14px;min-width:0}
.qq legend{font-family:"Fraunces",Georgia,serif;font-size:21px;line-height:1.3;padding:0;margin:0 0 12px;color:var(--ink)}
.qq legend:focus{outline:none}
.qq legend:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}
.qopts{display:grid;gap:8px}
.qopt{display:flex;align-items:flex-start;gap:10px;border:1px solid var(--line-strong);background:var(--card2);border-radius:14px;padding:11px 14px;font-size:15.5px;line-height:1.45;cursor:pointer;color:var(--ink)}
.qopt input{accent-color:var(--accent);margin:4px 0 0;flex:none;width:16px;height:16px}
.qopt:hover{border-color:var(--accent)}
.qopt:has(input:checked){border-color:var(--accent);background:var(--card);box-shadow:inset 0 0 0 1px var(--accent)}
.qopt:focus-within{outline:2px solid var(--accent);outline-offset:2px}
.qtool:not(.js-on) .qq{margin-bottom:22px}
.qtool:not(.js-on) .q-nav,.qtool:not(.js-on) #q-progress,.qtool:not(.js-on) #q-count{display:none}
.q-meta{display:flex;align-items:center;gap:12px;margin:0 0 12px;font-size:13.5px;color:var(--ink-soft)}
#q-progress{flex:1;height:8px;accent-color:var(--accent);border-radius:999px;overflow:hidden;border:0;background:var(--line)}
#q-progress::-webkit-progress-bar{background:var(--line);border-radius:999px}
#q-progress::-webkit-progress-value{background:var(--accent);border-radius:999px}
#q-progress::-moz-progress-bar{background:var(--accent);border-radius:999px}
.q-review{list-style:none;padding:0;margin:0 0 14px}
.q-review li{border-bottom:1px solid var(--line);padding:9px 0;font-size:15px;line-height:1.5}
.q-review .q-rq{color:var(--ink-soft);font-size:14px}
.q-you{font-size:13px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--accent);margin:0}
.q-name{font-family:"Fraunces",Georgia,serif;font-size:30px;margin:2px 0 0;line-height:1.15}
.q-tag{color:var(--ink-soft);margin:2px 0 12px;font-size:16px}
.q-runner{font-size:14.5px;color:var(--ink-soft);margin:12px 0 0}
.qwomen article{border-top:1px solid var(--line);padding:18px 0 6px}
.qwomen article:first-child{border-top:0}
.qwomen h3{font-family:"Fraunces",Georgia,serif;font-size:24px;margin:0 0 2px}
.qwomen .w-tag{color:var(--ink-soft);margin:0 0 10px;font-size:15px}
.w-body h4{font-size:13px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--accent);margin:14px 0 6px}
.w-body ul{padding-left:18px;margin:0 0 6px}
.w-body li{margin:0 0 6px;line-height:1.55;font-size:15.5px}
.w-body .w-ref{color:var(--ink-soft);font-size:13.5px;white-space:nowrap}
.w-body .verse{margin:10px 0}
.w-body .w-pray{font-style:italic}
/* prayer */
.ptool textarea{width:100%;box-sizing:border-box;font:inherit;font-size:16.5px;line-height:1.6;color:var(--ink);background:var(--card2);border:1px solid var(--line-strong);border-radius:14px;padding:14px 16px;resize:vertical;min-height:220px}
.ptool textarea:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.ptool input[type=text]{font:inherit;font-size:16px;color:var(--ink);background:var(--card2);border:1px solid var(--line-strong);border-radius:12px;padding:9px 12px;max-width:100%;flex:1;min-width:0}
.ptool .p-hint{font-size:13.5px;color:var(--ink-soft);margin:6px 0 0}
.p-savedp{border-bottom:1px solid var(--line);padding:8px 0}
.p-savedp summary{cursor:pointer;font-size:14.5px}
.p-pre{white-space:pre-wrap;font:inherit;font-size:15px;line-height:1.55;color:var(--ink-soft);margin:8px 0}
.p-sample{background:var(--card2);border-left:3px solid var(--accent);border-radius:8px;padding:12px 16px;white-space:pre-wrap;font:inherit;font-size:15.5px;line-height:1.6;margin:8px 0 18px}
/* FAQ as headings (week 2): each question is its own h2, the answer follows */
.faq2 h2{font-size:22px;margin:26px 0 6px}
@media print{
  .ptool [data-step]:not([data-step="3"]),.ptool .tool-actions,#p-saved,.p-hint{display:none !important}
  .ptool{display:block !important;border:0;box-shadow:none;padding:0}
  .ptool textarea{border:0;padding:0;background:none;min-height:0;height:auto}
}
@media (max-width:620px){
  .qq legend{font-size:19px}
  .q-name{font-size:26px}
}

/* 5 Nov 2026: long tool H1s wrap to two even lines instead of leaving one word alone on line 2 */
h1.tool-h1{text-wrap:balance}

/* Bible trivia quizzes (week 3, 16 Nov 2026): /tools/christmas-bible-trivia/ and /tools/bible-quiz-for-women/,
   built by scripts/tools_2026_11_w3.py. Reuses the quiz look (.qq, .qopt, .q-meta); adds the answer panel,
   right/wrong marks and the printable group sheet. */
.ttool .t-let{color:var(--accent);margin-right:2px}
.ttool:not(.js-on) .q-nav,.ttool:not(.js-on) .q-meta,.ttool:not(.js-on) .t-onlyjs{display:none}
.ttool:not(.js-on) .tq{margin-bottom:26px}
.ttool.js-on .t-ans > summary{display:none}
.t-ans{margin:12px 0 0}
.t-ans summary{cursor:pointer;font-size:14.5px;color:var(--accent);font-weight:600;width:max-content}
.t-ans .t-right{margin:8px 0 4px;font-size:15.5px}
.t-ans .t-note{font-size:15px;color:var(--ink-soft);margin:0 0 6px;line-height:1.55}
.t-ans .verse{margin:10px 0 4px}
.t-fb{font-weight:700;margin:4px 0 0;color:var(--ink)}
.t-fb:empty{display:none}
.t-fb.ok::before,.t-fb.no::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:8px;background:var(--sage)}
.t-fb.no::before{background:var(--accent)}
.qopt.is-right,.qopt.is-right:has(input:checked){border-color:var(--sage);background:var(--sage-soft);box-shadow:inset 0 0 0 1px var(--sage)}
.qopt.is-wrong,.qopt.is-wrong:has(input:checked){border-color:var(--accent);background:var(--accent-soft);box-shadow:none}
.qopt:has(input:disabled){cursor:default}
.qopt:has(input:disabled):hover{border-color:var(--line-strong)}
.qopt.is-right:has(input:disabled):hover{border-color:var(--sage)}
.q-meta #t-score{white-space:nowrap}
.t-review li .t-rq{color:var(--ink-soft);font-size:14px}
.t-review li.ok b{color:var(--ink)}
.t-review li.no b{color:var(--accent)}
.t-keywrap{margin:8px 0 18px}
.t-keywrap summary{cursor:pointer;font-weight:600;color:var(--accent)}
.t-sheet{display:none}
.t-sheet .ln-inline{display:inline-block;width:150px;border-bottom:1px solid #444;height:1em}
.t-sheet .t-short{width:40px}
@media print{
  .t-sheet.print-sheet{display:block !important;font-size:12.5px;line-height:1.4;color:#000;background:#fff}
  .t-ph{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;border-bottom:2px solid #000;padding-bottom:6px;margin-bottom:12px}
  .t-ptitle{font-family:"Fraunces",Georgia,serif;font-size:20px;font-weight:600}
  .t-pname{font-size:12px;white-space:nowrap}
  .t-pq{padding-left:22px;margin:0}
  .t-pq > li{break-inside:avoid;margin:0 0 9px}
  .t-pq p{margin:0 0 2px;font-weight:600}
  .t-popts{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
  .t-pkey{break-before:page}
  .t-pkey ol{padding-left:22px;margin:8px 0 0}
  .t-pkey li{margin:0 0 4px}
  .t-pkey span{color:#444}
  .t-pfoot{font-size:10.5px;color:#555;margin-top:14px}
}
.ttool .q-meta{gap:10px}
.ttool #t-count,.ttool #t-score{white-space:nowrap}
.ttool #t-progress{min-width:70px}
.ttool .t-revlabel{margin:22px 0 4px}
.ttool #t-out .q-name{margin-top:0}
h3.toolgroup{font-family:"Fraunces",Georgia,serif;font-size:22px;margin:22px 0 0}
