/* Amazon Purchasing - skeleton stylesheet.
   Deliberately small and swappable: the design package replaces this file.
   The ONE part that is house standard and must survive is the data-table
   palette below (~/.claude/guides/report-email-format.md, on-screen tables):
   header #e4e7ea, base row #ffffff, zebra stripe #f5f7f9, highlight #eaf3ea. */

:root {
  --ink: #3c4043;
  --muted: #6b7075;
  --line: #d9dde1;
  --bg: #f7f8f9;
  --table-head: #e4e7ea;
  --table-row: #ffffff;
  --table-stripe: #f5f7f9;
  --table-highlight: #eaf3ea;
  --accent: #2c5d3f;
  --error: #8c2f2f;
  --warn: #8a6100;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.5; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
h1 { font-size: 22px; margin: 24px 0 12px; }
h2 { font-size: 17px; margin: 0 0 8px; }
a { color: var(--accent); }
.small { font-size: 13px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.big { font-size: 20px; margin: 0; }
.nowrap { white-space: nowrap; }
.inline { display: inline; }
.row { display: flex; gap: 10px; align-items: center; }
.stack { display: flex; flex-direction: column; gap: 14px; }

.topbar { background: #ffffff; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 52px; }
.topbar .brand { font-weight: 700; }
.topbar nav { display: flex; gap: 16px; align-items: center; }
.topbar nav a.here { font-weight: 700; }

.card { background: #ffffff; border: 1px solid var(--line); border-radius: 6px; padding: 16px; margin: 0 0 20px; }
.center-page { display: flex; min-height: 90vh; align-items: center; justify-content: center; padding: 20px; }
.center-page .card { max-width: 420px; width: 100%; }
.brand-big { font-size: 20px; margin: 0 0 16px; }

.btn { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 4px;
  background: #ffffff; color: var(--ink); text-decoration: none; cursor: pointer; font-size: 15px; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #ffffff; }
.btn.block { display: block; text-align: center; }
.linkish { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font-size: inherit; }

.alert { padding: 10px 12px; border-radius: 4px; border: 1px solid var(--line); background: #ffffff; }
.alert.error { border-color: var(--error); color: var(--error); }
.alert.warn, .warn-text { color: var(--warn); }
.alert.ok { border-color: var(--accent); color: var(--accent); }

.field { display: block; margin: 0; }
.field > span, legend { display: block; font-weight: 600; margin-bottom: 4px; }
input[type="text"], input[type="email"] { width: 100%; padding: 7px 9px; border: 1px solid var(--line); border-radius: 4px; font-size: 15px; }
fieldset { border: 1px solid var(--line); border-radius: 4px; padding: 10px 12px; }
.check { display: block; margin: 4px 0; font-weight: 400; }

/* House data-table palette. Stripe anything over about four rows. */
table.data { width: 100%; border-collapse: collapse; background: var(--table-row); margin: 8px 0 12px; }
table.data th, table.data td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data thead th { background: var(--table-head); color: var(--ink); font-weight: 700; }
table.data tbody tr:nth-child(even) { background: var(--table-stripe); }
table.data tbody tr.highlight { background: var(--table-highlight); }
table.data tbody tr.inactive td { color: var(--muted); }
