/* Shared language of the Nayvia homes: warm hierarchy, restrained glass, real business data. */
body:has(.cp-directory),body:has(.presence-panel){--cp-sage:#e8f0e3;--cp-peach:#fae9dd;--cp-blue:#e8eef8;--cp-line:#e8e7de;--cp-ink:#3f5144;background:radial-gradient(ellipse at 4% 8%,#e6eddf80,transparent 42%),radial-gradient(ellipse at 90% 50%,#f9e9dd65,transparent 40%),#faf7f2;color:var(--cp-ink)}
body #workspace .care-intro,body #workspace>.welcome{padding:28px 32px;border-radius:28px;background:radial-gradient(ellipse at 95% 20%,#f7c9b254,transparent 45%),linear-gradient(110deg,#e8efdf,#faf4eb);border:1px solid #fff;margin-bottom:22px;box-shadow:0 8px 30px #3e3e3e04;min-height:170px}
body #workspace .care-intro h1,body #workspace>.welcome h1{font:600 clamp(25px,2.7vw,37px)/1.3 Poppins,Nunito,sans-serif;letter-spacing:-1.1px;color:#3d5540;margin:7px 0 12px}body #workspace .care-intro p,body #workspace>.welcome p{font-size:13px;line-height:1.8;max-width:650px;color:#63735c}body #workspace .care-intro .eyebrow,body #workspace>.welcome .eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:800}body #workspace .care-intro img{width:95px;height:105px;background:#fff6;padding:19px;border:1px solid #fff;border-radius:50%;box-shadow:0 0 0 16px #ffffff35}
body #workspace .card.scope{border:1px solid #fff;background:#ffffffb5;border-radius:20px;box-shadow:none;padding:15px 18px}body #workspace .scope label{font-size:11px;color:#6d7965}body #workspace :is(input,select,textarea){border-radius:12px;border-color:#e6e6dc;background:#fffdfa;color:#455640}body #workspace :is(button,a):focus-visible{outline:3px solid #7a9b6d;outline-offset:3px}body #workspace button.primary{background:#a7c1a3;color:#29442d;border:1px solid #a7c1a3;box-shadow:0 3px 10px #3e3e3e05}body #workspace button.primary:hover{background:#98b595}body #workspace button{transition:background .17s ease,box-shadow .17s ease;min-height:42px}body #workspace .care-toolbar,body #workspace .presence-toolbar{padding:18px 20px;background:#ffffffb5;border:1px solid #fff;border-radius:21px;margin:18px 0 14px;align-items:center}body #workspace .care-toolbar label,body #workspace .presence-toolbar label{font-size:11px;color:#738068}body #workspace .care-toolbar .actions{gap:8px}body #workspace .care-live,body #workspace .presence-auto{font-size:11px;border:0;border-radius:12px;background:#eaf0e470;box-shadow:none;margin:12px 0 20px;padding:10px 14px;color:#77866e}
.cp-kicker{font:800 9px/1.6 Nunito,sans-serif;letter-spacing:1.5px;color:#7b886f;margin:0 0 5px}.cp-directory{margin:25px 0 22px}.cp-directory-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:13px}.cp-directory-head h2{font:600 18px/1.5 Poppins,Nunito,sans-serif;letter-spacing:-.5px;margin:0;color:#4a6048}body #workspace .cp-search{display:block;max-width:270px;width:100%;font:700 10px/1.6 Nunito,sans-serif;color:#7d8773;margin:0}body #workspace .cp-search input{margin:5px 0 0;min-height:38px;height:38px;font:600 12px Nunito,sans-serif;background:#fff9}.cp-empty{padding:18px;color:#75816b;font-size:13px;background:#fff9;border-radius:15px}.cp-directory .children-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0}.cp-directory .child-card{position:relative;display:flex;align-items:center;gap:10px;border:1px solid #fff;border-radius:18px;background:#ffffffc9;padding:14px 12px;text-align:left;box-shadow:0 4px 18px #3e3e3e03;min-height:90px}.cp-directory .child-card[aria-pressed=true]{background:#edf3e7;border:1px solid #b9cdae;padding:14px 12px;box-shadow:0 4px 18px #7d99630a}.cp-directory .child-card .avatar{width:37px;height:37px;border-radius:50%;font:800 15px Nunito,sans-serif;background:#e3ebd9;color:#657e55;flex-shrink:0}.cp-directory .child-card:nth-child(3n+2) .avatar{background:#fae3d4;color:#9c6852}.cp-directory .child-card:nth-child(3n) .avatar{background:#e1e8f5;color:#627b9d}.cp-child-copy{display:flex;flex-direction:column;min-width:0;gap:2px}.cp-child-copy strong{font-size:13px;line-height:1.4}.cp-child-copy small{font-size:11px;color:#829077;overflow-wrap:anywhere}.cp-child-caption{font-size:9px;color:#7b8b6d;margin-top:5px}.child-card>svg{margin-left:auto;width:13px;height:13px;flex-shrink:0;color:#99a48c}.cp-directory .pagination{justify-content:flex-end;margin:12px 0 0}.cp-directory .pagination button{font-size:11px;min-height:35px;padding:8px 13px}
.cp-selected{position:relative;display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:16px;background:linear-gradient(110deg,#f1f5e9,#fff9f3);border:1px solid #fff;border-radius:24px;padding:22px 25px;margin:25px 0 18px;box-shadow:0 5px 25px #3e3e3e03}.cp-selected-avatar{display:grid;place-items:center;width:54px;height:54px;border-radius:19px;background:#dce8d3;color:#607d4e;font:600 24px Poppins,Nunito,sans-serif;border:3px solid #fff}.cp-selected-copy h2{font:600 22px/1.4 Poppins,Nunito,sans-serif;letter-spacing:-.6px;color:#42583e;margin:0}.cp-selected-copy>p:last-child{font-size:11px;color:#859077;margin:4px 0 0}.cp-selected-state{padding:7px 12px;border-radius:999px;background:#e9edf4;font-size:11px;color:#6d8096;font-weight:700}.cp-selected-state[data-state=present]{background:#deead5;color:#567244}.cp-views{grid-column:1/-1;display:flex;gap:7px;padding-top:17px;border-top:1px solid #e4e8db;margin-top:5px}body #workspace .cp-views button{display:flex;gap:8px;align-items:center;justify-content:center;box-shadow:none;border:1px solid #e6e8dd;border-radius:12px;background:#ffffffb0;color:#7b896d;min-height:38px;padding:9px 15px;font:800 12px Nunito,sans-serif}.cp-views button svg{width:16px;height:16px}body #workspace .cp-views button[aria-pressed=true]{background:#a7c1a3;color:#29452c;border-color:#a7c1a3}
body #workspace #dayWorkspace{gap:20px;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr)}body #workspace #dayWorkspace>.card,body #workspace #photos{padding:24px;border:1px solid #fff;border-radius:24px;background:#ffffffd9;box-shadow:0 5px 27px #3e3e3e04}.day-head h2{font:600 19px Poppins,Nunito,sans-serif;color:#42583d}.day-head .eyebrow{font-size:9px;letter-spacing:1.4px}.day-head .presence{font-size:10px;background:#e9f0e3;color:#657c55}.care-grid .summary{font-size:13px;line-height:1.9;border-left:3px solid #ecc4ac;padding:15px 17px;background:#fdf5ec;border-radius:0 14px 14px 0}.care-grid .timeline{margin:22px 0 6px}.care-grid .timeline li{grid-template-columns:40px minmax(0,1fr);gap:12px;margin:0 0 12px}.care-grid .timeline time{font-size:10px;color:#86907a;padding-top:17px}.care-grid .timeline .event{padding:13px 15px;border:1px solid #ecefe3;border-radius:14px;background:#f3f6ee}.care-grid .event[data-kind=meal],.care-grid .event[data-kind=bottle]{background:#fdf0e6}.care-grid .event[data-kind=nap]{background:#edf1f9}.care-grid .event[data-kind=activity]{background:#f7f2e7}.care-grid .event small{font-size:10px;font-weight:800;color:#7d8d6c}.care-grid .event p{font-size:12px;line-height:1.8;margin:4px 0 0}.care-grid .care-hint{font-size:11px}.cp-transmission-history{border-top:1px solid #e8ebdf;padding-top:16px;margin-top:18px}.cp-transmission-history>summary{font:800 12px Nunito,sans-serif;color:#7f8d70;cursor:pointer;min-height:36px}.care-grid .care-actions button{font-size:11px;padding:10px 13px;flex:1}.morning-card{background:linear-gradient(110deg,#edf4e5,#f8f9f2);border-color:#e2eadb;padding:17px;border-radius:17px}.morning-card h3{font-size:14px;color:#627e52}.morning-card p{font-size:12px!important;line-height:1.8}.morning-card p:last-child{margin-bottom:0}
#private[data-care-view=day] #photos{display:none!important}#private[data-care-view=transmissions] #journal,#private[data-care-view=transmissions] #photos{display:none!important}body #workspace #private[data-care-view=transmissions] #dayWorkspace{grid-template-columns:1fr}#private[data-care-view=photos] #dayWorkspace{display:none!important}body #workspace #private[data-care-view=photos] #photos{margin-top:0}#private[data-care-view=transmissions] .cp-transmission-history{border:0;padding:0}#private[data-care-view=transmissions] #side{max-width:900px;width:100%;margin:auto}#private[data-care-view=transmissions] .cp-transmission-history summary{margin-top:18px}
/* Presence categories occupy their own clear rows, with counts limited to the loaded page. */
body #workspace .presence-summary{display:flex;gap:14px;margin:20px 0}body #workspace .presence-summary>div{width:100%;border:1px solid #fff;background:linear-gradient(105deg,#e7efdf,#f5f7ef);border-radius:22px;padding:20px 24px;display:grid;grid-template-columns:1fr auto;column-gap:20px;align-items:center}body #workspace .presence-summary>div h2{font-size:12px;color:#6a805c}body #workspace .presence-summary>div strong{grid-column:2;grid-row:1/3;font-size:35px;color:#506e40;margin:0}body #workspace .presence-summary>div p{grid-column:1;font-size:11px;color:#849477;margin-top:6px}.presence-brand{width:58px!important;height:65px!important}.presence-panel{border:1px solid #fff!important;background:#ffffffcc!important;border-radius:25px!important;box-shadow:0 7px 28px #3e3e3e04!important;padding:25px!important}.presence-panel-title{align-items:center;margin-bottom:12px}.presence-panel-title h2{font-size:20px!important;color:#486042}.presence-panel-title .eyebrow{font-size:9px;letter-spacing:1.6px;color:#839175}.presence-panel-title .muted{font-size:10px;max-width:320px;line-height:1.7;text-align:right}.presence-panel>.cp-search{max-width:100%!important;margin-bottom:15px!important}.presence-panel>.cp-search input{max-width:340px}.presence-children{display:block!important}.presence-group-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:16px 0 24px;padding:7px;background:#f4f6ed;border-radius:15px}.presence-group-tabs button{font:800 11px Nunito,sans-serif;min-height:36px!important;padding:8px 12px!important;box-shadow:none!important;background:transparent;border:1px solid transparent;border-radius:10px;color:#7b8b6d}.presence-group-tabs button[aria-pressed=true]{background:#fff;border-color:#e2e8d9;box-shadow:0 2px 8px #52634009!important;color:#4a6940}.presence-group{margin:22px 0 10px}.presence-group>h3{display:flex;align-items:center;gap:8px;font:800 13px Nunito,sans-serif;color:#7b896f;margin:15px 0}.presence-group>h3::before{content:'';height:7px;width:7px;background:#a7c1a3;border-radius:50%}.presence-group[data-group=expected]>h3::before{background:#a7bbd9}.presence-group[data-group=unplanned]>h3::before{background:#f7c9b2}.presence-group[data-group=departed]>h3::before{background:#c9c6b8}.presence-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.presence-child{padding:18px!important;border:1px solid #e6ebdd!important;border-radius:20px!important;background:#f6f8f1!important;box-shadow:0 4px 15px #3e3e3e03}.presence-child[data-group=expected]{background:#f2f5fb!important;border-color:#e3e9f2!important}.presence-child[data-group=unplanned]{background:#fcf4eb!important;border-color:#f1e9dc!important}.presence-child[data-group=departed]{background:#f7f6f0!important}.cp-presence-child-head{display:flex;align-items:center;gap:10px}.cp-presence-child-head>div{min-width:0}.cp-presence-avatar{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;background:#e2ebd8;border:2px solid #fff;border-radius:50%;color:#6a8555;font:800 15px Nunito,sans-serif}.presence-child[data-group=expected] .cp-presence-avatar{background:#dfe7f6;color:#647ea4}.presence-child[data-group=unplanned] .cp-presence-avatar{background:#fae1ce;color:#a27452}.presence-child h3{font-size:13px!important;margin:0 0 5px!important;line-height:1.4}.presence-child .pill{font-size:9px;padding:4px 8px;display:inline-flex}.presence-times{margin:13px 0 0!important}.presence-times p{font-size:11px;line-height:1.8;color:#869179;margin:4px 0}.presence-child>.actions button{width:100%;font-size:11px!important;margin:0;border-radius:11px}.presence-card-more{border-top:1px solid #e8eadf;padding-top:12px;margin-top:14px}.presence-card-more>summary{font-size:10px;font-weight:800;color:#87937a;cursor:pointer}.presence-card-more .actions{margin-top:10px;gap:6px}.presence-card-more button{font-size:10px!important;min-height:33px!important;padding:6px 10px!important}.presence-card-more .actions button{width:auto}.presence-row{background:#fbfcf8;border-color:#e9eddf;border-radius:17px;padding:16px 18px}.presence-row h3{font-size:13px}.presence-row p{font-size:11px;color:#89977b}.presence-row button{font-size:11px}.presence-panel>p.muted{font-size:12px;color:#849376}.presence-empty{border:1px dashed #dce4d1;background:#f7f9f2;font-size:12px;border-radius:18px}.presence-preparation{background:#fff4e8!important;border-color:#efddc6!important}.presence-preparation p{font-size:12px}
body #workspace dialog#details{border:1px solid #fff;border-radius:28px;padding:25px;max-height:calc(100dvh - 40px);background:linear-gradient(140deg,#f0f5eff5,#f9f8f2f5);backdrop-filter:blur(22px);box-shadow:0 30px 90px #25412d38;animation:cp-glass-enter .2s cubic-bezier(.2,.8,.2,1);width:min(780px,calc(100vw - 32px));color:#42543e}body #workspace dialog#details::backdrop{background:#213b2c55;backdrop-filter:blur(12px)}#workspace dialog#details :is(.detail-head,.presence-dialog-head){display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid #dfe6d7;padding-bottom:15px;margin-bottom:18px}#workspace dialog#details h2{font:600 22px/1.4 Poppins,Nunito,sans-serif;letter-spacing:-.6px;margin:0;color:#45603e}#workspace dialog#details :is(#close,#closeDetails){display:grid;place-items:center;width:37px;height:37px;min-height:37px;border:1px solid #fff;border-radius:50%;background:#ffffff90;color:#728367;box-shadow:none;font-size:22px;flex-shrink:0}#workspace dialog#details :is(label,legend){font-size:12px;color:#6d7e61}#workspace dialog#details fieldset{background:#ffffff70;border:1px solid #e2e8d8;border-radius:18px;padding:16px}#workspace dialog#details .select-children{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}#workspace dialog#details .check-line{background:#fff9;border:1px solid #e6eadf;font-size:11px;padding:9px;border-radius:11px}#workspace dialog#details .check-line:has(input:checked){border-color:#b5cba9;background:#e9f1e3}#workspace dialog#details .dossier-record{background:#ffffffa8;border-color:#e5eadc;border-radius:18px}#workspace dialog#details .dossier-record:nth-of-type(3n+2){background:#fcf0e4}#workspace dialog#details .dossier-record:nth-of-type(3n){background:#edf1f9}
@keyframes cp-glass-enter{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:1150px){.cp-directory .children-list{grid-template-columns:repeat(3,minmax(0,1fr))}.presence-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){body #workspace #dayWorkspace{grid-template-columns:1fr}.cp-directory .children-list{grid-template-columns:repeat(3,minmax(0,1fr))}.cp-directory-head{align-items:flex-start}.cp-directory-head h2{font-size:16px}.cp-directory-head .cp-search{max-width:210px!important}.presence-panel-title{align-items:flex-start}.presence-panel-title .muted{max-width:240px}.cp-selected-state{font-size:10px}.cp-selected-copy h2{font-size:20px}}
@media(max-width:600px){body #workspace .care-intro,body #workspace>.welcome{padding:24px 21px;min-height:145px;border-radius:23px}body #workspace .care-intro p,body #workspace>.welcome p{font-size:12px}body #workspace .care-toolbar,body #workspace .presence-toolbar{padding:15px;border-radius:18px}.cp-directory-head{display:block}.cp-directory-head .cp-search{margin-top:13px!important;max-width:100%!important}.cp-directory .children-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cp-directory .child-card,.cp-directory .child-card[aria-pressed=true]{padding:12px 10px;gap:9px;min-height:88px}.cp-directory .child-card .avatar{width:29px;height:29px;font-size:12px;margin:0}.cp-child-copy strong{font-size:12px}.cp-child-copy small{font-size:10px}.cp-child-caption{font-size:8px}.child-card>svg{display:none}.cp-selected{padding:19px 17px;border-radius:22px;gap:10px;grid-template-columns:42px minmax(0,1fr)}.cp-selected-avatar{width:42px;height:42px;border-radius:15px;font-size:19px}.cp-selected-copy h2{font-size:18px}.cp-selected-copy>p:last-child{font-size:10px}.cp-selected-state{grid-column:1/-1;justify-self:start;margin-left:52px}.cp-views{gap:6px;padding-top:13px}.cp-views button{flex:1;min-width:0;padding:9px!important;font-size:10px!important;gap:5px!important}.cp-views button svg{width:14px;height:14px}body #workspace #dayWorkspace>.card,body #workspace #photos{padding:19px;border-radius:22px}.care-grid .care-actions{gap:7px}.care-grid .care-actions button{flex:1 1 130px}.presence-group-grid{grid-template-columns:1fr}.presence-panel{padding:19px!important}.presence-panel-title .muted{text-align:left;max-width:none}.presence-group-tabs{gap:5px;padding:6px}.presence-group-tabs button{flex:1 1 auto;padding:8px!important;font-size:10px!important}.presence-group{margin-top:18px}.presence-panel>.cp-search input{max-width:none}.presence-child{padding:17px!important}.presence-child>.actions button{min-height:44px!important}body #workspace dialog#details{padding:21px 17px;border-radius:24px}#workspace dialog#details .select-children{grid-template-columns:1fr 1fr}#workspace dialog#details h2{font-size:19px}body #workspace .presence-summary>div{padding:18px 20px}body #workspace .presence-summary>div strong{font-size:30px}}
@media(prefers-reduced-motion:reduce){body #workspace *{animation:none!important;transition:none!important}}
@media print{.cp-directory-head,.cp-views,.cp-selected,.presence-group-tabs,.cp-search{display:none!important}#private[data-care-view] #journal,#private[data-care-view] #side{display:block!important}body #workspace dialog#details{background:#fff!important;box-shadow:none!important;animation:none!important;backdrop-filter:none!important}.presence-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
body #workspace .care-intro #introText,body #workspace .care-intro>.eyebrow,body #workspace .care-intro .eyebrow{display:block!important}body #workspace .care-intro>img{display:block!important}body #workspace .care-intro h1{font-weight:600!important}body #workspace>.auth-tools:has(#logout:not([hidden])):not(:has(#verify:not([hidden]),#refreshAuth:not([hidden]))){display:none}
@media(max-width:600px){body #workspace .care-intro>img{display:none!important}.cp-directory .children-list{grid-auto-flow:column;grid-template-columns:none;grid-template-rows:repeat(2,minmax(84px,auto));grid-auto-columns:165px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:3px 1px 10px}.cp-directory .child-card{scroll-snap-align:start}.cp-directory:has(.child-card:only-child) .children-list{grid-template-rows:auto;grid-auto-columns:100%}}
.presence-group-grid>.presence-child:only-child{grid-column:auto}body[data-experience=family] .presence-group-grid{grid-template-columns:1fr}
