/* No-menu screens retain a sticky row; other screens put the switch in navigation. */
body.has-podskazka{--podskazka-bar-height:48px}
body.has-podskazka .topbar,body.has-podskazka .admin-header,body.has-podskazka .profile-topbar,body.has-podskazka .shop-topbar{top:var(--podskazka-bar-height)}
.poedu-hints-host{position:sticky;top:0;z-index:95;width:100%;min-width:0}
body.has-podskazka .farm-section-nav{top:calc(72px + var(--podskazka-bar-height))}
body.has-podskazka .cart{top:calc(94px + var(--podskazka-bar-height))}
.poedu-hints-host .podskazka-bar,.has-podskazka .podskazka-modal-bar{position:static;min-height:48px;padding:2px 20px;background:var(--surface,#fff);border-color:var(--line,#dbe3ec);z-index:auto}
body.has-podskazka .podskazka-bar .podskazka-toggle{min-height:44px;padding:4px 10px;gap:8px;font-size:13px}
body.has-podskazka .podskazka-track{width:42px;height:24px}
body.has-podskazka .podskazka-thumb{width:18px;height:18px;top:2px;left:2px}
body.has-podskazka .podskazka-toggle[aria-checked="true"] .podskazka-thumb{transform:translateX(18px)}
body.has-podskazka .podskazka-state{min-width:32px}
.auth-card>.poedu-hints-host{margin-bottom:16px}
.has-podskazka .podskazka-note .podskazka-line{font-size:12px}
.has-podskazka .podskazka-note .podskazka-line>span{font:inherit;color:inherit;letter-spacing:0;text-transform:none}
.has-podskazka .podskazka-modal-bar{position:sticky;top:0;z-index:95;margin-bottom:16px;border:1px solid var(--line,#dbe3ec);border-radius:12px}
@media(max-width:700px){.poedu-hints-host .podskazka-bar,.has-podskazka .podskazka-modal-bar{padding:2px 14px}}
/* Reserve room for existing close controls above the sticky modal row. */
.has-podskazka .farm-dialog .podskazka-modal-bar,.has-podskazka dialog:has(.dialog-close) .podskazka-modal-bar{padding-right:64px}
.has-podskazka .farm-dialog-close,.has-podskazka dialog .dialog-close{z-index:96}
/* Project integration only: the shared component still owns the advice cards. */
body.has-podskazka.poedu-hints-in-menu{--podskazka-bar-height:0px}
body.has-podskazka .poedu-hints-menu{position:sticky;top:0;z-index:95}
.poedu-hints-menu-host{position:static;top:auto;width:auto;flex:0 0 auto;margin-left:auto}
body.has-podskazka .poedu-hints-menu-host .podskazka-bar{position:static;min-height:0;padding:0;border:0;background:transparent;white-space:nowrap}
body.has-podskazka .poedu-hints-menu-host .podskazka-toggle{min-height:44px;padding:4px 0;border:0;background:transparent!important;box-shadow:none;color:var(--app-ink,var(--ink,#18243b));font-size:13px;gap:8px}
.poedu-hints-menu-host .podskazka-state{display:none}
body.has-podskazka .poedu-hints-menu>.profile-button,body.has-podskazka .poedu-hints-menu>.account-link,body.has-podskazka .poedu-hints-menu>.account,body.has-podskazka .poedu-hints-menu>.account-chip{margin-left:0}
@media(min-width:781px) and (max-width:1280px){body.has-podskazka .poedu-hints-menu{gap:14px;padding-inline:20px}body.has-podskazka .poedu-hints-menu nav{gap:14px}body.has-podskazka .poedu-hints-menu nav a{font-size:13px}}
@media(max-width:700px){
  body.has-podskazka .poedu-hints-menu{gap:8px;padding-inline:12px;height:auto;min-height:62px;flex-wrap:wrap;padding-block:6px}
  body.has-podskazka .poedu-hints-menu .brand-logo{max-width:110px}
  body.has-podskazka .poedu-hints-menu-host .podskazka-toggle{font-size:12px;gap:6px}
  body.has-podskazka .poedu-hints-menu .account{gap:8px}
  body.has-podskazka .poedu-hints-menu .flow-header-link,body.has-podskazka .poedu-hints-menu .farm-header-title,body.has-podskazka .poedu-hints-menu .farm-header-link{display:none}
}
@media(max-width:380px){
  body.has-podskazka .poedu-hints-menu{gap:6px}
  body.has-podskazka .poedu-hints-menu .brand-logo{max-width:80px}
  body.has-podskazka .poedu-hints-menu-host .podskazka-toggle{font-size:11px;gap:4px}
  body.has-podskazka .poedu-hints-menu .profile-button{width:44px;min-width:44px;padding:8px}
  body.has-podskazka .poedu-hints-menu .profile-button b,body.has-podskazka .poedu-hints-menu>.account-link b{display:none}
  body.has-podskazka .poedu-hints-menu .profile-button span{display:grid;width:26px;height:26px}
  body.has-podskazka .poedu-hints-menu .theme-toggle{width:36px;height:36px;flex-basis:36px;padding:8px}
}
