html.app-shell .home-page {
  max-width: 32rem;
  margin: 0 auto;
}

html.app-shell .customer-home-page {
  max-width: 28rem;
  margin: 0 auto;
}

.home-page {
  min-height: 100dvh;
  padding: 1.5rem;
  width: 100%;
  max-width: none;
  margin: 0;
}

.home-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-top: 2rem;
}

.home-header h1 {
  font-family: var(--font-display, Georgia, serif);
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.home-tagline {
  color: var(--muted);
  margin-top: 0.5rem;
}

.home-status {
  text-align: center;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.35);
  color: #a5d6a7;
  font-size: 0.875rem;
}

.home-status.error {
  background: rgba(244, 67, 54, 0.15);
  border-color: rgba(244, 67, 54, 0.35);
  color: #ef9a9a;
}

.home-customer {
  padding: 1.25rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
}

.home-customer-title {
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.home-customer-hint,
.home-customer-tip {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.home-customer-tip {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
}

.home-table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(5.5rem, 1fr));
  gap: 0.5rem;
}

.home-table-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.65rem 0.5rem;
  border-radius: 0.75rem;
  text-decoration: none;
  color: inherit;
  background: var(--surface-2, rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: border-color 0.15s, background 0.15s;
}

.home-table-tile:hover {
  border-color: var(--accent-2, var(--accent));
  background: rgba(255, 255, 255, 0.1);
}

.home-table-num {
  font-weight: 700;
  font-size: 0.9375rem;
  text-align: center;
  line-height: 1.2;
}

.home-table-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
}

.customer-home-page {
  max-width: none;
}

.customer-home-page .home-header {
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
}

.customer-home-panel {
  margin-bottom: 1rem;
}

.home-table-grid--customer {
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 0.65rem;
}

.home-table-tile--customer {
  min-height: 4.5rem;
  border-radius: 1rem;
  font-size: 1.05rem;
}

.home-table-tile--customer .home-table-num {
  font-size: 1.05rem;
}

.customer-home-loyalty {
  text-align: center;
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

.customer-home-loyalty a {
  color: var(--accent-2, var(--accent));
  text-decoration: none;
}

.customer-home-loyalty a:hover {
  text-decoration: underline;
}

.customer-home-staff-link {
  color: var(--muted);
  font-size: 0.8125rem;
}

.home-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.home-card {
  display: block;
  padding: 1.25rem;
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  transition: border-color 0.15s;
}

.home-card:hover {
  border-color: var(--accent);
}

.home-card strong {
  display: block;
  margin-top: 0.5rem;
}

.home-card span {
  font-size: 0.875rem;
  color: var(--muted);
}

.home-eyebrow {
  color: var(--accent);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.home-icon {
  font-size: 1.5rem;
}

.home-url-list {
  margin: 0.5rem 0 1rem;
  line-height: 1.6;
}

.home-footer {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 3rem;
}

.home-footer code {
  color: var(--accent-2);
}

.home-ip {
  font-weight: 600;
  color: var(--accent);
}
