/* Matches the heckhaus.com storefront: Assistant type, white body, black
   text, black header with the red logo, red primary buttons (#ED0909),
   white secondary buttons with black borders. */
:root {
  --ink: #000000;
  --paper: #ffffff;
  --card: #ffffff;
  --accent: #ed0909;       /* storefront button red */
  --muted: #595959;
  --line: #e1e1e1;
  --ok: #2f6b3a;
  --warn: #8a5a00;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Assistant, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-header {
  background: #000;
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.wordmark { display: inline-flex; align-items: center; }
.logo { height: 30px; width: auto; display: block; }
.tagline { color: #bbb; font-size: 0.8rem; letter-spacing: 0.06em; }
.wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  flex: 1;
}
h1 { font-size: 1.4rem; font-weight: 800; margin-bottom: 8px; }
h2 { font-size: 1.05rem; font-weight: 700; margin: 20px 0 8px; }
p { margin-bottom: 12px; }
.lede { color: var(--muted); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  margin: 14px 0;
}
label { display: block; font-weight: 600; font-size: 0.9rem; margin: 12px 0 4px; }
input[type=text], input[type=email], select {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #8c8c8c;
  border-radius: 6px;
  background: #fff;
}
input:focus, select:focus { outline: 2px solid #000; outline-offset: 1px; }
.btn {
  display: inline-block;
  width: 100%;
  margin-top: 16px;
  padding: 13px 22px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.btn:hover { background: #c50808; }
.btn.secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.secondary:hover { background: #f2f2f2; }
.btn.danger { background: var(--accent); }
.btn.small { width: auto; padding: 8px 14px; font-size: 0.85rem; margin-top: 8px; }
.error {
  background: #fdecec;
  border: 1px solid #f0b9b9;
  color: #8f1616;
  border-radius: 6px;
  padding: 12px;
  margin: 12px 0;
}
.notice {
  background: #eef3ea;
  border: 1px solid #c6d6bd;
  color: var(--ok);
  border-radius: 6px;
  padding: 12px;
  margin: 12px 0;
}
.status-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pill-editable { background: #e6efe2; color: var(--ok); }
.pill-locked { background: #f4ead8; color: var(--warn); }
.pill-shipped { background: #e2ebf4; color: #274b6d; }
.pill-canceled { background: #eee; color: #555; }
.item { border-top: 1px solid var(--line); padding: 14px 0; }
.item:first-child { border-top: none; padding-top: 4px; }
.item-title { font-weight: 700; }
.item-meta { color: var(--muted); font-size: 0.9rem; }
.item-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.deadline {
  font-size: 0.9rem;
  color: #6b4a00;
  background: #fdf6e8;
  border: 1px solid #ecd9ae;
  border-radius: 6px;
  padding: 10px 12px;
  margin: 12px 0;
}
.addr { white-space: pre-line; color: var(--muted); font-size: 0.95rem; }
.tracking a { color: var(--ink); font-weight: 700; word-break: break-all; }
.picker-row {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--line); padding: 12px 0; gap: 10px;
}
.picker-row:first-child { border-top: none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.site-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 18px 16px 28px;
  border-top: 1px solid var(--line);
}
.site-footer a { color: var(--ink); }
.linkish { background: none; border: none; color: var(--ink);
           font-weight: 700; cursor: pointer; font-size: 0.95rem;
           text-decoration: underline; padding: 0; }
a { color: var(--ink); }
.result-row { border-top: 1px solid var(--line); padding: 10px 0; }
.result-row:first-child { border-top: none; }
.muted { color: var(--muted); font-size: 0.9rem; }
@media (min-width: 640px) {
  .btn { width: auto; }
  .wrap { padding-top: 36px; }
}
