/* Shared site navigation. Scoped separately from page and cabinet navigation. */
.kh-header{background:#fff;border-bottom:1px solid #e6eaf0;backdrop-filter:none}
.kh-header .kh-row{width:100%;max-width:1680px;margin:auto;padding:0 32px;height:84px;gap:32px}
.kh-header .header-brand{width:208px;max-width:208px;min-width:0;flex:0 0 208px}
.kh-header .header-brand .logo{display:flex;width:100%;min-width:0}
.kh-header .header-brand .logo>svg{width:100%!important;max-width:100%}
.kh-nav{display:flex;align-items:center;gap:26px;white-space:nowrap}
.kh-nav a{font-size:14px;font-weight:600;color:#26364e}
.kh-nav a:hover,.kh-nav a.is-active{color:#1760ee}
.kh-header .header-actions{gap:12px;flex:0 0 auto;white-space:nowrap}
.kh-ai{font-size:13px;color:#52627a;margin-right:6px}.kh-ai span{color:#1760ee;font-size:20px}
.kh-post,.kh-login{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:14px 17px;font-weight:650;font-size:14px;line-height:1.4;text-decoration:none}
.kh-post{background:#1e63ef;color:white}.kh-post:hover{background:#1556d6;color:white}
.kh-login{background:#f0f3f7;color:#17243b}.kh-login:hover{background:#e5eaf2}
.kh-profile{display:inline-flex;align-items:center;line-height:0;flex-shrink:0}
.kh-header .bell-group{background:none;padding:0;gap:0}
.kh-header .burger,.kh-menu .burger{display:inline-flex;width:44px;height:44px;border-radius:10px;flex-shrink:0}
.kh-quick{display:none}
.kh-menu{position:fixed;inset:0 0 0 auto;margin:0;border:0;width:440px;max-width:100%;height:100dvh;max-height:100dvh;padding:0;background:#fff;color:#17243b;box-shadow:-15px 0 60px #0d24451a;overflow-y:auto;overscroll-behavior:contain}
.kh-menu::backdrop{background:#0c1a3590}
.kh-menu-head{display:flex;justify-content:space-between;align-items:center;padding:22px 26px;border-bottom:1px solid #edf0f4;font-size:18px;position:sticky;top:0;background:#fff;z-index:1}
.kh-menu-body{padding:22px 26px max(32px,env(safe-area-inset-bottom))}
.kh-label{font-size:10px;letter-spacing:1.3px;text-transform:uppercase;color:#7a8798;margin:22px 0 8px}.kh-label:first-child{margin-top:0}
.kh-links>a{display:flex;align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #edf0f4}
.kh-links>a>span{width:36px;height:36px;background:#f3f5f8;border-radius:8px;display:grid;place-items:center;color:#60718b;flex-shrink:0;font-size:17px}
.kh-links>a>div{flex:1;min-width:0}.kh-links b{font-size:14px;font-weight:650;display:block}.kh-links small{font-size:11px;line-height:1.5;color:#718097;display:block;margin-top:4px}.kh-links i{font-style:normal;color:#a5afbd}.kh-links a:hover b{color:#1760ee}
.kh-secondary,.kh-account-links{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 18px;padding:14px 0}
.kh-secondary a,.kh-account-links a{font-size:12px;line-height:1.5;overflow-wrap:anywhere}.kh-secondary a:hover,.kh-account-links a:hover{color:#1760ee}
.kh-help{margin-top:22px;border-top:1px solid #e6eaf0;padding-top:18px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}.kh-help a{font-size:13px}.kh-help small{color:#748196;font-size:10px}
.kh-account{background:#f3f6fa;padding:18px;border-radius:10px;margin-bottom:20px}.kh-account-person{display:flex;align-items:center;gap:12px}.kh-account-person>span:nth-child(2){flex:1;min-width:0}.kh-account-person b{display:block;font-size:15px;overflow-wrap:anywhere}.kh-account-person small{display:block;color:#718097;font-size:11px;margin-top:4px}.kh-account-links{border-top:1px solid #e0e6ef;margin-top:15px;padding-bottom:0;gap:12px}
.kh-guest{margin-top:22px}.kh-guest>b{font-size:16px}.kh-guest p{font-size:12px;line-height:1.6;color:#718097;margin:12px 0}.kh-guest .kh-post{width:100%;font-size:13px;padding:12px}
.kh-logout{border-top:1px solid #e6eaf0;margin-top:20px;padding-top:16px}.kh-logout button{background:none;border:0;color:#718097;font:inherit;font-size:12px;cursor:pointer;padding:6px 0}
.kh-header a:focus-visible,.kh-header button:focus-visible,.kh-menu a:focus-visible,.kh-menu button:focus-visible{outline:3px solid #75a5ff;outline-offset:3px}
@media(max-width:1500px){.kh-ai{display:none}.kh-header .kh-row{gap:24px}.kh-nav{gap:22px}.kh-header .header-brand{width:190px;max-width:190px;flex-basis:190px}}
@media(max-width:1350px){.kh-nav{display:none}.kh-quick{display:flex;gap:32px;padding:0 28px;height:43px;align-items:center;font-size:13px;border-top:1px solid #f1f3f6}.kh-quick a:last-child{color:#1760ee}}
@media(max-width:700px){.kh-header .kh-row{height:70px;padding:0 16px;gap:12px}.kh-header .header-brand{width:166px;max-width:166px;flex:0 1 166px}.kh-header .header-actions{gap:8px}.kh-header .kh-post,.kh-header .bell-group{display:none}.kh-login{padding:11px 12px;font-size:12px}.kh-header .burger{width:38px;height:38px;border-radius:8px}.kh-profile .avatar{width:34px!important;height:34px!important}.kh-quick{padding:0 17px;justify-content:space-between;gap:12px;height:42px;font-size:12px}.kh-menu-head{padding:18px 20px}.kh-menu-body{padding:20px 20px max(24px,env(safe-area-inset-bottom))}}
@media(max-width:360px){.kh-header .kh-row{padding:0 12px}.kh-header .header-brand{width:145px;max-width:145px;flex-basis:145px}.kh-header .header-actions{gap:6px}.kh-menu-body{padding-left:16px;padding-right:16px}}
@media(prefers-reduced-motion:no-preference){.kh-menu[open]{animation:kh-enter .18s ease-out}@keyframes kh-enter{from{transform:translateX(25px);opacity:0}to{transform:none;opacity:1}}}

/* Clear section links and live catalogue count. */
.kh-nav a,.kh-quick a{display:inline-flex;align-items:center;gap:7px}
.kh-task-count{display:inline-flex;align-items:center;justify-content:center;min-width:25px;padding:2px 7px;border-radius:7px;background:#eaf1ff;color:#1554cf;font-size:11px;font-weight:700;line-height:18px;font-variant-numeric:tabular-nums;vertical-align:middle}
@media(max-width:700px){.kh-quick{display:grid;grid-template-columns:1fr 1fr;height:auto;gap:0;padding:5px 16px 9px}.kh-quick a{min-height:36px;font-size:12px;font-weight:600;white-space:nowrap}.kh-quick a:last-child{color:#26364e}}

.task-broadcast-link{display:inline-flex;margin:10px 18px;padding:7px 12px;background:#eaf1ff;color:#1b59c7!important;border-radius:7px;font-size:12px;font-weight:600}
