.nav23 { --sh-bottom-space: calc(var(--tabbar-h) + var(--safe-bottom) + 16px); }
.nav23 .sh-top__title { opacity: 1; position: static; min-width: 0; font-family: var(--font-ui); font-size: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav23 .sh-top__lead, .nav23 .sh-top:not(.is-collapsed) .sh-top__lead { display: flex; min-width: 0; flex: 1; gap: 4px; }
.nav23 .sh-top__actions { gap: 4px; flex-shrink: 0; }
.nav23 .sh-childpill { display: inline-flex; min-height: 44px; max-width: 142px; margin: 0; padding: 4px; gap: 5px; border: 0; background: transparent; }
.nav23 .sh-childpill > span:not(.ui-avatar) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav23 .sh-persona-pill, .nav23 .sh-top__me, .nav23 .sh-top__add { display: none; }
.nav23-menu { color: var(--ink); }
.nav23-child { display: flex; align-items: center; gap: 12px; min-height: 68px; width: 100%; padding: 10px 12px; background: var(--primary-soft); color: var(--ink); border: 0; border-radius: var(--r-lg); text-align: left; font: inherit; }
.nav23-child > span:not(.ui-avatar) { flex: 1; min-width: 0; }
.nav23-child small, .nav23-child b { display: block; }
.nav23-child small { font-size: 12px; color: var(--muted); }
.nav23-child b { font-size: 18px; font-weight: 600; }
.nav23-kid { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 64px; margin-top: 6px; padding: 10px; border: 0; border-radius: var(--r-md); background: transparent; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.nav23-kid:hover { background: var(--surface-2); }
.nav23-kid > .ui-i { color: var(--primary); flex-shrink: 0; }
.nav23-kid__text { flex: 1; min-width: 0; }
.nav23-kid__text b, .nav23-kid__text small { display: block; }
.nav23-kid__text b { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.nav23-kid__text small { margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.nav23-kid__track { position: relative; flex-shrink: 0; width: 52px; height: 32px; border: 2px solid var(--control-border); border-radius: var(--r-pill); background: var(--surface-3); }
.nav23-kid__track::before { content: ""; position: absolute; top: 50%; left: 4px; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--control-border); }
.nav23-childlinks { padding: 8px 0; }
.nav23-link { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 10px; color: var(--ink); text-decoration: none; border-radius: var(--r-md); font-size: 15px; }
.nav23-link > span:not(.ui-avatar):not(.ui-count) { flex: 1; min-width: 0; }
.nav23-link > .ui-i:first-child { color: var(--primary); }
.nav23-link > .ui-i:last-child { color: var(--muted); }
.nav23-link > .ui-avatar, .nav23-link > .ui-count, .nav23-link > .ui-i { flex-shrink: 0; }
.nav23-link:hover, .nav23-link[aria-current="page"] { background: var(--primary-soft); }
/* Rotița (27.10): titlurile secțiunilor (copilul, Setări), rândurile cu sub-text și rândul unic „Contul meu” după separator */
.nav23-sec { margin: 8px 10px 4px; font-size: 12px; font-weight: 600; line-height: 1.3; letter-spacing: .02em; color: var(--muted); overflow-wrap: anywhere; }
.nav23-settings { padding: 0 0 8px; }
.nav23-link--sub { min-height: 56px; }
.nav23-link__title { display: block; overflow-wrap: anywhere; }
.nav23-link__text small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--muted); overflow-wrap: anywhere; }
.nav23-user { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
/* contul fără copil păstrează partea personală de azi: identitatea, apoi Contul meu | Setări */
section.nav23-user { padding-top: 16px; }
.nav23-user__identity { display: flex; align-items: center; gap: 10px; padding: 0 10px 8px; }
.nav23-user__identity strong { font-weight: 600; }
.nav23-user__links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.nav23-user__links .nav23-link { font-size: 14px; }
.nav23-user__links .nav23-link > .ui-i:last-child { display: none; }
/* bara laterală (≥1100 px) are doar ~180 px pentru rând: fără săgeată pe rândurile cu sub-text, ca titlul să nu se rupă */
.nav23-side .nav23-link--sub { gap: 10px; }
.nav23-side .nav23-link--sub > .ui-i:last-child { display: none; }
.nav23-side { overflow-y: auto; }
.nav23-brand { display: block; font-family: var(--font-display); font-size: 25px; color: var(--ink); padding: 18px 20px; text-decoration: none; }
.nav23-side .nav23-menu { padding: 0 12px 20px; }
.nav23-main { padding-bottom: 14px; }
.nav23-fullscreen .sh-side, .nav23-fullscreen .sh-top, .nav23-fullscreen .sh-tabbar, .nav23-fullscreen .sh-footnote { display: none !important; }
.nav23-fullscreen.sh { grid-template-columns: minmax(0, 1fr); }
.nav23-fullscreen .sh-body { margin-left: 0; padding: 0; min-height: 100dvh; }
.nav23-fullscreen .sh-main { margin: 0; padding: 0; }
.nav23-fullscreen .sh-view { padding: 0; max-width: none; }
.nav23-fullscreen #sh-band:empty { display: none; }
.nav23-fullscreen { --sh-top-h: 0px; --sh-bottom-space: 0px; }
.nav23-task-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.nav23-task { display: flex; gap: 10px; align-items: flex-start; padding: 12px; background: var(--surface); border-radius: var(--r-lg); }
.nav23-task > div { flex: 1; min-width: 0; }
.nav23-task a { color: var(--ink); text-decoration: none; display: block; }
.nav23-task button { flex-shrink: 0; }
.nav23-task small { display: block; margin-top: 4px; color: var(--muted); }
@media (max-width: 380px) { .nav23 .sh-childpill { max-width: 116px; font-size: 13px; } .nav23 .sh-top__title { font-size: 18px; } .nav23-user__links { grid-template-columns: 1fr; } }
@media (min-width: 768px) and (max-width: 1099px) { .nav23-side .nav23-childlinks, .nav23-side .nav23-settings, .nav23-side .nav23-kid, .nav23-side .nav23-user, .nav23-side .nav23-brand, .nav23-side .nav23-child { display: none; } .nav23-side .nav23-link > span, .nav23-side .nav23-link > .ui-i:last-child { display: none; } .nav23-side .nav23-link { justify-content: center; } }

@media (forced-colors: active) { .nav23-kid__track { border-color: CanvasText; } .nav23-kid__track::before { background: CanvasText; forced-color-adjust: none; } }
