/* Odin's Birth Plan: change the colors and fonts in :root, or use the toolbar in the browser. */
@page { size: letter; margin: 0; }
:root { --head: "Lora", Georgia, serif; --body: "DM Sans", "Source Sans 3", "Segoe UI", Arial, sans-serif;
  /* theme colors: dark green, sage, sage tint, card cream, tag peach, accent tan, ink */
  --g:#4f6141; --s:#8a9c76; --sl:#e6ecdc; --c:#faf5ea; --p:#f3d9bd; --t:#b98556; --ink:#2c3327; }
* { box-sizing: border-box; }
html { font-size: 9pt; }
.page { font-family: var(--body); line-height: 1.32; width: 8.5in; height: 11in; padding: 0.33in 0.36in 0.3in; overflow: hidden; break-after: page; background: #fff; color: var(--ink); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
body { margin: 0; }
.page:last-child { break-after: auto; }
.inner { height: 100%; overflow: hidden; }
h1,h2,h3 { font-family: var(--head); margin: 0; }
.top { background: var(--g); color: #fff; border-radius: 10px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.top .ttl { flex: 1; }
.top .sprig { height: 46px; }
.top .sprig.flip { transform: scaleX(-1); }
.top h1 { font-size: 26pt; font-style: italic; font-weight: 600; }
.top .sub { letter-spacing: .28em; font-size: 7.5pt; margin-top: 2px; color: #dfe7d2; }
.top .tag { font-family: var(--head); font-style: italic; font-size: 11pt; text-align: right; color: #f4e6d2; }
.lead { margin: 7px 2px 6px; }
.names { display: grid; grid-template-columns: repeat(6,1fr); gap: 6px; margin-bottom: 7px; }
.names div { background: var(--c); border: 1px solid var(--sl); border-radius: 7px; padding: 4px 7px; min-height: 30px; }
.names span { display: block; font-size: 6.6pt; text-transform: uppercase; letter-spacing: .1em; color: var(--t); font-weight: 700; }
.names b { font-size: 1em; }
.sec { margin-top: 8px; }
.sec > h2 { background: var(--s); color: #fff; font-size: 1.4em; font-style: italic; font-weight: 600; padding: 3px 12px 4px; border-radius: 6px; margin-bottom: 5px; break-after: avoid; }
.sec > .lead2 { margin: 0 2px 5px; font-weight: 600; color: var(--g); break-after: avoid; }
.cols { columns: 2; column-gap: 9px; }
.cols3 { columns: 3; column-gap: 8px; }
.card { background: var(--c); border: 1px solid #e7dfcd; border-radius: 8px; padding: 6px 9px 7px; margin: 0 0 6px; break-inside: avoid; }
.card.w { background: #fff; border-color: var(--sl); }
.card h3 { font-size: 1.2em; color: var(--g); margin-bottom: 3px; font-weight: 600; }
p { margin: 0 0 3.5px; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 3.5px; padding-left: 13px; }
li { margin-bottom: 1.6px; }
ul.chk { list-style: none; padding-left: 0; }
ul.chk li { padding-left: 15px; position: relative; margin-bottom: 3px; }
ul.chk li::before { content: ""; position: absolute; left: 0; top: 1.5px; width: 8px; height: 8px; border: 1.2px solid var(--s); border-radius: 2px; background: #fff; }
.p1 { line-height: 1.42; }
.p1 .card { padding: 12px 14px 13px; margin-bottom: 11px; }
.p1 .card h3 { font-size: 1.3em; font-style: italic; margin-bottom: 8px; }
.p1 ul.chk li { margin-bottom: 7.5px; padding-left: 20px; } .p1 ul.chk li::before{width:10px;height:10px;top:3px} .p1 .lead{margin:10px 2px 9px} .p1 .names{margin-bottom:11px} .p1 .names div{min-height:40px;padding:6px 9px} .p1 .foot{font-size:1.1em;margin-top:10px}
.it { margin-bottom: 4px; }
.it b { color: var(--g); }
.pref { display: inline; font-weight: 600; color: #7a4c1f; background: var(--p); border-radius: 4px; padding: 0 4px; white-space: normal; }
.pref.y { background: #d7e3c6; color: #34452a; }
.note { font-size: .92em; color: #5d6654; font-style: italic; }
.foot { display: flex; align-items: flex-end; justify-content: center; gap: 8px; font-family: var(--head); font-style: italic; color: var(--t); margin-top: 4px; }

.blank { display:inline-block; border-bottom: 1px solid #9aa68b; width: 95px; height: 9px; }

.foot img { height: 2.2em; }
.foot img.hrt { height: .8em; }
ul.chk li.on::before { background: var(--s); box-shadow: inset 0 0 0 1.5px #fff; }

/* ---------- screen-only chrome ---------- */
.toolbar { position: sticky; top: 0; z-index: 10; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 8px 12px; background: #2f3a27; color: #fff; font: 13px/1.2 var(--body); }
.toolbar button, .toolbar select { font: inherit; padding: 6px 10px; border-radius: 6px; border: 1px solid #7d8f69; background: #45553a; color: #fff; cursor: pointer; }
.toolbar button.primary { background: #f3d9bd; color: #2c3327; border-color: #f3d9bd; font-weight: 700; }
.toolbar button.on { background: #8a9c76; }
.toolbar label { display: inline-flex; align-items: center; gap: 4px; }
.toolbar .grp { display: inline-flex; gap: 8px; }
.toolbar input[type=color] { width: 26px; height: 24px; padding: 0; border: 0; background: none; }
#status { opacity: .8; }
@media screen {
  body { background: #d9ddd2; }
  #pages { transform-origin: top left; }
  .page { margin: 16px auto; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
  .editing .inner { outline: 2px dashed var(--t); outline-offset: 2px; }
}
@media print {
  .toolbar { display: none !important; }
  #pages { zoom: 1 !important; }
  .page { margin: 0; box-shadow: none; }
}
