:root {
  --ink: #173f3f; --paper: #fffef7; --navy: #17175f; --purple: #7b2477;
  --green: #326c5d; --gold: #d9a928; --line: #889c83; --max: 72rem;
  font-family: Verdana, Arial, Helvetica, sans-serif; color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f2eee3; line-height: 1.58; }
a { color: #075fa7; text-underline-offset: .15em; }
a:visited { color: #536f79; }
a:hover { color: #8b257f; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: .6rem; z-index: 9; }
.skip-link:focus { left: .5rem; }
.site-header { color: #fff; background: linear-gradient(105deg, #172969, #702c82 64%, #ba8830); border-bottom: .35rem solid #d7bf5a; }
.header-inner { max-width: var(--max); margin: auto; padding: 1.35rem clamp(1rem, 4vw, 3rem); }
.eyebrow { margin: 0; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; }
.site-title { margin: .1rem 0; font: 700 clamp(1.9rem, 5vw, 3.7rem)/1.05 Arial, Helvetica, sans-serif; text-shadow: 2px 2px #20163c; }
.site-title a, .site-title a:visited { color: #fff; text-decoration: none; }
.strapline { margin: .4rem 0 0; color: #fff9c9; }
.site-nav { background: #fff; border-bottom: 1px solid #aa9caf; box-shadow: 0 2px 5px #0002; }
.nav-inner { max-width: var(--max); margin: auto; padding: .55rem 1rem; display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.site-nav a, .print-button { display: inline-block; padding: .45rem .7rem; border: 1px solid #8a7392; background: #f9f3fc; color: #342043; font: 700 .83rem Verdana, sans-serif; text-decoration: none; border-radius: .2rem; }
.site-nav a:hover, .print-button:hover { background: #efe0f6; }
.print-button { cursor: pointer; margin-left: auto; }
.archive-strip { padding: .45rem 1rem; text-align: center; background: #fff1b8; color: #5f4511; border-bottom: 1px dashed #a47b1c; font-size: .83rem; }
.content-card { width: min(calc(100% - 2rem), var(--max)); margin: 1.25rem auto; padding: clamp(1rem, 4vw, 2.7rem); background: var(--paper); border: 1px solid #b8ad9a; box-shadow: .3rem .3rem 0 #c8bea9; overflow-wrap: anywhere; }
h1, h2, h3, h4 { font-family: Arial, Helvetica, sans-serif; line-height: 1.2; }
h1 { color: var(--navy); font-size: clamp(1.75rem, 4vw, 2.65rem); }
h2 { color: var(--purple); font-size: clamp(1.2rem, 3vw, 1.65rem); }
h3 { color: #26734f; }
img { max-width: 100%; height: auto; }
img[align="left"] { float: left; margin: .25rem 1rem .75rem 0; }
img[align="right"] { float: right; margin: .25rem 0 .75rem 1rem; }
p::after { content: ""; display: table; clear: both; }
table { max-width: 100%; border-collapse: collapse; }
td, th { padding: .25rem .45rem; vertical-align: top; }
.content-card > table { display: block; overflow-x: auto; }
.content-card > .intro-table { display: table; overflow: visible; }
.theme-psychokiwi .content-card ul { list-style-image: url('/assets/bullet-psychokiwi-1.gif?v=2'); }
.theme-psychokiwi .content-card ul ul { list-style-image: url('/assets/bullet-psychokiwi-2.gif?v=2'); }
.theme-psychokiwi .content-card ul ul ul { list-style-image: url('/assets/bullet-psychokiwi-3.gif?v=2'); }
.theme-leader .content-card ul { list-style-image: url('/assets/bullet-leader-1.gif'); }
.theme-leader .content-card ul ul { list-style-image: url('/assets/bullet-leader-2.gif'); }
.theme-leader .content-card ul ul ul { list-style-image: url('/assets/bullet-leader-3.gif'); }
.theme-pink .content-card ul { list-style-image: url('/assets/bullet-pink-1.gif'); }
.theme-pink .content-card ul ul { list-style-image: url('/assets/bullet-pink-2.gif'); }
.theme-pink .content-card ul ul ul { list-style-image: url('/assets/bullet-pink-3.gif'); }
hr { border: 0; border-top: 2px dotted #827090; margin: 1.5rem 0; }
.contact-card { max-width: 42rem; margin: 2rem auto; padding: 1.5rem; border: 2px dashed var(--purple); background: #fff; text-align: center; }
.email-button { display: inline-block; padding: .7rem 1rem; background: #5d2d78; color: #fff !important; text-decoration: none; border-radius: .2rem; }
.lbna-search { max-width: 34rem; margin: 1rem 0 1.5rem; padding: 1rem; border: 1px solid #8a7392; background: #f9f3fc; }
.lbna-search > label:first-child { display: block; margin-bottom: .35rem; font-weight: 700; }
.lbna-search-row { display: flex; gap: .5rem; }
.lbna-search-row input { min-width: 0; flex: 1 1 16rem; padding: .6rem .7rem; border: 1px solid #8a7392; font: inherit; }
.lbna-search-row button { padding: .6rem .85rem; border: 1px solid #55365f; border-radius: .2rem; color: #fff; background: #5d2d78; font: 700 .9rem Verdana, sans-serif; cursor: pointer; }
.lbna-search-row button:hover { background: #7b2477; }
.lbna-archive-option { display: block; margin-top: .75rem; font-size: .9rem; }
.site-footer { max-width: var(--max); margin: 1.5rem auto 2rem; padding: 0 1rem; text-align: center; color: #3f4843; font-size: .78rem; }
.maker-mark { margin-top: 1.2rem; }
.maker-mark img { display: block; width: 63px; height: 74px; margin: .45rem auto 0; }
.theme-leader { --ink: #243f39; --paper: #fffef8; background-color: #fff; background-image: url('/assets/cow-background-wide.png'); background-position: left top; background-repeat: repeat-y; background-size: auto 200px; }
.theme-leader .site-header { background: linear-gradient(105deg, #273f35, #63734b 62%, #a18343); }
.theme-leader h1, .theme-leader h2, .theme-leader h3 { color: #315f55; }
.theme-pink { --ink: #3c3140; --paper: #fffafd; background: #fff url('/assets/whiteballoon.jpg') repeat; }
.theme-pink .site-header { background: linear-gradient(105deg, #833c77, #cb608c 65%, #7c9f48); }
.theme-pink h1, .theme-pink h2, .theme-pink h3 { color: #318b36; }
@media (max-width: 42rem) {
  .print-button { margin-left: 0; }
  .lbna-search-row { align-items: stretch; flex-direction: column; }
  .lbna-search-row input { flex-basis: auto; width: 100%; }
  .intro-table, .intro-table tbody, .intro-table tr, .intro-table td { display: block; width: 100% !important; height: auto !important; }
  .intro-table td:empty { display: none; }
  .intro-table img { margin: 0 auto 1rem; }
  img[align="left"], img[align="right"] { float: none; display: block; margin: .75rem auto; }
  td, th { min-width: 8rem; }
}
@media print {
  .site-nav, .archive-strip, .skip-link { display: none !important; }
  body { background: #fff !important; color: #000; }
  .site-header { background: #fff !important; color: #000; border-bottom: 2px solid #000; }
  .site-title a, .site-title a:visited, .strapline { color: #000; text-shadow: none; }
  .content-card { width: 100%; margin: 0; padding: 1rem 0; border: 0; box-shadow: none; }
  a { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }
}
