.stack-form, .entry-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
.stack-form label, .entry-form label {
  display: grid;
  gap: 0.35rem;
}
.stack-form input, .stack-form textarea, .stack-form select,
.entry-form input, .entry-form textarea, .entry-form select {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: inherit;
  width: 100%;
}
.stack-form textarea { min-height: 5rem; resize: vertical; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.check input { width: auto; margin-top: 0.3rem; }
.table-wrap { overflow-x: auto; }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
table.data th, table.data td {
  text-align: left;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.qr-preview { width: 12rem; height: 12rem; background: #fff; padding: 0.5rem; }
.upsell { background: var(--accent-soft); padding: 0.9rem 1rem; border-radius: 12px; }
.error-text { color: #8a1f11; }
.page.wide { width: min(56rem, calc(100% - 2rem)); }
.rules-body h1 { font-size: 1.6rem; }
.rules-body h2 { font-size: 1.25rem; margin-top: 1.4rem; }
.rules-body h3 { font-size: 1.1rem; }
.rules-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.rules-body th, .rules-body td { border-bottom: 1px solid var(--line); padding: 0.4rem; text-align: left; }
.rules-body blockquote { border-left: 3px solid var(--accent); padding-left: 0.8rem; color: var(--muted); }
.hash { font-family: var(--mono); font-size: 0.85rem; word-break: break-all; }
.nav-links { display: flex; gap: 1rem; align-items: center; }

/* App chrome (login, dashboard, entry, giveaway rules). Landing uses style.css only. */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.site-nav, .site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  align-items: center;
}
.site-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.site-footer a { color: var(--accent); }
.status-msg[aria-live] { min-height: 1.4em; }
.btn-secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font: inherit;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  cursor: pointer;
}
.empty-state { color: var(--muted); padding: 1rem 0; }

.host-logo {
  display: block;
  max-height: 72px;
  max-width: 220px;
  width: auto;
  height: auto;
  margin: 0 0 1rem;
  object-fit: contain;
}
