/* Check Before You Use shared styles (Piece 2 pages).
   Same look as the Piece 1 search page: big text, big tap targets,
   one thing per screen. Color rules from the owner: blue with a check
   mark means "yes / correct / go"; red with an X means "stop / no /
   cancel". Green is never used for a go or correct action.
   Brand scheme (owner's choice, 2026-10-30): Red, White & Blue —
   deep navy #0d2a57 brand, bright blue #005fcc actions, pale blue
   page #f2f5fa, white cards, and Old Glory red #b22234 used ONLY as
   decorative accent stripes (never a button, never an action). */
:root { font-size: 20px; }
* { box-sizing: border-box; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  margin: 0; background: #f2f5fa; color: #111;
  line-height: 1.5; overflow-x: clip;
}
main { max-width: 46rem; margin: 0 auto; padding: 1rem 1rem 3rem; }
h1 { font-size: 2.2rem; margin: 0.5rem 0 0.25rem; color: #0d2a57; }
h2 { font-size: 1.6rem; color: #0d2a57; }
.tagline { font-size: 1.25rem; margin: 0 0 1rem; }
p, li { font-size: 1.1rem; }
label.big { display: block; font-size: 1.3rem; font-weight: 700; margin: 1rem 0 0.4rem; }
input[type="text"], input[type="email"], input[type="password"], textarea {
  width: 100%; font-size: 1.3rem; padding: 0.8rem 1rem;
  border: 3px solid #111; border-radius: 0.6rem; min-height: 3.4rem;
  font-family: inherit; background: #fff;
}
textarea { min-height: 6rem; }
.btn {
  display: inline-block; font-size: 1.3rem; font-weight: 700;
  padding: 0.9rem 1.5rem; border: none; border-radius: 0.6rem;
  min-height: 3.6rem; cursor: pointer; text-decoration: none;
  text-align: center; margin: 0.4rem 0.3rem 0.4rem 0;
}
.btn-blue { background: #005fcc; color: #fff; }
.btn-red { background: #b00020; color: #fff; }
.btn-plain { background: #fff; color: #111; border: 3px solid #111; }
.btn:focus, input:focus, textarea:focus, a:focus { outline: 4px solid #ffb700; outline-offset: 2px; }
.card {
  background: #fff; border: 2px solid #b9c6d8; border-radius: 0.8rem; padding: 1rem 1.2rem;
  margin: 1rem 0; box-shadow: 0 2px 10px rgba(13, 42, 87, 0.10);
}
.danger {
  background: #fdecea; border-left: 10px solid #b00020;
  padding: 0.7rem 1rem; margin: 0.6rem 0; font-size: 1.15rem;
}
.danger strong { display: block; font-size: 1.2rem; }
.todo {
  background: #e8f0fe; border-left: 10px solid #005fcc;
  padding: 0.7rem 1rem; margin: 0.6rem 0; font-size: 1.15rem;
}
.todo strong { display: block; font-size: 1.2rem; }
.note {
  background: #fff8e1; border: 3px solid #8d6e00; border-radius: 0.8rem;
  padding: 1rem 1.2rem; margin: 1rem 0; font-size: 1.15rem;
}
.allclear {
  background: #eef4ee; border: 3px solid #555; border-radius: 0.8rem;
  padding: 1rem 1.2rem; font-size: 1.25rem;
}
.bigwords { font-size: 1.3rem; font-weight: 700; }
.error { color: #b00020; font-weight: 700; font-size: 1.15rem; }
.ok { font-weight: 700; font-size: 1.15rem; }
nav.menu { margin: 0.9rem 0 1.2rem; }
nav.menu p { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.45rem; color: #0d2a57; }
.menugrid { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.menugrid a {
  flex: 1 1 8.2rem; text-align: center; font-size: 1.08rem; font-weight: 700;
  padding: 0.6rem 0.4rem; border: 2px solid #33507e; border-radius: 0.6rem;
  color: #0d2a57; text-decoration: none; background: #fff; min-height: 3rem;
  box-shadow: 0 1px 5px rgba(13, 42, 87, 0.10);
}
.menugrid a[aria-current="page"] { background: #e8f0fe; border-color: #005fcc; }
#sessionbar { font-size: 1.05rem; margin-bottom: 0.5rem; }
img.chatphoto { max-width: 100%; height: auto; border-radius: 0.4rem; margin: 0.4rem 0; }
.msg { border: 2px solid #888; border-radius: 0.6rem; padding: 0.6rem 0.9rem; margin: 0.6rem 0; }
.msg .who { font-weight: 700; }
.msg.held { background: #fff8e1; }
input[type="date"], select {
  width: 100%; font-size: 1.3rem; padding: 0.8rem 1rem;
  border: 3px solid #111; border-radius: 0.6rem; min-height: 3.4rem;
  font-family: inherit; background: #fff;
}
input[type="checkbox"].bigcheck { width: 1.6rem; height: 1.6rem; vertical-align: middle; }
.featrow { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; justify-content: space-between; }
#giftcard {
  border: 4px dashed #005fcc; border-radius: 1rem; padding: 1.5rem;
  margin: 1rem 0; background: #fdfdf8;
}
#spotlight-banner {
  background: #e8f0fe; border: 3px solid #005fcc; border-radius: 0.8rem;
  padding: 1rem 1.2rem; margin: 1rem 0; font-size: 1.2rem;
}
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .danger, html[dir="rtl"] .todo {
  border-left: none; border-right: 10px solid #b00020;
}
html[dir="rtl"] .todo { border-right-color: #005fcc; }
footer {
  border-top: 5px solid #b22234; box-shadow: 0 -8px 0 -4px #0d2a57; margin-top: 3rem; padding-top: 1rem;
  font-size: 1.05rem;
}
a { color: #005fcc; }

/* Recall of the Day spotlight: same card, with the decorative red
 * top stripe the search card uses (accent only — never an action). */
#rotd article.card { border-top: 6px solid #b22234; }
