@font-face {
  font-family: Montserrat;
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("fonts/montserrat-normal-100-900-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: Montserrat;
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("fonts/montserrat-normal-100-900-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  color-scheme: light;
  --lk-paper: #f7f8fb;
  --lk-surface: #fff;
  --lk-soft: #f5edf3;
  --lk-line: #e7e8ef;
  --lk-line-strong: #ccd0dd;
  --lk-ink: #232738;
  --lk-muted: #737b91;
  --lk-accent: #903e6e;
  --lk-accent-strong: #703255;
  --lk-radius: 12px;
  --lk-font: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --lk-sidebar: 272px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--lk-paper); color: var(--lk-ink); font: 14px/1.6 var(--lk-font); }
a { color: var(--lk-accent-strong); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--lk-accent); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.3; }
h1 { font-size: clamp(22px, 2.2vw, 29px); font-weight: 650; letter-spacing: -.04em; }
h2 { font-size: 16px; font-weight: 650; letter-spacing: -.025em; }
h3 { font-size: 15px; font-weight: 650; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
.lk-icon { display: inline-block; flex: 0 0 19px; width: 19px; height: 19px; font-size: 19px; }
.screen-reader-text, .lk-skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; white-space: nowrap; clip-path: inset(50%);
}
.lk-skip:focus { position: fixed; z-index: 60; top: 12px; left: 12px; padding: 10px 14px; background: var(--lk-surface); }
.lk-layout { display: grid; grid-template-columns: var(--lk-sidebar) minmax(0, 1fr); min-height: 100vh; }
.lk-sidebar {
  position: sticky; top: 0; align-self: start; min-width: 0;
  height: 100vh; height: 100dvh; display: flex; flex-direction: column;
  background: var(--lk-surface); border-right: 1px solid var(--lk-line);
  padding: 0 16px 16px;
}
.lk-sidebar-head { display: flex; align-items: center; gap: 5px; min-height: 76px; }
.lk-brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: inherit; text-decoration: none; font-weight: 700; line-height: 1.3; }
.lk-brand-text { font-size: 14px; }
.lk-brand small { display: block; margin-top: 4px; font-size: 10px; font-weight: 500; color: var(--lk-muted); }
.lk-mark { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 10px; background: var(--lk-accent); color: white; font-size: 12px; font-weight: 650; letter-spacing: -.03em; }
.lk-icon-button {
  display: inline-flex; flex: 0 0 32px; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 0; background: transparent;
  color: var(--lk-muted); border-radius: 8px; text-decoration: none;
}
.lk-icon-button:hover { color: var(--lk-accent); background: var(--lk-soft); }
.lk-sidebar-fold { margin-left: auto; }
.lk-nav-search { display: flex; align-items: center; gap: 8px; margin: 9px 0 20px; padding: 8px 11px; border: 1px solid var(--lk-line); border-radius: 8px; color: var(--lk-muted); }
.lk-nav-search input { width: 100%; min-width: 0; border: 0; background: transparent; outline: none; font-size: 12px; }
.lk-nav-search:focus-within { border-color: var(--lk-accent); box-shadow: 0 0 0 3px var(--lk-soft); }
.lk-navigation { display: grid; gap: 5px; overflow-y: auto; padding: 3px 1px 18px; }
.lk-nav-label { margin: 21px 12px 4px; color: var(--lk-muted); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 650; }
.lk-nav-link { font-size: 13px; position: relative; display: flex; align-items: center; gap: 11px; min-height: 42px; padding: 9px 12px; border-radius: 8px; text-decoration: none; color: #536078; font-weight: 500; }
.lk-nav-link .lk-icon { color: #8a8fa2; }
.lk-nav-text { min-width: 0; overflow-wrap: anywhere; }
.lk-nav-link:hover { color: var(--lk-accent); background: #faf6f9; }
.lk-nav-link[aria-current="page"] { color: var(--lk-accent); background: var(--lk-soft); font-weight: 650; }
.lk-nav-link[aria-current="page"]::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--lk-accent); }
.lk-nav-link[aria-current="page"] .lk-icon { color: var(--lk-accent); }
.lk-nav-empty { padding: 12px; color: var(--lk-muted); }
.lk-sidebar-footer { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 12px 8px 0; border-top: 1px solid var(--lk-line); }
.lk-sidebar-identity { flex: 1; min-width: 0; }
.lk-sidebar-identity strong, .lk-sidebar-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-sidebar-identity strong { font-size: 12px; font-weight: 600; }
.lk-sidebar-identity small { font-size: 10px; color: var(--lk-muted); }
.lk-main-column { min-width: 0; }
.lk-topbar { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 12px 32px; background: var(--lk-surface); border-bottom: 1px solid var(--lk-line); }
.lk-breadcrumbs { display: flex; align-items: center; gap: 12px; min-width: 0; color: var(--lk-muted); font-size: 12px; }
.lk-breadcrumbs a { color: var(--lk-muted); text-decoration: none; white-space: nowrap; }
.lk-breadcrumbs [aria-current] { color: var(--lk-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lk-account-menu { position: relative; flex-shrink: 0; margin-left: auto; }
.lk-account-menu summary { display: flex; align-items: center; gap: 9px; min-height: 40px; max-width: 270px; cursor: pointer; list-style: none; }
.lk-account-menu summary::-webkit-details-marker { display: none; }
.lk-account-name { min-width: 0; max-width: 175px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 600; font-size: 12px; }
.lk-account-name small { display: block; font-size: 10px; color: var(--lk-muted); font-weight: 400; }
.lk-account-menu summary > .lk-icon { width: 12px; height: 12px; font-size: 12px; margin-left: 6px; color: var(--lk-muted); }
.lk-avatar { display: grid; flex: 0 0 34px; place-items: center; height: 34px; border: 2px solid #fff; outline: 1px solid var(--lk-line); border-radius: 50%; background: var(--lk-soft); color: var(--lk-accent); font-size: 12px; font-weight: 650; }
.lk-account-links { position: absolute; z-index: 35; inset: calc(100% + 15px) 0 auto auto; display: grid; min-width: 190px; padding: 6px; border: 1px solid var(--lk-line); border-radius: 10px; background: var(--lk-surface); box-shadow: 0 10px 35px #252a4014; }
.lk-account-links a { display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 6px; text-decoration: none; color: var(--lk-ink); font-size: 12px; }
.lk-account-links a:hover { background: var(--lk-soft); }
.lk-content { max-width: 1600px; margin-inline: auto; padding: 28px 32px 48px; }
.lk-page-heading { display: flex; align-items: center; gap: 17px; padding: 24px; margin-bottom: 26px; border: 1px solid #e8dfeb; border-radius: 14px; background: linear-gradient(110deg, #f3e9f1, #f1f3fc); }
.lk-page-heading p { max-width: 760px; margin: 6px 0 0; color: #767086; font-size: 12px; }
.lk-page-symbol { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--lk-accent); box-shadow: 0 4px 12px #7032550d; }
.lk-page-symbol .lk-icon { width: 23px; height: 23px; font-size: 23px; }
.lk-menu-toggle, .lk-menu-backdrop { display: none !important; }
.lk-menu-icon { display: inline-block; width: 14px; height: 10px; border-block: 1px solid; position: relative; }
.lk-menu-icon::after { content: ""; position: absolute; inset: 3px 0 auto; border-top: 1px solid; }
.lk-card, .lk-module-card { min-width: 0; border: 1px solid var(--lk-line); border-radius: var(--lk-radius); background: var(--lk-surface); padding: 25px; box-shadow: 0 3px 5px #242b3d03, 0 8px 22px #242b3d04; }
.lk-card--narrow { max-width: 660px; }
.lk-card h2, .lk-welcome > h2 { margin-bottom: 19px; }
.lk-card > h2 { padding-bottom: 17px; border-bottom: 1px solid var(--lk-line); }
.lk-panels, .lk-module-grid { display: grid; gap: 22px; align-items: start; }
.lk-panels { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.lk-module-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); max-width: 1100px; }
.lk-module-card { display: grid; gap: 13px; color: var(--lk-ink); text-decoration: none; min-height: 245px; transition: border-color .15s, box-shadow .15s; }
.lk-module-card:hover { border-color: #b985a5; box-shadow: 0 8px 25px #70325510; }
.lk-module-icon { display: grid; place-items: center; width: 42px; height: 42px; background: var(--lk-soft); border-radius: 10px; color: var(--lk-accent); }
.lk-module-card p, .lk-card p { color: var(--lk-muted); overflow-wrap: anywhere; }
.lk-module-action { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; margin-top: 4px; border-top: 1px solid var(--lk-line); color: var(--lk-accent); font-weight: 600; font-size: 12px; }
.lk-form, #loginform { display: grid; gap: 21px; }
.lk-field, #loginform .login-username, #loginform .login-password { display: grid; gap: 7px; margin: 0; min-width: 0; }
.lk-field > span, #loginform label { font-size: 12px; font-weight: 600; color: #44495c; }
.lk-field p { margin: 0; }
.lk-field input, .lk-field select, #loginform input:not([type="checkbox"]):not([type="submit"]) {
  width: 100%; min-width: 0; min-height: 41px; padding: 9px 11px;
  background: var(--lk-surface); border: 1px solid var(--lk-line-strong); border-radius: 7px;
  font-size: 13px; transition: border-color .15s, box-shadow .15s;
}
input::placeholder { color: #969caf; }
.lk-field input:focus, .lk-field select:focus, #loginform input:focus { border-color: var(--lk-accent); outline: none; box-shadow: 0 0 0 3px var(--lk-soft); }
.lk-field input:hover, .lk-field select:hover { border-color: #a7adbe; }
.lk-form-actions, .lk-tabs, .lk-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; }
.lk-form-actions { margin-top: 3px; padding-top: 19px; border-top: 1px solid var(--lk-line); }
.lk-form-actions a { font-size: 12px; font-weight: 500; text-decoration: none; }
.lk-button, #loginform input[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 9px 15px; border: 1px solid var(--lk-accent); border-radius: 7px; background: var(--lk-accent); color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer; }
.lk-button:hover, #loginform input[type="submit"]:hover { background: var(--lk-accent-strong); }
.lk-button--quiet { background: var(--lk-surface); color: var(--lk-accent-strong); border-color: var(--lk-line); }
.lk-button--quiet:hover { background: var(--lk-soft); }
.lk-tabs { margin-bottom: 21px; padding: 5px; width: fit-content; max-width: 100%; border: 1px solid var(--lk-line); background: #fff; border-radius: 9px; gap: 4px; }
.lk-tabs a { padding: 8px 14px; border-radius: 6px; text-decoration: none; color: var(--lk-muted); font-size: 12px; }
.lk-tabs [aria-current="page"] { color: var(--lk-accent); background: var(--lk-soft); font-weight: 600; }
.lk-fieldset { display: grid; min-width: 0; gap: 7px; margin: 0; padding: 12px; border: 1px solid var(--lk-line); border-radius: 8px; }
.lk-fieldset legend { padding-inline: 5px; font-size: 12px; font-weight: 600; }
.lk-check { display: flex; align-items: center; gap: 8px; min-height: 30px; font-size: 12px; }
input[type="checkbox"] { accent-color: var(--lk-accent); width: 15px; height: 15px; }
.lk-records { padding: 0; margin: 0; list-style: none; }
.lk-records li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--lk-line); }
.lk-records li:last-child { border-bottom: 0; }
.lk-records li div { min-width: 0; overflow-wrap: anywhere; }
.lk-records strong { font-weight: 550; font-size: 12px; }
.lk-records small { display: block; margin-top: 3px; color: var(--lk-muted); font-size: 10px; }
.lk-records a { border: 1px solid var(--lk-line); border-radius: 6px; padding: 5px 9px; font-size: 10px; font-weight: 500; text-decoration: none; }
.lk-records a:hover { background: var(--lk-soft); }
.lk-pagination { padding-top: 17px; font-size: 12px; color: var(--lk-muted); }
.lk-notice { margin-bottom: 18px; padding: 12px 16px; background: #eef6ee; color: #20482c; border: 1px solid #d5e8d5; border-radius: 8px; }
.lk-notice--error { background: #fff0ef; color: #802c32; border-color: #f2d9d7; }
.lk-profile-preview { display: flex; gap: 15px; align-items: center; padding-bottom: 23px; margin-bottom: 25px; border-bottom: 1px solid var(--lk-line); }
.lk-profile-preview .lk-avatar { flex-basis: 58px; height: 58px; font-size: 18px; border-width: 4px; }
.lk-profile-preview h2 { margin: 0 0 4px; }
.lk-profile-preview p { font-size: 12px; }
.lk-login-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: stretch; max-width: 920px; width: calc(100% - 32px); min-height: 490px; margin: clamp(16px, 11vh, 105px) auto 24px; border: 1px solid var(--lk-line); border-radius: 18px; overflow: hidden; background: var(--lk-surface); box-shadow: 0 20px 70px #3422380d; }
.lk-login-brand { display: flex; flex-direction: column; justify-content: space-between; gap: 45px; padding: clamp(22px, 4vw, 42px); color: #fff; background: linear-gradient(145deg, #6c3557, #36243b); }
.lk-login-brand-copy h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 600; }
.lk-login-brand-copy p { margin-bottom: 8px; color: #ecd6e3; font-size: 12px; letter-spacing: .09em; }
.lk-login-brand .lk-mark { background: #ffffff19; border: 1px solid #ffffff50; }
.lk-login-card { align-self: center; padding: clamp(22px, 5vw, 56px); }
.lk-login-card h2 { margin-bottom: 28px; font-size: 25px; }
.lk-login-card .login-remember, .lk-login-card .login-submit { margin: 0; }
.lk-login-card .login-remember label { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.lk-login-card .login-submit input { width: 100%; min-height: 42px; }
.lk-login-card > a { display: inline-block; margin-top: 15px; font-size: 12px; }
@media (min-width: 801px) {
  .lk-menu-collapsed { --lk-sidebar: 80px; }
  .lk-menu-collapsed .lk-sidebar { padding-inline: 12px; }
  .lk-menu-collapsed .lk-sidebar-head { flex-direction: column; padding: 18px 0 12px; gap: 10px; }
  .lk-menu-collapsed .lk-sidebar-fold { margin: 0; }
  .lk-menu-collapsed .lk-brand-text, .lk-menu-collapsed .lk-nav-search,
  .lk-menu-collapsed .lk-nav-label, .lk-menu-collapsed .lk-nav-text,
  .lk-menu-collapsed .lk-sidebar-identity, .lk-menu-collapsed .lk-sidebar-footer > .lk-icon-button { display: none; }
  .lk-menu-collapsed .lk-nav-link { justify-content: center; padding-inline: 0; }
  .lk-menu-collapsed .lk-sidebar-footer { justify-content: center; padding-inline: 0; }
}
@media (max-width: 1100px) {
  .lk-panels { grid-template-columns: 1fr; }
  .lk-breadcrumbs [aria-current], .lk-breadcrumbs > span[aria-hidden] { display: none; }
}
@media (max-width: 800px) {
  .lk-layout { display: block; }
  .lk-sidebar { position: static; height: auto; min-height: 350px; }
  .lk-topbar { min-height: 64px; padding: 10px 18px; }
  .lk-content { padding: 20px 18px 36px; }
  .lk-sidebar-fold { display: none; }
  .lk-js .lk-sidebar { display: none; position: fixed; z-index: 41; inset: 0 auto 0 0; width: min(290px, 85vw); height: 100dvh; }
  .lk-js .lk-menu-toggle { display: inline-flex !important; min-height: 42px; }
  .lk-js.lk-menu-open .lk-sidebar { display: flex; }
  .lk-js.lk-menu-open .lk-menu-backdrop { display: block !important; position: fixed; z-index: 40; inset: 0; background: #24152866; }
  .lk-account-menu { z-index: 42; }
  .lk-page-heading { padding: 18px; gap: 12px; }
  .lk-page-symbol { flex-basis: 38px; height: 38px; }
  .lk-card { padding: 20px; }
}
@media (max-width: 600px) {
  .lk-login-layout { grid-template-columns: 1fr; min-height: auto; }
  .lk-login-brand { gap: 22px; }
  .lk-login-brand-copy br { display: none; }
  .lk-account-menu summary { max-width: 190px; }
  .lk-account-name small { display: none; }
  .lk-account-name { max-width: 110px; }
  .lk-breadcrumbs { display: none; }
  .lk-page-heading { align-items: flex-start; }
  .lk-page-heading h1 { font-size: 21px; }
  .lk-page-heading p { font-size: 12px; }
  .lk-page-symbol { display: none; }
  .lk-field input, .lk-field select { font-size: 16px; min-height: 44px; }
  .lk-button, .lk-check, .lk-tabs a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .lk-layout { display: block; }
  .lk-sidebar, .lk-topbar, .lk-page-heading, .lk-skip { display: none !important; }
  .lk-content { padding: 0; }
  body { background: white; }
}

/* Вход, приглашение и восстановление используют один экран кабинета. */
.lk-auth-symbol {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid var(--lk-line);
  border-radius: 12px;
  background: var(--lk-soft);
  color: var(--lk-accent);
}
.lk-auth-symbol .lk-icon { width: 22px; height: 22px; }
.lk-auth-hint { color: var(--lk-muted); font-size: 12px; }
.lk-auth-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 21px; padding-top: 18px; border-top: 1px solid var(--lk-line); font-size: 12px; }
.lk-auth-links a { text-decoration: none; }
.lk-auth-links a:hover { text-decoration: underline; }
.lk-auth-reveal { border: 0; background: transparent; padding: 2px; color: var(--lk-muted); font-size: 12px; }
.lk-auth-reveal:hover { color: var(--lk-accent); }
.lk-login-card .lk-notice { font-size: 12px; }
@media (max-width: 600px) {
  #loginform input:not([type="checkbox"]):not([type="submit"]) { font-size: 16px; min-height: 44px; }
  .lk-auth-reveal { min-height: 44px; }
}

/* Списки, статусы и подтверждение действий. */
.lk-access-panels { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.lk-section-heading { display:flex; align-items:center; gap:10px; margin-bottom:18px; }
.lk-section-heading h2 { margin:0; }
.lk-count, .lk-badge { display:inline-flex; align-items:center; width:fit-content; padding:3px 8px; border-radius:6px; background:var(--lk-soft); color:var(--lk-accent); font-size:12px; font-weight:500; }
.lk-count { font-variant-numeric:tabular-nums; }
.lk-list-filters { display:flex; align-items:flex-end; flex-wrap:wrap; gap:10px; padding-bottom:18px; border-bottom:1px solid var(--lk-line); }
.lk-list-filters .lk-field { flex:1 1 150px; }
.lk-user-records li { align-items:flex-start; flex-wrap:wrap; }
.lk-user-records .lk-user-identity { flex:1 1 150px; }
.lk-user-identity .lk-badge { margin-top:7px; }
.lk-record-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.lk-record-actions form { margin:0; }
.lk-delete-button { padding:5px 9px; border:1px solid #e8cdd3; border-radius:6px; color:#a22d45; background:transparent; font-size:12px; }
.lk-delete-button:hover { background:#fff0f2; }
.lk-dialog { width:min(440px,calc(100% - 32px)); padding:26px; border:1px solid var(--lk-line); border-radius:14px; color:var(--lk-ink); background:var(--lk-surface); box-shadow:0 20px 70px #242b3d25; }
.lk-dialog::backdrop { background:#24152866; }
.lk-dialog h2 { margin-bottom:16px; }
.lk-dialog p { color:var(--lk-muted); }
.lk-dialog .lk-form-actions { justify-content:flex-end; }
.lk-button--danger { background:#a22d45; border-color:#a22d45; }
.lk-button--danger:hover { background:#842037; }
.lk-field-hint { display:block; font-size:12px; color:var(--lk-muted); margin:7px 0; }
.lk-inline-link { font-size:12px; }
.lk-text-warning { color:#986214 !important; }
.lk-check--nested { padding-left:22px; color:var(--lk-muted); }
.lk-empty { padding-block:22px; color:var(--lk-muted); }
.lk-organization-binding select { min-height:115px; }
.lk-badge--active { color:#286c4e; background:#e9f4ed; }
.lk-badge--completed, .lk-badge--declined, .lk-badge--removed { color:#70758a; background:#f0f1f5; }
.lk-badge--invited { color:#925b14; background:#fff4df; }
.lk-project-description { white-space:pre-wrap; overflow-wrap:anywhere; }
.lk-form textarea { width:100%; min-height:110px; padding:10px; border:1px solid var(--lk-line-strong); border-radius:7px; background:var(--lk-surface); resize:vertical; }
.lk-project-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr)); gap:18px; margin-top:22px; }
.lk-project-card { display:grid; gap:12px; align-content:start; }
.lk-project-card h2 { margin:0; padding:0; border:0; }
.lk-project-card .lk-badge { margin-right:6px; }
.lk-project-toolbar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin-bottom:18px; }
.lk-message { padding:16px 0; border-bottom:1px solid var(--lk-line); }
.lk-message-header { display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:var(--lk-muted); font-size:12px; margin-bottom:7px; }
.lk-message-header strong { color:var(--lk-ink); }
.lk-message p { white-space:pre-wrap; overflow-wrap:anywhere; color:var(--lk-ink); }
.lk-partner-layout { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); }
.lk-project-sidebar { display:grid; gap:20px; }
.lk-message-compose { margin-top:22px; }
.lk-message-compose .lk-form-actions { padding:0; border:0; }
.lk-project-summary { margin-bottom:22px; }
.lk-representative-context { max-width:440px; margin-bottom:22px; }
@media (max-width:1100px) { .lk-access-panels, .lk-partner-layout { grid-template-columns:1fr; } }
@media (max-width:600px) {
  .lk-delete-button, .lk-record-actions a { min-height:40px; display:inline-flex; align-items:center; }
  .lk-form textarea { font-size:16px; }
}

/* Проектный офис и общие поля организаций. */
.lk-nav-link--sub { margin-left:12px; font-size:12px; }
.lk-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.lk-directory-layout { grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); }
.lk-directory-filters { padding-bottom:18px; border-bottom:1px solid var(--lk-line); margin-bottom:12px; }
.lk-office-projects { grid-template-columns:1fr; }
.lk-stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-block:18px; }
.lk-stat { padding:14px; border:1px solid var(--lk-line); border-radius:9px; background:var(--lk-paper); }
.lk-stat span { display:block; font-size:12px; color:var(--lk-muted); }
.lk-stat strong { display:block; font-size:23px; margin-top:5px; font-weight:600; }
.lk-status-links { display:flex; flex-wrap:wrap; gap:8px; padding-block:12px; border-top:1px solid var(--lk-line); }
.lk-status-links a { text-decoration:none; padding:6px 9px; background:var(--lk-soft); border-radius:6px; font-size:12px; }
.lk-project-chat,.lk-project-documents,#project-organizations,#project-invite { margin-bottom:22px; }
.lk-pinned { border-left:4px solid var(--lk-accent); margin-bottom:22px; background:#fbf8fb; }
.lk-pinned .lk-message { border:0; padding-bottom:0; }
.lk-eyebrow { color:var(--lk-accent); font-size:12px; text-transform:uppercase; font-weight:600; }
.lk-chat-messages { max-height:650px; overflow:auto; padding-right:8px; }
.lk-message-body { color:var(--lk-ink); overflow-wrap:anywhere; }
.lk-message-body p { white-space:normal; }
.lk-message-actions { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:12px; font-size:12px; }
.lk-text-button { padding:4px 0; border:0; background:none; color:var(--lk-accent); font-size:12px; text-decoration:none; }
.lk-text-button:hover { text-decoration:underline; }
.lk-text-danger { color:#a22d45; }
.lk-message-edit { min-width:0; }
.lk-message-edit[open] { flex:1 1 100%; }
.lk-message-edit summary { cursor:pointer; color:var(--lk-accent); }
.lk-message-edit form { margin-top:14px; }
.lk-message-quote,.lk-reply-preview { border-left:3px solid var(--lk-line-strong); padding:10px 14px; background:var(--lk-soft); margin:10px 0; color:var(--lk-muted); font-size:12px; overflow-wrap:anywhere; }
.lk-rich-input { min-width:0; }
.lk-rich-toolbar,.lk-rich-surface { display:none; }
.lk-js .lk-rich-toolbar { display:flex; flex-wrap:wrap; gap:6px; padding:6px 10px; border:1px solid var(--lk-line-strong); background:var(--lk-paper); border-radius:7px 7px 0 0; }
.lk-rich-toolbar button { min-width:32px; padding:5px; font-size:12px; }
.lk-js .lk-rich-surface { display:block; min-height:150px; padding:12px; border:1px solid var(--lk-line-strong); border-top:0; border-radius:0 0 7px 7px; background:var(--lk-surface); overflow-wrap:anywhere; }
.lk-js .lk-rich-input textarea { display:none; }
.lk-editor-error { color:#a22d45; font-size:12px; margin:4px 0; }
.lk-editor-error:empty { display:none; }
.lk-attachment { display:flex; align-items:center; gap:8px; padding:10px; margin:8px 0; border:1px solid var(--lk-line); border-radius:7px; width:fit-content; max-width:100%; overflow-wrap:anywhere; }
.lk-attachment small { display:block; color:var(--lk-muted); }
.lk-document-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.lk-document-columns h3 { font-size:14px; margin:0; }
.lk-document-list { list-style:none; padding:0; margin:0; }
.lk-document-list li { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--lk-line); }
.lk-document-list li>div { min-width:0; overflow-wrap:anywhere; }
.lk-table-scroll { width:100%; overflow:auto; }
.lk-data-table { border-collapse:collapse; width:100%; font-size:12px; }
.lk-data-table th,.lk-data-table td { text-align:left; padding:13px 10px; border-bottom:1px solid var(--lk-line); vertical-align:top; overflow-wrap:anywhere; min-width:120px; }
.lk-data-table th { color:var(--lk-muted); background:var(--lk-paper); font-size:12px; font-weight:500; }
.lk-event-list { list-style:none; padding:0; margin:0; }
.lk-event-list li { display:flex; gap:16px; padding:18px 0; border-bottom:1px solid var(--lk-line); }
.lk-event-list li>div { min-width:0; overflow-wrap:anywhere; }
.lk-event-dot { flex:0 0 10px; height:10px; margin-top:13px; border-radius:50%; background:var(--lk-accent); box-shadow:0 0 0 5px var(--lk-soft); }
.lk-event-list p { margin:5px 0; font-size:12px; }
.lk-event-project { display:block; font-weight:500; font-size:13px; margin-top:6px; }
@media (max-width:1100px) { .lk-directory-layout { grid-template-columns:1fr; } }
@media (max-width:600px) {
 .lk-form-grid,.lk-document-columns { grid-template-columns:1fr; }
 .lk-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .lk-text-button,.lk-message-edit summary { min-height:40px; display:inline-flex; align-items:center; }
 .lk-rich-surface { font-size:16px; }
 .lk-document-columns .lk-section-heading { flex-wrap:wrap; }
}

.lk-field input[type="file"] { padding:6px; height:auto; }
.lk-field input[type="file"]::file-selector-button { padding:7px 12px; margin-right:12px; border:1px solid var(--lk-line); border-radius:5px; background:var(--lk-soft); color:var(--lk-accent); font:inherit; cursor:pointer; }
[data-editor-command="bold"] { font-weight:700; }
[data-editor-command="italic"] { font-style:italic; }
[data-editor-command="underline"] { text-decoration:underline; }

.lk-heading-action { margin-left:auto; }
.lk-organization-editor { max-width:1100px; }
.lk-form-grid>.lk-field { align-content:start; }
.lk-form-grid>.lk-field input { height:42px; }
.lk-category-field { grid-template-columns:minmax(0,1fr) 90px; align-items:center; align-content:center; font-size:12px; }
.lk-category-field input { min-width:0; }
@media (max-width:600px) {
 .lk-section-heading { flex-wrap:wrap; }
 .lk-heading-action { margin-left:0; }
 .lk-category-field { grid-template-columns:minmax(0,1fr) 80px; }
 .lk-data-table thead { display:none; }
 .lk-data-table,.lk-data-table tbody,.lk-data-table tr,.lk-data-table td { display:block; min-width:0; width:100%; }
 .lk-data-table tr { padding:14px 0; border-bottom:1px solid var(--lk-line); }
 .lk-data-table td { border:0; padding:6px 0; }
 .lk-data-table td::before { content:attr(data-label); display:block; font-size:10px; color:var(--lk-muted); margin-bottom:5px; }
}

.lk-notification-bell { position:relative; margin-left:auto; }
.lk-notification-bell span { position:absolute; top:-5px; right:-8px; padding:0 4px; background:var(--lk-accent); color:white; border-radius:10px; font-size:12px; }
.lk-notification-bell+.lk-account-menu { margin-left:6px; }
.lk-person-filters { margin-bottom:22px; }

/* Внутренние проекты, задачи и общие сотрудники. */
.lk-task-list { display:grid; gap:16px; margin-block:20px; }
.lk-task-card h3 { margin:0; font-size:16px; }
.lk-task-card p { margin:8px 0 0; }
.lk-task-card--child { margin-left:24px; border-left:3px solid var(--lk-line-strong); }
.lk-money-value { font-size:17px !important; overflow-wrap:anywhere; }
.lk-danger-zone { margin-top:24px; padding-top:16px; border-top:1px solid var(--lk-line); color:#a22d45; }
.lk-progress-row { display:grid; grid-template-columns:150px minmax(0,1fr) 45px; align-items:center; gap:14px; padding:12px 0; }
.lk-progress-row meter { width:100%; height:18px; accent-color:var(--lk-accent); }
.lk-content>section.lk-card+section.lk-card { margin-top:22px; }
@media (max-width:600px) {
 .lk-task-card--child { margin-left:10px; }
 .lk-progress-row { grid-template-columns:100px minmax(0,1fr) 30px; gap:8px; font-size:12px; }
 .lk-notification-bell { flex-shrink:0; }
}

/* Компактные карточки сотрудников и задач. */
.lk-staff-grid { align-items:start; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:16px; }
.lk-staff-card,.lk-staff-detail { padding:20px; }
.lk-staff-header { display:flex; align-items:center; gap:12px; margin-bottom:14px; min-width:0; }
.lk-staff-header>div { flex:1; min-width:0; }
.lk-staff-header h2 { margin:0; font-size:16px; line-height:1.45; overflow-wrap:anywhere; }
.lk-staff-header h2 a { text-decoration:none; }
.lk-staff-header p { margin:3px 0 0; font-size:12px; }
.lk-staff-header>.lk-avatar { flex-shrink:0; }
.lk-staff-facts { display:flex; flex-wrap:wrap; gap:10px 24px; margin:0; }
.lk-staff-facts>div { min-width:0; max-width:100%; }
.lk-staff-facts dt,.lk-task-meta dt { color:var(--lk-muted); font-size:12px; }
.lk-staff-facts dd,.lk-task-meta dd { margin:2px 0 0; font-size:13px; overflow-wrap:anywhere; }
.lk-staff-interests { display:flex; flex-wrap:wrap; gap:5px; margin-top:12px; }
.lk-staff-research,.lk-staff-publications { margin:12px 0 0; font-size:13px; }
.lk-staff-publications p { margin:8px 0 0; }
.lk-staff-projects { display:flex; flex-wrap:wrap; gap:5px; }
.lk-staff-projects:empty { display:none; }
.lk-staff-projects p { flex:1 1 100%; margin:12px 0 0; }
.lk-staff-projects a { text-decoration:none; }
.lk-staff-editor .lk-form { gap:16px; }
.lk-staff-editor textarea { min-height:85px; }
.lk-task-detail { padding:22px; }
.lk-task-detail-header { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; gap:12px; }
.lk-task-title { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; flex:1 1 260px; min-width:0; }
.lk-task-title h2 { margin:0; font-size:17px; line-height:1.45; overflow-wrap:anywhere; }
.lk-task-detail-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.lk-button--danger-outline { color:#a22d45; background:var(--lk-surface); border-color:#e8cdd3; }
.lk-button--danger-outline:hover { color:#842037; background:#fff0f2; }
.lk-task-description { margin:12px 0; color:var(--lk-ink) !important; }
.lk-task-meta { display:flex; flex-wrap:wrap; gap:12px 32px; margin:14px 0; }
.lk-task-status-form { display:flex; flex-wrap:wrap; align-items:flex-end; gap:8px 12px; max-width:680px; padding-top:12px; border-top:1px solid var(--lk-line); }
.lk-task-status-form .lk-field { flex:1 1 220px; }
.lk-task-status-form>.lk-field-hint { flex:1 1 100%; margin:0; }
.lk-task-status-form button { min-height:41px; }
.lk-button:disabled { opacity:.5; cursor:default; }
.lk-task-subtask-link { margin:12px 0 0; }
.lk-task-documents { margin-top:16px; padding-top:14px; border-top:1px solid var(--lk-line); }
.lk-task-documents h3 { margin:0 0 8px; font-size:14px; }
.lk-task-document { display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 12px; padding:6px 0; }
.lk-task-document .lk-field-hint { margin:0; }
.lk-task-upload { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:12px; margin-top:12px; }
.lk-task-upload>.lk-button { min-height:44px; }
.lk-task-history .lk-records li { padding:12px 0; }
.lk-task-history .lk-records p { margin:4px 0; }
.lk-task-history .lk-records small { font-size:12px; }
.lk-file-picker { display:flex; position:relative; align-items:center; gap:10px; min-width:0; min-height:44px; padding:5px; border:1px solid var(--lk-line-strong); border-radius:7px; background:var(--lk-surface); }
.lk-field .lk-file-picker input[type="file"] { position:absolute; inset:0; width:100%; height:100%; min-height:0; padding:0; opacity:0; border:0; cursor:pointer; }
.lk-file-picker:focus-within { outline:2px solid var(--lk-accent); outline-offset:2px; }
.lk-file-picker-button { flex-shrink:0; display:inline-flex; align-items:center; min-height:32px; padding:5px 10px; border-radius:5px; color:var(--lk-accent-strong); background:var(--lk-soft); font-size:12px; font-weight:500; }
.lk-file-picker-name { min-width:0; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding-right:5px; color:var(--lk-muted); font-size:12px; }
.lk-team-candidates { list-style:none; padding:0; margin:8px 0 14px; max-height:310px; overflow:auto; }
.lk-team-candidates li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid var(--lk-line); }
.lk-team-candidates li>div { min-width:0; }
.lk-team-candidates strong { display:block; font-size:13px; overflow-wrap:anywhere; }
.lk-team-candidates span { display:block; font-size:12px; color:var(--lk-muted); }
.lk-team-candidates [aria-pressed="true"] { background:var(--lk-soft); border-color:var(--lk-accent); }
@media (max-width:600px) {
 .lk-staff-header { flex-wrap:wrap; }
 .lk-staff-header>.lk-button { margin-left:auto; }
 .lk-task-detail { padding:18px; }
 .lk-task-detail-actions { width:100%; }
 .lk-task-upload { grid-template-columns:minmax(0,1fr); gap:10px; }
 .lk-task-upload>.lk-button { justify-self:start; }
 .lk-team-candidates li { flex-wrap:wrap; }
 .lk-team-candidates li>div { flex:1 1 180px; }
}

@media (min-width:1101px) {
 .lk-task-workspace { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr); gap:24px; margin-top:14px; padding-top:14px; border-top:1px solid var(--lk-line); }
 .lk-task-workspace .lk-task-status-form { border-top:0; padding-top:0; }
 .lk-task-workspace .lk-task-documents { margin-top:0; border-top:0; padding-top:0; padding-left:24px; border-left:1px solid var(--lk-line); }
 .lk-task-workspace .lk-task-upload { grid-template-columns:minmax(0,1fr); gap:8px; }
 .lk-task-workspace .lk-task-upload>.lk-button { justify-self:start; min-height:38px; }
}

@media (max-width:600px) {
 .lk-topbar { gap:8px; }
 .lk-account-menu { flex-shrink:1; min-width:0; }
 .lk-account-menu summary { max-width:100%; }
 .lk-account-name { flex:1 1 auto; }
 .lk-account-menu summary>.lk-avatar,.lk-account-menu summary>.lk-icon,.lk-menu-toggle { flex-shrink:0; }
}
