.language-bar{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:6px max(16px,calc((100vw - 1180px)/2));background:var(--surface);border-bottom:1px solid var(--line);font-size:12px}
.language-bar label{margin:0;font-size:12px}.language-bar select{width:auto;min-height:32px;margin:0;padding:4px 24px 4px 9px;font-size:12px}
html[data-accent=pink]{--blue:#ae376f;--blue-soft:#fbe8f0;--bg:#fcf7fa;--line:#eadce4}
html[data-theme=dark][data-accent=pink]{--blue:#f0a1c3;--blue-soft:#45283a;--bg:#1c1520;--surface:#2a2030;--line:#493343;--ink:#f7edf3;--muted:#c5b0bf}
html[data-accent=pink] .diary-page .button:not(.secondary){background:#ae376f;color:white}
html[data-accent=pink] .diary-page .stat:first-child,html[data-accent=pink] .diary-page .care-banner{background:var(--blue-soft)}
html[data-accent=pink] .diary-page .nav-item.active,html[data-accent=pink] .diary-page .pill.active{background:var(--blue-soft);color:var(--blue)}
html[data-accent=pink] :focus-visible{outline-color:var(--blue)}

.header-preferences{position:relative}.header-preferences>summary{list-style:none;cursor:pointer}.header-preferences>summary::-webkit-details-marker{display:none}
.palette-symbol{display:block;width:21px;height:21px;border-radius:50%;background:linear-gradient(135deg,#5883e8 0 50%,#ec9fc1 50%);border:2px solid var(--surface);box-shadow:0 0 0 1px var(--line)}
.preferences-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:60;width:260px;max-width:calc(100vw - 28px);padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 12px 40px #10203c30;color:var(--ink)}
.preferences-panel h2{font-size:18px;margin:0 0 16px}.preferences-panel label{font-size:12px;margin:0 0 14px}
.diary-page .app-header .preferences-panel select{display:block;width:100%;max-width:100%;min-width:0;padding:9px 10px;min-height:40px;border:1px solid var(--line);background:var(--bg);font-size:14px;font-weight:400;letter-spacing:normal;margin-top:5px}
.diary-page .app-header>div:first-child{flex:1;overflow:hidden}.diary-page .app-header #baby-select{min-width:0;width:100%}
.diary-page .app-header{overflow:visible}.header-preferences[open]>summary{outline:2px solid var(--blue);outline-offset:1px}

.diary-page .header-actions{position:relative;gap:6px}.header-preferences{position:static}
.diary-page .app-header .preferences-panel{right:0;top:calc(100% + 10px);width:240px}
.preferences-panel label:last-child{margin-bottom:0}.language-flag{border-radius:3px;overflow:hidden}
.diary-page .app-header>div:first-child{flex:0 1 auto;min-width:0;overflow:hidden}
.diary-page .app-header #baby-select{min-width:0;max-width:min(160px,100%);width:auto}
.diary-page .app-header{justify-content:space-between}
@media(max-width:640px){.diary-page .app-header{gap:8px;padding-inline:12px}.diary-page .header-actions{gap:4px}.diary-page .header-actions .icon-button{width:32px;height:36px;border-radius:9px}.diary-page .header-actions .icon-button svg{width:19px;height:19px}.diary-page .header-actions .language-flag{width:23px;height:16px}.diary-page .app-header .eyebrow{font-size:7px;letter-spacing:.5px}.diary-page .app-header #baby-select{font-size:17px}}

.diary-page .app-header #baby-select{appearance:none;-webkit-appearance:none;padding-right:24px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%23728098' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 6px center}

.l-header-actions .public-language{position:relative;flex-shrink:0}
.public-language>summary{width:38px;height:40px;border-radius:10px}
.public-language .language-flag{width:24px;height:16px}
.public-language .preferences-panel{width:180px;right:0;top:calc(100% + 10px);text-align:left}
.public-language select{font-size:14px;min-height:40px;padding:8px;width:100%}
@media(max-width:640px){.marketing-v2 .l-header-actions{gap:9px}.marketing-v2 .l-brand>span,.marketing-v2 .l-brand small{font-size:21px}.marketing-v2 .l-header{gap:10px}.public-language>summary{width:34px;height:38px}.public-language .preferences-panel{right:-55px}}
