:root{font:16px/1.5 "Segoe UI",system-ui,sans-serif;color:#193b31;background:#103b31;color-scheme:light;--forest:#103b31;--muted:#52685f;--cream:#f9f5ea;--red:#9e3447}
.user-manager{margin-bottom:1rem}
.user-manager>p,.users-table small{color:var(--muted)}
.user-manager [role=status]:empty,#participant-sync:empty{display:none}
.users-filters,.payment-form,.users-pages{display:flex;flex-wrap:wrap;gap:.6rem;align-items:end}
.users-filters label{display:grid;gap:.25rem;font-weight:650}
.users-filters label:first-child{flex:1 1 15rem}
.users-filters input,.users-filters select,.payment-form select{width:100%;padding:.55rem .65rem;border:1px solid #c5cfc3;border-radius:9px;background:#fffdf6;color:inherit;font:inherit}
.user-manager select:focus-visible,.users-table-wrap:focus-visible{outline:3px solid #a96b23;outline-offset:3px}
.users-table-wrap{overflow-x:auto}
.users-table{width:100%;min-width:690px;border-collapse:collapse;text-align:left;font-size:.9rem}
.users-table th,.users-table td{padding:.75rem .65rem;vertical-align:top;border-bottom:1px solid #dfdfd0;overflow-wrap:anywhere}
.users-table th{background:#ecf0e7}
.users-table small{display:block;margin-top:.2rem}
.users-table td:last-child strong{display:block;margin-bottom:.35rem}
.credit-actions{display:flex;flex-wrap:wrap;gap:.4rem}
.credit-actions button,.account-edit{white-space:nowrap}
.account-edit{margin-top:.5rem}
.payment-form select{width:auto;max-width:100%}
.users-pages{justify-content:flex-end;align-items:center;margin-top:.75rem}
*{box-sizing:border-box}body{margin:0}[hidden]{display:none!important}button,input{font:inherit}button{border:0;border-radius:12px;padding:.6rem .95rem;font-weight:650;background:var(--forest);color:white;cursor:pointer}button:disabled{opacity:.6;cursor:wait}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #a96b23;outline-offset:3px}
.shell{display:grid;grid-template-columns:11.5rem minmax(0,1fr);max-width:1200px;margin:4vh auto;height:92vh;height:92dvh;min-height:570px;overflow:hidden;border-radius:24px;box-shadow:0 22px 65px #071f1a77;background:#fffdf6}
.sidebar{padding:1.45rem .8rem;background:#edf1e6;display:flex;flex-direction:column;gap:.4rem;border-right:1px solid #dce4d8}
.account-menu-button{display:flex;align-items:center;gap:.55rem;min-height:45px;text-align:left;padding:.6rem .65rem;background:transparent;color:var(--forest)}
.account-menu-button:hover,.account-menu-button:focus-visible{background:#dce9da}
.person-icon,.settings-icon,.logout-icon{display:inline-grid;place-items:center;width:1.2rem;height:1.2rem;flex:none}
.person-icon{position:relative}
.person-icon::before,.person-icon::after{content:"";position:absolute;border:1.5px solid currentColor}
.person-icon::before{width:.42rem;height:.42rem;top:0;border-radius:50%}
.person-icon::after{width:.8rem;height:.42rem;bottom:0;border-radius:.6rem .6rem .18rem .18rem}
.settings-icon,.logout-icon{font:1.3rem/1 system-ui}
.account-details div{display:grid;gap:.1rem;border-bottom:1px solid #e7e2d5;padding:.55rem 0}
.account-details dt{color:var(--muted);font-size:.875rem}
.account-details dd{margin:0;overflow-wrap:anywhere;font-weight:650}
#profile-status:empty{display:none}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--forest);font:700 1.5rem/1.05 Georgia,serif}.brand span{display:grid;place-items:center;background:var(--red);color:#fff4cc;border-radius:14px;width:47px;height:47px;font:1.75rem system-ui}
.chat{display:flex;flex-direction:column;min-width:0;min-height:0}.chat-head{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:1rem 1.3rem;background:#fffdf6;border-bottom:1px solid #e7e2d5}.identity,.actions{display:flex;align-items:center;gap:.65rem}.portrait{display:grid;place-items:center;width:47px;height:47px;border-radius:50%;background:#e6ebd9;font-size:1.6rem;flex:none}.chat h1{margin:0;font:700 1.4rem Georgia,serif}.identity p{margin:0;color:var(--muted);font-size:.82rem}.action{background:#e9eee5;color:var(--forest);display:inline-flex;align-items:center;gap:.35rem}.actions .action{font-size:.875rem}.actions .action span:first-child{font-size:1.1rem;line-height:1}
.call-stage{flex:1;min-height:0;display:grid;place-items:center;padding:1.25rem;background:var(--cream)}
.call-entry{width:min(100%,35rem);display:grid;justify-items:center;gap:.85rem}
.call-entry .call-start-actions{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.call-entry .call-start-button{min-height:58px}
@media(max-width:380px){.call-entry .call-start-actions{grid-template-columns:1fr}}
.prepare-call{padding:.3rem .15rem;background:transparent;color:var(--muted);font-size:.8rem;text-decoration:underline;text-underline-offset:.2em}
.prepare-call:hover{color:var(--forest)}
.conversation-feedback{padding:.55rem 1.2rem;background:#fffdf6;border-top:1px solid #e7e2d5}
.conversation-feedback:not(:has([role=status]:not(:empty),button:not([hidden]))){display:none}
.conversation-feedback p,.conversation-feedback small{display:block;margin:.15rem 0;color:var(--muted)}
.conversation-feedback [role=status]:empty{display:none}
input:not([type=checkbox]){padding:.55rem .75rem;background:white;border:1px solid #c5cfc4;border-radius:12px;color:inherit}.call{padding:.55rem 1.2rem;background:#dcebd8}.call video{display:block;width:100%;height:min(34vh,280px);border-radius:12px;background:#172b22}.call p{margin:.25rem 0}.call #video-stop{background:var(--red)}
dialog{border:0;border-radius:18px;padding:1.4rem;color:inherit;background:#fffdf6;max-width:min(92vw,430px)}dialog::backdrop{background:#0a2a22a0}dialog h2{margin:0;font:700 1.5rem Georgia,serif}.check{display:flex;align-items:flex-start;gap:.5rem}.dialog-actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:1rem}
.admin{display:grid;grid-template-columns:15rem minmax(0,1fr);min-height:100dvh;background:#f7f6ef}
.admin-sidebar{position:sticky;top:0;align-self:start;min-height:100dvh;padding:1.75rem 1.15rem;background:var(--forest);color:#fffdf6}
.admin-sidebar .brand{margin:0 .4rem 2.6rem;color:inherit;font-size:1.35rem}
.admin-sidebar .brand span{flex:none}
.admin-nav{display:grid;gap:.35rem}
.admin-nav a{padding:.7rem .9rem;border-radius:10px;color:#e5eee7;font-weight:650;text-decoration:none}
.admin-nav a:hover{background:#ffffff15}
.admin-nav a[aria-current]{background:#e4efdf;color:var(--forest)}
.admin-main{min-width:0}
.admin-head{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:1rem clamp(1rem,3vw,2.5rem);border-bottom:1px solid #e3e5db;background:#fffdf6}
.admin-head h1{margin:0;font-size:1rem}
.admin-head a{flex:none;font-size:.9rem;font-weight:650;text-underline-offset:.2em}
.admin-view{max-width:95rem;margin-inline:auto;padding:clamp(1rem,3vw,2.5rem)}
.admin-view>h2,.admin-view-head{margin:0 0 1.25rem}
.admin-view h2{font:700 clamp(1.85rem,4vw,2.5rem)/1.15 Georgia,serif}
.admin-view-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}
.admin-view-head h2{margin:0}
.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.admin .panel{min-width:0;background:#fffdf8;border:1px solid #e1e4d8;border-radius:14px;padding:clamp(.85rem,2vw,1.35rem)}
.admin .panel h3{margin:0;font:700 1.3rem Georgia,serif}
.admin .panel dd{margin:0 0 .65rem;font-weight:650}
.admin .panel dt{color:var(--muted)}
.admin .users-table-wrap{border:1px solid #e1e4d8;border-radius:10px}
.admin .users-table tbody tr:last-child td{border-bottom:0}
.admin .users-table tbody tr:hover{background:#f5f7ef}
.admin .users-table button{padding:.45rem .65rem;border-radius:8px}
.admin .users-filters label:first-child{min-width:0}
.admin .users-filters label{max-width:100%}
.admin #parent-created{margin-top:0}
.admin #landing-videos-form button{justify-self:start}
@media(max-width:1240px){.shell{margin-left:2vw;margin-right:2vw}}
@media(max-width:780px){
  .admin{grid-template-columns:minmax(0,1fr)}
  .admin-sidebar{position:static;min-height:0;padding:.85rem 1rem .65rem}
  .admin-sidebar .brand{margin:0 0 .7rem;font-size:1.15rem}
  .admin-sidebar .brand span{width:36px;height:36px;border-radius:9px;font-size:1.3rem}
  .admin-nav{display:flex;flex-wrap:wrap}
  .admin-nav a{padding:.5rem .6rem;font-size:.9rem}
}
@media(max-width:680px){
  .shell{margin:0;border-radius:0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);height:100dvh;min-height:0}
  .sidebar{flex-direction:row;gap:.45rem;padding:.25rem .7rem;border-right:0;border-bottom:1px solid #dce4d8}
  .account-menu-button{font-size:.875rem}
  .chat-head{padding:.65rem .7rem}
  .identity,.actions{gap:.35rem}
  .identity p{font-size:.75rem}
  .chat h1{font-size:1.2rem}
  .portrait{width:37px;height:37px}
  .conversation-feedback{padding:.45rem .7rem}
  .admin-grid{grid-template-columns:1fr}
}

dialog.call{position:fixed;inset:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;padding:0;border-radius:0;overflow:hidden;color:#fff8e8;background:radial-gradient(ellipse at 50% 42%,#265848,#0b251f 65%);isolation:isolate}
.call #avatar-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 50%;border-radius:0;background:#101f1b}
.call #avatar-video.wide{object-fit:contain}
.call-header,.call-actions{position:absolute;z-index:1;left:0;right:0;text-align:center}
.call-header{top:0;padding:calc(1rem + env(safe-area-inset-top)) 1rem 2rem;background:linear-gradient(#091c18ed,transparent)}
.call-header h2{font-size:clamp(1.9rem,5vw,2.65rem);margin:.25rem 0}
.call-header p{margin:.1rem 0}
#call-kind{font-size:.875rem;color:#f1dba4}
.call-portrait{position:absolute;inset:0;display:grid;place-items:center;font-size:clamp(4rem,16vw,7rem);pointer-events:none}
.call-portrait::before{content:"";position:absolute;width:clamp(8rem,33vw,13rem);aspect-ratio:1;border-radius:50%;background:#edd9a63b;border:1px solid #edd9a66b;z-index:-1}
.call.has-video .call-portrait{display:none}
.call-self-view{position:absolute;z-index:1;top:calc(clamp(8rem,25dvh,10rem) + env(safe-area-inset-top));right:max(.75rem,env(safe-area-inset-right));width:clamp(4.5rem,22vw,10rem);max-height:35dvh;aspect-ratio:3/4;overflow:hidden;border:1px solid #fff8e8b3;border-radius:14px;background:#102b28;box-shadow:0 5px 20px #08171066;pointer-events:none}
.call-self-view video{display:block;width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}
.call-actions{bottom:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:.55rem;padding:2.5rem max(.65rem,env(safe-area-inset-right),env(safe-area-inset-left)) calc(1rem + env(safe-area-inset-bottom));background:linear-gradient(transparent,#091c18eb)}
.call-actions button{min-height:48px;background:#18382f;border:1px solid #f7efd64a}
.call-actions button[aria-pressed=true]{background:#fff8e8;color:#17372e}
.call-actions #video-stop{background:#ad3047;border-color:#ad3047}
@media (min-aspect-ratio:16/9){.call #avatar-video{object-fit:contain}}

.call-meter{width:min(88%,20rem);margin:.55rem auto 0;font-size:.875rem;font-variant-numeric:tabular-nums}
.call-meter progress{display:block;width:100%;height:.55rem;margin:.35rem auto 0;accent-color:#f1dba4}
#call-limit{text-align:center}#call-limit button{margin-top:.35rem}

.landing{background:#0c3027;color:#fff7e8}.lp-wrap{width:min(1100px,calc(100% - 2rem));margin-inline:auto}.lp-nav,.lp-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:1.2rem}.lp-brand{color:#fff7e8}.lp-login{border:1px solid #f2deb465;border-radius:100px;padding:.55rem .95rem;text-decoration:none}.lp-hero,.lp-offer{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:clamp(2rem,7vw,6rem);padding-block:clamp(3rem,8vw,7rem)}.lp-kicker{color:#efd295;font-size:.86rem;font-weight:700;letter-spacing:.075em;text-transform:uppercase}.lp-hero h1,.landing h2{margin:0;font-family:Georgia,serif;line-height:1.04}.lp-hero h1{font-size:clamp(3rem,7.5vw,6rem);letter-spacing:-.055em}.lp-hero em{display:block;color:#efd295}.lp-intro{font-size:clamp(1.05rem,2vw,1.25rem);max-width:34rem}.lp-note,.lp-preview-caption{font-size:.85rem;color:#f2e1b9}.lp-button{display:inline-block;background:#f0d49a;color:#15352c;border-radius:12px;padding:.75rem 1.2rem;text-decoration:none;font-weight:750}.lp-button:hover{background:#ffebb9}.lp-preview{display:flex;flex-direction:column;align-items:center;justify-content:space-between;min-height:350px;padding:1.1rem;border:1px solid #efd29566;border-radius:2rem;background:radial-gradient(ellipse at 53% 40%,#9e3447,#360e23 75%);box-shadow:0 20px 75px #041b13aa;text-align:center}.lp-preview-head{display:flex;justify-content:space-between;width:100%;gap:.5rem;font-size:.78rem;color:#ffefce}.lp-preview p{font:1.35rem Georgia,serif;margin:.25rem}.lp-avatar{font-size:6rem;border:1px solid #f8dc9da0;background:#ffedbc22;border-radius:50%;width:9rem;height:9rem;display:grid;place-items:center}.lp-steps{background:#f9f1e0;color:#183a30;padding:3rem 0}.landing h2{font-size:clamp(2rem,4vw,3.35rem);letter-spacing:-.035em}.lp-steps-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin-top:1.6rem}.lp-steps-grid article{border-top:1px solid #a79573;padding-top:1rem}.lp-steps-grid h3{margin:0}.lp-steps-grid p{margin:.4rem 0 0}.lp-price{background:#fff5df;color:#17362d;border-radius:1.4rem;padding:1.5rem}.lp-price strong{font:700 clamp(2.7rem,5vw,4rem)/1 Georgia,serif}.lp-price .lp-button{background:#193f34;color:white}.lp-availability{color:#8e3140;font-weight:700}.lp-faq{padding-bottom:3rem}.lp-faq h2{margin-bottom:1rem}.lp-faq details{border-top:1px solid #fff5df55;margin:0;padding:.8rem 0}.lp-faq summary{cursor:pointer;font-weight:700}.lp-faq p{margin:.45rem 0 0;max-width:42rem}.lp-footer{border-top:1px solid #fff5df55}
@media(max-width:700px){.lp-hero,.lp-offer,.lp-steps-grid{grid-template-columns:1fr}.lp-hero,.lp-offer{gap:1.5rem;padding-block:2.6rem}.lp-preview{min-height:300px}.lp-steps-grid{gap:.8rem}.lp-footer{flex-wrap:wrap}}

.portrait,.lp-avatar{overflow:hidden}
.portrait img,.lp-avatar img{display:block;width:100%;height:100%;object-fit:cover;transform:scale(1.52);transform-origin:50% 46%}

.lp-preview {
  justify-content:space-between;
  gap:1rem;
  background:radial-gradient(ellipse at 50% 34%,#245d4d,#102b28 72%);
}
.lp-call-hero {
  display:grid;
  min-height:100svh;
  align-items:end;
  background:
    linear-gradient(180deg,#0c211b20 15%,#0c211b55 47%,#0c211bf5 100%),
    #15362b url('/oficina-do-noel.jpg') center 40% / cover no-repeat;
}
.lp-call-hero .lp-preview {
  width:min(100%,42rem);
  min-height:0;
  margin-inline:auto;
  padding:1rem 1rem max(2rem,env(safe-area-inset-bottom));
  border:0;
  box-shadow:none;
  background:none;
}
.lp-call-hero .lp-avatar {
  width:clamp(4.75rem,10vw,7rem);
  height:auto;
  aspect-ratio:1;
  padding:0;
  box-shadow:0 0 0 .25rem #11282099,0 .35rem 1.2rem #0009;
}
.lp-call-hero .lp-avatar:disabled {opacity:1;cursor:default}
.lp-call-hero .lp-preview-caption,.lp-call-hero h1 {
  text-shadow:0 2px 12px #000;
}
.lp-call-hero h1 {
  margin:0;
  font:700 clamp(2rem,6vw,3rem)/1.1 Georgia,serif;
}
.lp-avatar-ring {
  position:relative;
  isolation:isolate;
  margin-block:1rem;
}
.lp-avatar-ring::before,
.lp-avatar-ring::after {
  position:absolute;
  z-index:-1;
  inset:0;
  border:2px solid #a9e6bd;
  border-radius:50%;
  content:"";
  opacity:0;
}
.lp-preview[data-ringing] .lp-avatar-ring::before,
.lp-preview[data-ringing] .lp-avatar-ring::after {
  animation:lp-ring-pulse 2.4s ease-out infinite;
}
.lp-preview[data-ringing] .lp-avatar-ring::after {animation-delay:.8s}
.lp-preview[data-ringing] .lp-avatar {animation:lp-ring-shake 2.4s ease-in-out infinite}
@keyframes lp-ring-pulse {
  0% {transform:scale(1);opacity:.7}
  80%,100% {transform:scale(1.45);opacity:0}
}
@keyframes lp-ring-shake {
  0%,24%,100% {transform:rotate(0)}
  5%,15% {transform:rotate(-4deg)}
  10%,20% {transform:rotate(4deg)}
}
@media (prefers-reduced-motion:reduce) {
  .lp-preview[data-ringing] .lp-avatar-ring::before,
  .lp-preview[data-ringing] .lp-avatar-ring::after,
  .lp-preview[data-ringing] .lp-avatar {animation:none}
}
.lp-preview p {font-size:1.85rem}
.lp-call-actions {display:flex;justify-content:center;flex-wrap:wrap;gap:.75rem}
.lp-call-actions button {min-height:44px;border-radius:100px;padding-inline:1.25rem}
.lp-call-actions .lp-answer {background:#a9e6bd;color:#143629}
.lp-call-actions a {min-height:44px;border-radius:100px;padding:.6rem 1.25rem}
.lp-call-actions .lp-access {background:#102b28;color:#fff7e8;border:1px solid #f2deb4a0}
@media (max-width:460px) {
  .lp-call-hero .lp-call-actions {width:min(100%,19rem);display:grid;grid-template-columns:1fr 1fr}
  .lp-call-hero .lp-answer {grid-column:1 / -1}
}
.lp-video-dialog {
  width:min(92vw,56rem,calc((100dvh - 8rem) * 16 / 9));
  min-width:min(92vw,18rem);
  max-width:none;
  padding:1rem;
  background:#102b28;
  text-align:center;
}
.lp-video-dialog[data-variant="mobile"] {width:min(92vw,25rem,calc((100dvh - 8rem) * 9 / 16))}
.lp-video-dialog::backdrop {background:#071614e6}
.lp-video-dialog form {display:flex;justify-content:flex-end;margin-bottom:.75rem}
.lp-video-dialog a {display:inline-block;margin-top:.65rem}
#lp-countdown {padding:.5rem 0 1rem}
#lp-countdown p {max-width:28ch;margin:0 auto .5rem}
#lp-countdown strong {font:700 3rem/1.1 Georgia,serif;color:#efd295}
#lp-call-finished {padding:1rem 0 .75rem}
#lp-call-finished a {color:#15352c}
.lp-video-player {position:relative;aspect-ratio:16 / 9;background:#000}
.lp-video-dialog[data-variant="mobile"] .lp-video-player {aspect-ratio:9 / 16}
.lp-video-player iframe {display:block;width:100%;height:100%;border:0}
.lp-video-embed {height:100%}
.lp-self-view {
  position:absolute;
  top:.65rem;
  right:.65rem;
  width:clamp(3.5rem,23%,8rem);
  aspect-ratio:3 / 4;
  overflow:hidden;
  border:1px solid #fff8e8b3;
  border-radius:.65rem;
  background:#102b28;
  box-shadow:0 4px 16px #0008;
  pointer-events:none;
}
.lp-self-view video {display:block;width:100%;height:100%;object-fit:cover;transform:scaleX(-1)}
.lp-self-view span {
  position:absolute;
  bottom:.25rem;
  left:.25rem;
  padding:.1rem .35rem;
  border-radius:.3rem;
  background:#000b;
  color:#fff;
  font-size:.75rem;
}
#lp-media-status:empty {display:none}

#landing-videos-form fieldset {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));
  align-items:end;
  gap:.75rem;
  border:0;
  margin:0;
  padding:0;
}
#landing-videos-form label {display:grid;gap:.25rem;font-weight:650}
#landing-videos-form input {
  width:100%;
  padding:.55rem .65rem;
  border:1px solid #c5cfc3;
  border-radius:9px;
  background:#fffdf6;
  color:inherit;
}
#landing-videos-form button {justify-self:start}
#landing-videos-form [role="status"]:empty {display:none}
.call-portrait::before{content:none}
.call-portrait img{display:block;width:clamp(10rem,41vw,15rem);aspect-ratio:1;object-fit:cover;border:2px solid #f5dda575;border-radius:50%;box-shadow:0 12px 60px #071912aa}
.call.video-call .call-portrait img{width:100%;height:100%;border:0;border-radius:0;object-position:50% 46%}

#children-dialog{width:min(92vw,500px);max-height:88dvh;overflow:auto}
#children-list fieldset{border:1px solid #c5cfc4;border-radius:12px;margin:0 0 .75rem;padding:.65rem}
#children-list legend{font-weight:700}
#children-list label{display:block;margin:.2rem 0 .6rem}
#children-list input{display:block;width:100%;margin-top:.25rem}
#children-list .check{display:flex;align-items:center;gap:.5rem}
#children-list .check input{width:auto;margin:0}
.preparation-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.65rem;margin:.65rem 0}
.preparation-options button{display:grid;gap:.25rem;align-content:start;text-align:left;padding:.8rem .9rem}
.preparation-options button+button{background:#eee6d5;color:var(--forest)}
.preparation-options span{font-size:.875rem;font-weight:400}
.call-start-button{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:46px;background:#174c3c;color:#fff;white-space:nowrap;box-shadow:0 2px 6px #193b3126}
.call-start-button:hover{background:#21634e}
.call-start-video{background:#9e3447}
.call-start-video:hover{background:#81283a}
.call-start-button span:first-child{font-size:1.15rem;line-height:1}
@media(max-width:680px){
  .chat-head{flex-wrap:wrap}
  .call-start-button{padding-inline:.4rem;font-size:.875rem}
}

#children-form .dialog-actions{flex-wrap:wrap}

#integration-dialog{width:min(94vw,540px);max-width:none;max-height:90dvh;overflow:auto}
#integration-form fieldset{margin:0 0 .75rem;border:1px solid #c5cfc4;border-radius:12px}
#integration-form legend{font-weight:700}
#integration-form label{display:block;margin:.25rem 0 .6rem}
#integration-form input{display:block;width:100%;margin-top:.2rem}
#integration-form textarea{display:block;width:100%;margin-top:.2rem;font:inherit}
#liveavatar-credits span{display:block}
#integration-form .check input{width:auto}
#integration-form fieldset p,#integration-mode{font-size:.875rem;color:var(--muted)}
#integration-form .dialog-actions{flex-wrap:wrap}
#parent-dialog{width:min(92vw,430px);max-height:90dvh;overflow:auto}
#parent-form label{display:block;margin-top:.75rem;font-weight:650}
#parent-form input{display:block;width:100%;margin-top:.2rem}
#parent-form p{font-size:.875rem;color:var(--muted)}
#credit-dialog{width:min(92vw,430px)}
#credit-form label{display:block;margin-top:.75rem;font-weight:650}
#credit-form input,#credit-form select{display:block;width:100%;margin-top:.2rem;padding:.5rem;font:inherit}

.login-page{
  display:grid;
  place-items:center;
  min-height:100vh;
  min-height:100dvh;
  padding:clamp(1rem,5vw,3rem);
  background:radial-gradient(ellipse at 50% 8%,#235447 0%,var(--forest) 55%,#0a2d24 100%);
}
.login-card{
  width:min(100%,28rem);
  padding:clamp(1.4rem,5vw,2.5rem);
  background:#fffdf6;
  border-radius:24px;
  box-shadow:0 20px 55px #061f1966;
}
.login-card .brand{width:fit-content}
.login-heading{margin:clamp(1.5rem,4vw,2rem) 0 1.4rem}
.login-heading h1{margin:0;font:700 clamp(2rem,6vw,2.6rem)/1.08 Georgia,serif}
.login-heading p{margin:.55rem 0 0;color:var(--muted)}
.login-form{display:grid;grid-template-columns:minmax(0,1fr);gap:.45rem}
.login-form label{font-weight:650}
.login-form input{width:100%;min-height:3rem;padding:.65rem .8rem;margin:0 0 .55rem;background:#fff}
.login-form button{width:100%;min-height:3rem;margin-top:.2rem}
.login-form #setup{margin:0 0 .65rem;overflow-wrap:anywhere}
.login-form #setup:empty,.login-status:empty{display:none}
.login-status{margin:1rem 0 0;color:var(--red);overflow-wrap:anywhere}
