/* Hub account screens (A3.6h): child's waiting screen, "Activate company" button and dialog. Thin type, app tokens, new elements only. */
body.xh-junior-wait #xhh, body.xh-junior-wait #main { display: none; }
.xh-wait { display: grid; justify-items: center; gap: 14px; max-width: 560px; margin: 8vh auto; padding: 0 20px; text-align: center; color: var(--xt-ink); }
.xh-wait img { width: 120px; height: 120px; animation: xh-wait-float 5s ease-in-out infinite; filter: drop-shadow(0 12px 28px rgb(80 80 255 / .3)); }
.xh-wait h1 { margin: 0; font: 300 clamp(28px, 4vw, 40px)/1.15 var(--xt-serif, Georgia, serif); }
.xh-wait p { margin: 0; color: var(--xt-muted, #65789d); font-weight: 300; line-height: 1.5; }
.xh-wait h2 { margin: 10px 0 0; font-size: 15px; font-weight: 400; }
.xh-wait ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--xt-muted, #65789d); font-weight: 300; }
@keyframes xh-wait-float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .xh-wait img { animation: none; } }
.xl-activate { display: block; margin: 10px auto 0; padding: 7px 14px; border: 1px solid var(--xt-blue, #2563eb); border-radius: 999px; background: transparent; color: var(--xt-blue, #2563eb); font: inherit; font-size: 13px; font-weight: 400; cursor: pointer; }
.xl-activate:hover { background: var(--xt-blue, #2563eb); color: #fff; }
.xh-dlg { width: min(460px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--xt-line-4, #e3e8f2); border-radius: 22px; background: var(--xt-surface, #fff); color: var(--xt-ink); box-shadow: 0 30px 80px -30px rgb(20 30 80 / .45); }
.xh-dlg::backdrop { background: rgb(15 20 40 / .35); backdrop-filter: blur(4px); }
.xh-dlg form, .xh-dlg-done { display: grid; gap: 12px; padding: 24px; }
.xh-dlg h2 { margin: 0; font-size: 22px; font-weight: 400; }
.xh-dlg-sub, .xh-dlg-note, .xh-dlg-done p { margin: 0; color: var(--xt-muted, #65789d); font-size: 14px; font-weight: 300; line-height: 1.5; }
.xh-dlg-note a { color: var(--xt-blue, #2563eb); }
.xh-dlg-err { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fdecec; color: #b42318; font-size: 14px; }
.xh-dlg-field { display: grid; gap: 6px; font-size: 14px; }
.xh-dlg-field input { min-height: 42px; padding: 9px 11px; border: 1px solid var(--xt-line-4, #d6deeb); border-radius: 10px; font: inherit; }
.xh-dlg-check { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 14px; font-weight: 300; }
.xh-dlg-check input { width: 18px; height: 18px; margin-top: 2px; }
.xh-dlg-act { display: flex; justify-content: flex-end; gap: 10px; }
.xh-dlg-cancel, .xh-dlg-go { min-height: 42px; padding: 0 18px; border-radius: 999px; font: inherit; font-weight: 400; cursor: pointer; text-decoration: none; display: inline-grid; place-items: center; }
.xh-dlg-cancel { border: 1px solid var(--xt-line-4, #d6deeb); background: transparent; color: var(--xt-ink); }
.xh-dlg-go { border: 0; background: linear-gradient(100deg, #3355ff, #7a4df5); color: #fff; }
.xh-dlg-go:disabled { opacity: .6; }
