/* SMAIS Entry registration UI v5
   Dedicated stylesheet. Loaded only on apply.php after style.css. */

.flow-entry-page,
.flow-entry-page * {
  box-sizing: border-box;
}

.flow-entry-page [hidden] {
  display: none !important;
}

.flow-entry-page main {
  min-height: 100svh;
  overflow: clip;
}

.flow-entry-page {
  background:
    radial-gradient(circle at 10% 12%, rgba(77, 128, 190, .18), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(221, 186, 88, .10), transparent 27%),
    linear-gradient(145deg, #050a11 0%, #07111c 46%, #050a11 100%);
}

.flow-entry-page .flow-shell {
  position: relative;
  width: min(1240px, calc(100% - 48px));
  min-width: 0;
  min-height: 100svh;
  margin: 0 auto;
  padding: 112px 0 72px;
  overflow: hidden;
}

.flow-entry-page .flow-topbar {
  display: grid;
  grid-template-columns: max-content minmax(120px, 1fr) max-content;
  align-items: center;
  gap: 22px;
  width: min(1020px, 100%);
  min-width: 0;
  margin: 0 auto 28px;
  padding: 0 8px;
}

.flow-entry-page .flow-step-copy {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  white-space: nowrap;
}

.flow-entry-page .flow-step-kicker {
  color: #8493a6;
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .19em;
}

.flow-entry-page .flow-step-copy strong {
  color: #f0d68b;
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
}

.flow-entry-page .flow-progress {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.flow-entry-page .flow-progress span {
  flex: 1 1 0;
  min-width: 8px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  transition: background .35s ease, box-shadow .35s ease, transform .35s ease;
}

.flow-entry-page .flow-progress span.is-filled {
  background: linear-gradient(90deg, #a88336, #efda98);
}

.flow-entry-page .flow-progress span.is-current {
  box-shadow: 0 0 16px rgba(239,218,152,.35);
  transform: scaleY(1.7);
}

.flow-entry-page .flow-exit {
  color: #7f8da0;
  font-size: .72rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.flow-entry-page .flow-global-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: min(920px, 100%);
  margin: 0 auto 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255,126,126,.25);
  border-radius: 16px;
  background: rgba(116,32,32,.16);
  color: #ffd9d9;
}

.flow-entry-page .flow-form,
.flow-entry-page .flow-viewport,
.flow-entry-page .flow-track,
.flow-entry-page .flow-panel,
.flow-entry-page .flow-panel-inner {
  min-width: 0;
  max-width: 100%;
}

.flow-entry-page .flow-form {
  width: 100%;
  margin: 0;
}

.flow-entry-page .flow-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  transition: height .46s cubic-bezier(.2,.75,.2,1);
  contain: layout paint;
}

.flow-entry-page .flow-track {
  display: flex;
  align-items: flex-start;
  width: 100%;
  transform: translate3d(0,0,0);
  transition: transform .54s cubic-bezier(.22,.8,.22,1);
  will-change: transform;
}

.flow-entry-page .flow-panel {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  padding: 4px 0 34px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateZ(0);
  transition: opacity .30s ease, visibility 0s linear .30s;
}

.flow-entry-page .flow-panel.is-current {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.flow-entry-page .flow-panel-inner {
  position: relative;
  width: min(920px, 100%);
  min-height: 560px;
  margin: 0 auto;
  padding: 54px 58px;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(15,28,44,.92), rgba(7,15,25,.96));
  box-shadow: 0 35px 100px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.035);
  overflow: hidden;
}

.flow-entry-page .flow-panel-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(255,255,255,.028), transparent 28%),
    radial-gradient(circle at 88% -8%, rgba(216,184,95,.09), transparent 27%);
}

.flow-entry-page .flow-panel-inner > * {
  position: relative;
  z-index: 1;
}

.flow-entry-page .flow-heading {
  max-width: 700px;
  margin: 0 0 34px;
}

.flow-entry-page .flow-heading .eyebrow {
  margin: 0;
  color: #f3dc98;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .20em;
}

.flow-entry-page .flow-heading h1 {
  margin: 12px 0 16px;
  font-size: clamp(2.35rem, 5vw, 4.65rem);
  line-height: 1.03;
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
}

.flow-entry-page .flow-heading > p:last-child {
  max-width: 680px;
  margin: 0;
  color: #a8b5c4;
  font-size: .94rem;
  line-height: 1.85;
}

.flow-entry-page .flow-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  margin: 0 0 26px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: #8c9aac;
  font-size: .76rem;
  font-weight: 850;
  cursor: pointer;
}

.flow-entry-page .edition-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.flow-entry-page .edition-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  min-height: 130px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 22px;
  background: rgba(255,255,255,.025);
  cursor: pointer;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.flow-entry-page .edition-tile input,
.flow-entry-page .platform-pills input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.flow-entry-page .edition-tile:has(input:checked) {
  border-color: rgba(226,196,111,.56);
  background: linear-gradient(145deg, rgba(216,184,95,.12), rgba(255,255,255,.028));
  box-shadow: inset 0 0 0 1px rgba(216,184,95,.13);
}

.flow-entry-page .edition-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 18px;
  font-size: 1.2rem;
  font-weight: 950;
}

.flow-entry-page .edition-icon-java { background: linear-gradient(145deg,#435f3e,#1e3625); color:#bde1ae; }
.flow-entry-page .edition-icon-bedrock { background: linear-gradient(145deg,#315c7f,#1b3348); color:#bde1ff; }

.flow-entry-page .edition-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.flow-entry-page .edition-copy b { font-size: 1.05rem; }
.flow-entry-page .edition-copy small { color:#8f9daf; line-height:1.45; overflow-wrap:anywhere; }

.flow-entry-page .selection-ring {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 19px;
  height: 19px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
}

.flow-entry-page .edition-tile:has(input:checked) .selection-ring {
  border: 5px solid #efd88f;
}

.flow-entry-page .platform-stage {
  width: 100%;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  background: rgba(1,8,14,.35);
}

.flow-entry-page .platform-stage-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}

.flow-entry-page .platform-stage-head span { color:#d8bb69; font-size:.62rem; font-weight:950; letter-spacing:.16em; }
.flow-entry-page .platform-stage-head p { margin:0; color:#96a4b5; font-size:.76rem; }

.flow-entry-page .platform-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flow-entry-page .platform-pills label { cursor:pointer; min-width:0; }
.flow-entry-page .platform-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  color: #aab5c2;
  font-size: .75rem;
  font-weight: 800;
}
.flow-entry-page .platform-pills input:checked + span { border-color:rgba(216,184,95,.48); background:rgba(216,184,95,.1); color:#f0d891; }

.flow-entry-page .flow-ms-button {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 66px;
  margin-top: 22px;
  padding: 0 18px 0 20px;
  border-radius: 18px;
  justify-content: flex-start;
}
.flow-entry-page .flow-ms-button > span:nth-child(2) { display:grid; gap:1px; min-width:0; text-align:left; }
.flow-entry-page .flow-ms-button b { font-size:.9rem; }
.flow-entry-page .flow-ms-button small { color:#69717a; font-size:.66rem; font-weight:700; overflow-wrap:anywhere; }
.flow-entry-page .flow-ms-button em { margin-left:auto; font-style:normal; }
.flow-entry-page .flow-footnote { margin:12px 4px 0; color:#748397; font-size:.71rem; line-height:1.55; }

.flow-entry-page .connected-hero {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 25px;
  border: 1px solid rgba(119,215,166,.24);
  border-radius: 24px;
  background: linear-gradient(145deg,rgba(119,215,166,.09),rgba(255,255,255,.025));
}
.flow-entry-page .connected-orb { display:grid; place-items:center; width:62px; height:62px; border-radius:20px; background:linear-gradient(145deg,#95e3bb,#3b9566); color:#07130d; font-weight:950; }
.flow-entry-page .connected-main { min-width:0; }
.flow-entry-page .connected-main small { display:block; color:#7cd7a7; font-size:.61rem; letter-spacing:.15em; font-weight:950; }
.flow-entry-page .connected-main strong { display:block; margin:4px 0 2px; font-size:1.7rem; overflow-wrap:anywhere; }
.flow-entry-page .connected-main p { margin:0; color:#8fa0b1; font-size:.8rem; }
.flow-entry-page .connected-whitelist { min-width:0; text-align:right; }
.flow-entry-page .connected-whitelist span { display:block; color:#7f8c9d; font-size:.65rem; }
.flow-entry-page .connected-whitelist code { display:block; margin-top:5px; color:#dce6ee; font-size:.9rem; overflow-wrap:anywhere; }

.flow-entry-page .discord-step { background:linear-gradient(145deg,rgba(21,29,55,.92),rgba(8,15,28,.96)); }
.flow-entry-page .discord-username-field { position:relative; display:flex; align-items:center; width:min(680px,100%); min-width:0; }
.flow-entry-page .discord-at { position:absolute; left:20px; z-index:2; color:#7281ff; font-size:1.15rem; font-weight:950; }
.flow-entry-page .discord-username-field input {
  display:block;
  width:100%;
  min-width:0;
  height:68px;
  padding:0 58px 0 48px;
  border-radius:19px;
  border-color:rgba(133,145,255,.2);
  background:rgba(2,7,17,.55);
  font-size:1.15rem;
  font-weight:850;
}
.flow-entry-page .input-state { position:absolute; right:18px; display:grid; place-items:center; width:30px; height:30px; border-radius:50%; }
.flow-entry-page .input-state.ok { background:rgba(119,215,166,.12); color:#86e1b1; }
.flow-entry-page .input-state.error { background:rgba(255,126,126,.12); color:#ffaaaa; }
.flow-entry-page .username-hint { display:flex; gap:8px; align-items:flex-start; width:min(680px,100%); margin:13px 4px 0; color:#7f8da0; font-size:.72rem; }
.flow-entry-page .username-hint p { margin:1px 0 0; line-height:1.65; }

.flow-entry-page .discord-result-card {
  display:flex;
  gap:15px;
  align-items:flex-start;
  width:min(680px,100%);
  margin-top:18px;
  padding:17px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.025);
}
.flow-entry-page .discord-result-icon { display:grid; place-items:center; width:38px; height:38px; flex:0 0 38px; border-radius:13px; background:rgba(255,255,255,.06); font-weight:950; }
.flow-entry-page .discord-result-card > div { min-width:0; }
.flow-entry-page .discord-result-card p { margin:4px 0 0; color:#8e9cad; font-size:.76rem; line-height:1.6; overflow-wrap:anywhere; }
.flow-entry-page .discord-result-card a { display:inline-flex; margin-top:11px; padding:8px 12px; border-radius:10px; background:#5865f2; color:#fff; text-decoration:none; font-size:.72rem; font-weight:900; }
.flow-entry-page .discord-result-card.is-success { border-color:rgba(119,215,166,.24); background:rgba(70,148,102,.075); }
.flow-entry-page .discord-result-card.is-failure { border-color:rgba(255,126,126,.22); background:rgba(130,45,45,.08); }

.flow-entry-page .flow-fields { display:grid; gap:15px; width:100%; }
.flow-entry-page .flow-fields.two-col { grid-template-columns:repeat(2,minmax(0,1fr)); }
.flow-entry-page .flow-field { position:relative; display:grid; gap:8px; min-width:0; }
.flow-entry-page .flow-field label { color:#d8e0e9; font-size:.79rem; font-weight:850; }
.flow-entry-page .flow-field b { color:#e7c86f; font-size:.65rem; }
.flow-entry-page .flow-field em { color:#758496; font-size:.65rem; font-style:normal; }
.flow-entry-page .flow-field input,
.flow-entry-page .flow-field select,
.flow-entry-page .flow-field textarea {
  display:block;
  width:100%;
  min-width:0;
  min-height:52px;
  border-radius:16px;
  background:rgba(2,8,14,.52);
}
.flow-entry-page .featured-field { grid-column:1/-1; }
.flow-entry-page .featured-field input { max-width:340px; }

.flow-entry-page .account-credential-card { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:18px; width:100%; padding:21px; border:1px solid rgba(255,255,255,.085); border-radius:22px; background:rgba(1,7,12,.3); }
.flow-entry-page .pin-pair { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; }
.flow-entry-page .pin-pair input { min-width:0; text-align:center; letter-spacing:.25em; font-weight:950; }

.flow-entry-page .flow-slot-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.flow-entry-page .flow-slot { min-width:0; }

.flow-entry-page .creator-row { display:grid; grid-template-columns:180px minmax(0,1fr); gap:10px; }
.flow-entry-page .final-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; overflow:hidden; }
.flow-entry-page .final-summary > div { min-width:0; }

.flow-entry-page .flow-actions {
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:14px;
  width:100%;
  margin-top:30px;
}
.flow-entry-page .flow-actions.split-actions { justify-content:space-between; }
.flow-entry-page .flow-primary,
.flow-entry-page .flow-submit {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  min-width:156px;
  min-height:54px;
  padding:0 24px;
  border:0;
  border-radius:16px;
  background:linear-gradient(135deg,#f4df9f,#cda43f);
  color:#17120a;
  font-weight:950;
  cursor:pointer;
}
.flow-entry-page .flow-primary:disabled,
.flow-entry-page .flow-submit:disabled { opacity:.42; cursor:not-allowed; }
.flow-entry-page .flow-primary.wide { min-width:190px; }
.flow-entry-page .flow-text-action { color:#8d9aac; font-size:.78rem; font-weight:800; text-decoration:none; }

@media (max-width: 900px) {
  .flow-entry-page .flow-shell { width:min(100% - 32px,1240px); padding-top:102px; }
  .flow-entry-page .flow-panel-inner { padding:42px 38px; border-radius:28px; }
  .flow-entry-page .account-credential-card { grid-template-columns:1fr; }
}

@media (max-width: 680px) {
  .flow-entry-page main { overflow:hidden; }
  .flow-entry-page .site-header { background:rgba(5,10,16,.92); }
  .flow-entry-page .flow-shell { width:100%; padding:88px 0 34px; }
  .flow-entry-page .flow-topbar { grid-template-columns:max-content minmax(0,1fr) max-content; gap:10px; width:calc(100% - 28px); margin-bottom:14px; padding:0; }
  .flow-entry-page .flow-step-kicker { display:none; }
  .flow-entry-page .flow-step-copy strong { font-size:.72rem; }
  .flow-entry-page .flow-progress { gap:4px; }
  .flow-entry-page .flow-progress span { height:2px; min-width:4px; }
  .flow-entry-page .flow-exit { font-size:.64rem; }
  .flow-entry-page .flow-global-alert { width:calc(100% - 28px); }
  .flow-entry-page .flow-panel { padding:2px 14px 24px; }
  .flow-entry-page .flow-panel-inner { width:100%; min-height:0; padding:30px 20px 25px; border-radius:25px; }
  .flow-entry-page .flow-heading { margin-bottom:25px; }
  .flow-entry-page .flow-heading h1 { font-size:clamp(2rem,10vw,3.05rem); line-height:1.05; }
  .flow-entry-page .flow-heading > p:last-child { font-size:.82rem; line-height:1.75; }
  .flow-entry-page .edition-showcase { grid-template-columns:1fr; }
  .flow-entry-page .edition-tile { min-height:102px; padding:17px; }
  .flow-entry-page .edition-icon { width:50px; height:50px; flex-basis:50px; border-radius:15px; }
  .flow-entry-page .platform-stage-head { align-items:flex-start; flex-direction:column; gap:3px; }
  .flow-entry-page .platform-pills { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .flow-entry-page .platform-pills label,
  .flow-entry-page .platform-pills span { width:100%; min-width:0; }
  .flow-entry-page .platform-pills span { justify-content:center; padding:0 8px; text-align:center; }
  .flow-entry-page .flow-ms-button { min-height:64px; padding-left:16px; padding-right:14px; }
  .flow-entry-page .connected-hero { grid-template-columns:auto minmax(0,1fr); padding:19px; }
  .flow-entry-page .connected-whitelist { grid-column:1/-1; text-align:left; padding-top:13px; border-top:1px solid rgba(255,255,255,.07); }
  .flow-entry-page .discord-username-field input { height:62px; font-size:1rem; }
  .flow-entry-page .flow-fields.two-col { grid-template-columns:1fr; }
  .flow-entry-page .featured-field { grid-column:auto; }
  .flow-entry-page .featured-field input { max-width:none; }
  .flow-entry-page .account-credential-card { padding:16px; }
  .flow-entry-page .pin-pair { grid-template-columns:1fr; }
  .flow-entry-page .flow-slot-grid { grid-template-columns:1fr; }
  .flow-entry-page .creator-row { grid-template-columns:1fr; }
  .flow-entry-page .final-summary { grid-template-columns:1fr; }
  .flow-entry-page .flow-actions { margin-top:24px; }
  .flow-entry-page .flow-primary { width:100%; min-width:0; min-height:56px; }
  .flow-entry-page .flow-actions.split-actions { align-items:stretch; flex-direction:column-reverse; }
  .flow-entry-page .split-actions .flow-primary { width:100%; min-width:0; }
  .flow-entry-page .flow-text-action { text-align:center; padding:8px; }
  .flow-entry-page .site-footer { display:none; }
}

@media (max-width: 390px) {
  .flow-entry-page .flow-panel { padding-inline:10px; }
  .flow-entry-page .flow-panel-inner { padding:27px 16px 22px; border-radius:22px; }
  .flow-entry-page .flow-heading h1 { font-size:clamp(1.82rem,9.5vw,2.55rem); }
  .flow-entry-page .edition-tile { gap:14px; }
  .flow-entry-page .platform-pills { grid-template-columns:1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .flow-entry-page .flow-track,
  .flow-entry-page .flow-viewport,
  .flow-entry-page .flow-panel { transition:none; }
}


/* v6: Java API review state */
.flow-entry-page .edition-tile.is-unavailable {
  cursor: not-allowed;
  border-color: rgba(255,255,255,.065);
  background: linear-gradient(145deg, rgba(20,28,39,.72), rgba(8,14,22,.78));
  opacity: .64;
  filter: saturate(.62);
}

.flow-entry-page .edition-tile.is-unavailable:hover {
  transform: none;
  border-color: rgba(255,255,255,.08);
  box-shadow: none;
}

.flow-entry-page .edition-tile.is-unavailable .selection-ring {
  display: none;
}

.flow-entry-page .edition-copy {
  min-width: 0;
}

.flow-entry-page .edition-status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  color: #9aa8b8;
  font-size: .61rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .08em;
}

.flow-entry-page .edition-status.is-live {
  border-color: rgba(110,223,174,.22);
  background: rgba(43,130,91,.13);
  color: #9ce5c1;
}

.flow-entry-page .java-review-notice {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 13px;
  align-items: start;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(225,190,94,.14);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(116,91,33,.11), rgba(18,27,38,.38));
}

.flow-entry-page .java-review-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(225,190,94,.11);
  color: #e8ce82;
  font-weight: 950;
}

.flow-entry-page .java-review-notice strong {
  display: block;
  margin: 1px 0 4px;
  color: #e8d9ad;
  font-size: .8rem;
}

.flow-entry-page .java-review-notice p {
  margin: 0;
  color: #8795a7;
  font-size: .69rem;
  line-height: 1.65;
}

@media (max-width: 680px) {
  .flow-entry-page .java-review-notice {
    grid-template-columns: 36px minmax(0,1fr);
    padding: 13px;
  }
  .flow-entry-page .java-review-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }
}


/* v7: OAuth-return-safe panel stage -------------------------------------
   Panels no longer live on a translated multi-page flex strip. Only the
   current panel participates in layout; it animates into the fixed stage.
   This prevents the post-Microsoft callback page from rendering only the
   progress bar when a translated track is restored/clipped by the browser. */
.flow-entry-page .flow-viewport {
  overflow: hidden;
  contain: none;
  min-height: 360px;
}

.flow-entry-page .flow-track {
  display: block;
  width: 100%;
  transform: none !important;
  transition: none;
  will-change: auto;
}

.flow-entry-page .flow-panel,
.flow-entry-page .flow-panel[aria-hidden="true"],
.flow-entry-page .flow-panel[hidden] {
  display: none !important;
  width: 100%;
  min-width: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
}

.flow-entry-page .flow-panel.is-current:not([hidden]),
.flow-entry-page .flow-panel[aria-hidden="false"]:not([hidden]) {
  display: block !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.flow-entry-page[data-direction="forward"] .flow-panel.is-current:not([hidden]) {
  animation: smais-flow-in-forward .42s cubic-bezier(.22,.8,.22,1) both;
}

.flow-entry-page[data-direction="back"] .flow-panel.is-current:not([hidden]) {
  animation: smais-flow-in-back .42s cubic-bezier(.22,.8,.22,1) both;
}

@keyframes smais-flow-in-forward {
  from { opacity: 0; transform: translate3d(34px,0,0) scale(.992); }
  to   { opacity: 1; transform: translate3d(0,0,0) scale(1); }
}

@keyframes smais-flow-in-back {
  from { opacity: 0; transform: translate3d(-34px,0,0) scale(.992); }
  to   { opacity: 1; transform: translate3d(0,0,0) scale(1); }
}

@media (max-width:680px) {
  .flow-entry-page .flow-viewport { min-height: 300px; }
  .flow-entry-page[data-direction="forward"] .flow-panel.is-current:not([hidden]),
  .flow-entry-page[data-direction="back"] .flow-panel.is-current:not([hidden]) {
    animation-duration: .34s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-entry-page .flow-panel.is-current:not([hidden]) { animation: none !important; }
}
