
.modal.child-notebook-modal{z-index:235;background:rgba(3,16,48,.28);backdrop-filter:blur(14px) saturate(145%);-webkit-backdrop-filter:blur(14px) saturate(145%)}
.modal.child-notebook-modal .modal-card{width:min(860px,calc(100vw - 30px));max-width:860px;max-height:calc(100dvh - 34px);overflow:auto;border:1px solid rgba(255,255,255,.76);border-radius:30px;background:linear-gradient(145deg,rgba(252,254,255,.94),rgba(222,238,255,.84));box-shadow:0 34px 100px rgba(4,24,67,.34),inset 0 1px 0 rgba(255,255,255,.98);animation:childNotebookIn .36s cubic-bezier(.22,.8,.22,1)}
.modal.child-notebook-modal .modal-head{padding:20px 23px 0;background:transparent;border:0}
.modal.child-notebook-modal .modal-head h2{font:800 10px/1 Manrope,Inter,Arial,sans-serif;color:#0870ee;letter-spacing:1.1px;text-transform:uppercase}
.modal.child-notebook-modal .modal-close{width:35px;height:35px;border:1px solid rgba(255,255,255,.9);border-radius:12px;background:rgba(255,255,255,.58);color:#23436f;box-shadow:inset 0 1px 0 #fff,0 7px 16px rgba(16,63,139,.08)}
.modal.child-notebook-modal .modal-body{padding:9px 23px 24px;line-height:normal}
.child-notebook-window{display:grid;gap:15px}
.child-notebook-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:15px;padding:20px 21px;border-radius:22px;background:radial-gradient(circle at 86% 14%,rgba(78,198,255,.34),transparent 34%),linear-gradient(125deg,#061842 0%,#0756bc 62%,#0b83fb 100%);color:#fff;box-shadow:0 18px 38px rgba(5,69,157,.22),inset 0 1px 0 rgba(255,255,255,.2)}
.child-notebook-hero:after{content:"";position:absolute;width:150px;height:150px;right:-62px;bottom:-96px;border:1px solid rgba(255,255,255,.2);border-radius:50%;box-shadow:0 0 0 28px rgba(255,255,255,.045),0 0 0 56px rgba(255,255,255,.03)}
.child-notebook-hero-icon{position:relative;z-index:1;width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,rgba(255,255,255,.26),rgba(255,255,255,.12));border:1px solid rgba(255,255,255,.34);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 10px 25px rgba(2,28,82,.2)}
.child-notebook-hero-icon svg{width:29px;height:29px}
.child-notebook-hero-copy{position:relative;z-index:1;min-width:0}
.child-notebook-hero-copy span{display:block;margin-bottom:6px;color:#bfe2ff;font-size:8px;font-weight:800;letter-spacing:1.1px;text-transform:uppercase}
.child-notebook-hero-copy h3{margin:0 0 5px!important;color:#fff;font:800 clamp(19px,2.8vw,26px)/1.08 Manrope,Inter,Arial,sans-serif;letter-spacing:-.6px}
.child-notebook-hero-copy p{margin:0;color:#dcecff;font-size:10px;line-height:1.5}
.child-notebook-age{position:relative;z-index:1;align-self:start;white-space:nowrap;border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:7px 10px;background:rgba(255,255,255,.14);font-size:8px;font-weight:800;letter-spacing:.55px}
.child-notebook-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.child-notebook-feature{position:relative;min-width:0;min-height:154px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;padding:15px 12px 13px;border:1px solid #e6ebf4;border-radius:22px;background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);box-shadow:0 12px 28px rgba(15,58,129,.06);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;font:inherit;text-align:center;color:inherit;cursor:pointer;appearance:none}
.child-notebook-feature:hover{transform:translateY(-1px);border-color:#cfe0fb;box-shadow:0 16px 34px rgba(15,58,129,.09)}
.child-notebook-feature-icon{width:70px;height:70px;flex:none;border-radius:22px;display:grid;place-items:center;color:#0869f8;background:linear-gradient(145deg,#dfeeff,#a5c6ff);box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 12px 26px rgba(9,91,230,.15)}
.child-notebook-feature:nth-child(3n+2) .child-notebook-feature-icon{color:#166fc6;background:linear-gradient(145deg,#e9f8ff,#d8f0ff)}
.child-notebook-feature:nth-child(3n) .child-notebook-feature-icon{color:#3b62d5;background:linear-gradient(145deg,#eef1ff,#dfe6ff)}
.child-notebook-feature-icon svg{width:31px;height:31px}
.child-notebook-feature>.child-notebook-feature-icon{width:104px;height:104px;border-radius:0;background:transparent!important;box-shadow:none!important}
.child-notebook-feature-icon img{display:block;width:100%;height:100%;object-fit:contain}
.child-notebook-feature h3{margin:0 0 4px!important;color:#0a1848;font:800 11.5px/1.22 Manrope,Inter,Arial,sans-serif}
.child-notebook-feature p{margin:0;color:#6d7a94;font-size:8.2px;line-height:1.4}
.child-notebook-feature-count{position:absolute;top:10px;right:10px;min-width:24px;height:24px;padding:0 6px;border-radius:999px;display:grid;place-items:center;background:#eaf3ff;color:#0869f8;font-size:8px;font-weight:800;box-shadow:0 4px 10px rgba(8,105,248,.1)}
.child-notebook-foot{display:flex;align-items:center;justify-content:center;gap:7px;padding:2px 8px 0;color:#71809a;font-size:8.5px;font-weight:700}
.child-notebook-foot svg{width:14px;height:14px;color:#0870ee}
.child-tool-view{display:grid;gap:13px}
.child-tool-heading{display:flex;align-items:center;gap:11px;padding:3px 1px}
.child-tool-back{width:36px;height:36px;flex:none;border:1px solid #d9e5f4;border-radius:11px;background:#fff;color:#0869f8;display:grid;place-items:center;box-shadow:0 6px 15px rgba(15,65,139,.07)}
.child-tool-back svg{width:17px;height:17px}
.child-tool-heading-copy{min-width:0}
.child-tool-heading-copy h3{margin:0 0 3px!important;color:#10214f;font:800 15px/1.2 Manrope,Inter,Arial,sans-serif}
.child-tool-heading-copy p{margin:0;color:#71809a;font-size:8.7px;line-height:1.4}
.child-tool-form-card,.child-tool-list-card{padding:15px;border:1px solid #dfe8f4;border-radius:17px;background:rgba(255,255,255,.9);box-shadow:0 8px 24px rgba(16,63,139,.055),inset 0 1px 0 #fff}
.child-tool-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.child-tool-section-title h4{margin:0;color:#152651;font:800 11px/1.2 Manrope,Inter,Arial,sans-serif}
.child-tool-section-title span{color:#7a879c;font-size:8px}
.child-tool-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.child-tool-field{display:grid;gap:5px;min-width:0}
.child-tool-field.full{grid-column:1/-1}
.child-tool-field label{color:#56647d;font-size:8px;font-weight:800}
.child-tool-field input,.child-tool-field select,.child-tool-field textarea{width:100%;min-width:0;border:1px solid #dce5f0;border-radius:10px;background:#fff;color:#15244c;padding:10px 11px;outline:0;font-size:9.5px;transition:border-color .2s,box-shadow .2s}
.child-tool-field textarea{min-height:78px;resize:vertical;line-height:1.5}
.child-tool-field input:focus,.child-tool-field select:focus,.child-tool-field textarea:focus{border-color:#8ebbff;box-shadow:0 0 0 3px #edf5ff}
.child-tool-file-note{display:block;color:#7b879d;font-size:7.5px;line-height:1.35}
.child-tool-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding-top:3px}
.child-tool-actions .btn{font-size:9px;padding:9px 12px}
.child-record-list{display:grid;gap:8px}
.child-record{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:start;gap:10px;padding:11px;border:1px solid #e2e9f3;border-radius:13px;background:linear-gradient(145deg,#fff,#f8fbff)}
.child-record-icon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#eaf4ff;color:#0869f8}
.child-record-icon svg{width:17px;height:17px}
.child-record-main{min-width:0}
.child-record-main b{display:block;color:#14234b;font-size:9.5px;line-height:1.3}
.child-record-main small{display:block;margin-top:3px;color:#748198;font-size:7.7px;line-height:1.35;overflow-wrap:anywhere}
.child-record-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}
.child-record-tag{border-radius:999px;padding:4px 6px;background:#edf5ff;color:#1765c3;font-size:7px;font-weight:700}
.child-record-actions{display:flex;gap:4px}
.child-record-action{width:29px;height:29px;border:0;border-radius:8px;display:grid;place-items:center;background:#f0f5fb;color:#64718b}
.child-record-action:hover{background:#e7f1ff;color:#0869f8}
.child-record-action.danger:hover{background:#fff0f1;color:#cf3848}
.child-record-action svg{width:13px;height:13px}
.child-tool-empty{padding:25px 12px;text-align:center;color:#748198;font-size:8.5px}
.child-tool-empty svg{width:28px;height:28px;color:#0869f8;margin-bottom:6px}
.child-tool-empty b{display:block;margin-bottom:4px;color:#172750;font-size:10px}
.child-profile-summary{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:11px;margin-bottom:12px;padding:12px;border-radius:14px;background:linear-gradient(135deg,#071942,#0870ef);color:#fff}
.child-profile-avatar{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);font:800 16px Manrope,Inter,sans-serif}
.child-profile-summary b{display:block;font-size:11px}.child-profile-summary span{display:block;margin-top:3px;color:#d7e8ff;font-size:8px}
.child-growth-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:11px}
.child-growth-kpi{padding:10px;border-radius:11px;background:#f2f7ff;border:1px solid #e1ebf8}
.child-growth-kpi b{display:block;color:#0869f8;font:800 14px Manrope,Inter,sans-serif}.child-growth-kpi span{display:block;margin-top:3px;color:#71809a;font-size:7px}
.child-growth-chart{height:145px;display:flex;align-items:flex-end;gap:8px;overflow-x:auto;padding:23px 7px 24px;border-left:1px solid #e4ebf4;border-bottom:1px solid #e4ebf4;background:repeating-linear-gradient(to top,transparent 0,transparent 35px,#edf2f8 36px);margin-bottom:13px}
.child-growth-bar{position:relative;min-width:25px;max-width:38px;flex:1;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#39a6ff,#0865ee);box-shadow:0 6px 14px rgba(8,105,248,.18)}
.child-growth-bar>span{position:absolute;left:50%;top:-17px;transform:translateX(-50%);color:#0869f8;font-size:7px;font-weight:800;white-space:nowrap}
.child-growth-bar>small{position:absolute;left:50%;bottom:-17px;transform:translateX(-50%);color:#77849a;font-size:6.5px;white-space:nowrap}
body.child-notebook-open{overflow:hidden!important;overscroll-behavior:none!important}
.child-notebook-overlay{position:fixed;inset:0;z-index:1400;display:none;place-items:center;padding:17px;background:rgba(3,16,48,.32);backdrop-filter:blur(14px) saturate(145%);-webkit-backdrop-filter:blur(14px) saturate(145%);pointer-events:auto}
.child-notebook-overlay.show{display:grid}
.child-notebook-dialog{width:min(900px,calc(100vw - 34px));height:min(90dvh,860px);max-height:860px;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.82);border-radius:30px;background:linear-gradient(145deg,rgba(252,254,255,.98),rgba(224,239,255,.94));box-shadow:0 34px 100px rgba(4,24,67,.38),inset 0 1px 0 #fff;animation:childNotebookIn .34s cubic-bezier(.22,.8,.22,1);pointer-events:auto;isolation:isolate}
.child-notebook-dialog-head{position:relative;z-index:4;flex:none;min-height:64px;display:flex;align-items:center;gap:12px;padding:11px 15px 11px 18px;border-bottom:1px solid rgba(210,225,244,.88);background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(239,247,255,.94));box-shadow:0 8px 25px rgba(14,54,118,.055),inset 0 1px 0 #fff}
.child-notebook-dialog-brand{width:38px;height:38px;flex:none;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,#0b7fff,#0553d8);color:#fff;box-shadow:0 8px 18px rgba(5,91,218,.22),inset 0 1px 0 rgba(255,255,255,.32)}
.child-notebook-dialog-brand svg{width:19px;height:19px}
.child-notebook-dialog-title{min-width:0}
.child-notebook-dialog-title span{display:block;margin-bottom:3px;color:#0870ee;font-size:7.5px;font-weight:800;letter-spacing:1px;text-transform:uppercase}
.child-notebook-dialog-title strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#10214f;font:800 13px/1.2 Manrope,Inter,Arial,sans-serif}
.child-notebook-dialog-close{width:38px;height:38px;margin-left:auto;flex:none;border:1px solid #d8e5f5;border-radius:12px;background:#fff;color:#294369;display:grid;place-items:center;box-shadow:0 7px 17px rgba(16,63,139,.08);transition:.2s;pointer-events:auto;touch-action:manipulation}
.child-notebook-dialog-close:hover{transform:translateY(-1px);border-color:#9bc5fb;background:#edf5ff;color:#0869f8}
.child-notebook-dialog-close svg{width:18px;height:18px;pointer-events:none}
.child-notebook-dialog-body{position:relative;z-index:1;flex:1;min-height:0;overflow-x:hidden;overflow-y:auto!important;overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;padding:17px 20px 22px;scrollbar-width:thin;scrollbar-color:#a8c9f4 transparent;pointer-events:auto}
.child-notebook-dialog-body button,.child-notebook-dialog-body input,.child-notebook-dialog-body select,.child-notebook-dialog-body textarea{pointer-events:auto;touch-action:manipulation}
@keyframes childNotebookIn{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:640px){
  .modal.child-notebook-modal{padding:9px}
  .modal.child-notebook-modal .modal-card{width:100%;max-height:calc(100dvh - 18px);border-radius:24px}
  .modal.child-notebook-modal .modal-head{padding:16px 16px 0}
  .modal.child-notebook-modal .modal-body{padding:8px 14px 18px}
  .child-notebook-window{gap:11px}
  .child-notebook-hero{grid-template-columns:48px minmax(0,1fr);gap:12px;padding:16px;border-radius:19px}
  .child-notebook-hero-icon{width:48px;height:48px;border-radius:15px}
  .child-notebook-hero-icon svg{width:24px;height:24px}
  .child-notebook-hero-copy h3{font-size:18px}
  .child-notebook-hero-copy p{font-size:9px}
  .child-notebook-age{grid-column:1/-1;justify-self:start;margin-top:-2px;padding:6px 9px}
  .child-notebook-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .child-notebook-feature{min-height:132px;gap:7px;padding:11px 6px 9px;border-radius:17px}
  .child-notebook-feature-icon{width:51px;height:51px;border-radius:17px}
  .child-notebook-feature-icon svg{width:23px;height:23px}
  .child-notebook-feature>.child-notebook-feature-icon{width:72px;height:72px;border-radius:0}
  .child-notebook-feature h3{font-size:8.8px;line-height:1.18}
  .child-notebook-feature p{font-size:7px;line-height:1.32}
  .child-notebook-feature-count{display:none}
  .child-tool-form{grid-template-columns:1fr}
  .child-tool-field.full,.child-tool-actions{grid-column:auto}
  .child-tool-actions{display:grid;grid-template-columns:1fr 1fr}
  .child-tool-actions .primary{grid-column:1/-1;grid-row:1}
  .child-record{grid-template-columns:34px minmax(0,1fr)}
  .child-record-icon{width:34px;height:34px}
  .child-record-actions{grid-column:1/-1;justify-content:flex-end;padding-top:7px;border-top:1px solid #edf1f6}
  .child-notebook-overlay{padding:7px}
  .child-notebook-dialog{width:100%;height:calc(100dvh - 14px);max-height:none;border-radius:23px}
  .child-notebook-dialog-head{min-height:58px;padding:9px 10px 9px 13px}
  .child-notebook-dialog-brand{width:35px;height:35px;border-radius:11px}
  .child-notebook-dialog-title strong{font-size:11px}
  .child-notebook-dialog-close{width:36px;height:36px}
  .child-notebook-dialog-body{padding:12px 12px 18px}
}
