/* Viewer page chrome — the receipt itself is styled by shared/receipt.css
   and shared/templates.css. */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #e8e4da;
  font-family: "Cascadia Mono", Consolas, Menlo, monospace;
  color: #222;
  display: flex;
  justify-content: center;
  padding: 2rem 1rem 4rem;
  min-height: 100vh;
}

.stage { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.actions button, .actions a {
  border: 1px solid #a89f8d;
  border-radius: 6px;
  background: #fffdf7;
  color: #3d3427;
  font: inherit;
  font-size: 0.78rem;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
.actions button:hover, .actions a:hover { background: #f4f1e8; }

.notice {
  background: #fffdf7;
  max-width: 420px;
  padding: 2rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
  text-align: center;
  height: fit-content;
}
.notice-left { text-align: left; max-width: 560px; }
.notice h1 { font-size: 1.3rem; margin: 0 0 0.75rem; }
.notice p { margin: 0.5rem 0 0; color: #444; font-size: 0.9rem; }
.notice a { color: inherit; }

@media print {
  body { background: #fff; padding: 0; }
  .receipt { box-shadow: none; max-width: none; border: none; }
  .actions { display: none; }
}
