/* NOMVEX Kids v2 — grown-ups' dialog (#parent-dialog) and the release's "Compte parent" button
   (.nv-global-account, added to every Kids page at build time). Kids colours, kit fonts. */
.kx-pd{width:min(560px,calc(100vw - 32px));max-height:88vh;overflow:auto;margin:auto;padding:28px 26px 22px;border:3px solid var(--ink,#183f40);border-radius:24px;background:var(--cream,#fffaf0);color:var(--ink,#183f40);box-shadow:8px 8px 0 #183f4022;font:17px/1.45 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:normal;word-spacing:normal}
.kx-pd::backdrop{background:#183f4080}
.kx-pd h2{margin:0 0 10px;font:700 28px/1.15 Georgia,serif}
.kx-pd p{margin:0 0 14px}
.kx-pd .pd-links{display:flex;flex-direction:column;gap:10px}
.kx-pd .pd-links a,.kx-pd [data-nomvex-parent-account-link],.kx-pd [data-nomvex-community-link]{display:flex;align-items:center;min-height:48px;padding:10px 16px;border:2px solid var(--ink,#183f40);border-radius:16px;background:#fff;color:var(--ink,#183f40);font-weight:700;text-decoration:none;overflow-wrap:anywhere}
.kx-pd .pd-links a:hover,.kx-pd [data-nomvex-parent-account-link]:hover,.kx-pd [data-nomvex-community-link]:hover{background:var(--green,#e8f2dc)}
.kx-pd [data-nomvex-parent-account-link]{margin-top:12px;background:var(--ink,#183f40);color:#fff}
.kx-pd [data-nomvex-parent-account-link]:hover{background:#0f2b2c}
.kx-pd [data-nomvex-adult-community]{margin-top:16px;padding-top:14px;border-top:2px solid var(--line,#cadace)}
.kx-pd [data-nomvex-adult-community] p{font-size:15px}
.kx-pd .pd-close{min-height:48px;padding:10px 22px;border:0;border-radius:999px;background:var(--orange,#fa8a64);color:var(--ink,#183f40);font:700 16px/1 Inter,system-ui,sans-serif;cursor:pointer}

/* The release's account button: one compact row above the child bar, same height on every page. */
body>.nv-global-account{margin:6px max(12px,calc((100vw - 1280px)/2 + 16px)) 6px auto;min-height:44px;padding:8px 16px;border:2px solid var(--ink,#183f40);background:#fff;color:var(--ink,#183f40)!important;box-shadow:0 3px 0 var(--line,#cadace);font:700 15px/1.2 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;letter-spacing:normal;word-spacing:normal}
body.kx{--acct:0px}
body.kx:has(>.nv-global-account){--acct:56px}
/* Home fills the window when it fits; on short screens it grows and the page scrolls, and the
   picture keeps a usable height instead of collapsing. */
.kx-home{height:auto;min-height:calc(100dvh - var(--bar) - var(--foot) - var(--acct,0px) - 1px);grid-template-rows:minmax(150px,1fr) auto auto}
@media (max-width:640px){.kx-home{grid-template-rows:minmax(250px,1fr) auto auto}}
.kx-world{min-height:calc(100dvh - var(--bar) - var(--foot) - var(--acct,0px) - 2*var(--gap))}
/* Full-screen activities and lessons keep the whole screen for the child. */
body.kx-full>.nv-global-account{display:none}
@media print{.kx-pd,body>.nv-global-account{display:none!important}}
