/* Shared styles for the printable Lights Out Kirkwood guides. Light-themed so
   they print cleanly and read like a real handout. Served same-origin, so it
   satisfies the site CSP (style-src 'self'). */

:root {
  --ink: #1a2230;
  --muted: #5a6472;
  --navy: #0a1230;
  --amber: #b07d15;
  --amber-soft: #fbf2dc;
  --rule: #e6e2d6;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
body {
  margin: 0;
  background: #f4f2ec;
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}
.sheet {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  padding: 48px 56px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.toolbar {
  max-width: 780px;
  margin: 20px auto 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.toolbar a,
.toolbar button {
  font: inherit;
  color: var(--navy);
  text-decoration: none;
  background: none;
  border: 1px solid #cfc9ba;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}
.toolbar button {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
  font-weight: 600;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.brand .mark {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  flex: none;
}
.brand .mark::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--amber);
}
.brand .mark::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -4px;
  right: -4px;
  height: 2px;
  background: var(--amber);
  transform: rotate(-45deg);
}
.brand .name {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.brand .name span {
  color: var(--amber);
}

h1 {
  font-size: 30px;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.lede {
  font-size: 15.5px;
  color: var(--muted);
  margin: 0 0 26px;
}
h2 {
  font-size: 17px;
  color: var(--navy);
  margin: 26px 0 8px;
}
p {
  margin: 0 0 12px;
}

.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 22px 0;
}

.item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
}
.item:first-of-type {
  border-top: 0;
}
.num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--amber-soft);
  color: var(--amber);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.item h3 {
  margin: 2px 0 4px;
  font-size: 16px;
  color: var(--navy);
}
.item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.callout {
  background: var(--amber-soft);
  border: 1px solid #efe2bf;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14.5px;
  margin: 18px 0;
}

table.kelvin {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 10px 0 4px;
}
table.kelvin th,
table.kelvin td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
table.kelvin th {
  color: var(--navy);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  vertical-align: middle;
  margin-right: 7px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

ul.checks {
  list-style: none;
  padding: 0;
  margin: 8px 0;
}
ul.checks li {
  padding: 6px 0 6px 26px;
  position: relative;
  font-size: 14.5px;
}
ul.checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--amber);
  font-weight: 700;
}

.foot {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 2px solid var(--navy);
  font-size: 12px;
  color: var(--muted);
}
.foot a {
  color: var(--amber);
}

@media print {
  body {
    background: #fff;
  }
  .toolbar {
    display: none;
  }
  .sheet {
    box-shadow: none;
    max-width: none;
    padding: 0;
  }
  .item,
  .callout,
  table.kelvin {
    break-inside: avoid;
  }
  @page {
    margin: 16mm;
  }
}
