/*
 * The one-column pages on app.nolabel.no: sign-in, password reset,
 * invitations, the site chooser and the order e-mail's action links, and the
 * guest's receipt on the apex (docs/design/Enkle sider.dc.html). The public/*.html error pages copy these
 * rules into their own inline style, since they must render without the app.
 */
.nl-simple-nav,
.nl-simple-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.nl-simple-nav {
  padding: var(--space-3) var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}

.nl-simple-wordmark { font-family: var(--font-heading); font-size: 22px; }

.nl-simple-site { font-size: 13px; color: var(--color-neutral-600); }

.nl-simple-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-6);
}

.nl-simple-column { width: 100%; max-width: 520px; min-width: 0; }

.nl-simple-band {
  display: flex;
  gap: 2px;
  height: 10px;
  margin-bottom: var(--space-6);
  background: var(--color-divider);
  border: 1px solid var(--color-divider);
}

.nl-simple-band > span { flex: 1; }
.nl-simple-band > span:nth-child(1) { background: var(--scheme-tile-1-bg); }
.nl-simple-band > span:nth-child(2) { background: var(--scheme-tile-2-bg); }
.nl-simple-band > span:nth-child(3) { background: var(--scheme-tile-3-bg); }
.nl-simple-band > span:nth-child(4) { background: var(--scheme-tile-4-bg); }
.nl-simple-band.is-danger > span:nth-child(1) { background: var(--nl-danger-100); }
.nl-simple-band.is-danger > span:nth-child(2) { background: var(--color-neutral-900); }
.nl-simple-band.is-danger > span:nth-child(3) { background: var(--nl-danger-500); }
.nl-simple-band.is-danger > span:nth-child(4) { background: var(--color-neutral-200); }

.nl-simple-kicker {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-neutral-600);
}

.nl-simple .nl-simple-title {
  margin: var(--space-2) 0 0;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.02;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.nl-simple-lead {
  max-width: 46ch;
  margin: var(--space-3) 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-neutral-700);
  text-wrap: pretty;
}

.nl-simple-flash { margin-top: var(--space-3); }

.nl-simple-form {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.nl-simple-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  font-size: 14px;
}

.nl-simple-list {
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-divider);
}

.nl-simple-list li { border-bottom: 1px solid var(--color-divider); }

.nl-public .nl-simple-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--color-text);
  text-decoration: none;
}

.nl-public .nl-simple-list a::after { content: "→"; color: var(--color-accent); }
.nl-public .nl-simple-list a:hover { color: var(--color-accent-700); }

/* The guest's receipt is the .nl-table modifier for a boxed statement: a label
   on the left, an amount on the right, and no kicker in the heading cells. The
   name stays because the receipt request specs select on it. */
.nl-simple-receipt {
  margin-top: var(--space-6);
  border: 1px solid var(--color-divider);
  font-size: 14px;
}

.nl-simple-receipt th,
.nl-simple-receipt td {
  padding: var(--space-3) var(--space-4);
  vertical-align: baseline;
}

.nl-simple-receipt th {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
}

.nl-simple-receipt td { text-align: right; }

.nl-simple-receipt tr:last-child > * { border-bottom: 0; }

.nl-simple-receipt-head { font-size: 13px; color: var(--color-neutral-600); }

.nl-simple-receipt-total { font-family: var(--font-heading); font-size: 20px; }

.nl-simple-receipt-code,
.nl-simple-receipt-price { font-variant-numeric: tabular-nums; white-space: nowrap; }

.nl-simple-receipt-code { color: var(--color-text); }

.nl-simple-receipt-line .nl-simple-receipt-price { color: var(--color-neutral-700); }

.nl-simple-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-divider);
  font-size: 13px;
}

.nl-simple-footer .nl-simple-wordmark { font-size: 16px; }

.nl-public .nl-simple-footer a { color: var(--color-text); text-decoration: none; }
.nl-public .nl-simple-footer a:hover { color: var(--color-accent-700); }

@media (max-width: 600px) {
  .nl-simple-nav,
  .nl-simple-footer { padding-inline: var(--space-4); }

  .nl-simple-main { padding: var(--space-6) var(--space-4); }
}
