:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#263b35;background:#fafaf6;font-synthesis:none;line-height:1.6}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:4px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{border:1px solid transparent;border-radius:12px;background:#245e54;color:#fff;padding:11px 19px;font-weight:600;cursor:pointer}button:hover{background:#17483f}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c08b32;outline-offset:4px}.secondary{background:#fff;border-color:#cedbd5;color:#245e54}.secondary:hover{background:#edf3ed}.site-header,main,footer{max-width:1100px;margin:auto}.site-header{display:flex;align-items:center;justify-content:space-between;padding:25px 32px;border-bottom:1px solid #e3e8df}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:20px;letter-spacing:-.5px}.brand strong{font-weight:500}.brand-icon{background:#245e54;color:#fff;border-radius:13px;padding:6px 10px;font-weight:700;letter-spacing:-1px}.clinical-link{font-size:13px;text-decoration:none;color:#52675d}main{padding:0 32px}.intro{padding:66px 0 47px;position:relative}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.8px;font-weight:700;color:#5a7667;margin:0 0 10px}h1{font-family:Georgia,serif;font-size:clamp(40px,6vw,64px);font-weight:400;letter-spacing:-2px;line-height:1.12;margin:0 0 20px}h2{font-size:25px;letter-spacing:-.7px;line-height:1.3;margin:0}h3{font-size:19px;line-height:1.4;margin:0 0 8px}p{color:#627168}.intro>p:not(.eyebrow){font-size:17px;line-height:1.7;margin:0;max-width:600px}.badge{display:inline-block;font-size:11px;border:1px solid #d9e3d8;color:#49654f;padding:4px 11px;border-radius:30px;margin-top:20px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:24px}.section-heading .eyebrow{margin-bottom:5px}.empty-state{border:1px dashed #cbd9ce;border-radius:22px;background:#f0f4ec;text-align:center;padding:40px 20px}.empty-state p{margin:0 0 23px}.seed{width:56px;height:56px;display:grid;place-items:center;margin:0 auto 18px;background:#e0ead8;border-radius:50%;font-size:30px;color:#6d8761}.children-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.child-card{border:1px solid #dce4da;background:#fff;border-radius:20px;padding:25px;overflow-wrap:anywhere}.child-card p{font-size:14px;margin:6px 0}.child-card .profile-note{font-size:12px;border-top:1px solid #edf0ea;padding-top:12px;margin-top:16px}.status:empty{display:none}.status{font-size:14px}.error{color:#a32926}.next-steps{margin-top:46px;border-top:1px solid #e1e6dd;padding-top:34px;display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:32px}.next-steps h2{font-family:Georgia,serif;font-size:29px;font-weight:400}.next-steps p{font-size:14px;margin:10px 0}.step-number{font-size:12px;color:#64816b;display:block;margin-bottom:11px}.future-feature h3{font-size:16px}.coming{display:inline-block;font-size:10px;letter-spacing:.5px;text-transform:uppercase;color:#6a735e;background:#edf0e7;padding:3px 8px;border-radius:5px}.storage-note{font-size:12px;color:#6c7568;border:1px solid #e1e6dd;border-radius:12px;padding:17px 20px;margin:36px 0}.storage-note strong{color:#4c5f50}footer{padding:22px 32px 30px;display:flex;justify-content:space-between;gap:15px;color:#778175;font-size:11px}dialog{border:1px solid #d7e1d5;border-radius:22px;padding:28px;width:min(480px,calc(100% - 32px));color:#263b35;box-shadow:0 22px 90px #163a2633}dialog::backdrop{background:#102c2566}.dialog-heading{display:flex;align-items:center;justify-content:space-between}.close-button{background:transparent;color:#52675d;padding:0 9px;font-size:26px}dialog p{font-size:14px}label{display:block;font-size:14px;font-weight:600;margin:18px 0 7px}input,select{width:100%;padding:11px 12px;border:1px solid #bfcec2;border-radius:9px;background:white;color:#263b35;min-height:46px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.skip-link{position:absolute;top:-80px;left:15px;background:#fff;padding:10px;z-index:10}.skip-link:focus{top:10px}[hidden]{display:none!important}@media(max-width:700px){.site-header{padding:20px}.brand{font-size:18px}.clinical-link{font-size:11px;max-width:120px;text-align:right}main{padding:0 20px}.intro{padding:44px 0 35px}.desktop-break{display:none}.section-heading button{padding:10px 13px;font-size:13px;white-space:nowrap}.children-grid{grid-template-columns:1fr}.next-steps{grid-template-columns:1fr;gap:25px}.next-steps>div:first-child{margin-bottom:4px}.future-feature{padding-left:38px;position:relative}.step-number{position:absolute;left:0;top:2px}footer{padding:15px 20px 28px;flex-direction:column;gap:6px}}
.child-card[data-selected=true]{border-color:#245e54;box-shadow:0 0 0 1px #245e54}.child-card{cursor:pointer;text-align:left;color:#263b35;font-weight:400;display:block;width:100%}.child-card:hover{background:#f5f8f1}.child-card h3{color:#263b35}.child-detail{margin-top:40px;border-top:1px solid #dde5da;padding-top:30px}.child-detail .section-heading{align-items:flex-start}.child-detail .section-heading p:not(.eyebrow){font-size:13px;margin:7px 0 0}.detail-actions{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:22px}.plot-card{background:white;border:1px solid #dce4da;border-radius:20px;padding:24px}.plot-controls{display:flex;gap:18px;margin-bottom:23px}.plot-controls label{margin:0;flex:1;max-width:260px}.plot-controls select{margin-top:7px}.plot-wrap{height:340px;position:relative}.plot-key{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:11px;color:#526b56;margin:18px 0 10px}.chart-note{font-size:12px;color:#657366;line-height:1.7}.history-heading{margin-top:30px;margin-bottom:14px}.history-heading span{font-size:12px;color:#6c7969}.measurement-history{display:grid;gap:12px}.history-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #dce4da;padding:16px 20px;border-radius:14px;background:#fff}.history-row h4{margin:0;font-size:14px}.history-row p{font-size:13px;margin:4px 0}.history-row .secondary{font-size:12px;padding:7px 13px}.measurement-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.age-preview{background:#edf3e8;color:#365b42;border-radius:9px;padding:10px 14px;font-size:13px}.age-preview.invalid{background:#fff0ec;color:#a32926}#qr-image{display:grid;place-items:center;margin:22px 0}#qr-image img,#qr-image canvas{max-width:100%;height:auto}button:disabled{cursor:not-allowed;opacity:.5}dialog{max-height:90dvh;overflow:auto}@media(max-width:700px){.plot-card{padding:17px 12px}.plot-controls{gap:12px}.plot-controls label{font-size:12px}.plot-controls select{font-size:13px;padding:9px 6px}.plot-wrap{height:300px}.child-detail h2{font-size:23px}.history-row{padding:14px}.history-row p{font-size:12px}.measurement-fields{gap:12px}dialog{padding:22px}}

.plot-scroll{overflow-x:auto;overscroll-behavior-x:contain;max-width:100%}.plot-wrap{height:auto;position:relative}.chrono-key{color:#3b82f6}.plot-scroll:focus-visible{outline:3px solid #c08b32;outline-offset:3px}

.brand{min-width:0}.brand-name{white-space:normal;line-height:1.25}.header-actions{flex-shrink:0}@media(max-width:700px){.brand-name{max-width:170px}.brand-icon{font-size:15px}.intro{padding-top:40px}}

.header-actions{display:flex;align-items:center;flex-shrink:0}.site-header{gap:18px}
.language-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid #dce3d9;border-radius:12px;background:#f0f3ed}
.language-option{display:grid;place-items:center;min-width:44px;min-height:44px;padding:8px 11px;border:1px solid transparent;border-radius:8px;background:transparent;color:#6b786d;font-size:12px;font-weight:600;line-height:1;letter-spacing:.4px}
.language-option:hover{background:#e5ebe1;color:#365b49}.language-option[aria-pressed="true"]{background:#fff;border-color:#d7e0d3;color:#245e54}.language-option[aria-pressed="true"]:hover{background:#fff}.language-option:focus-visible{outline:2px solid #245e54;outline-offset:2px;position:relative;z-index:1}
@media(max-width:700px){.site-header{padding:18px 15px;gap:12px}.brand{white-space:nowrap;gap:8px;font-size:16px}.brand-icon{font-size:15px;padding:5px 8px}.language-switch{padding:2px;border-radius:11px}.language-option{padding:8px;min-width:44px;min-height:44px}}
.family-nav{max-width:1100px;margin:0 auto;display:flex;gap:6px;padding:17px 32px 0}.family-nav a{text-decoration:none;color:#68796b;font-size:13px;padding:9px 16px;border:1px solid transparent;border-radius:10px}.family-nav a:hover{background:#edf2e9}.family-nav a[aria-current="page"]{background:#e8eee3;color:#245e54;border-color:#dce5d5;font-weight:600}.parents-intro{padding-top:38px;padding-bottom:32px}.parents-intro h1{font-size:clamp(36px,5vw,50px)}.parents-form{max-width:800px}.parent-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px}.parent-fields fieldset{min-width:0;border:1px solid #dce4da;border-radius:20px;background:#fff;padding:18px 25px 26px;margin:0}.parent-fields legend{font-size:17px;font-weight:600;padding:0 9px;color:#365b49}.parent-fields label{font-size:13px;margin-top:14px}.parent-fields input{background:#fdfefb}.parents-actions{margin-top:23px}.parents-main .storage-note{max-width:800px}@media(max-width:700px){.family-nav{padding:14px 20px 0}.parent-fields{grid-template-columns:1fr;gap:25px}.parent-fields fieldset{padding:14px 20px 22px}.parents-intro{padding-top:30px}.parents-form{max-width:none}}
.sex-choice{margin:20px 0 0;padding:0;border:0;min-width:0}.sex-choice legend{font-size:14px;font-weight:600;padding:0;margin-bottom:9px}.sex-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.sex-option{display:flex;align-items:center;gap:11px;margin:0;padding:13px 16px;min-height:52px;border:1px solid #d4ded1;border-radius:11px;background:#fff;color:#657265;cursor:pointer;font-weight:500}.sex-option input{width:17px;height:17px;min-height:0;margin:0;accent-color:#245e54;flex-shrink:0}.sex-option:has(input:checked){border-color:#245e54;background:#edf3e8;color:#245e54}.sex-option:hover{border-color:#8aa58e}.sex-option:has(input:focus-visible){outline:2px solid #245e54;outline-offset:3px}.sex-option input:focus-visible{outline:none}
.unit-input{position:relative}.unit-input input{padding-right:50px;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}.unit-input input::-webkit-inner-spin-button,.unit-input input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.unit-badge{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:10px;font-weight:700;line-height:1;letter-spacing:.3px;color:#9ca3af;pointer-events:none;text-transform:uppercase}
.sex-options{gap:3px;padding:4px;border:1px solid #dce3d9;border-radius:12px;background:#f0f3ed}.sex-option{position:relative;justify-content:center;min-height:44px;padding:11px 16px;border-color:transparent;border-radius:8px;background:transparent}.sex-option input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.sex-option:has(input:checked){border-color:#d7e0d3;background:#fff;color:#245e54}.sex-option:hover{background:#e7ede2;border-color:transparent}.sex-option:has(input:checked):hover{background:#fff;border-color:#d7e0d3}.prematurity-section{margin-top:21px}.prematurity-check{display:flex;align-items:center;gap:10px;margin:0;font-size:13px;font-weight:500;cursor:pointer;min-height:32px}.prematurity-check input{width:17px;height:17px;min-height:0;margin:0;accent-color:#245e54;flex-shrink:0}.gestational-reveal label{font-size:13px;margin-top:14px}.corrected-key{color:#ef4444}
.unit-input input[readonly]{background:#f3f4f6;color:#6b7280;border-color:#e1e5df}
.hc-reveal{min-height:0}.reveal-content{display:flow-root}

.plot-key{align-items:baseline;gap:8px 24px}
.section-heading>div{min-width:0}.section-heading>button{flex-shrink:0}[data-family-heading]{overflow-wrap:anywhere}
.child-tabs{display:flex;gap:4px;background:#edf1e8;padding:4px;border:1px solid #dfe6d9;border-radius:12px;width:fit-content;margin:24px 0}.child-tabs button{background:transparent;color:#657465;padding:10px 22px;border-radius:8px;font-size:14px;min-height:44px}.child-tabs button:hover{background:#e3eadd}.child-tabs button[aria-selected="true"]{background:#fff;color:#245e54;border-color:#d8e1d2}.vaccination-toolbar{display:flex;align-items:center;gap:14px;margin:0 0 28px}.vaccination-toolbar label{margin:0;font-size:13px;color:#627168}.vaccination-toolbar select{width:auto;max-width:260px;font-size:14px}.record-count{font-size:12px;color:#657366;white-space:nowrap}.vaccine-age-group{margin:0 0 23px}.vaccine-age-title{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#60755f;margin:0 0 9px}.vaccine-row{display:flex;align-items:center;gap:14px;text-align:left;width:100%;border:1px solid #dce4da;border-radius:12px;padding:16px 18px;background:white;color:#263b35;margin:7px 0;font-weight:400;min-height:64px}.vaccine-row:hover{background:#f0f5eb;border-color:#b6c8b1}.vaccine-row-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1;overflow-wrap:anywhere}.vaccine-row-name{font-size:14px;font-weight:600}.vaccine-row-date{font-size:12px;color:#657366}.vaccine-state{font-size:10px;white-space:nowrap;border:1px solid #e1e6dc;padding:4px 9px;border-radius:20px;color:#788174;background:#f8f9f5}.vaccine-state.is-recorded{color:#315c42;background:#e9f2e4;border-color:#cfdfc5}.vaccine-row-arrow{color:#71836e;font-size:22px}.vaccination-other-heading{margin-top:33px}.vaccination-other-heading h3{margin:0}.vaccination-other-heading button{font-size:12px;padding:10px 13px}.vaccination-modal-name{font-size:16px;margin-top:22px}.vaccination-more-toggle{margin-top:20px}.vaccination-dialog-actions{flex-wrap:wrap}textarea{font:inherit;resize:vertical;display:block;width:100%;border:1px solid #bfcec2;border-radius:9px;padding:11px 12px;background:white;color:#263b35}textarea:focus-visible{outline:3px solid #c08b32;outline-offset:4px}.remove-record{margin-right:auto;background:transparent;color:#9b4a3b;font-size:12px;padding:10px 4px}.remove-record:hover{background:#fbede7}@media(max-width:700px){.child-tabs{width:100%}.child-tabs button{flex:1;padding:10px}.vaccination-toolbar{align-items:flex-start;flex-direction:column;gap:7px}.vaccination-toolbar select{width:100%;max-width:none}.vaccine-row{padding:14px 12px;gap:8px}.vaccine-row-name{font-size:13px}.vaccine-state{font-size:9px;padding:4px 7px}.vaccination-other-heading{gap:10px}.vaccination-other-heading h3{font-size:16px}.vaccination-other-heading button{font-size:11px}.record-count{font-size:11px}}

/* A quiet schedule, with a dedicated calendar dropdown for date entry. */
.vaccination-summary{align-items:center}.vaccination-progress-wrap{display:flex;align-items:center;gap:14px}#vaccination-progress{appearance:none;width:72px;height:4px;overflow:hidden;border:0;border-radius:5px;background:#e3e9df}#vaccination-progress::-webkit-progress-bar{background:#e3e9df;border-radius:5px}#vaccination-progress::-webkit-progress-value{background:#356b5b;border-radius:5px}#vaccination-progress::-moz-progress-bar{background:#356b5b;border-radius:5px}
.date-picker-trigger{display:flex;justify-content:space-between;align-items:center;gap:14px;width:100%;min-height:56px;padding:14px 16px;border:1px solid #cbd7ca;border-radius:12px;background:#fff;color:#8a9586;text-align:left;font-size:16px;font-weight:400;box-shadow:0 1px 3px #263b3504}.date-picker-trigger.has-date{color:#263b35}.date-picker-trigger:hover{background:#f8faf5;border-color:#8da991}.date-picker-trigger[aria-expanded="true"]{border-color:#426d58;box-shadow:0 0 0 3px #e7eee2}.date-picker-trigger svg{flex-shrink:0;color:#59755f}.date-calendar{position:fixed;inset:auto;margin:0;width:min(352px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:18px;border:1px solid #dce4d6;border-radius:18px;background:#fffefa;color:#2d4236;box-shadow:0 18px 64px #233f2c29,0 3px 12px #233f2c0d;font-size:13px}.date-calendar::backdrop{background:transparent}.calendar-header{display:flex;align-items:center;gap:6px;margin-bottom:20px}.calendar-selectors{display:flex;justify-content:center;gap:2px;flex:1;min-width:0}.calendar-selectors select{width:auto;min-width:0;max-width:58%;min-height:38px;padding:6px 4px;background:transparent;border-color:transparent;border-radius:7px;font-size:14px;font-weight:600;color:#365842;cursor:pointer}.calendar-selectors select:hover{background:#edf2e7}.calendar-selectors select:last-child{font-weight:400;font-variant-numeric:tabular-nums;color:#74806e}.calendar-nav{display:grid;place-items:center;flex-shrink:0;width:34px;min-height:34px;padding:0;border:1px solid #e3e8dc;border-radius:10px;background:#fff;color:#49654f;font-size:24px;line-height:1;font-weight:400}.calendar-nav:hover{background:#eaf0e3}.calendar-nav:disabled{opacity:.25}.calendar-grid{table-layout:fixed;border-collapse:collapse;width:100%;margin:0;font-variant-numeric:tabular-nums}.calendar-grid th{padding:0 0 12px;text-align:center;font-size:10px;letter-spacing:.3px;color:#8a9581;font-weight:500}.calendar-grid td{padding:2px;text-align:center}.calendar-day{display:grid;place-items:center;width:100%;aspect-ratio:1;min-height:34px;padding:0;border:1px solid transparent;border-radius:10px;background:transparent;color:#3b4e3b;font-size:13px;font-weight:400;position:relative}.calendar-day:hover{background:#e9f0e1;color:#28543d}.calendar-day.outside-month{color:#a6af9f}.calendar-day:disabled{opacity:1;color:#d0d5c8;cursor:default}.calendar-day:disabled:hover{background:transparent}.calendar-day.is-today::after{content:'';position:absolute;width:3px;height:3px;border-radius:50%;background:#64875a;bottom:4px;left:calc(50% - 1.5px)}.calendar-day.is-selected{background:#2d5c49;color:#fff;box-shadow:0 3px 9px #2d5c4920}.calendar-day.is-selected:hover{background:#234e3d;color:#fff}.calendar-day.is-selected::after{background:#dbe9cd}.date-calendar button:focus-visible,.date-calendar select:focus-visible{outline:2px solid #b48a47;outline-offset:1px}.calendar-footer{display:flex;align-items:center;gap:12px;border-top:1px solid #e9eddf;padding-top:12px;margin-top:15px}.calendar-footer button{background:transparent;color:#74846b;border-radius:8px;font-size:12px;font-weight:500;padding:7px 9px;min-height:34px}.calendar-footer button:hover{background:#edf2e6;color:#315c40}.calendar-footer button:nth-child(2){margin-left:auto;color:#315c40}.calendar-footer .calendar-close{font-size:21px;padding:3px 8px;font-weight:400;color:#8c9884}.date-picker-trigger+ .date-calendar{font-family:inherit}@media(max-width:700px){.vaccination-progress-wrap{gap:8px}#vaccination-progress{width:42px}.date-calendar{padding:16px}.calendar-header{margin-bottom:14px}}
.calendar-day{aspect-ratio:auto;height:36px}.date-calendar{padding:16px}.calendar-header{margin-bottom:14px}.calendar-footer{margin-top:12px;padding-top:10px}
.brand-logo{display:block;object-fit:contain;width:46px;height:46px;flex-shrink:0}@media(max-width:700px){.brand-logo{width:40px;height:40px}}

/* Parent tasks stay compact and reachable on a phone. */
button{min-height:44px}.close-button{display:grid;place-items:center;min-width:44px;min-height:44px;flex-shrink:0}.family-nav a{display:flex;align-items:center;min-height:44px}.history-row>div{min-width:0;overflow-wrap:anywhere}.history-row .secondary{min-width:44px;min-height:44px;flex-shrink:0}.dialog-heading{gap:12px}.dialog-heading h2{min-width:0;overflow-wrap:anywhere}.calendar-nav{min-height:40px;width:40px}.calendar-day{min-height:40px;height:40px}.calendar-footer button{min-height:44px}.calendar-selectors select{min-height:40px}
@media(max-width:700px){
  .site-header{padding:12px 16px}.brand{gap:7px;font-size:15px}.brand-name{max-width:145px;white-space:normal}.brand-logo{width:38px;height:38px}.family-nav{padding:9px 16px 0;gap:4px}.family-nav a{padding:8px 14px}main{padding:0 16px}.intro{padding:26px 0 28px}.intro h1{font-size:34px;letter-spacing:-1.2px;margin-bottom:12px}.intro>p:not(.eyebrow){font-size:14px;line-height:1.65}.section-heading{gap:12px;margin-bottom:16px}.section-heading h2{font-size:22px}.section-heading .eyebrow{font-size:10px;letter-spacing:1.1px}.children-grid{gap:10px}.child-card{display:block;padding:15px 16px;border-radius:16px}.child-card h3{margin:0;font-size:16px;line-height:1.45}.child-card p{font-size:12px;margin:3px 0 0}.child-card .profile-note{margin:5px 0 0;padding:0;border:0;font-size:11px;color:#6c7b66}.child-detail{margin-top:26px;padding-top:24px}.child-detail>.section-heading{align-items:center}.child-detail>.section-heading .eyebrow{display:none}.child-detail>.section-heading .secondary{padding:10px 12px;font-size:12px}.child-tabs{position:sticky;top:0;z-index:3;margin:18px 0;padding:4px;background:#edf1e8;box-shadow:0 6px 12px #fafaf6cc}.detail-actions{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:10px;margin-bottom:18px}.detail-actions button{padding:12px 8px;font-size:13px;min-height:48px}.plot-controls{flex-wrap:wrap;gap:12px}.plot-controls label{min-width:0;max-width:none;flex:1 1 135px;font-size:12px}.plot-controls select{font-size:14px;padding:10px 8px;min-height:46px}.plot-card h3{font-size:17px}.plot-key{line-height:1.6;gap:8px 14px}.history-row{padding:15px 13px;gap:10px;align-items:flex-start}.history-row h4{font-size:13px}.history-row p{font-size:12px;line-height:1.65}.history-row .secondary{padding:8px 11px}.history-heading{margin-top:25px}.history-heading h3{font-size:18px}.storage-note{margin:26px 0;padding:14px 16px}.vaccination-toolbar{margin-bottom:22px}.vaccine-row{min-height:76px;padding:15px 13px}.vaccine-state{font-size:10px;max-width:88px;white-space:normal;text-align:right;line-height:1.5}.vaccination-other-heading{align-items:center}.vaccination-other-heading button{white-space:normal;font-size:12px;min-height:44px}.vaccination-summary{gap:9px}.vaccination-summary h3{font-size:18px;margin:0}.vaccination-progress-wrap{flex-direction:column;align-items:flex-end;gap:6px}.record-count{font-size:11px}.parents-intro{padding-top:25px}.parent-fields fieldset{padding:12px 18px 20px;border-radius:17px}.parents-actions button{width:100%;min-height:48px}
  dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-width:560px;max-height:calc(100dvh - 12px);padding:20px 20px 0;border-radius:24px 24px 0 0;border-bottom:0;overscroll-behavior:contain;scroll-padding-block:70px 100px}dialog .dialog-heading{position:sticky;top:-20px;z-index:2;background:#fff;padding:12px 0;margin-top:-12px;border-bottom:1px solid #eef1e9}dialog .dialog-heading h2{font-size:23px;letter-spacing:-.7px}dialog input,dialog select,dialog textarea,.parents-form input{font-size:16px}dialog label{font-size:13px}dialog .measurement-fields{gap:12px}dialog .dialog-actions{position:sticky;bottom:0;z-index:2;margin:24px -20px 0;padding:14px 20px max(14px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #e8ede2;box-shadow:0 -6px 16px #ffffffed;gap:10px}dialog .dialog-actions>button:not(.remove-record){flex:1;min-height:48px;padding:12px 9px;font-size:13px}.vaccination-dialog-actions .remove-record{flex-basis:100%;order:3;margin:0;min-height:40px;padding:7px}.prematurity-check{min-height:44px;line-height:1.5}.date-picker-trigger{font-size:16px;min-height:52px}.calendar-selectors select{font-size:16px}.calendar-grid td{padding:1px}.calendar-day{font-size:14px;min-height:40px;height:40px}.calendar-footer button{font-size:13px;min-height:44px}
}
@media(max-width:360px){.site-header{gap:8px}.brand{font-size:14px}.brand-name{max-width:110px}.brand-logo{width:34px;height:34px}.language-option{min-width:40px}.section-heading>button{font-size:12px;padding:10px}.measurement-fields{grid-template-columns:1fr}.calendar-nav{width:36px}.calendar-selectors select{font-size:14px}}
.vaccination-details{margin-top:20px;border:1px solid #dce4d6;border-radius:12px;overflow:clip;background:#fff}.vaccination-more-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:50px;margin:0;padding:13px 15px;border:0;border-radius:0;background:transparent;color:#526b53;font-size:13px;font-weight:500;text-align:left}.vaccination-more-toggle:hover{background:#f4f7ef}.vaccination-more-toggle[aria-expanded="true"]{background:#f5f8f1;color:#315b43}.vaccination-more-toggle svg{flex-shrink:0;transition:transform 520ms ease}.vaccination-more-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}.vaccination-more-toggle:focus-visible{outline-offset:-4px}#vaccination-extra>.reveal-content{padding:0 15px 16px}#vaccination-extra label{font-size:12px}@media(prefers-reduced-motion:reduce){.vaccination-more-toggle svg{transition:none}}
/* Vaccine colours sampled from the child health book, immunisation page 7. */
:is(.vaccine-row,.vaccine-table-cell)[data-vaccine="BCG"]{--vaccine-book-colour:#f2d7ae}:is(.vaccine-row,.vaccine-table-cell)[data-vaccine="HEPB"]{--vaccine-book-colour:#ecb1d8}:is(.vaccine-row,.vaccine-table-cell)[data-vaccine="SIX"]{--vaccine-book-colour:#ebdb69}:is(.vaccine-row,.vaccine-table-cell)[data-vaccine="PCV"]{--vaccine-book-colour:#6fcd9c}:is(.vaccine-row,.vaccine-table-cell)[data-vaccine="PCV"][data-dose="booster"]{--vaccine-book-colour:#a4debd}:is(.vaccine-row,.vaccine-table-cell)[data-vaccine="MEASLES"]{--vaccine-book-colour:#df8378}:is(.vaccine-row,.vaccine-table-cell)[data-vaccine="JE"]{--vaccine-book-colour:#55b8e8}:is(.vaccine-row,.vaccine-table-cell)[data-vaccine="MMR"]{--vaccine-book-colour:#dfa74b}:is(.vaccine-row,.vaccine-table-cell)[data-vaccine="MR"]{--vaccine-book-colour:#dfa74b}:is(.vaccine-row,.vaccine-table-cell)[data-vaccine="DT"]{--vaccine-book-colour:#ebdb69}:is(.vaccine-row,.vaccine-table-cell)[data-vaccine="ATT"]{--vaccine-book-colour:#ebdb69}:is(.vaccine-row,.vaccine-table-cell)[data-vaccine="HPV"]{--vaccine-book-colour:#b99be8}.vaccine-row:not([data-vaccine="OTHER"]) .vaccine-row-name{align-self:flex-start;max-width:100%;padding:5px 9px;background:var(--vaccine-book-colour,#f1f4ed);border-radius:6px;color:#24382f;line-height:1.55}.vaccine-age-title{color:#426c6e}.vaccine-row{min-height:78px}
/* Book-style schedule: colour belongs to the whole vaccine cell. */
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}#vaccination-schedule{border:1px solid #bccdca;border-radius:12px;overflow:hidden;background:#fff}.vaccination-table{width:100%;border-collapse:collapse;table-layout:fixed;text-align:left;font-size:13px}.vaccination-table thead th{background:#a5d3d6;color:#243e3b;font-weight:600;padding:9px 15px;border-right:1px solid #bccdca}.vaccination-table thead th:first-child{width:17%}.vaccination-table thead th:nth-child(2){width:48%}.vaccination-table thead th:last-child{width:35%;border-right:0}.vaccination-table tbody th,.vaccination-table tbody td{border-top:1px solid #bccdca;border-right:1px solid #bccdca;vertical-align:middle}.vaccination-table tbody+tbody tr:first-child>*{border-top:1px solid #bccdca}.vaccine-table-age{background:#fcfdf9;padding:10px 15px;font-size:12px;font-weight:600;color:#435a4c;vertical-align:top!important;overflow-wrap:anywhere}.vaccine-table-cell{background:var(--vaccine-book-colour,#f1f4ed);padding:0}.vaccine-table-button{display:block;min-height:48px;width:100%;padding:9px 15px;text-align:left;border:0;border-radius:0;background:transparent;color:#24382f;font-size:13px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}.vaccine-table-button:hover{background:#ffffff25;color:#172d24}.vaccine-table-button:focus-visible{outline:3px solid #264f42;outline-offset:-4px}.vaccine-table-region{display:block;font-size:11px;font-weight:400;margin-top:4px;color:#314e43}.vaccination-table .vaccine-table-record{position:relative;border-right:0;background:#fff;padding:8px 32px 8px 15px;cursor:pointer;overflow-wrap:anywhere}.vaccine-table-record:hover{background:#f5f8f0}.vaccine-table-date{display:block;font-size:13px;font-weight:500;color:#334e3f}.vaccine-table-time{display:block;font-size:11px;color:#71816c;margin-top:2px}.vaccine-table-status{display:block;color:#7b8775;font-size:11px;line-height:1.6}.vaccine-table-status.is-recorded{color:#3d7151;font-size:10px;margin-top:4px}.vaccine-table-arrow{position:absolute;right:13px;top:50%;transform:translateY(-50%);font-size:20px;color:#83947b}@media(max-width:700px){.vaccination-table{font-size:12px}.vaccination-table thead th{padding:8px 9px;font-size:11px;line-height:1.5}.vaccination-table thead th:first-child{width:18%}.vaccination-table thead th:nth-child(2){width:47%}.vaccination-table thead th:last-child{width:35%}.vaccine-table-age{padding:9px 8px;font-size:11px;line-height:1.6}.vaccine-table-button{padding:8px 10px;font-size:12px;min-height:48px}.vaccination-table .vaccine-table-record{padding:8px 20px 8px 10px}.vaccine-table-date{font-size:11px}.vaccine-table-status{font-size:10px}.vaccine-table-region{font-size:10px}.vaccine-table-arrow{right:7px;font-size:18px}}
.calendar-footer.has-birthday{display:grid;grid-template-columns:1fr 1fr 1fr 30px;gap:3px}.calendar-footer.has-birthday button{margin:0;padding:7px 4px;line-height:1.4}.calendar-footer.has-birthday button:nth-child(2){color:#315c40}.calendar-footer.has-birthday .calendar-close{padding:3px;font-size:21px}@media(max-width:360px){.calendar-footer.has-birthday button{font-size:12px}.calendar-footer.has-birthday .calendar-close{font-size:21px}}
.growth-overview{margin-top:20px;padding:22px 24px;border:1px solid #dce4da;border-radius:18px;background:#fff}.growth-overview h3{font-size:18px;margin:0 0 5px}.overview-date{font-size:12px;margin:0 0 16px;color:#75816e}.overview-point{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px}.overview-value{font-size:16px;font-weight:600;color:#304b3b}.overview-badge{display:inline-block;font-size:11px;line-height:1.5;padding:4px 9px;border-radius:8px;background:#f0f4eb;color:#52694b}.overview-badge.is-attention{background:#fff3df;color:#815a26}.overview-change,.overview-trend{font-size:13px;margin:13px 0 0;color:#586f57;line-height:1.7}.overview-consult,.overview-check{margin-top:17px;padding:16px;border:1px solid #ecd8b5;border-radius:12px;background:#fff9ed;color:#76552b}.overview-consult strong,.overview-check strong{font-size:13px;line-height:1.65;display:block}.overview-consult p,.overview-check p{font-size:12px;line-height:1.75;margin:8px 0;color:#7c6848}.overview-consult button{font-size:12px;margin-top:6px;padding:9px 14px}.overview-note{font-size:11px;color:#7d8775;margin:16px 0 0}.measurement-check{color:#865c23!important;background:#fff7e8;border-radius:8px;padding:9px 11px;font-size:12px!important;line-height:1.6;margin:8px 0 0}.history-row .measurement-check{max-width:520px}.history-row:has(.measurement-check){align-items:flex-start}@media(max-width:700px){.growth-overview{padding:18px 16px;border-radius:16px;margin-top:16px}.overview-point{gap:9px}.overview-value{font-size:15px}.overview-badge{font-size:10px}.overview-consult,.overview-check{padding:13px}.overview-consult button{width:100%;min-height:44px}}
/* Child hero cards keep the whole surface selectable. */
.child-card[data-sex="boy"]{--child-tint:#e7f1ff;--child-soft:#f3f8ff;--child-border:#bdd3ee;--child-ink:#294f74;--child-muted:#5a7692;--child-accent:#4e7daf}.child-card[data-sex="girl"]{--child-tint:#ffedf3;--child-soft:#fff6f9;--child-border:#edc6d5;--child-ink:#793e59;--child-muted:#987084;--child-accent:#b9698c}.child-card{position:relative;isolation:isolate;overflow:hidden;min-height:202px;padding:24px 25px 20px;border-radius:22px;border-color:var(--child-border);background:linear-gradient(120deg,var(--child-tint),var(--child-soft));box-shadow:0 4px 18px #283c3505;transition:transform 180ms ease,box-shadow 180ms ease}.child-card::before{content:'';position:absolute;right:-52px;top:-56px;width:180px;height:180px;border:26px solid #ffffff55;border-radius:50%;z-index:-1;pointer-events:none}.child-card:hover{background:linear-gradient(120deg,var(--child-tint),var(--child-soft));transform:translateY(-2px);box-shadow:0 8px 24px #283c3510}.child-card[data-selected="true"]{border-color:var(--child-accent);box-shadow:0 0 0 1px var(--child-accent),0 5px 20px #283c350a}.child-card-selected{position:absolute;right:17px;top:17px;display:grid;place-items:center;width:25px;height:25px;background:#ffffffb3;border:1px solid var(--child-border);border-radius:50%;color:var(--child-ink);font-size:13px;font-weight:600}.child-card-sex{display:block;font-size:10px;font-weight:600;letter-spacing:1.3px;text-transform:uppercase;color:var(--child-muted);margin-bottom:10px;padding-right:28px}.child-card h3{position:relative;font-family:Georgia,serif;font-size:28px;letter-spacing:-.7px;font-weight:400;line-height:1.2;color:var(--child-ink);margin:0 0 9px;padding-right:12px}.child-card p{color:var(--child-muted);font-size:12px;margin:0}.child-card .profile-note{color:var(--child-ink);font-size:11px;border-top:1px solid var(--child-border);margin-top:20px;padding-top:11px;line-height:1.6}@media(max-width:700px){.children-grid{gap:12px}.child-card{min-height:150px;padding:18px 20px 15px;border-radius:19px}.child-card h3{font-size:25px;margin-bottom:7px;line-height:1.2}.child-card-sex{font-size:9px;margin-bottom:7px;letter-spacing:1.1px}.child-card p{font-size:12px;margin:0}.child-card .profile-note{border-top:1px solid var(--child-border);margin-top:13px;padding-top:9px;font-size:11px;color:var(--child-ink)}.child-card::before{width:155px;height:155px;right:-35px;top:-55px;border-width:23px}.child-card-selected{top:15px;right:15px}.child-card:hover{transform:none}}@media(prefers-reduced-motion:reduce){.child-card{transition:none}.child-card:hover{transform:none}}
.qr-download{display:flex;align-items:center;justify-content:center;min-height:46px;padding:11px 18px;border:1px solid #cedbd5;border-radius:12px;text-decoration:none;font-size:14px;font-weight:600}.share-health-record{margin-left:auto;font-size:13px}@media(max-width:700px){.share-health-record{margin-left:0;width:100%}}

[data-family-heading]{text-transform:none}

.family-actions{display:flex;flex-wrap:wrap;gap:10px}.family-actions button{flex:1;white-space:normal}#scan-camera-view{margin:18px 0;max-width:100%;overflow:hidden}#scan-review{margin-top:22px}#scan-summary{font-size:17px;line-height:1.7}#scan-changes{overflow-wrap:anywhere}#scan-changes>p,.scan-conflict{padding:12px 14px;border:1px solid #dce4d6;border-radius:12px;background:#f7f9f3;font-size:13px;line-height:1.7}.scan-conflict{margin:12px 0;background:#fff9ed;border-color:#ecd8b5}.scan-conflict label{display:flex;gap:10px;align-items:flex-start}.scan-conflict input{width:20px;height:20px;flex-shrink:0;margin-top:2px}#scan-undated:empty{display:none}#scan-camera-view video{max-width:100%}@media(max-width:700px){.children-section>.section-heading{flex-wrap:wrap}.children-section>.section-heading>.family-actions{width:auto;margin-left:auto}#scan-dialog .family-actions button{font-size:13px;padding:10px}.scan-conflict{padding:10px}}

#scan-open,#edit-profile,#open-record-export,.child-record-share{flex:0 0 auto;align-self:center;min-height:40px;padding:8px 14px;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;border-radius:10px}@media(max-width:700px){#scan-open,#edit-profile,#open-record-export,.child-record-share{min-height:38px;padding:7px 12px;font-size:12px}}@media(max-width:360px){#scan-open,#edit-profile,#open-record-export,.child-record-share{min-height:36px;padding:6px 10px;font-size:11px}}

.add-child-card{display:flex;align-items:center;justify-content:center;min-height:202px;padding:24px;border:1px dashed #c5d4ca;border-radius:22px;background:#f5f8f2;color:#426451;font-size:15px;font-weight:500;box-shadow:none}.add-child-card:hover{background:#edf3e8;border-color:#7e9d87}.add-child-card[hidden]{display:none}@media(max-width:700px){.add-child-card{min-height:150px;padding:18px 20px;border-radius:19px;font-size:14px}}

.child-record-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0}.child-record-toolbar .child-tabs{position:relative;flex:0 1 auto;width:auto;min-width:0;margin:0;box-shadow:none}.child-record-sharing{flex:0 0 auto;margin-left:auto;display:flex;align-items:center;gap:8px}.child-record-share[hidden]{display:none}.detail-actions{display:flex}@media(max-width:700px){.child-record-toolbar{position:sticky;top:0;z-index:3;gap:8px;margin:18px 0;background:#fafaf6;padding:4px 0;box-shadow:0 6px 12px #fafaf6cc}.child-record-toolbar .child-tabs button{padding:8px;font-size:12px;min-height:44px}}@media(max-width:360px){.child-record-toolbar{gap:6px}.child-record-toolbar .child-tabs button{padding:8px 6px;font-size:11px}}

.plot-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px;align-items:start}.plot-control{min-width:0}.plot-control-label{display:block;font-size:12px;font-weight:600;color:#52675d;margin-bottom:8px}.plot-choice-tabs{display:flex;gap:3px;padding:4px;border:1px solid #dfe6d9;border-radius:12px;background:#edf1e8;min-width:0}.plot-choice-tabs button{flex:1 1 auto;min-width:0;min-height:44px;padding:8px 10px;border:1px solid transparent;border-radius:8px;background:transparent;color:#657465;font-size:12px;font-weight:500;line-height:1.4}.plot-choice-tabs button:hover{background:#e3eadd}.plot-choice-tabs button[aria-checked="true"]{background:#fff;color:#245e54;border-color:#d8e1d2;box-shadow:0 1px 3px #263b3508}.plot-choice-tabs button[hidden]{display:none}@media(max-width:700px){.plot-controls{grid-template-columns:minmax(0,1fr);gap:16px}.plot-control-label{font-size:12px;margin-bottom:7px}.plot-choice-tabs button{padding:8px 6px;font-size:11.5px}}

.overview-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}.overview-metric{min-width:0;padding-top:16px;border-top:1px solid #edf0e8}.overview-metric .overview-point{align-items:flex-start;flex-direction:column;gap:8px}.overview-metric-date{font-size:11px;margin:8px 0 0;color:#75816e}.overview-metric .overview-trend,.overview-metric .overview-change{font-size:12px;margin-top:10px}@media(max-width:700px){.overview-metrics{grid-template-columns:minmax(0,1fr);gap:16px}.overview-metric{padding-top:14px}}

.plot-choice-tabs button{height:44px;min-height:44px;display:flex;align-items:center;justify-content:center;font-size:12.5px;line-height:1.2;padding:6px 10px}.plot-control-label{margin-bottom:6px}@media(max-width:700px){.plot-choice-tabs button{font-size:12px;line-height:1.25;padding:6px}.plot-controls{gap:14px}}

.export-chart-options { display:grid; gap:14px; padding:12px 0; }
.export-chart-options label { display:flex; align-items:center; gap:10px; }
#record-export-form fieldset { border:1px solid var(--border, #d6dfdc); border-radius:12px; margin:16px 0; padding:16px; }
#record-export-form input[type="checkbox"], #record-export-form input[type="radio"] { width:auto; min-height:auto; }

.child-heading-actions { display:flex; justify-content:flex-end; align-items:center; gap:10px; flex-wrap:wrap; margin-left:auto; }
.child-heading-actions button { flex-shrink:0; }
.export-qr-actions { margin-top:16px; }

#record-export-dialog { width:min(620px,calc(100vw - 28px)); max-height:calc(100dvh - 28px); overflow:auto; border:1px solid #dce4da; border-radius:20px; padding:24px; color:#263b35; box-shadow:0 24px 80px #18251f35; }
#record-export-dialog::backdrop { background:#17251f80; backdrop-filter:blur(3px); }
#record-export-form { display:grid; gap:14px; }
#record-export-form>label { font-size:13px; font-weight:650; color:#344d40; }
#record-export-form select { width:100%; min-height:46px; border:1px solid #cedbd5; border-radius:10px; background:#fff; padding:9px 12px; }
#record-export-form fieldset { margin:0; border-color:#dce4da; background:#fbfcf9; }
#record-export-form legend { padding:0 6px; color:#344d40; font-size:13px; font-weight:650; }
.export-scope-options { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.export-scope-options label { display:flex; align-items:center; gap:10px; min-height:50px; padding:12px; border:1px solid #dce4da; border-radius:11px; background:#fff; font-size:14px; font-weight:600; }
#record-export-form input[type=checkbox], #record-export-form input[type=radio] { accent-color:#245e54; }
@media(max-width:500px){#record-export-dialog{padding:18px;border-radius:16px}.export-scope-options{grid-template-columns:1fr}.export-qr-actions{display:grid;grid-template-columns:1fr}.export-qr-actions button{width:100%}}

/* Share / Export form: clear groups and reliable touch targets. */
#record-export-dialog .dialog-heading { gap:12px; margin-bottom:18px; }
#record-export-dialog .dialog-heading h2 { font-size:22px; }
#record-export-dialog .close-button { display:grid; place-items:center; width:44px; height:44px; flex:0 0 44px; border-radius:50%; }
#record-export-form { gap:18px; }
#record-export-form fieldset { min-width:0; padding:16px; border:1px solid #dce4da; border-radius:14px; }
#record-export-form legend { font-size:13px; letter-spacing:.01em; }
#record-export-form .family-actions { gap:10px; }
#record-export-form .family-actions label { display:flex; flex:1; align-items:center; justify-content:center; gap:10px; min-height:48px; margin:0; padding:10px 12px; border:1px solid #dce4da; border-radius:11px; background:#fff; font-size:14px; font-weight:600; }
#record-export-form input[type=checkbox], #record-export-form input[type=radio] { width:20px; height:20px; min-height:20px; margin:0; flex:0 0 20px; }
.export-scope-options label { cursor:pointer; transition:border-color .15s,background .15s; }
.export-scope-options label:has(input:checked), #record-export-form .family-actions label:has(input:checked) { border-color:#6c9a78; background:#f0f6ee; color:#245e54; box-shadow:0 0 0 1px #6c9a7833; }
.export-qr-actions button { min-height:48px; white-space:normal; }
.export-modal-actions { position:sticky; bottom:0; z-index:1; display:flex; align-items:center; gap:12px; padding:12px 0 0; background:#fbfcf9; box-shadow:0 -8px 18px #fbfcf9; }
.export-modal-actions .export-qr-actions { display:flex; flex:1; margin:0; }
.export-modal-actions .export-qr-actions button { flex:1; }
#record-export-form #execute-record-export { flex:0 0 auto; min-height:50px; }
.export-qr-accordion { position:relative; flex:1; }
.export-qr-accordion>summary { display:grid; grid-template-columns:minmax(0,1fr) 46px; align-items:center; min-height:54px; padding:5px 5px 5px 17px; border:1px solid #c8d8ce; border-radius:15px; background:linear-gradient(135deg,#fff 0%,#f5f8f3 100%); color:#245e54; font-size:14px; font-weight:650; text-align:left; cursor:pointer; list-style:none; box-shadow:0 3px 10px #183d2910; transition:border-color .16s,box-shadow .16s,transform .16s; }
.export-qr-accordion>summary:hover { border-color:#82a88b; box-shadow:0 6px 16px #183d2918; transform:translateY(-1px); }
.export-qr-accordion>summary:focus-visible { outline:3px solid #c08b32; outline-offset:3px; }
.export-qr-accordion>summary::-webkit-details-marker { display:none; }
.export-qr-accordion>summary::after { content:''; justify-self:stretch; align-self:stretch; display:grid; place-items:center; border-left:1px solid #e0e9df; border-radius:0 10px 10px 0; background:#edf4ec; mask:none; }
.export-qr-accordion>summary::before { content:''; grid-column:2; grid-row:1; justify-self:center; width:9px; height:9px; border-right:2px solid #356b4a; border-bottom:2px solid #356b4a; transform:translateY(-2px) rotate(45deg); transition:transform .18s; z-index:1; pointer-events:none; }
.export-qr-accordion[open]>summary::before { transform:translateY(2px) rotate(225deg); }
.export-qr-accordion[open]>summary { border-color:#6f9a78; border-radius:15px 15px 10px 10px; background:#f1f7ef; box-shadow:0 0 0 3px #6f9a7818; }
.export-qr-panel { position:absolute; bottom:calc(100% + 8px); left:0; width:max(100%,320px); max-height:70vh; overflow:auto; padding:10px; border:1px solid #dce4da; border-radius:14px; background:#fff; box-shadow:0 12px 28px #18251f20; }
.export-qr-accordion .export-qr-actions { display:flex; margin:0; }
.export-qr-accordion .export-qr-actions button { min-height:44px; }
#qr-dialog { width:min(680px,calc(100% - 32px)); max-height:90dvh; overflow:auto; text-align:center; }
#qr-dialog .dialog-heading { text-align:left; }
#qr-dialog .qr-summary { margin:18px 0 8px; font-size:15px; font-weight:650; color:#30463b; }
#qr-dialog #qr-image { margin:14px 0; }
#qr-dialog #qr-image img { display:block; width:min(512px,78vw); height:auto; image-rendering:pixelated; }
#qr-dialog .qr-download { display:inline-block; margin:2px 0 8px; padding:10px 16px; border:1px solid #cedbd5; border-radius:12px; text-decoration:none; font-weight:600; }
#qr-dialog .chart-note { max-width:42rem; margin:10px auto; }
#qr-dialog .error:empty { display:none; }
#download-status { margin:0; min-height:0; }
#download-status:not(:empty) { padding:10px 12px; border-radius:10px; background:#f0f5ed; }
#export-vaccination-note, #record-export-form > .chart-note { margin:0; }
#export-vaccination-note + .chart-note { margin-top:-10px; }
@media(max-width:600px) {
  #record-export-dialog { width:calc(100vw - 16px); max-width:none; max-height:calc(100dvh - 16px); margin:auto; padding:16px; border-radius:18px; }
  #record-export-dialog .dialog-heading { position:sticky; top:-16px; z-index:2; margin:-16px -16px 8px; padding:14px 16px 10px; background:#fff; border-bottom:1px solid #e8eee6; border-radius:18px 18px 0 0; }
  #record-export-dialog .dialog-heading h2 { font-size:20px; }
  #record-export-form { gap:14px; }
  #record-export-form fieldset { padding:13px; }
  .export-scope-options { grid-template-columns:1fr; gap:8px; }
  .export-scope-options label { min-height:52px; padding:12px; }
  #record-export-form .family-actions { display:grid; grid-template-columns:1fr 1fr; }
  #record-export-form .family-actions label { min-width:0; padding:9px 7px; font-size:13px; }
  .export-modal-actions { bottom:-16px; margin:0 -16px -16px; padding:10px 16px calc(10px + env(safe-area-inset-bottom)); display:grid; grid-template-columns:1fr; gap:8px; border-top:1px solid #e8eee6; }
  .export-qr-accordion { width:100%; }
  .export-qr-accordion>summary { min-height:46px; }
  .export-qr-panel { position:static; width:100%; max-height:none; margin-top:6px; padding:8px; box-shadow:none; }
  .export-qr-accordion .export-qr-actions { display:grid; grid-template-columns:1fr 1fr; width:100%; }
  .export-qr-accordion .export-qr-actions button { width:100%; min-height:42px; padding:8px 6px; font-size:12px; }
  #record-export-form #execute-record-export { width:100%; min-height:48px; border-radius:12px; }
}
@media(max-width:360px) {
  #record-export-dialog { padding:13px; }
  #record-export-dialog .dialog-heading { margin:-13px -13px 8px; padding:12px 13px 9px; }
  #record-export-form fieldset { padding:11px; }
}
@media(max-width:700px) {
  #qr-dialog { inset:50% auto auto 50%; transform:translate(-50%,-50%); width:calc(100vw - 24px); max-width:600px; max-height:calc(100dvh - 24px); margin:0; padding:18px 18px max(18px,env(safe-area-inset-bottom)); border-radius:20px; }
  #qr-dialog .dialog-heading { position:static; margin:0; padding:0 0 10px; }
  #qr-dialog #qr-image img { width:min(512px,82vw,calc(100dvh - 220px)); }
}

/* Final layout refinements for the share and QR flow. */
#record-export-form fieldset { background:linear-gradient(180deg,#fff 0%,#fbfcf9 100%); box-shadow:0 2px 8px #1d3e2a08; }
.export-chart-options { grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:16px; row-gap:4px; padding:8px 0 2px; }
.export-chart-options label { min-height:42px; margin:0; padding:8px 10px; border:1px solid transparent; border-radius:10px; color:#3d5145; font-size:13px; transition:background .15s,border-color .15s; }
.export-chart-options label:has(input:checked) { border-color:#d3e2d1; background:#f2f7f0; color:#245e54; }
.export-chart-options label:has(input:disabled) { opacity:.48; }
#export-parent-sheet + span { font-weight:600; }
#record-export-form input[type=checkbox], #record-export-form input[type=radio] { flex:0 0 20px; }
.export-modal-actions { gap:10px; padding-top:14px; }
.export-modal-actions #execute-record-export { min-width:132px; border-radius:14px; box-shadow:0 5px 14px #245e5426; }
.export-qr-accordion>summary { min-height:50px; }
.export-qr-panel { z-index:3; }
#qr-dialog { padding:26px; border-color:#dce7dc; box-shadow:0 28px 100px #122b2270; }
#qr-dialog .dialog-heading { padding-bottom:8px; border-bottom:1px solid #edf1ea; }
#qr-dialog #qr-image { width:fit-content; max-width:100%; margin:16px auto; padding:clamp(8px,2.5vw,16px); border:1px solid #e1e9df; border-radius:20px; background:linear-gradient(145deg,#fbfcf9,#f2f6ef); }
#qr-dialog #qr-image img { width:min(512px,78vw); max-width:100%; border-radius:8px; }
#qr-dialog .qr-download { min-height:46px; padding:10px 18px; box-shadow:0 3px 9px #183d2910; }
#qr-dialog .qr-download:hover { border-color:#82a88b; background:#f2f7f0; }
@media(max-width:600px) {
  .export-chart-options { grid-template-columns:1fr 1fr; column-gap:6px; }
  .export-chart-options label { min-height:44px; padding:7px 5px; font-size:12px; }
  .export-modal-actions { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:9px; align-items:stretch; }
  .export-modal-actions .export-qr-accordion { min-width:0; }
  .export-modal-actions>button, .export-modal-actions .export-qr-accordion>summary { min-height:48px; }
  #record-export-form #execute-record-export { min-width:0; margin:0; }
  .export-qr-panel { width:max(100%,min(320px,calc(100vw - 40px))); }
  #qr-dialog { padding:20px 16px max(18px,env(safe-area-inset-bottom)); }
  #qr-dialog #qr-image img { width:min(512px,82vw,calc(100dvh - 220px)); }
}

#plot-message{font-size:12px;line-height:1.6;margin:8px 0 12px}#plot-message:empty{display:none}

.site-header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 18px;align-items:center}.brand-heading{display:block;min-width:0}.brand-heading .brand{display:flex;align-items:center;gap:12px;width:auto;white-space:normal}.brand-heading .brand-logo{width:64px;height:64px;flex:0 0 64px}.brand-copy{display:block;min-width:0;max-width:560px}.brand-heading .brand-name{display:block;max-width:none;line-height:1.25}.brand-subtitle{display:block;margin:2px 0 0;padding:0;font-size:12px;line-height:1.5;letter-spacing:0;color:#6c796f;font-weight:400}.site-header .header-actions{grid-column:2;grid-row:1}.children-section{padding-top:28px}@media(max-width:700px){.site-header{column-gap:10px}.brand-heading .brand{gap:9px}.brand-heading .brand-logo{width:64px;height:64px;flex-basis:64px}.brand-subtitle{font-size:11px;margin-top:2px;line-height:1.45}.children-section{padding-top:24px}}

.plot-control-label{font-size:14px;line-height:1.4}@media(max-width:700px){.plot-control-label{font-size:13px}}

#qr-dialog .qr-privacy-note{margin:12px 0 16px;padding:10px 13px;border:1px solid #ecd8b5;border-radius:10px;background:#fff9ed;color:#76552b;font-size:12px;line-height:1.6;text-align:left}

.calendar-footer.has-birthday{grid-template-columns:1fr 1fr 30px}

.vaccination-select-control{display:flex;flex-direction:column;gap:6px;min-width:220px}.vaccination-toolbar{flex-wrap:wrap}.vaccination-select-control label{margin:0;font-size:13px;color:#627168}.vaccination-select-control select{max-width:360px;font-size:14px}
.vaccine-table-cell[data-vaccine="PENTA"],.vaccine-table-cell[data-vaccine="TRANSITION"]{--vaccine-book-colour:#ebdb69}
@media(max-width:700px){.vaccination-select-control{width:100%;min-width:0}.vaccination-select-control select{width:100%;max-width:none;font-size:16px;min-height:46px}}

.vaccination-select-control[hidden]{display:none!important}

/* Shared information pages and quiet footer navigation. */
.site-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.app-version{font-size:11px;color:#7b877f;white-space:nowrap}
.site-footer nav{display:flex;flex-wrap:wrap;gap:4px 20px}
.site-footer nav a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;text-decoration:none;color:#52675d}
.site-footer nav a:hover,.site-footer nav a[aria-current=page]{color:#245e54;text-decoration:underline}
.information-main{max-width:820px;padding-top:28px;padding-bottom:28px}
.information-back{display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:#52675d}
.information-heading{padding:28px 0 30px;border-bottom:1px solid #e3e8df;margin-bottom:32px}
.information-heading h1{font-family:inherit;font-size:clamp(28px,4vw,40px);font-weight:650;letter-spacing:-1px;line-height:1.2;margin:0 0 12px}
.information-heading p{font-size:16px;margin:0;line-height:1.7}
.information-main section{margin:0 0 30px;scroll-margin-top:24px}
.information-main section h2{font-size:19px;letter-spacing:-.3px;line-height:1.4;margin:0 0 10px}
.information-main section p{font-size:15px;line-height:1.85;margin:0;color:#52645a;overflow-wrap:anywhere}
@media(max-width:700px){.site-footer{align-items:flex-start;gap:8px}.site-footer nav{width:100%;gap:0 18px}.information-main{padding-top:16px}.information-heading{padding:18px 0 24px;margin-bottom:26px}.information-main section{margin-bottom:26px}}

/* Destructive profile action stays distinct from editing and sharing. */
#delete-child.profile-delete-action{display:block;width:fit-content;min-height:44px;margin:6px 0 0;padding:8px 0 2px;font-size:13px;font-weight:600;border:0;border-radius:4px;background:transparent;color:#9e372e;text-align:left}
#delete-child.profile-delete-action:hover{background:transparent;color:#842b23;text-decoration:underline;text-underline-offset:4px}
.danger-button{background:#a6372d;border-color:#a6372d;color:#fff}
.danger-button:hover{background:#842b23;border-color:#842b23}
.delete-child-dialog{max-width:480px}
.delete-child-dialog .dialog-heading h2{font-size:23px;color:#922f27}
.delete-child-identity{padding:14px 16px;background:#f5f6f1;border:1px solid #e1e6dd;border-radius:12px;margin:20px 0 16px;overflow-wrap:anywhere}
.delete-child-identity strong{font-size:17px}
.delete-child-identity p{margin:4px 0 0;font-size:13px}
.delete-child-warning{padding:14px 16px;border:1px solid #e9c9bc;border-radius:12px;background:#fff4ed;color:#843c2d;font-size:14px;line-height:1.75}
@media(max-width:700px){.delete-child-dialog .dialog-actions{position:static;box-shadow:none;margin-top:20px}}

#delete-child[hidden]{display:none!important}
.profile-dialog-actions{flex-wrap:nowrap}
#child-dialog .profile-dialog-actions{margin-top:8px}

/* Selection and profile editing are sibling buttons, never nested controls. */
.child-card-select{position:absolute;inset:0;z-index:1;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;color:inherit}
.child-card-select:hover{background:transparent}
.child-card-select:focus-visible{outline-offset:-4px}
.child-card .child-card-selected{right:61px;z-index:2;pointer-events:none}
.child-card .child-card-sex{padding-right:80px}
.child-card-edit{position:absolute;top:8px;right:8px;z-index:3;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:var(--child-ink);font-size:23px;line-height:1}
.child-card-edit::before{content:'';position:absolute;inset:9px;border:1px solid var(--child-border);border-radius:50%;background:#ffffffb3;z-index:-1}
.child-card-edit:hover{background:transparent}
.child-card-edit:hover::before{background:#fff;border-color:var(--child-accent)}
.child-card-edit svg{display:block;pointer-events:none}
@media(max-width:700px){.child-card .child-card-selected{right:59px}.child-card-edit{top:6px;right:6px}}

#growth-panel>.detail-actions{margin-top:20px;margin-bottom:0}

.mid-parental-key{display:inline-flex;align-items:center;gap:7px;color:#a33c35}.mid-parental-key::before{content:"";width:24px;border-top:2px dashed #ef4444;flex-shrink:0}
.thalassaemia-editor{border:1px solid #d8e4df;border-radius:16px;padding:clamp(16px,3vw,24px);background:#fff}.thalassaemia-header,.thalassaemia-record,.thalassaemia-actions,.thalassaemia-form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.thalassaemia-header{margin-bottom:16px}.thalassaemia-header h3{font-size:1.15rem;font-weight:750;color:#193f38}.thalassaemia-header p,.thalassaemia-record p{font-size:.82rem;color:#647b76;margin-top:3px}.thalassaemia-editor button:not(:where(.date-picker-trigger, .date-calendar *)){border:1px solid #d0dfd9;border-radius:999px;padding:9px 14px;background:#f4f8f6;font-weight:650;color:#245e54}.thalassaemia-editor button:not(:where(.date-picker-trigger, .date-calendar *)):hover{background:#e6f1ec}.thalassaemia-empty{padding:14px;background:#f5f8f6;border-radius:10px;color:#647b76}.thalassaemia-record{padding:12px 0;border-top:1px solid #e5ece9}.thalassaemia-record strong{color:#244a42}.thalassaemia-actions{justify-content:flex-end}.thalassaemia-form{margin-top:18px;padding-top:16px;border-top:1px solid #e5ece9}.thalassaemia-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.thalassaemia-editor label{display:flex;flex-direction:column;gap:5px;font-size:.82rem;font-weight:650;color:#48635d}.thalassaemia-editor input,.thalassaemia-editor select:not(:where(.date-calendar *)),.thalassaemia-editor textarea{width:100%;min-height:42px;padding:9px 11px;border:1px solid #d0dfd9;border-radius:9px;background:white;color:#233c36}.thalassaemia-tests{margin:16px 0}.thalassaemia-tests h4{font-size:.95rem;font-weight:750;margin-bottom:8px}.thalassaemia-tests fieldset{border:1px solid #e5ece9;border-radius:11px;padding:12px;margin:10px 0}.thalassaemia-tests legend{font-size:.85rem;font-weight:750;padding:0 5px}.thalassaemia-editor .thalassaemia-check{display:flex;flex-direction:row;align-items:center;margin-bottom:10px}.thalassaemia-check input{width:18px;min-height:18px}.thalassaemia-form-actions{justify-content:flex-start;margin-top:14px}.thalassaemia-error{color:#b42318;font-size:.85rem;margin-top:8px}.thalassaemia-notes{margin-top:12px}
.thalassaemia-editor-heading{margin-bottom:18px}.thalassaemia-editor-heading h3{font-size:1.15rem;font-weight:750;color:#193f38}.thalassaemia-editor-heading p{font-size:.86rem;color:#647b76;margin-top:5px}

/* Match the screening status card to the other Parents screening fieldsets. */
.thalassaemia-status-section { grid-column: 1 / -1; min-width: 0; }
.thalassaemia-status-section h4 { margin: 0 0 8px; font-size: .95rem; font-weight: 750; color: #244a42; }
.thalassaemia-status-card { min-width: 0; margin: 10px 0; padding: 12px; border: 1px solid #e5ece9; border-radius: 11px; background: #fff; }
.thalassaemia-status-card legend { padding: 0 5px; font-size: .85rem; font-weight: 750; color: #48635d; }
.thalassaemia-status-list { display: grid; gap: 6px; }
.thalassaemia-status-card .thalassaemia-check { margin: 0; padding: 8px 0; gap: 10px; min-height: 44px; line-height: 1.5; }
.thalassaemia-status-card .thalassaemia-check input { flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; accent-color: #245e54; }
.thalassaemia-status-subgroup { margin-top: 12px; padding: 12px 0 0 16px; border-top: 1px solid #e5ece9; }
.thalassaemia-status-label { margin-bottom: 6px; font-size: .82rem; font-weight: 650; color: #48635d; }
.thalassaemia-status-card .thalassaemia-status-subfield { margin: 12px 0 0; gap: 6px; }
.thalassaemia-editor [data-thal-field][hidden] { display: none !important; }

/* Status choices and conditional details share a card on wide screens. */
.thalassaemia-status-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 4px; }
.thalassaemia-status-card .thalassaemia-status-choice { margin: 0; padding: 10px 12px; min-height: 44px; gap: 10px; border: 1px solid transparent; border-radius: 9px; line-height: 1.5; cursor: pointer; }
.thalassaemia-status-choice:has(input:checked) { background: #f1f6f5; border-color: #cfdfdb; }
.thalassaemia-status-choice:focus-within { outline: 2px solid #91b6ac; outline-offset: 2px; }
.thalassaemia-status-choice input { flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; }
.thalassaemia-status-details { min-width: 0; padding: 12px 14px; margin: 4px 0 10px 14px; border-left: 2px solid #d8e4df; background: #f8faf9; border-radius: 0 10px 10px 0; }
.thalassaemia-status-details .thalassaemia-status-subgroup { margin: 0; padding: 0; border: 0; }
.thalassaemia-status-details .thalassaemia-status-subfield { margin: 12px 0 0; }
.thalassaemia-status-details > .thalassaemia-status-subfield:first-child,
.thalassaemia-status-details:has([data-thal-field="carrierTypeGroup"][hidden]) > [data-thal-field="patientType"] { margin-top: 0; }
.thalassaemia-status-details .thalassaemia-check { margin: 0; min-height: 44px; padding: 8px 0; gap: 10px; }
.thalassaemia-status-details .thalassaemia-check input { flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px; padding: 0; margin: 0; }
@media (min-width: 768px) {
 .thalassaemia-status-layout { grid-template-columns: minmax(200px,.85fr) minmax(0,1.4fr); column-gap: 24px; align-items: start; }
 .thalassaemia-status-choice { grid-column: 1; }
 .thalassaemia-status-choice[data-status-choice="no"] { grid-row: 1; }
 .thalassaemia-status-choice[data-status-choice="carrier"] { grid-row: 2; }
 .thalassaemia-status-choice[data-status-choice="disease"] { grid-row: 3; }
 .thalassaemia-status-details { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; margin: 0; padding: 14px 18px; }
 .thalassaemia-status-details .thalassaemia-status-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 12px; }
}

.thalassaemia-reveal-content { display: block; min-width: 0; }
.thalassaemia-status-details .thalassaemia-status-subfield .thalassaemia-reveal-content { display: grid; gap: 6px; }
@media (min-width:768px) { .thalassaemia-status-details { align-self: start; } }


/* Match screening date controls to the neighbouring text inputs. */
.thalassaemia-editor .date-picker-trigger{height:42px;min-height:42px;padding:9px 11px;font-size:inherit;border-radius:9px}

/* QR sharing has its own chooser; exports contain download options only. */
.child-transfer-actions{display:flex;align-items:center;gap:8px}
#open-record-qr{flex:0 0 auto;min-height:40px;padding:8px 14px;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap;border-radius:10px}
.qr-choice-child{font-size:14px;overflow-wrap:anywhere;margin:18px 0 8px}
.qr-choice-actions{display:grid;gap:10px;margin:20px 0}
.qr-choice-actions button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:12px 16px;text-align:left;font-size:14px}
.qr-choice-actions button::after{content:'›';font-size:22px;line-height:1;font-weight:400}
.export-modal-actions{display:flex;justify-content:flex-end}
@media(max-width:700px){.child-heading-actions{gap:8px}.child-transfer-actions{gap:7px}#open-record-qr,#open-record-export{min-height:40px;padding:8px 11px;font-size:12px}.export-modal-actions #execute-record-export{width:100%}}

/* Keep record choices as compact as the graph choices. */
#record-export-form .export-scope-options{column-gap:16px;row-gap:4px;padding:8px 0 2px}
#record-export-form .export-scope-options label{min-height:42px;margin:0;padding:8px 10px;font-size:13px}
@media(max-width:700px){#record-export-form .export-scope-options{column-gap:6px}#record-export-form .export-scope-options label{min-height:44px;padding:7px 10px;font-size:12px}}

.thalassaemia-save-actions { display:flex; align-items:center; flex-wrap:wrap; gap:10px 16px; }
.thalassaemia-editor .thalassaemia-saved { display:flex; align-items:center; gap:6px; margin:0; font-size:.82rem; font-weight:500; color:#24704b; }
.thalassaemia-editor .thalassaemia-saved[hidden] { display:none!important; }

/* Match the Thalassaemia saved helper across Parents save flows. */
.status.save-confirmation { color:#24704b; font-size:.82rem; font-weight:500; }
.status.save-confirmation > span { margin-right:2px; }

.child-detail>.child-transfer-actions{justify-content:flex-end;gap:10px;margin-top:28px}
.child-detail>.child-transfer-actions button{min-height:44px;padding:10px 16px}

/* The clinical footer's centred hierarchy, using the parent palette. */
.site-footer{display:block;width:100%;max-width:none;margin:38px auto 0;padding:22px 20px calc(24px + env(safe-area-inset-bottom));border-top:1px solid #e1e6dd;background:#f8faf7;text-align:center}
.footer-inner{max-width:1100px;margin:0 auto}
.site-footer nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;width:100%;gap:0 8px;margin:0 0 4px}
.site-footer nav a{min-height:44px;font-size:13px;line-height:1.5;font-weight:500;color:#245e54}
.site-footer nav a:hover,.site-footer nav a[aria-current=page]{color:#17483f;text-decoration:underline}
.footer-divider{color:#9aa69d;user-select:none}
.site-footer .footer-meta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 8px;margin:0;color:#778175;font-size:11px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;line-height:1.8}
.site-footer .app-version{font:inherit;color:inherit;white-space:nowrap}
.site-footer .footer-credits{margin-top:5px;color:#778175;font-size:11px;line-height:1.7}
.site-footer .footer-credits p{margin:0}
@media(max-width:700px){.site-footer{margin-top:26px;padding:18px 16px calc(22px + env(safe-area-inset-bottom))}.site-footer nav{gap:0 7px}.site-footer nav a{font-size:12px}}

.site-footer .footer-storage{max-width:620px;margin:0 auto 6px;color:#627168;font-size:12px;line-height:1.7}
.site-footer .footer-storage strong{color:#4c5f50;font-weight:600}

/* A calmer child card: clear name, current age, then the birth date. */
.child-card[data-sex="boy"]{--child-tint:#eef5fd;--child-soft:#f8fbff;--child-border:#c8d8e9;--child-accent:#6c8fb2}
.child-card[data-sex="girl"]{--child-tint:#fff0f5;--child-soft:#fff9fb;--child-border:#edd2de;--child-accent:#bb819a}
.child-card{min-height:164px;padding:20px 22px 18px;border-radius:20px;box-shadow:0 2px 12px #263b3505}
.child-card::before{right:-40px;top:-48px;width:150px;height:150px;border-width:16px;border-color:#ffffff38}
.child-card:hover{transform:translateY(-1px);box-shadow:0 5px 16px #263b350a}
.child-card[data-selected="true"]{border-color:var(--child-accent);box-shadow:0 0 0 1px var(--child-accent),0 4px 16px #263b350a}
.child-card .child-card-sex{font-size:10px;line-height:1.4;letter-spacing:1.1px;margin-bottom:12px;padding-right:80px}
.child-card h3{font-family:inherit;font-size:23px;font-weight:650;letter-spacing:-.45px;line-height:1.3;margin:0 0 6px;padding-right:0}
.child-card .child-card-age{font-size:14px;font-weight:550;line-height:1.5;color:var(--child-ink);margin:0 0 3px}
.child-card .child-card-birth{font-size:11.5px;line-height:1.5;color:var(--child-muted);margin:0}
.child-card .child-card-selected{top:16px;right:52px;width:26px;height:26px;font-size:13px;background:#ffffffd9}
.child-card-edit{top:7px;right:7px}
.add-child-card{min-height:164px;padding:20px;border-radius:20px;font-size:14px}
@media(max-width:700px){.child-card{min-height:144px;padding:18px 18px 16px;border-radius:18px}.child-card h3{font-size:22px}.child-card .child-card-sex{margin-bottom:10px}.child-card:hover{transform:none}.add-child-card{min-height:144px;padding:18px;border-radius:18px}}
@media(prefers-reduced-motion:reduce){.child-card:hover{transform:none}}
