/* Match child-cabinet blue; retain the parent profile's stripe and ring layers. */
html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #page-child .child-header-card{background:radial-gradient(ellipse at 92% 4%,#80a6b74a,transparent 60%),linear-gradient(130deg,#254a63,#21465f 55%,#3b657c)!important}
html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #sidebar{background:radial-gradient(ellipse at 0% 0%,#98b9c020,transparent 56%),linear-gradient(160deg,#294d65,#335b73 60%,#3f657d)!important}
html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #bottom-nav{background:linear-gradient(115deg,#2b5068ed,#3b637be0 62%,#3c627ad4)!important}
html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #page-child .parent154-watermark{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;border-radius:inherit}
html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #page-child .parent154-watermark:before{content:'';position:absolute;left:38%;top:-20%;width:54%;height:138%;background:url('/dnevik_roditela/static/img/school-logo-menu-20261011.png') center/contain no-repeat;opacity:.065;filter:grayscale(1) brightness(2.2) contrast(1.2);mix-blend-mode:screen;transform:rotate(-10deg)}
@media(max-width:767px){html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #page-child .parent154-watermark:before{left:-15%;top:-6%;width:112%;height:85%;opacity:.06}}
/* Keep the existing composer and send handler; reveal input without an extra opener. */
html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #page-messages #messages-compose-editor[hidden],html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #page-messages #messages-compose-editor{display:flex!important;flex-direction:column;gap:8px}
html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #page-messages :is(#messages-compose-open,#messages-compose-close){display:none!important}
html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #page-messages #messages-thread-panel{height:100%!important;min-height:0!important;grid-template-rows:minmax(0,1fr) auto!important}
html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #page-messages .messages-bubbles{min-height:0!important;height:auto!important;max-height:none!important;overflow:auto!important}
html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #page-messages .messages-compose{flex:0 0 auto!important}
html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #page-messages #messages-compose-text{display:block!important;width:100%!important;height:64px!important;min-height:48px!important;max-height:120px!important;resize:vertical;font:16px/1.45 system-ui!important;border:1px solid #b3c6d0!important;border-radius:14px!important;background:#fffefa!important;color:#183b50!important;padding:11px 13px!important;box-sizing:border-box}
html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #page-messages .messages-compose-actions{justify-content:flex-end!important}
html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151 #page-messages #messages-compose-send{background:linear-gradient(115deg,#294e67,#3d657e)!important;color:#fff8e9!important;border-color:#456b82!important;min-height:44px!important}
@media(max-width:768px){html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151.fs-parent-chat:not(.fs-chat-keyboard) #page-messages .messages-thread-card{height:clamp(240px,calc(100dvh - 260px - env(safe-area-inset-bottom)),760px)!important;min-height:0!important}html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151.fs-chat-keyboard #page-messages #messages-compose-text{height:52px!important;max-height:25dvh!important}}

html[data-theme="modern"] body.authed.parent-help-enabled.fs-parent-pilot151:not(.fs-parent-hero150-top) #mobile-header{background:linear-gradient(115deg,#294e67,#3d657e 65%,#456b82)!important}
