@font-face{font-family:PlangigaUI;src:url('manrope-cyrillic.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0400-052F}
@font-face{font-family:PlangigaUI;src:url('manrope-latin.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F}
html.pg-unified{scrollbar-gutter:stable!important;--pg-header-height:70px;--pg-line:#e4e1d8;--pg-ink:#14140f;--pg-muted:#706f65}
/* Also override ID-scoped service canvases; settings keep their transparent overlay. */
html.pg-unified:not(.pg-answers):not([data-plangiga-settings-header]):has(#pg-header-host),html.pg-unified:not(.pg-answers):not([data-plangiga-settings-header]):has(#pg-header-host) body{background:#fff!important}
/* Answers retain their chosen grey side fields, with no padding above the sheet. */
html.pg-answers body{padding-top:0!important}
html.pg-unified body{margin-top:0!important}
/* Fixed host keeps the shared row outside the dimensions of each service sheet.
   The row itself stays sticky for the existing trusted desktop preload. */
html.pg-unified #pg-header-host{all:initial!important;display:block!important;position:fixed!important;inset:0 0 auto 0!important;height:var(--pg-header-height)!important;width:100%!important;z-index:2147483000!important}
html.pg-unified #pg-header-space{display:block!important;position:static!important;flex:none!important;box-sizing:border-box!important;height:var(--pg-header-height)!important;min-height:var(--pg-header-height)!important;width:100%!important;margin:0!important;padding:0!important;border:0!important;visibility:hidden!important}
html.pg-unified #pg-header{box-sizing:border-box!important;display:flex!important;position:sticky!important;top:0!important;align-items:center!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:16px!important;width:100%!important;max-width:none!important;height:var(--pg-header-height)!important;min-height:var(--pg-header-height)!important;padding:0 18px!important;margin:0!important;border:0!important;border-bottom:1px solid #e5e2d9!important;border-radius:0!important;background:#fff!important;color:#14140f!important;font:600 13px/1.5 PlangigaUI,Manrope,system-ui,sans-serif!important;text-align:left!important;letter-spacing:0!important}
:is(#pg-header,#pg-profile,#pg-notifications,#pg-sections,.pg-frame-toolbar) *{box-sizing:border-box!important}
html.pg-unified #pg-header>a.plangiga-home{display:inline-flex!important;align-items:center!important;gap:10px!important;flex:none!important;width:auto!important;height:44px!important;margin:0!important;padding:0!important;background:transparent!important;color:#14140f!important;border:0!important;border-radius:0!important;text-decoration:none!important;box-shadow:none!important;font:800 14px/1.2 PlangigaUI,system-ui,sans-serif!important;letter-spacing:1.8px!important}
#pg-header .plangiga-home-mark{display:grid!important;place-items:center!important;flex:none!important;width:34px!important;height:34px!important;margin:0!important;padding:0!important;background:#ebc017!important;color:#14140f!important;border:0!important;border-radius:10px!important;font:800 24px/1 PlangigaUI,system-ui,sans-serif!important}
#pg-header .plangiga-home-word{display:inline!important;color:#14140f!important;font:800 14px/1.2 PlangigaUI,system-ui,sans-serif!important;letter-spacing:1.8px!important}
html.pg-unified #pg-header>.plangiga-service-label{display:block!important;flex:0 1 auto!important;min-width:0!important;max-width:240px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;background:none!important;color:#14140f!important;text-decoration:none!important;font:750 14px/1.4 PlangigaUI,system-ui,sans-serif!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:ellipsis!important}
#pg-header .pg-tools{display:flex!important;align-items:center!important;gap:12px!important;flex:none!important;margin:0 0 0 auto!important;padding:0!important}
#pg-header .pg-actions,.pg-frame-toolbar{display:flex!important;align-items:center!important;gap:12px!important;flex:none!important;margin:0!important;padding:0!important}
:is(#pg-header,#pg-profile,#pg-notifications,#pg-sections,.pg-frame-toolbar) :is(.pg-icon,.pg-account,.pg-settings-slot){all:unset!important;box-sizing:border-box!important;display:inline-flex!important;position:relative!important;align-items:center!important;justify-content:center!important;flex:none!important;width:40px!important;height:40px!important;margin:0!important;padding:0!important;border:1px solid transparent!important;border-radius:50%!important;background:transparent!important;color:#14140f!important;cursor:pointer!important;text-decoration:none!important;box-shadow:none!important;font:600 13px/1.5 PlangigaUI,system-ui,sans-serif!important;letter-spacing:0!important;-webkit-app-region:no-drag!important}
:is(#pg-header,#pg-profile,#pg-notifications,#pg-sections,.pg-frame-toolbar) :is(.pg-icon,.pg-account):is(:hover,[aria-expanded=true]){background:#f3f3f1!important;color:#14140f!important}
:is(#pg-header,#pg-profile,#pg-notifications,#pg-sections,.pg-frame-toolbar) :is(.pg-icon,.pg-account):focus-visible{outline:2px solid #77766c!important;outline-offset:2px!important}
:is(#pg-header,#pg-profile,#pg-notifications,#pg-sections,.pg-frame-toolbar) svg{display:block!important;flex:none!important;width:22px!important;height:22px!important;margin:0!important;padding:0!important;fill:none!important;stroke:currentColor!important;stroke-width:1.6!important;stroke-linecap:round!important;stroke-linejoin:round!important}
:is(#pg-header,.pg-frame-toolbar) :is(.pg-settings,.pg-native-settings) svg{width:34px!important;height:34px!important;color:#14140f!important}
:is(#pg-header,#pg-profile,.pg-frame-toolbar) .pg-avatar{display:flex!important;position:relative!important;align-items:center!important;justify-content:center!important;flex:none!important;width:34px!important;height:34px!important;padding:0!important;margin:0!important;border:1px solid #e4e1d8!important;border-radius:50%!important;overflow:hidden!important;background:#f5f5f3!important;color:#45453f!important;font:750 12px/1 PlangigaUI,system-ui,sans-serif!important;letter-spacing:0!important}
:is(#pg-header,#pg-profile,.pg-frame-toolbar) .pg-avatar img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;border:0!important;border-radius:inherit!important;margin:0!important;padding:0!important}
:is(#pg-header,.pg-frame-toolbar) .pg-count{position:absolute!important;right:-3px!important;top:-3px!important;min-width:18px!important;height:18px!important;display:grid!important;place-items:center!important;padding:0 4px!important;margin:0!important;border:2px solid #fff!important;border-radius:10px!important;background:#ebc017!important;color:#14140f!important;font:800 9px/1 PlangigaUI,system-ui,sans-serif!important;letter-spacing:0!important}
:is(#pg-profile,#pg-notifications,#pg-sections){box-sizing:border-box!important;position:fixed!important;right:16px!important;top:calc(var(--pg-header-height,70px) + 8px)!important;z-index:2147483005!important;display:block!important;width:360px!important;max-width:calc(100vw - 24px)!important;height:auto!important;max-height:calc(100dvh - var(--pg-header-height,70px) - 20px)!important;margin:0!important;padding:8px!important;background:#fff!important;color:#14140f!important;border:1px solid #e4e1d8!important;border-radius:14px!important;box-shadow:0 12px 40px #14140f20!important;overflow:auto!important;font:500 13px/1.6 PlangigaUI,system-ui,sans-serif!important;text-align:left!important;letter-spacing:0!important}
:is(#pg-profile,#pg-notifications,#pg-sections) *{font-family:PlangigaUI,system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
#pg-profile .pg-account-info{display:flex!important;align-items:center!important;gap:12px!important;margin:0!important;padding:14px 12px!important;border-bottom:1px solid #e4e1d8!important}
#pg-profile .pg-account-info>.pg-avatar{width:44px!important;height:44px!important;font-size:15px!important}
#pg-profile .pg-account-info>div{min-width:0!important}#pg-profile .pg-account-info strong{display:block!important;font-size:14px!important;overflow-wrap:anywhere!important}#pg-profile .pg-account-info span:not(.pg-avatar){display:block!important;font-size:11px!important;color:#706f65!important;overflow-wrap:anywhere!important}
:is(#pg-profile,#pg-sections) :is(nav,.pg-service-actions){display:flex!important;flex-direction:column!important;gap:2px!important;padding:6px 0!important;margin:0!important;border:0!important;width:auto!important;float:none!important}
#pg-sections .pg-service-actions{border-top:1px solid #e4e1d8!important}
:is(#pg-profile,#pg-sections) :is(nav>a,.pg-sign-in,.pg-service-actions>a,.pg-service-actions>button,.pg-service-actions>label){display:block!important;width:100%!important;margin:0!important;padding:11px 12px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#14140f!important;text-align:left!important;text-decoration:none!important;box-shadow:none!important;font:600 12px/1.6 PlangigaUI,system-ui,sans-serif!important;white-space:normal!important;cursor:pointer!important}
:is(#pg-profile,#pg-sections) :is(a,button):hover{background:#f7f6f2!important}
#pg-sections select{display:block!important;width:100%!important;margin-top:6px!important;padding:8px!important;background:#fff!important;color:#14140f!important;border:1px solid #e4e1d8!important;border-radius:8px!important;font:500 12px/1.5 PlangigaUI,system-ui,sans-serif!important}
#pg-notifications .pg-popover-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:6px 10px 12px!important;border-bottom:1px solid #e4e1d8!important}#pg-notifications .pg-popover-title strong{font-size:16px!important}
#pg-notifications .pg-notice-tools{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:10px!important;font-size:11px!important}#pg-notifications .pg-notice-tools>a{color:#725c0a!important;text-decoration:underline!important}
#pg-notifications .pg-notice-list{display:flex!important;flex-direction:column!important}
#pg-notifications .pg-notice{display:flex!important;flex-direction:column!important;gap:3px!important;padding:12px!important;border-radius:9px!important;color:#14140f!important;text-decoration:none!important;border:0!important;border-bottom:1px solid #f0eee8!important;font:500 12px/1.6 PlangigaUI,system-ui,sans-serif!important}#pg-notifications .pg-notice:hover{background:#f7f6f2!important}#pg-notifications .pg-notice.is-unread{background:#fff9e4!important}#pg-notifications .pg-notice strong{font-size:12px!important}#pg-notifications .pg-notice span{color:#706f65!important;font-size:11px!important;overflow-wrap:anywhere!important}#pg-notifications .pg-notice small{color:#817f73!important;font-size:10px!important}
:is(#pg-profile,#pg-notifications) .pg-empty{padding:16px 12px!important;margin:0!important;color:#706f65!important;font:500 12px/1.7 PlangigaUI,system-ui,sans-serif!important}
#pg-notifications .pg-read-all{all:unset!important;display:inline-block!important;padding:4px 6px!important;color:#725c0a!important;font:600 11px/1.5 PlangigaUI,system-ui,sans-serif!important;cursor:pointer!important}#pg-notifications .pg-read-all:hover{text-decoration:underline!important}#pg-notifications .pg-read-all:disabled{opacity:.5!important;cursor:wait!important}
html.pg-unified :is(.pg-native-header,.pg-duplicate-strip){display:none!important}
/* Connect reconciles header attributes during refresh and removes added classes.
   Match the stable service structure so the old row never returns on redraw. */
html.pg-unified[data-pg-service=connect] #app > .shell > header.topbar{display:none!important}
/* Contain first-child margins after the old header is hidden on every page. */
html.pg-unified .sheet{display:flow-root!important;margin-top:0!important}
html.pg-unified[data-pg-service=connect] .shell{height:calc(100dvh - var(--pg-header-height))!important;min-height:0!important;grid-template-rows:minmax(0,1fr)!important}
html.pg-unified[data-pg-service=connect] :is(.sidebar,.workspace){grid-row:1!important}
html.pg-unified[data-pg-service=connect] .modal-scrim{top:var(--pg-header-height)!important;height:calc(100dvh - var(--pg-header-height))!important}
html.pg-unified[data-pg-service=connect] .modal{max-height:calc(100dvh - var(--pg-header-height) - 24px)!important}
html.pg-unified[data-pg-service=doska] #app,html.pg-unified[data-pg-service=oblachny-chat-gpt] #app{height:calc(100dvh - var(--pg-header-height))!important;min-height:0!important}
html.pg-unified[data-pg-service=oblachny-chat-gpt] #sidebar>.brand,html.pg-unified[data-pg-service=oblachny-chat-gpt] .sidebar-bottom{display:none!important}
:is(#pg-header,#pg-profile,#pg-notifications,#pg-sections,.pg-frame-toolbar) [hidden],:is(#pg-profile,#pg-notifications,#pg-sections)[hidden]{display:none!important}
#pg-header.plangiga-desktop-titlebar>.plangiga-desktop-controls{margin-left:0!important}
#pg-header .pg-native-settings{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#14140f!important;box-shadow:none!important}
#pg-header .pg-native-settings:hover{background:#f3f3f1!important}
#pg-header .pg-remote-account{position:relative!important;display:block!important;width:144px!important;height:var(--pg-header-height)!important;align-self:center!important}
#pg-header .pg-remote-account iframe{position:absolute!important;right:0!important;top:0!important;width:144px;height:70px;border:0!important;background:transparent!important;z-index:2!important;overflow:hidden!important}
#pg-header .pg-remote-account>.pg-native-settings{position:absolute!important;right:55px!important;top:18px!important;z-index:3!important}
body.pg-account-frame{margin:0!important;padding:0!important;background:transparent!important;color:#14140f!important;font-family:PlangigaUI,system-ui,sans-serif!important}
.pg-frame-toolbar{box-sizing:border-box!important;justify-content:flex-end!important;height:70px!important;background:#fff!important}
body.pg-account-frame :is(#pg-profile,#pg-notifications){position:relative!important;top:auto!important;right:auto!important;margin:8px 0 0 auto!important;max-height:560px!important;max-width:calc(100vw - 16px)!important}
@media(max-width:760px){html.pg-unified{--pg-header-height:60px}html.pg-unified #pg-header{gap:8px!important;padding:0 12px!important}#pg-header .plangiga-home-word{font-size:11px!important;letter-spacing:.8px!important}#pg-header .plangiga-home-mark{width:30px!important;height:30px!important;font-size:22px!important}html.pg-unified #pg-header>a.plangiga-home{gap:7px!important}html.pg-unified #pg-header>.plangiga-service-label{font-size:12px!important;max-width:110px!important;flex-shrink:1!important}#pg-header :is(.pg-tools,.pg-actions){gap:4px!important}#pg-header :is(.pg-icon,.pg-account,.pg-settings-slot){width:34px!important;height:36px!important}#pg-header .pg-avatar{width:30px!important;height:30px!important}#pg-header :is(.pg-settings,.pg-native-settings) svg{width:30px!important;height:30px!important}#pg-header .pg-remote-account{width:110px!important}#pg-header .pg-remote-account iframe{width:110px;height:60px}:is(#pg-profile,#pg-notifications,#pg-sections){right:8px!important;max-width:calc(100vw - 16px)!important}}
@media(max-width:420px){html.pg-unified #pg-header{gap:5px!important;padding:0 8px!important}html.pg-unified #pg-header>.plangiga-service-label{max-width:78px!important}#pg-header :is(.pg-icon,.pg-account,.pg-settings-slot){width:32px!important;height:36px!important}#pg-header :is(.pg-tools,.pg-actions){gap:2px!important}#pg-header .pg-remote-account{width:100px!important}#pg-header .pg-remote-account iframe{width:100px}}
body.pg-account-frame.pg-compact .pg-frame-toolbar{height:60px!important;gap:4px!important}body.pg-account-frame.pg-compact .pg-frame-toolbar :is(.pg-icon,.pg-account,.pg-settings-slot){width:34px!important;height:36px!important}body.pg-account-frame.pg-compact .pg-avatar{width:30px!important;height:30px!important}body.pg-account-frame.pg-compact .pg-settings svg{width:30px!important;height:30px!important}
/* Match the screen selectors: their !important display previously kept both the
   fixed toolbar and its 70px spacer on FBS labels, shifting and clipping print. */
@media print{html.pg-unified #pg-header-host,html.pg-unified #pg-header-space,html.pg-unified :is(#pg-profile,#pg-notifications,#pg-sections),html.pg-unified #pg-header .pg-remote-account{display:none!important}html.pg-unified[data-pg-service=connect] .shell{height:auto!important}}

body.pg-account-frame.pg-small .pg-frame-toolbar{gap:2px!important}body.pg-account-frame.pg-small .pg-frame-toolbar :is(.pg-icon,.pg-account,.pg-settings-slot){width:32px!important}
/* An expanded account frame must not cover the logo or the adjacent menu button. */
#pg-header .pg-remote-account{--pg-account-strip-width:144px}
#pg-header .pg-remote-account iframe.is-open{clip-path:polygon(calc(100% - var(--pg-account-strip-width)) 0,100% 0,100% 100%,0 100%,0 var(--pg-header-height),calc(100% - var(--pg-account-strip-width)) var(--pg-header-height))!important}
@media(max-width:760px){#pg-header .pg-remote-account{--pg-account-strip-width:110px}}
@media(max-width:420px){#pg-header .pg-remote-account{--pg-account-strip-width:100px}}

#pg-header .pg-remote-account>.pg-native-settings-slot{display:flex!important;position:absolute!important;align-items:center!important;justify-content:center!important;right:52px!important;top:15px!important;width:40px!important;height:40px!important;margin:0!important;padding:0!important;z-index:3!important;-webkit-app-region:no-drag!important}

/* Equal-size outline icons in every shared header, including application settings. */
:is(#pg-header,.pg-frame-toolbar) :is(.pg-sections,.pg-notifications,.pg-settings,.pg-native-settings) svg{width:34px!important;height:34px!important;color:#14140f!important}
html.pg-homepage body{background:#fff!important}
html.pg-homepage .sheet{display:flow-root!important;margin-top:0!important}
html.pg-homepage .intro{margin-top:24px!important}
html.pg-homepage .classic-eyebrow,html.pg-homepage .classic-toolbar>strong{display:none!important}
html.pg-homepage .classic-toolbar{justify-content:flex-end!important}
@media(max-width:760px){:is(#pg-header,body.pg-account-frame.pg-compact .pg-frame-toolbar) :is(.pg-sections,.pg-notifications,.pg-settings,.pg-native-settings) svg{width:30px!important;height:30px!important}}

html[data-plangiga-settings-header],html[data-plangiga-settings-header] body{background:transparent!important;overflow:hidden!important}

/* One settings menu under the avatar; no separate gear on any client version. */
#pg-header :is(.pg-settings-slot,.pg-native-settings-slot,.pg-settings,.pg-native-settings),.pg-frame-toolbar .pg-settings-slot{display:none!important}
#pg-header .pg-remote-account{width:92px!important;--pg-account-strip-width:92px}
#pg-header .pg-remote-account iframe{width:92px}
@media(max-width:760px){#pg-header .pg-remote-account{width:72px!important;--pg-account-strip-width:72px}#pg-header .pg-remote-account iframe{width:72px}}
@media(max-width:420px){#pg-header .pg-remote-account{width:66px!important;--pg-account-strip-width:66px}#pg-header .pg-remote-account iframe{width:66px}}

html[data-plangiga-settings-header].pg-unified body #plangiga-connect-launcher{display:none!important}
