:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
  color: #211f43; background: #f7f6fc; line-height: 1.5; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
main { max-width: 780px; margin: auto; padding: 32px 16px; }
header, .queue-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
header { padding-bottom: 16px; border-bottom: 1px solid #ddd8eb; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; overflow-wrap: anywhere; }
header p, section > p { color: #595675; font-size: 14px; }
#login { display: grid; gap: 12px; max-width: 400px; }
#login, article { border: 1px solid #ddd8eb; border-radius: 12px; padding: 16px; background: white; }
#login, #queue, #message { margin-top: 16px; }
#message { padding: 10px 12px; background: #eae5fa; border-radius: 8px; }
#message[data-error] { background: #fde7ef; color: #861c44; }
#queue > p, #items, article + article { margin-top: 10px; }
.entries, .actions { display: flex; flex-wrap: wrap; gap: 9px 14px; }
.entries { color: #595675; margin: 8px 0; font-size: 14px; }
.entry { overflow-wrap: anywhere; }
.order-facts { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .7fr) repeat(2, minmax(0, 1fr));
  gap: 12px; margin: 0; }
.order-facts dt { color: #595675; font-size: 13px; }
.order-facts dd { margin: 2px 0 0; font-weight: 650; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 650px) { .order-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
label { display: grid; gap: 4px; }
input, select, button { font: inherit; border-radius: 8px; padding: 7px 10px; }
input, select { border: 1px solid #b9b4ce; min-width: 0; }
button { border: 1px solid #c8bfdc; background: #fff; color: #343058; cursor: pointer; }
button.primary { background: #90295d; color: white; border-color: #90295d; font-weight: 650; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 2px solid #7560bf; outline-offset: 2px; }
.confirmation { margin-top: 12px; }
.confirmation summary { cursor: pointer; color: #762346; font-weight: 650; }
.confirmation form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 10px; margin-top: 10px; }
.confirmation form button { justify-self: start; grid-column: 1 / -1; }
.confirm-fact { display: flex; align-items: flex-start; gap: 8px; grid-column: 1 / -1; }
.confirm-fact input { margin-top: 4px; }
