/* Black Gold Outfitters hub — mobile first, dark with gold accents */
:root {
  --bg: #121110;
  --bg-2: #1a1917;
  --card: #201e1b;
  --card-2: #282521;
  --line: #36322c;
  --text: #ece6da;
  --muted: #a39b8c;
  --gold: #d4a62a;
  --gold-2: #f0c24b;
  --gold-ink: #1a1407;
  --ok: #6fbf73;
  --warn: #e0a43a;
  --bad: #e06a5a;
  --info: #6aa7d8;
  --radius: 12px;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 8px 24px rgba(0,0,0,.25);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--font);
  min-height: 100vh; padding-bottom: 76px;
}
a { color: var(--gold-2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6rem; }
h1 { font-size: 1.5rem; font-weight: 700; }
h2 { font-size: 1.1rem; font-weight: 650; }
h3 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 .8rem; }
small, .muted { color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }
code, .mono { font-family: var(--mono); font-size: .9em; }

/* ---------- layout ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: .75rem;
  padding: .7rem 1rem; background: rgba(18,17,16,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .55rem; color: var(--text); font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; font-size: .86rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span b { color: var(--gold); }
.topbar .spacer { flex: 1; }
.bell { position: relative; display: inline-flex; padding: .35rem; color: var(--text); border-radius: 8px; }
.bell svg { width: 22px; height: 22px; }
.bell:hover { background: var(--card); text-decoration: none; }
.bell .dot { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--bad); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--card-2); color: var(--gold-2);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem; border: 1px solid var(--line); }
.avatar:hover { text-decoration: none; border-color: var(--gold); }

.shell { display: block; }
.sidebar { display: none; }
main { padding: 1rem; max-width: 1100px; margin: 0 auto; }

.bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr);
  background: rgba(26,25,23,.97); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom);
}
.bottomnav a, .bottomnav summary {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .5rem 0 .45rem; font-size: .7rem;
  color: var(--muted); cursor: pointer; list-style: none;
}
.bottomnav summary::-webkit-details-marker { display: none; }
.bottomnav a.active, .bottomnav a:hover { color: var(--gold-2); text-decoration: none; }
.bottomnav svg, .sidebar svg { width: 22px; height: 22px; }
.bottomnav .plus { color: var(--gold-ink); }
.bottomnav .plus .bubble { width: 42px; height: 42px; margin-top: -18px; border-radius: 50%; background: var(--gold);
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(212,166,42,.35); }
.bottomnav .plus span { color: var(--muted); }
.more-sheet { position: fixed; left: .6rem; right: .6rem; bottom: 70px; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: .5rem; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; box-shadow: var(--shadow); }
.more-sheet a { flex-direction: row; justify-content: flex-start; gap: .6rem; padding: .7rem .8rem; font-size: .92rem;
  color: var(--text); border-radius: 10px; }
.more-sheet a:hover { background: var(--card-2); }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .bottomnav { display: none; }
  .shell { display: grid; grid-template-columns: 220px 1fr; }
  .sidebar { display: block; position: sticky; top: 57px; height: calc(100vh - 57px); overflow-y: auto;
    border-right: 1px solid var(--line); padding: 1rem .7rem; }
  .sidebar a { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: 9px; color: var(--muted);
    font-size: .95rem; font-weight: 500; }
  .sidebar a:hover { background: var(--card); color: var(--text); text-decoration: none; }
  .sidebar a.active { background: var(--card-2); color: var(--gold-2); }
  .sidebar .section { margin: 1rem .7rem .3rem; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #6f685c; }
  main { padding: 1.5rem 2rem 3rem; margin: 0; }
}

/* ---------- page header ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 1rem; }
.page-head h1 { margin: 0; flex: 1 1 auto; }
.page-head .actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.crumb { font-size: .85rem; color: var(--muted); margin-bottom: .3rem; display: block; }

/* ---------- cards & grids ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem;
  box-shadow: var(--shadow); margin-bottom: 1rem; }
.card > h2:first-child, .card > h3:first-child { margin-bottom: .75rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.card-head h2 { margin: 0; }
.grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .grid.two { grid-template-columns: 1fr 1fr; } .grid.three { grid-template-columns: repeat(3, 1fr); } }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 1rem; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; }
.stat .label { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stat .value { font-size: 1.35rem; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: .15rem; }
.stat .value.gold { color: var(--gold-2); }
.stat .value.bad { color: var(--bad); }

.quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-bottom: 1rem; }
@media (min-width: 700px) { .quick { grid-template-columns: repeat(4, 1fr); } }
.quick a { display: flex; align-items: center; gap: .6rem; padding: .8rem .9rem; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); color: var(--text); font-weight: 600; font-size: .95rem; }
.quick a:hover { border-color: var(--gold); text-decoration: none; }
.quick svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* ---------- alerts ---------- */
.flash { padding: .75rem 1rem; border-radius: 10px; margin-bottom: .6rem; border: 1px solid; font-size: .95rem; }
.flash.ok { background: rgba(111,191,115,.1); border-color: rgba(111,191,115,.35); color: #bfe6c1; }
.flash.error { background: rgba(224,106,90,.1); border-color: rgba(224,106,90,.4); color: #f3c0b8; }
.flash.info, .notice { background: rgba(212,166,42,.08); border: 1px solid rgba(212,166,42,.35); color: #f1dca2;
  padding: .75rem 1rem; border-radius: 10px; margin-bottom: 1rem; }

/* ---------- lists ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list > li { display: flex; gap: .75rem; align-items: center; padding: .7rem 0; border-top: 1px solid var(--line); }
.list > li:first-child { border-top: 0; padding-top: .2rem; }
.list .main { flex: 1; min-width: 0; }
.list .title { font-weight: 600; color: var(--text); display: block; overflow: hidden; text-overflow: ellipsis; }
.list a.title:hover { color: var(--gold-2); text-decoration: none; }
.list .sub { font-size: .85rem; color: var(--muted); }
.list .right { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.empty { color: var(--muted); padding: .4rem 0; font-size: .95rem; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
tr:hover td { background: rgba(255,255,255,.015); }
tfoot td { font-weight: 700; border-bottom: 0; }

/* ---------- badges ---------- */
.badge { display: inline-block; padding: .12rem .5rem; border-radius: 999px; font-size: .74rem; font-weight: 650;
  border: 1px solid var(--line); color: var(--muted); white-space: nowrap; vertical-align: middle; }
.badge.voting { color: #cfe3f5; border-color: rgba(106,167,216,.5); background: rgba(106,167,216,.12); }
.badge.pending { color: #f6dc9d; border-color: rgba(224,164,58,.5); background: rgba(224,164,58,.12); }
.badge.approved { color: #f0c24b; border-color: rgba(212,166,42,.55); background: rgba(212,166,42,.12); }
.badge.paid, .badge.ok, .badge.done { color: #bfe6c1; border-color: rgba(111,191,115,.5); background: rgba(111,191,115,.12); }
.badge.denied, .badge.bad { color: #f3c0b8; border-color: rgba(224,106,90,.5); background: rgba(224,106,90,.12); }
.badge.cancelled { text-decoration: line-through; }
.badge.gold { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }

/* calendar category colours */
.k-hunt { --k: #d4a62a; } .k-meeting { --k: #6aa7d8; } .k-bait { --k: #6fbf73; } .k-deadline { --k: #e06a5a; }
.k-travel { --k: #b18be0; } .k-other { --k: #a39b8c; } .k-task { --k: #e0a43a; }
.chip { display: block; font-size: .72rem; line-height: 1.25; padding: .1rem .35rem; margin-top: 2px; border-radius: 5px;
  background: color-mix(in srgb, var(--k) 22%, transparent); border-left: 3px solid var(--k); color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip:hover { text-decoration: none; filter: brightness(1.2); }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--k); margin-right: .35rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .6rem 1rem; min-height: 42px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--card-2); color: var(--text); font: inherit;
  font-weight: 600; font-size: .95rem; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: #57503f; text-decoration: none; filter: brightness(1.1); }
.btn.primary { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.btn.primary:hover { background: var(--gold-2); }
.btn.danger { background: transparent; color: var(--bad); border-color: rgba(224,106,90,.45); }
.btn.ok { background: rgba(111,191,115,.15); color: #bfe6c1; border-color: rgba(111,191,115,.45); }
.btn.ghost { background: transparent; }
.btn.small { padding: .3rem .65rem; min-height: 32px; font-size: .85rem; border-radius: 8px; }
.btn.block { width: 100%; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
form.inline { display: inline; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: .3rem; overflow-x: auto; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.tabs a { padding: .55rem .85rem; color: var(--muted); font-weight: 600; font-size: .92rem; border-bottom: 2px solid transparent;
  white-space: nowrap; }
.tabs a.active { color: var(--gold-2); border-bottom-color: var(--gold); }
.tabs a:hover { color: var(--text); text-decoration: none; }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: .9rem 1rem; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .wide { grid-column: 1 / -1; } }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; }
label .req { color: var(--gold); }
.help { font-size: .8rem; color: var(--muted); margin-top: .25rem; }
input[type=text], input[type=password], input[type=email], input[type=tel], input[type=date], input[type=time],
input[type=number], input[type=search], input[type=url], select, textarea {
  width: 100%; padding: .65rem .75rem; min-height: 44px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--text); font: inherit; font-size: 16px; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(212,166,42,.5); outline-offset: 0; border-color: var(--gold); }
input[type=file] { width: 100%; padding: .9rem; border: 1px dashed #57503f; border-radius: 10px; background: var(--bg-2);
  color: var(--muted); font: inherit; }
.check { display: flex; gap: .55rem; align-items: center; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); }
.money-input { position: relative; }
.money-input::before { content: "$"; position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.money-input input { padding-left: 1.6rem; }
.with-btn { display: flex; gap: .4rem; }
.with-btn .money-input { flex: 1; }
.form-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; align-items: center; }
.form-actions .spacer { flex: 1; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; align-items: center; }
.filters select, .filters input { width: auto; min-width: 140px; flex: 1 1 140px; min-height: 40px; padding: .45rem .6rem; }
.filters .btn { min-height: 40px; }

/* ---------- auth ---------- */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 1.5rem; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card .logo { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-bottom: 1.4rem; text-align: center; }
.auth-card .logo img { width: 72px; height: 72px; border-radius: 18px; }
.auth-card .logo .name { font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .95rem; }
.auth-card .logo .name b { color: var(--gold); }
.auth-card .card { padding: 1.4rem; }
.auth-card .field { margin-bottom: .9rem; }

/* ---------- photos ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; }
.gallery .ph { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.gallery .ph img { width: 100%; height: 160px; object-fit: cover; display: block; }
.gallery .ph .doc { height: 160px; display: grid; place-items: center; padding: .5rem; text-align: center; font-size: .85rem; color: var(--muted); }
.gallery .ph .bar { display: flex; justify-content: space-between; align-items: center; padding: .3rem .45rem; font-size: .75rem; gap: .3rem; }
.gallery .ph .bar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.thumb { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); flex: none; background: var(--bg-2); }
.thumb.ph-empty { display: grid; place-items: center; color: #6f685c; }
.thumb.ph-empty svg { width: 22px; height: 22px; }
.receipt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; }
.receipt-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); }
.receipt-tile:hover { border-color: var(--gold); text-decoration: none; }
.receipt-tile img, .receipt-tile .noimg { width: 100%; height: 130px; object-fit: cover; display: block; background: var(--bg-2); }
.receipt-tile .noimg { display: grid; place-items: center; color: #6f685c; }
.receipt-tile .body { padding: .55rem .7rem; }
.receipt-tile .v { font-weight: 600; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt-tile .m { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); }
.receipt-tile .amt { color: var(--gold-2); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- bars ---------- */
.bars { display: grid; gap: .45rem; }
.bar-row { display: grid; grid-template-columns: 120px 1fr auto; gap: .6rem; align-items: center; font-size: .88rem; }
.bar-row .track { height: 10px; background: var(--bg-2); border-radius: 5px; overflow: hidden; }
.bar-row .fill { height: 100%; background: linear-gradient(90deg, #a8811b, var(--gold-2)); border-radius: 5px; }
.bar-row .amt { font-variant-numeric: tabular-nums; color: var(--muted); }
.month-bars { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding-top: .5rem; }
.month-bars .col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; min-width: 0; }
.month-bars .bt { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; min-height: 0; }
.month-bars .b { width: 100%; max-width: 38px; background: linear-gradient(180deg, var(--gold-2), #a8811b); border-radius: 4px 4px 0 0; min-height: 2px; }
.month-bars .l { font-size: .68rem; color: var(--muted); white-space: nowrap; }

/* ---------- calendar ---------- */
.cal-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.cal-head h1 { margin: 0; flex: 1; }
.cal { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.cal .dow, .cal .week { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal .dow div { padding: .4rem; font-size: .72rem; text-transform: uppercase; color: var(--muted); text-align: center; border-bottom: 1px solid var(--line); }
.cal .day { min-height: 56px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .25rem; min-width: 0; position: relative; }
.cal .day:nth-child(7) { border-right: 0; }
.cal .week:last-child .day { border-bottom: 0; }
.cal .day .n { font-size: .78rem; color: var(--muted); display: inline-block; min-width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 50%; }
.cal .day.out { background: rgba(0,0,0,.18); }
.cal .day.out .n { opacity: .45; }
.cal .day.today .n { background: var(--gold); color: var(--gold-ink); font-weight: 700; }
.cal .day .add { position: absolute; inset: 0; z-index: 0; }
.cal .day .chip, .cal .day .n { position: relative; z-index: 1; }
.cal .dots { display: none; gap: 3px; flex-wrap: wrap; margin-top: 2px; position: relative; z-index: 1; }
.cal .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--k); display: block; }
@media (max-width: 699px) {
  .cal .day .chip { display: none; }
  .cal .dots { display: flex; }
  .cal .day { min-height: 48px; }
}
@media (min-width: 700px) { .cal .day { min-height: 104px; } }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; color: var(--muted); margin: .7rem 0 1rem; }
.agenda .date { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: .9rem 0 .2rem; }
.agenda .item { display: flex; gap: .6rem; align-items: baseline; padding: .45rem .6rem; border-radius: 8px; background: var(--card);
  border: 1px solid var(--line); border-left: 4px solid var(--k); margin-bottom: .35rem; color: var(--text); }
.agenda .item:hover { text-decoration: none; border-color: var(--k); }
.agenda .item .time { font-size: .8rem; color: var(--muted); min-width: 62px; font-variant-numeric: tabular-nums; }

/* ---------- detail ---------- */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; margin: 0; }
.kv dt { color: var(--muted); font-size: .88rem; }
.kv dd { margin: 0; font-weight: 500; }
.big-amount { font-size: 2rem; font-weight: 800; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.vote-bar { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: var(--bg-2); margin: .5rem 0; }
.vote-bar .y { background: var(--ok); } .vote-bar .n { background: var(--bad); } .vote-bar .a { background: #6f685c; }
.comment { border-top: 1px solid var(--line); padding: .7rem 0; }
.comment .who { font-weight: 600; font-size: .9rem; }
.comment .when { font-size: .78rem; color: var(--muted); margin-left: .4rem; }
.timeline { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.timeline li { padding: .25rem 0 .25rem 1rem; border-left: 2px solid var(--line); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: .65rem; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

details.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; }
details.box > summary { padding: .85rem 1rem; cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; }
details.box > summary::-webkit-details-marker { display: none; }
details.box > summary::after { content: "+"; color: var(--gold); font-weight: 700; }
details.box[open] > summary::after { content: "–"; }
details.box > div { padding: 0 1rem 1rem; }

.notif { display: flex; gap: .7rem; padding: .7rem .2rem; border-top: 1px solid var(--line); color: var(--text); }
.notif:hover { text-decoration: none; background: rgba(255,255,255,.02); }
.notif.unread .msg { font-weight: 650; }
.notif.unread::before { content: ""; width: 8px; height: 8px; margin-top: .5rem; border-radius: 50%; background: var(--gold); flex: none; }
.notif .when { font-size: .78rem; color: var(--muted); }

.hide-sm { display: none; }
@media (min-width: 700px) { .hide-sm { display: initial; } .hide-lg { display: none; } }

/* ---------- print (report) ---------- */
@media print {
  :root { --bg: #fff; --card: #fff; --text: #111; --muted: #555; --line: #ccc; --gold-2: #8a6a10; }
  body { background: #fff; color: #111; padding: 0; }
  .topbar, .sidebar, .bottomnav, .no-print, .flash { display: none !important; }
  .shell { display: block; }
  main { padding: 0; max-width: none; }
  .card { box-shadow: none; border: 0; padding: 0; break-inside: avoid; }
  a { color: #111; }
  th, td { border-color: #ccc; }
}
label svg { width: 18px; height: 18px; vertical-align: -3px; color: var(--gold); }
.sub.bad { color: var(--bad); }
