/* HALO ALEIA — P-00 Child Gate + P-01 child quick glance */
.aps-p00,.aps-p00-story{max-width:900px;margin:0 auto}
.aps-p00-intro{padding:20px 2px 18px}
.aps-p00-intro>small,.aps-p00-story-head small,.aps-p00-story-copy>small,.aps-p00-traditional-head small,.aps-p00-story-memory small{
  display:block;font-size:9px;letter-spacing:.16em;font-weight:850;color:#7c5bae
}
.aps-p00-intro h1{margin:8px 0 10px;font-size:clamp(34px,5vw,52px);line-height:1.02;letter-spacing:-1.7px;color:#19142a}
.aps-p00-intro p{max-width:680px;margin:0;color:#7d7488;font-size:13px;line-height:1.65}

.aps-p00-form{
  display:grid;gap:14px;
  padding:22px;
  border:1px solid rgba(126,101,160,.13);
  border-radius:27px;
  background:rgba(255,255,255,.82);
  box-shadow:0 18px 48px rgba(61,45,86,.06)
}
.aps-p00-form label>span,.aps-p00-gender>span{display:block;margin-bottom:7px;font-size:10px;font-weight:800;color:#51485b}
.aps-p00-form label em{font-style:normal;font-weight:500;color:#9a91a2}
.aps-p00-form input,.aps-p00-form select{
  width:100%;min-height:50px;box-sizing:border-box;
  border:1px solid #ded5e7;border-radius:14px;
  padding:0 13px;background:#fff;color:#342c3f;font:inherit;font-size:12px;outline:none
}
.aps-p00-form input:focus,.aps-p00-form select:focus{border-color:#a184ca;box-shadow:0 0 0 3px rgba(151,120,198,.10)}
.aps-p00-optional{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.aps-p00-gender>div{display:flex;gap:10px}
.aps-p00-gender button{
  min-width:126px;min-height:64px;
  border:1px solid #e0d7e8;border-radius:16px;
  background:#fbf9fd;color:#453a50;font:inherit;
  display:flex;align-items:center;gap:9px;justify-content:flex-start;
  padding:10px 14px;cursor:pointer
}
.aps-p00-gender button>span{font-size:24px}.aps-p00-gender button b{font-size:11px}
.aps-p00-gender button[aria-pressed="true"]{border-color:#9d7ac8;background:#f3ecfb;box-shadow:0 0 0 2px rgba(151,118,196,.08)}
.aps-p00-gender>small{display:block;min-height:14px;margin-top:6px;color:#a34255;font-size:9px}
.aps-p00-actions{display:flex;justify-content:space-between;gap:10px;margin-top:4px}
.aps-p00-note{margin:0!important;padding-top:3px;color:#9a91a2!important;font-size:9px!important;line-height:1.5!important}

.aps-p00-child-list{display:grid;gap:13px}
.aps-p00-child-card{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;
  padding:18px;border:1px solid #e2d9eb;border-radius:23px;
  background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(248,244,253,.92));
  box-shadow:0 12px 34px rgba(56,40,78,.055)
}
.aps-p00-child-avatar,.aps-p00-story-avatar,.aps-child-glance-avatar{
  display:grid;place-items:center;flex:none;
  background:linear-gradient(145deg,#ddd1fb,#f1cfdf);
  box-shadow:inset 0 1px rgba(255,255,255,.75)
}
.aps-p00-child-avatar{width:68px;height:68px;border-radius:20px;font-size:33px}
.aps-p00-child-copy small{font-size:8px;letter-spacing:.14em;color:#8d7c9c;font-weight:850}
.aps-p00-child-copy h2{margin:5px 0 5px;font-size:22px;color:#21192c}
.aps-p00-child-copy p{margin:0;color:#817787;font-size:11px}
.aps-p00-child-actions{display:grid;gap:7px;min-width:180px}
.aps-p00-child-actions button{width:100%;min-height:40px;font-size:9px}
.aps-p00-add{
  margin-top:14px;width:100%;min-height:48px;
  border:1px dashed #cfc0dc;border-radius:16px;background:rgba(255,255,255,.45);
  color:#6f588d;font:800 10px/1 inherit;cursor:pointer
}

.aps-p00-story{padding-bottom:28px}
.aps-p00-story-head{
  display:flex;align-items:center;gap:16px;
  padding:6px 2px 18px
}
.aps-p00-story-avatar{width:76px;height:76px;border-radius:23px;font-size:37px}
.aps-p00-story-head h1{margin:5px 0 4px;font-size:32px;color:#1f182b}
.aps-p00-story-head p{margin:0;color:#82798a;font-size:11px}
.aps-p00-story-copy{
  padding:19px 20px;border-radius:22px;
  background:linear-gradient(135deg,#f5effd,#eee6f9);
  border:1px solid #dfd2ef
}
.aps-p00-story-copy h2{margin:6px 0 8px;font-size:24px;color:#2b203a}
.aps-p00-story-copy p{margin:0;color:#756c7e;font-size:12px;line-height:1.65}
.aps-p00-traditional{
  margin-top:14px;padding:19px;border:1px solid #e5ddea;border-radius:22px;background:#fff
}
.aps-p00-traditional-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.aps-p00-traditional-head h2{margin:5px 0 0;font-size:19px}
.aps-p00-traditional-head>span{padding:7px 9px;border-radius:999px;background:#f1ebf7;color:#7f6997;font-size:8px;font-weight:850;letter-spacing:.12em}
.aps-p00-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
.aps-p00-facts article{min-height:78px;padding:11px;border-radius:15px;background:#faf8fc;border:1px solid #eee8f2}
.aps-p00-facts small{display:block;font-size:7px;letter-spacing:.10em;color:#95889f}
.aps-p00-facts b{display:block;margin-top:7px;font-size:11px;line-height:1.35;color:#3e3448}
.aps-p00-traditional>p{margin:13px 0 0;color:#9b929f;font-size:8.5px;line-height:1.5}
.aps-p00-story-memory{
  display:flex;gap:12px;align-items:flex-start;margin-top:13px;padding:15px 16px;
  border:1px solid #e5dced;border-radius:18px;background:linear-gradient(135deg,#fff9fc,#faf6fd)
}
.aps-p00-story-memory>span{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:11px;background:#eee3fa;color:#7754ae}
.aps-p00-story-memory p{margin:5px 0 0;color:#7d7485;font-size:10px;line-height:1.55}
.aps-p00-story-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:15px}

.aps-child-glance{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;
  gap:14px;align-items:center;
  margin:0 0 18px;padding:13px 15px;
  border:1px solid rgba(126,101,160,.13);border-radius:22px;
  background:rgba(255,255,255,.72);
  box-shadow:0 10px 30px rgba(57,43,78,.045)
}
.aps-child-glance-avatar{width:54px;height:54px;border-radius:17px;font-size:27px}
.aps-child-glance-main small,.aps-child-glance-stat small{display:block;font-size:7px;letter-spacing:.13em;color:#9889a5;font-weight:850}
.aps-child-glance-main h2{margin:4px 0;font-size:19px;color:#241b31}
.aps-child-glance-main p{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0;color:#7b7282;font-size:9.5px}
.aps-child-glance-stat{padding-left:14px;border-left:1px solid #e5dceb}
.aps-child-glance-stat b{display:block;margin-top:4px;font-size:10px;color:#4f425c}
.aps-child-glance-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.aps-child-glance-actions button{
  min-height:34px;padding:0 10px;border:1px solid #ded3e8;border-radius:999px;
  background:#faf8fc;color:#6f5a89;font:800 8px/1 inherit;cursor:pointer
}

@media(max-width:700px){
  .aps-p00-intro{padding:14px 2px}.aps-p00-intro h1{font-size:35px}
  .aps-p00-form{padding:17px;border-radius:22px}
  .aps-p00-optional{grid-template-columns:1fr}
  .aps-p00-gender button{min-width:0;flex:1}
  .aps-p00-actions{flex-direction:column-reverse}.aps-p00-actions button{width:100%}
  .aps-p00-child-card{grid-template-columns:auto 1fr;padding:14px;gap:12px}
  .aps-p00-child-avatar{width:58px;height:58px;border-radius:17px;font-size:29px}
  .aps-p00-child-actions{grid-column:1/-1;grid-template-columns:1fr 1fr;min-width:0}
  .aps-p00-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .aps-p00-story-head{gap:12px}.aps-p00-story-avatar{width:64px;height:64px;border-radius:19px;font-size:31px}
  .aps-p00-story-head h1{font-size:27px}
  .aps-p00-story-actions{flex-direction:column}.aps-p00-story-actions button{width:100%}
  .aps-child-glance{grid-template-columns:auto 1fr;padding:11px 12px}
  .aps-child-glance-stat{grid-column:2;padding:0;border-left:0}
  .aps-child-glance-actions{grid-column:1/-1;justify-content:stretch}
  .aps-child-glance-actions button{flex:1}
}
