/* Colors, type and sizes follow the iOS design system (AUComponents: Colors.xcassets, AUFont, AUButtons, AUTextField,
   AUPadding). Links use blue100 like the app's text links (linkDefault is unused in the app). */
@font-face { font-family: "Instrument Sans"; font-weight: 400 700; font-display: swap; src: url(/viewer/InstrumentSans.woff2) format("woff2"); }
:root {
  --blue100: #000aff;
  --grey10: #eff0f2;
  --grey30: #dedede;
  --grey50: #828283;
  --grey80: #3e3e3e;
  --red100: #ff004d;
  --neutralWhite: #feffff;
  --bg: #ffffff;
  --text: #000000;
  --sm: 10px;
  --md: 17px;
  --lg: 25px;
}
@media (prefers-color-scheme: dark) {
  :root { --blue100: #2f4fef; --grey10: #585757; --grey30: #585757; --grey80: #dedede; --red100: #db2552; --bg: #000000; --text: #ffffff; }
}
* { box-sizing: border-box; }
/* body1 */
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 400 16px/20px "Instrument Sans", system-ui, -apple-system, sans-serif; }
button { font-family: inherit; }
[hidden] { display: none !important; }
.screen { min-height: 100%; display: flex; flex-direction: column; align-items: center; padding: calc(env(safe-area-inset-top) + var(--lg)) var(--lg) calc(env(safe-area-inset-bottom) + var(--lg)); text-align: center; }
.logo { width: 105px; margin-bottom: var(--lg); }
/* h2 */
h1 { font-size: 25px; line-height: 30px; font-weight: 400; margin: 0 0 var(--md); }
form { width: 100%; max-width: 420px; display: flex; flex-direction: column; text-align: left; }
/* body2, field title */
label { font-size: 14px; line-height: 18px; font-weight: 500; color: var(--grey80); margin-bottom: 4px; }
/* AUTextField: height 54, radius 6, grey30 border, blue100 when focused; input text in the system font like iOS */
input { font: 17px system-ui, -apple-system, sans-serif; height: 54px; padding: 0 var(--sm); border: 1px solid var(--grey30); border-radius: 6px; background: rgba(0, 0, 0, .05); color: var(--text); }
input:focus { outline: none; border-color: var(--blue100); }
/* body2 */
.hint { color: var(--grey50); font-size: 14px; line-height: 18px; font-weight: 500; margin: var(--md) 0; }
p a { color: var(--blue100); text-decoration: underline; }
.spacer { flex: 1; min-height: var(--lg); }
/* AUButtonPrimary / AUButtonSecondary: height 59, radius 29, h3; min-height so longer translations are not cut */
button.primary, a.secondary { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 420px; min-height: 59px; padding: 0 var(--md); border-radius: 29px; font-size: 18px; line-height: 22px; font-weight: 500; text-decoration: none; cursor: pointer; }
button.primary { border: 0; background: var(--blue100); color: var(--neutralWhite); margin-top: var(--md); }
button.primary:disabled { background: var(--grey50); cursor: default; }
a.secondary { border: 1px solid var(--blue100); color: var(--blue100); background: transparent; }
button.primary:active, a.secondary:active, .install-banner:active { opacity: .8; transform: scale(.98); }
.progress { width: 100%; max-width: 420px; height: 4px; background: var(--grey10); border-radius: 2px; overflow: hidden; }
#progress-bar { height: 100%; width: 0; background: var(--blue100); transition: width .3s; }
#ar { position: fixed; inset: 0; background: #000; }
/* HintView: transparentBg with material blur, radius 20, body2 */
.ar-hint { position: absolute; z-index: 10; top: calc(env(safe-area-inset-top) + var(--md)); left: 50%; transform: translateX(-50%); max-width: calc(100% - 2 * var(--md)); background: rgba(0, 0, 0, .41); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); color: var(--neutralWhite); padding: 5px var(--sm); border-radius: 20px; font-size: 14px; line-height: 18px; font-weight: 500; text-align: center; }
.install-banner { position: absolute; z-index: 10; bottom: calc(env(safe-area-inset-bottom) + var(--md)); left: var(--md); right: var(--md); display: flex; align-items: center; justify-content: center; min-height: 59px; padding: 0 var(--md); border-radius: 29px; background: var(--blue100); color: var(--neutralWhite); font-size: 18px; line-height: 22px; font-weight: 500; text-decoration: none; }
/* MindAR's own overlays are replaced by the hint above. */
.mindar-ui-overlay { display: none !important; }
