/* The Standard — Pass 4.0.4: onboarding content and navigation are siblings.
   No visible separator: the arrow stays part of the same white screen. */
.std2-app:not(.std2-loading){
  box-sizing:border-box; display:flex; flex-direction:column;
  height:100%; min-height:0; max-height:100%;
  overflow:hidden; padding-bottom:0; background:#fff;
}
.std2-app:not(.std2-loading) .std2-app-head,
.std2-app:not(.std2-loading) .std2-progress {flex-shrink:0}
.std2-app:not(.std2-loading) .std2-progress {margin-bottom:0}
.std2-app:not(.std2-loading) .std2-app-main {
  box-sizing:border-box; flex:1 1 auto; min-height:0; width:100%; max-width:none;
  overflow-y:auto; overflow-x:hidden; overscroll-behavior-y:contain;
  -webkit-overflow-scrolling:touch;
  padding:38px 0 28px;
}
.std2-app:not(.std2-loading) .std404-nav {
  flex:0 0 auto; display:flex; justify-content:flex-end; align-items:center;
  padding:12px 0 calc(16px + env(safe-area-inset-bottom));
  background:#fff; border:0; box-shadow:none;
}
.std2-app:not(.std2-loading) .std404-nav .std2-next {
  position:static!important; float:none!important; inset:auto!important;
  margin:0!important; width:60px; height:60px; flex-shrink:0;
  background:#161616; color:#fff; opacity:1; cursor:pointer;
}
.std2-app:not(.std2-loading) .std404-nav .std2-next:disabled {
  background:#e2e2e2; color:#fff; opacity:1; cursor:default;
}
.std2-app:not(.std2-loading) .std404-nav .std2-next:focus-visible{outline:3px solid #941b32;outline-offset:3px}
/* Make the status screen independently scrollable inside the clipped .phone shell. */
.std2-status {
  box-sizing:border-box; height:100%; min-height:0; max-height:100%;
  overflow-y:auto; overflow-x:hidden; -webkit-overflow-scrolling:touch;
  overscroll-behavior-y:contain; background:#fff;
  padding-bottom:calc(54px + env(safe-area-inset-bottom));
}
.std2-status-footer {margin-bottom:-54px}
.std404-education {display:grid;gap:11px;padding-bottom:12px}
.std404-education label {font-size:13px;font-weight:700;color:#2a2928;margin-top:12px}
.std404-education label span {font-weight:400;color:#888}
.std404-education input,.std404-education select,.std404-interests input[type=search] {
  width:100%;min-width:0;box-sizing:border-box; background:#fff;
  color:#1d1b19; border:1px solid #ddd8d2; border-radius:12px;
  padding:14px 13px;font:16px/1.35 system-ui,-apple-system,sans-serif;
}
.std404-education input:focus,.std404-education select:focus,.std404-interests input:focus {outline:2px solid #941b32;outline-offset:1px}
.std404-education-note {color:#777;font-size:12px;line-height:1.4;margin:0}
.std404-suggestions {display:grid;gap:0;border:1px solid #ddd8d2;border-radius:12px;overflow:hidden;background:#fff}
.std404-suggestions[hidden]{display:none}
.std404-suggestions button{background:#fff;border:0;border-bottom:1px solid #eee9e5;text-align:left;padding:11px 12px;color:#1d1b19;font-size:14px}
.std404-suggestions button:last-child{border-bottom:0}
.std404-suggestions button:focus-visible{outline:2px solid #941b32;outline-offset:-2px}
.std404-interests{padding-bottom:10px}
.std404-search-label{display:block;font-size:12px;font-weight:700;margin:0 0 8px}
.std404-categories{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-x:contain;padding:14px 0 15px}
.std404-categories button{flex-shrink:0;white-space:nowrap;border:1px solid #ded8d2;background:#fff;border-radius:999px;padding:9px 13px;font-size:12px;color:#222}
.std404-categories button.active{background:#941b32;color:#fff;border-color:#941b32}
.std404-interests .std2-chip-grid{padding-bottom:12px}
.std404-interests .std2-helper{margin-top:6px}
.std404-selfie{margin-top:18px}
.std404-camera-slot{display:grid;gap:9px;margin-top:12px}
.std404-camera-slot video{width:100%;max-height:260px;object-fit:cover;border-radius:12px;background:#111;transform:scaleX(-1)}
.std404-camera-slot button{border:0;border-radius:999px;padding:13px;background:#941b32;color:white;font-weight:700}
.std404-camera-slot .std404-camera-cancel{background:#eee;color:#222}
.std404-camera-slot p,.std404-camera-disclaimer{font-size:12px;line-height:1.5;color:#777}
@media(max-width:699px){
  .std2-app:not(.std2-loading){height:100dvh;max-height:100dvh}
  .std2-app:not(.std2-loading) .std2-app-main{padding-top:30px}
  .std2-status{height:100dvh;max-height:100dvh}
}
