* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17201a;
  background:
    linear-gradient(135deg, rgba(22, 122, 94, 0.16), transparent 35%),
    linear-gradient(315deg, rgba(236, 179, 71, 0.22), transparent 34%),
    #f7f8f4;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(680px, 100%);
  border: 1px solid rgba(23, 32, 26, 0.14);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 44px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(38, 51, 42, 0.12);
}

.eyebrow {
  margin: 0 0 12px;
  color: #27715f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

p { color: #536158; font-size: 17px; line-height: 1.65; }

code {
  color: #102d24;
  background: #e8f0ea;
  padding: 2px 6px;
  border-radius: 4px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.meta span {
  border: 1px solid rgba(23, 32, 26, 0.12);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: #536158;
}

.price {
  margin: 8px 0;
  color: #17201a;
  font-size: 44px;
  font-weight: 800;
}

button {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: #167a5e;
  color: white;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

button:hover { background: #11694f; }
.hint { font-size: 14px; }

.qr-wrap {
  width: min(320px, 100%);
  aspect-ratio: 1;
  margin: 24px auto 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 32, 26, 0.12);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.order-lines {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  color: #536158;
}

.order-lines span {
  overflow-wrap: anywhere;
}

.admin-shell {
  min-height: 100vh;
  padding: 28px;
  overflow-x: auto;
}

.admin-shell section {
  min-width: 900px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 32, 26, 0.12);
}

th, td {
  padding: 12px;
  border-bottom: 1px solid rgba(23, 32, 26, 0.1);
  text-align: left;
  font-size: 14px;
}

th {
  color: #536158;
  font-weight: 800;
}

.status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  background: #e8f0ea;
  color: #102d24;
  font-weight: 700;
}

button.small {
  width: auto;
  min-height: 34px;
  padding: 0 12px;
  font-size: 14px;
}
