:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #202443;
  background: #fcfaf7;
}
* {
  box-sizing: border-box;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  min-height: 44px;
  cursor: pointer;
}
input,
select,
textarea {
  font-size: 16px !important;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #eba24a;
  outline-offset: 3px;
}
.pwa-support {
  flex-shrink: 0;
  font-size: 12px;
  background: #fff;
  border-bottom: 1px solid #ebe7ed;
  padding: 0 max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  max-height: 35dvh;
  overflow: auto;
}
.pwa-support p {
  margin: 8px 0;
  line-height: 1.5;
}
.pwa-support button,
.pwa-card button {
  color: #202443;
  background: #f5f6fe;
  border: 1px solid #ddd9e2;
  border-radius: 8px;
  padding: 6px 12px;
  margin: 4px;
  white-space: normal;
}
.pwa-guide {
  max-width: 760px;
  margin: auto;
}
.pwa-card {
  padding: 20px;
  background: white;
  border: 1px solid #ebe7ed;
  border-radius: 16px;
  line-height: 1.5;
  min-width: 0;
}
.pwa-card h2 {
  font-size: 18px;
  margin-top: 0;
}
.pwa-card label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.pwa-card input {
  min-width: 20px;
  min-height: 20px;
}

.pwa-support {
  padding-top: env(safe-area-inset-top);
}
.pwa-qr-entry {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pwa-qr-entry input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #ddd9e2;
  border-radius: 8px;
}
.pwa-qr-entry button {
  color: #202443;
  background: #f5f6fe;
  border: 1px solid #ddd9e2;
  border-radius: 8px;
  padding: 8px;
}
