.ap {
  --bg: #f3f4f7; --card: #fff; --text: #1d2430; --muted: #5d6675; --line: #e3e6ec;
  --accent: #2e6da4; --accent-dark: #22547f; --ok-bg: #e8f6ee; --ok: #1f7a4a; --warn-bg: #fff6e5; --warn: #8a5a00;
}
.ap, .ap * { box-sizing: border-box; }
.ap { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.ap .wrap { max-width: 640px; margin: 0 auto; padding: 0 16px; }
.ap .top { background: var(--card); border-bottom: 1px solid var(--line); }
.ap .top .wrap { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.ap .brand { font-weight: 700; color: var(--accent); }
.ap .lock { font-size: 13px; color: var(--muted); }
.ap .lock::before { content: "🔒 "; }
.ap .apmain { padding-top: 24px; padding-bottom: 8px; }
.ap .card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.ap h1 { font-size: 22px; margin: 0 0 12px; }
.ap h2 { font-size: 18px; margin: 0 0 6px; }
.ap .eyebrow { margin: 0 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ap dl { margin: 0; }
.ap dl div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-top: 1px solid var(--line); }
.ap dl div:first-child { border-top: 0; }
.ap dt { color: var(--muted); }
.ap dd { margin: 0; text-align: right; font-weight: 600; word-break: break-word; }
.ap .amount { font-size: 18px; }
.ap .or { font-weight: 400; color: var(--muted); }
.ap .muted { color: var(--muted); margin: 0 0 14px; }
.ap .small { font-size: 14px; margin: 14px 0 0; }
.ap .buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.ap .buttons form { flex: 1 1 200px; margin: 0; }
.ap .btn { display: inline-block; width: 100%; padding: 13px 18px; border: 0; border-radius: 8px; background: var(--accent);
  color: #fff; font: inherit; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; }
.ap .btn:hover, .ap .btn:focus-visible { background: var(--accent-dark); }
.ap a.btn { width: auto; }
.ap .qr-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 12px; }
.ap .qr-grid figure { margin: 0; text-align: center; flex: 0 1 220px; }
.ap .qr { width: 200px; height: 200px; margin: 0 auto 8px; background: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--muted); }
.ap .qr svg { width: 100%; height: 100%; }
.ap figcaption { font-size: 14px; color: var(--muted); }
.ap figcaption strong { color: var(--text); font-size: 16px; }
.ap .notice { border-radius: 12px; padding: 14px 18px; margin-bottom: 16px; }
.ap .notice p { margin: 6px 0 0; }
.ap .warn { background: var(--warn-bg); color: var(--warn); border: 1px solid #f1d9a6; }
.ap .notice.ok { background: var(--ok-bg); color: var(--ok); border: 1px solid #bfe5cf; }
.ap .paid { background: var(--ok-bg); border-color: #bfe5cf; }
.ap .paid h1, .ap .paid h2 { color: var(--ok); }
.ap .foot { font-size: 13px; color: var(--muted); padding-bottom: 32px; }
.ap .foot a { color: var(--accent); }
@media (max-width: 480px) {
.ap dl div { flex-direction: column; gap: 0; }
.ap dd { text-align: left; }
}
/* Own orders: what is included */
.ap .lines { margin-top: 14px; font-size: 14px; }
.ap .lines summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.ap .lines table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.ap .lines td { padding: 5px 0; border-top: 1px solid var(--line); vertical-align: top; }
.ap .lines td.num { text-align: right; white-space: nowrap; padding-left: 16px; }
.ap .claim { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
