/* Stuff: an insurer's ledger. Cool paper, a brass accent, every item a tagged card with its photo. */
:root { --page: #f2f4f7; --card: #ffffff; --ink: #18202b; --soft: #5b6676; --line: #dde2ea; --field: #eef1f5; --act: #9a6b14; --on-act: #ffffff; --stop: #b3261e; --wide: 760px; color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --page: #11151b; --card: #1a2029; --ink: #e9edf3; --soft: #a3adbb; --line: #2c3440; --field: #11151b; --act: #e2b357; --on-act: #2a1d03; --stop: #ff8a80; color-scheme: dark; }
}
.ledger { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.ledger div { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--act); border-radius: 10px; padding: 10px 12px; }
.ledger b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; } .ledger small { color: var(--soft); }
.stack { display: grid; gap: 12px; margin-top: 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 480px) { .two { grid-template-columns: 1fr; } }
.between { justify-content: space-between; align-items: center; } #q { max-width: 220px; }
summary { cursor: pointer; list-style: none; } summary::-webkit-details-marker { display: none; }
summary h2 { display: inline; } summary::after { content: " +"; color: var(--act); font-weight: 700; } details[open] summary::after { content: " −"; }
.room { margin: 18px 0 6px; color: var(--soft); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
.item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px; margin-bottom: 6px; }
.thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--field); display: block; }
.thumb.big { width: 160px; height: 160px; }
.item .val { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.item .acts { grid-column: 2 / -1; display: flex; gap: 6px; }
@media print {
  .no-print, details, #q, footer, .acts, header .lead { display: none !important; }
  body { background: #fff; color: #000; } main { max-width: none; padding: 0; }
  .item { break-inside: avoid; border-color: #bbb; } .ledger div { border-color: #bbb; }
}
