:root {
  /* Не разрешаем браузеру автоматически перекрашивать светлую тему сайта. */
  color-scheme: only light;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #17203b;
  background: #f5f7fb;
  font-synthesis: none;
  --navy: #0a1432;
  --blue: #5567ef;
  --blue-dark: #4355df;
  --muted: #6d7489;
  --line: #e2e6ef;
  --surface: #ffffff;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body, #app { min-height: 100%; }

body {
  margin: 0;
  min-width: 320px;
  background: #f5f7fb;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid rgba(85, 103, 239, .28);
  outline-offset: 2px;
}

.welcome-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(430px, 46%) 1fr;
}

.intro-panel {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 42px clamp(42px, 6vw, 92px) 32px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 75%, rgba(88, 105, 242, .25), transparent 35%),
    linear-gradient(145deg, #111d42 0%, #07112c 62%, #09142f 100%);
}

.intro-panel::before,
.intro-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(143, 156, 255, .11);
  border-radius: 50%;
}

.intro-panel::before { width: 540px; height: 540px; right: -270px; top: 16%; }
.intro-panel::after { width: 330px; height: 330px; right: -164px; top: calc(16% + 105px); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #6f7cf8, #4d5ee7);
  box-shadow: 0 12px 30px rgba(65, 81, 214, .34);
  font-size: 20px;
  font-weight: 800;
}

.brand__mark span { color: #b9e4ff; }
.brand__name { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.brand__name strong { font-weight: 800; }

.brand--compact { color: var(--navy); }
.brand--compact .brand__mark { width: 38px; height: 38px; border-radius: 11px; font-size: 17px; }
.brand--compact .brand__name { font-size: 17px; }

.intro-panel__content { max-width: 560px; margin: auto 0; padding: 70px 0; }

.eyebrow, .overline {
  margin: 0 0 20px;
  color: #aeb9e2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow span { width: 25px; height: 2px; background: #7180fa; }

.intro-panel h1 {
  max-width: 540px;
  margin: 0;
  font-size: clamp(44px, 4.8vw, 72px);
  line-height: 1.04;
  letter-spacing: -.055em;
}

.intro-panel h1 em { color: #7c8afb; font-style: normal; }

.intro-panel__content > p {
  max-width: 490px;
  margin: 30px 0 38px;
  color: #aeb6cf;
  font-size: 16px;
  line-height: 1.8;
}

.trust-row { display: flex; align-items: center; gap: 14px; }
.trust-row__avatars { display: flex; padding-left: 6px; }
.trust-row__avatars i {
  display: grid;
  width: 34px;
  height: 34px;
  margin-left: -6px;
  place-items: center;
  border: 2px solid #101c3e;
  border-radius: 50%;
  color: #e8ecff;
  background: #5967b5;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}
.trust-row__avatars i:nth-child(2) { background: #a2766c; }
.trust-row__avatars i:nth-child(3) { background: #426f73; }
.trust-row strong, .trust-row small { display: block; }
.trust-row strong { margin-bottom: 3px; font-size: 12px; }
.trust-row small { color: #858fac; font-size: 10px; }
.intro-panel__footer { margin: 0; color: #65708d; font-size: 10px; }

.auth-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 42px clamp(30px, 6vw, 90px) 26px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, .98), rgba(246, 248, 252, .92) 52%, rgba(240, 243, 249, .96));
}

.auth-card { width: min(100%, 480px); margin: auto 0; }
.mobile-brand { display: none; }
.auth-card__header { margin-bottom: 28px; text-align: center; }
.auth-card__header .overline { margin-bottom: 11px; color: var(--blue); }
.auth-card__header h2 { margin: 0 0 10px; color: var(--navy); font-size: 31px; letter-spacing: -.035em; }
.auth-card__header > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.login-form label { display: block; margin-bottom: 8px; color: #283049; font-size: 12px; font-weight: 700; }
.phone-input { position: relative; }
.phone-input__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 19px;
  height: 19px;
  color: #9ca3b7;
  transform: translateY(-50%);
}
svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phone-input input {
  width: 100%;
  height: 52px;
  padding: 0 18px 0 48px;
  border: 1px solid #dce1eb;
  border-radius: 11px;
  color: #1c2440;
  background: rgba(255, 255, 255, .92);
  transition: border-color .2s, box-shadow .2s;
}
.phone-input input::placeholder { color: #a9afbf; }
.phone-input input:focus { border-color: #7c89f4; outline: 0; box-shadow: 0 0 0 4px rgba(85, 103, 239, .09); }

.primary-button, .secondary-button, .role-button {
  border: 0;
  cursor: pointer;
}
.primary-button {
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #5f70f2, #4c5de5);
  box-shadow: 0 13px 25px rgba(73, 89, 218, .2);
  font-size: 13px;
  font-weight: 700;
  transition: transform .18s, box-shadow .18s, background .18s;
}
.primary-button span { width: 18px; height: 18px; }
.primary-button:hover { background: linear-gradient(135deg, #5668ed, #4354dc); box-shadow: 0 15px 30px rgba(73, 89, 218, .28); transform: translateY(-1px); }
.primary-button:active { transform: translateY(0); }

.form-message { display: none; margin: 9px 0 0; color: #737b91; font-size: 11px; text-align: center; }
.form-message--visible { display: block; }
.auth-form { display: grid; }
.auth-form > label:not(:first-child) { margin-top: 13px; }
.auth-input {
  width: 100%; height: 48px; padding: 0 15px; border: 1px solid #dce1eb; border-radius: 11px;
  color: #1c2440; background: rgba(255,255,255,.92);
}
.auth-input:focus { border-color: #7c89f4; outline: 0; box-shadow: 0 0 0 4px rgba(85,103,239,.09); }
.auth-input--code { font-size: 20px; font-weight: 800; letter-spacing: .25em; text-align: center; }
.auth-password-field { display:flex;align-items:stretch;gap:8px;min-width:0; }
.auth-password-field .auth-input { flex:1;min-width:0; }
.auth-password-toggle { flex:none;min-width:88px;min-height:48px;padding:8px 10px;border:1px solid #dce1eb;border-radius:11px;background:var(--theme-surface-raised,#fff);color:var(--theme-accent,#4655c4);font:inherit;font-size:13px;font-weight:700;cursor:pointer; }
.auth-password-toggle:focus-visible { outline:3px solid #7c89f4;outline-offset:2px; }
.auth-password-toggle:disabled { opacity:.55;cursor:default; }
.field-hint { margin-top: 6px; color: #737b8f; font-size: 12px; line-height: 1.5; }
.auth-alert { margin: 12px 0 0; padding: 10px 12px; border-radius: 9px; font-size: 14px; line-height: 1.5; }
.auth-alert--error { border: 1px solid #f1caca; color: #a14242; background: #fff4f4; }
.auth-alert--info { border: 1px solid #c9e8d6; color: #397a58; background: #f2fbf6; }
.google-login-button { display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;padding:12px 18px;border:1px solid #dadce0;border-radius:9px;background:#fff;color:#1f1f1f;font-family:inherit;font-size:14px;font-weight:500;line-height:1.4;text-decoration:none;cursor:pointer; }
.google-login-button svg { width:20px;height:20px;flex-shrink:0; }
.google-login-button:disabled { cursor:default;opacity:.55; }
.google-login-button:focus-visible { outline:3px solid #7c89f4;outline-offset:3px; }
.auth-provider-note { margin:8px 0 0;color:#6d7382;font-size:12px;text-align:center; }
@media(max-width:720px) { .auth-form .auth-input { font-size:16px; } }
.auth-links { display: flex; justify-content: space-between; gap: 15px; margin-top: 12px; }
.auth-link { min-height: 44px; padding: 10px 0; border: 0; color: #5969dc; background: transparent; cursor: pointer; font-size: 14px; font-weight: 700; }
.auth-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.account-type-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin: 0 0 3px; padding: 0; border: 0; }
.account-type-grid legend { grid-column: 1/-1; margin-bottom: 8px; color: #283049; font-size: 12px; font-weight: 700; }
.account-type-card { position: relative; display: block !important; margin: 0 !important; cursor: pointer; }
.account-type-card input { position: absolute; opacity: 0; pointer-events: none; }
.account-type-card span { display: flex; min-height: 75px; flex-direction: column; padding: 11px 9px; border: 1px solid #dfe3ec; border-radius: 10px; background: #fff; }
.account-type-card strong { color: #333b52; font-size: 14px; }
.account-type-card small { margin-top: 5px; color: #737b8f; font-size: 12px; line-height: 1.5; }
.account-type-card input:focus-visible + span { outline: 3px solid #7c89f4; outline-offset: 3px; }
.account-type-card input:checked + span { border-color: #7886ec; background: #f3f5ff; box-shadow: 0 0 0 2px rgba(85,103,239,.08); }
.dev-code { display: grid; justify-items: center; margin: 0 0 18px; padding: 15px; border: 1px dashed #9fa9ef; border-radius: 12px; color: #6572d7; background: #f5f6ff; }
.dev-code span { font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.dev-code strong { margin: 5px 0; font-size: 22px; letter-spacing: .2em; }
.dev-code small { color: #969dad; font-size: 8px; }
.account-picker { display: grid; gap: 8px; }
.account-picker > button { display: grid; grid-template-columns: 38px 1fr 14px; gap: 11px; align-items: center; width: 100%; padding: 11px; border: 1px solid #e1e4ec; border-radius: 11px; color: #343d55; background: #fff; cursor: pointer; text-align: left; }
.account-picker > button:hover { border-color: #9ea9f2; background: #f9faff; }
.account-picker > button > svg { width: 14px; color: #9aa1b0; }
.account-picker__icon { display: grid; width: 38px; height: 38px; padding: 10px; place-items: center; border-radius: 10px; color: #6472dc; background: #edf0ff; }
.account-picker strong,.account-picker small { display: block; }.account-picker strong { font-size: 11px; }.account-picker small { margin-top: 4px; color: #969cad; font-size: 8px; }
.primary-button:disabled { cursor: wait; opacity: .65; transform: none; }
.divider { display: flex; align-items: center; gap: 15px; margin: 25px 0 18px; color: #a0a7b6; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.dev-panel {
  padding: 17px;
  border: 1px solid #dfe3ec;
  border-radius: 15px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 14px 40px rgba(22, 31, 61, .035);
}
.dev-panel__heading { display: flex; align-items: center; margin-bottom: 13px; }
.dev-panel__heading > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; gap: 2px; }
.dev-panel__heading strong { color: #202840; font-size: 12px; }
.dev-panel__heading small { color: #8a91a3; font-size: 9px; }
.dev-icon { display: grid; width: 29px; height: 29px; margin-right: 10px; place-items: center; border-radius: 8px; color: #5b69da; background: #edf0ff; font-size: 9px; font-weight: 800; }
.dev-badge { padding: 4px 7px; border-radius: 5px; color: #6471d8; background: #edf0ff; font-size: 8px; font-weight: 800; letter-spacing: .1em; }
.role-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.role-button {
  display: grid;
  grid-template-columns: 24px 1fr 12px;
  gap: 8px;
  align-items: center;
  min-height: 43px;
  padding: 7px 10px;
  border: 1px solid #e4e7ee;
  border-radius: 9px;
  color: #30374d;
  background: #fff;
  font-size: 10px;
  font-weight: 700;
  text-align: left;
  transition: border-color .16s, color .16s, transform .16s, box-shadow .16s;
}
.role-button:hover { border-color: #9da8f5; color: #4d5edd; box-shadow: 0 6px 14px rgba(38, 49, 105, .07); transform: translateY(-1px); }
.role-button__icon { display: grid; width: 24px; height: 24px; padding: 5px; place-items: center; border-radius: 7px; color: #7180d8; background: #f1f3fb; }
.role-button__arrow { width: 11px; height: 11px; color: #acb2c1; }
.dev-note { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 12px 0 0; color: #a0a6b5; font-size: 8px; }
.dev-note span { width: 10px; height: 10px; }
.legal { margin: auto 0 0; color: #a0a6b5; font-size: 9px; line-height: 1.7; text-align: center; }
.legal a { color: #757e99; text-underline-offset: 2px; }

.workspace-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 236px minmax(0, 1fr);
  background: #f7f8fb;
}

.sidebar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  padding: 25px 16px 18px;
  border-right: 1px solid #e8eaf0;
  background: #fff;
}

.sidebar__brand { padding: 0 8px 28px; }
.app-brand .brand__mark { width: 35px; height: 35px; border-radius: 10px; font-size: 16px; }
.app-brand .brand__name { font-size: 15px; }
.sidebar-label { margin: 0 12px 10px; color: #a2a8b8; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.main-nav { display: flex; flex-direction: column; gap: 4px; }

.nav-link {
  position: relative;
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-radius: 9px;
  color: #72798c;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color .16s, background .16s;
}

.nav-link:hover { color: #33405f; background: #f7f8fb; }
.nav-link--active { color: #4e5edb; background: #eef0ff; font-weight: 700; }
.nav-link--active::before { content: ""; position: absolute; left: -16px; width: 3px; height: 22px; border-radius: 0 3px 3px 0; background: #5969e9; }
.nav-link__icon { width: 18px; height: 18px; flex: 0 0 auto; }

.sidebar__bottom { display: flex; flex-direction: column; gap: 11px; margin-top: auto; }
.company-context {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 9px;
  align-items: center;
  padding: 11px;
  border: 1px solid #e7e9f0;
  border-radius: 11px;
  background: #fafbfc;
  color: inherit;
  text-decoration: none;
}
.company-context:hover { border-color: #cfd4f3; background: #f8f9ff; }
.company-context__icon { display: grid; width: 28px; height: 28px; padding: 7px; place-items: center; border-radius: 8px; color: #7b85c7; background: #eef0f8; }
.company-context small, .company-context strong { display: block; }
.company-context small { margin-bottom: 2px; color: #a0a6b5; font-size: 8px; }
.company-context strong { color: #596176; font-size: 9px; }
.company-context strong { overflow: hidden; max-width: 105px; text-overflow: ellipsis; white-space: nowrap; }
.company-context__soon { width: 11px; color: #9ca3b4; font-size: 7px; font-weight: 700; text-transform: uppercase; }
.dev-environment { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 9px; background: #f7f8fb; }
.dev-environment > i { width: 7px; height: 7px; border-radius: 50%; background: #5acb91; box-shadow: 0 0 0 3px #ddf6e9; }
.dev-environment span { display: flex; flex-direction: column; gap: 2px; }
.dev-environment strong { color: #666e81; font-size: 9px; }
.dev-environment small { color: #a6acb9; font-size: 8px; }
.sidebar-backdrop { display: none; }

.workspace-main { min-width: 0; }
.topbar {
  position: sticky;
  z-index: 15;
  top: 0;
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 3.5vw, 52px);
  border-bottom: 1px solid #e8eaf0;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
}
.topbar__start, .topbar__actions, .breadcrumbs { display: flex; align-items: center; }
.breadcrumbs { gap: 7px; color: #a0a6b5; font-size: 10px; }
.breadcrumbs svg { width: 10px; height: 10px; }
.breadcrumbs strong { color: #555e73; font-weight: 700; }
.topbar__actions { gap: 10px; }
.icon-button { display: grid; width: 37px; height: 37px; padding: 9px; place-items: center; border: 1px solid #e4e7ee; border-radius: 10px; color: #7b8294; background: #fff; cursor: pointer; }
.icon-button:hover { color: #4e5edb; border-color: #cdd2f5; }
.notification-button { position: relative; }
.notification-button > span { position: absolute; right: -4px; top: -5px; display: grid; min-width: 17px; height: 17px; padding: 0 4px; place-items: center; border: 2px solid #fff; border-radius: 99px; color: #fff; background: #6573df; font-size: 7px; font-weight: 800; }
.notification-center { position: relative; }
.notification-popover { position: absolute; z-index: 30; top: 47px; right: 0; width: min(360px, calc(100vw - 30px)); overflow: hidden; border: 1px solid #e1e4ec; border-radius: 15px; background: #fff; box-shadow: 0 24px 70px rgba(20,30,65,.18); }
.notification-popover > header { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px 12px; border-bottom: 1px solid #eceef3; }.notification-popover > header small,.notification-popover > header strong { display: block; }.notification-popover > header small { margin-bottom: 3px; color: #6573dc; font-size: 6px; font-weight: 800; text-transform: uppercase; }.notification-popover > header strong { color: #313b55; font-size: 12px; }.notification-popover > header .icon-button { width: 30px; height: 30px; padding: 8px; }
.notification-list { max-height: min(430px, calc(100vh - 110px)); overflow-y: auto; }.notification-item { position: relative; display: grid; width: 100%; grid-template-columns: 31px minmax(0,1fr) 12px; gap: 9px; align-items: center; padding: 12px 14px; border: 0; border-bottom: 1px solid #eff1f4; color: #697287; background: #fff; cursor: pointer; text-align: left; }.notification-item:last-child { border-bottom: 0; }.notification-item:hover { background: #f8f9ff; }.notification-item--unread { background: #f5f6ff; }.notification-item--unread::before { position: absolute; left: 5px; width: 4px; height: 4px; border-radius: 50%; background: #6573df; content: ""; }.notification-item > span:first-child { display: grid; width: 31px; height: 31px; padding: 8px; place-items: center; border-radius: 9px; color: #5968d5; background: #e9edff; }.notification-item > span:nth-child(2) { min-width: 0; }.notification-item strong,.notification-item small { display: block; }.notification-item strong { color: #4a5369; font-size: 8px; line-height: 1.45; }.notification-item small { margin-top: 4px; color: #a0a6b3; font-size: 6px; }.notification-item > svg { width: 12px; }
.notification-empty { display: grid; justify-items: center; padding: 32px 20px; color: #9299a9; text-align: center; }.notification-empty > svg { width: 30px; margin-bottom: 10px; color: #7682df; }.notification-empty strong { color: #4d566c; font-size: 10px; }.notification-empty span { max-width: 230px; margin-top: 6px; font-size: 7px; line-height: 1.55; }
.mobile-menu-button { display: none; margin-right: 10px; }

.role-control {
  display: grid;
  min-width: 174px;
  grid-template-columns: 32px 1fr 13px;
  gap: 9px;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid #e4e7ee;
  border-radius: 11px;
  color: #343c53;
  background: #fff;
  cursor: pointer;
  text-align: left;
}
.role-control:hover { border-color: #cbd0f4; background: #fcfcff; }
.role-control__icon { display: grid; width: 32px; height: 32px; padding: 8px; place-items: center; border-radius: 8px; color: #5d6bde; background: #eef0ff; }
.role-control small, .role-control strong { display: block; }
.role-control small { margin-bottom: 2px; color: #a1a7b5; font-size: 7px; }
.role-control strong { overflow: hidden; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.role-control__chevron { width: 12px; height: 12px; color: #a6acb9; }
.role-control--static { grid-template-columns: 32px 1fr; cursor: default; }
.account-placeholder { display: grid; width: 36px; height: 36px; place-items: center; border: 0; border-radius: 10px; color: #fff; background: #172344; cursor: pointer; font-size: 11px; font-weight: 800; }

.workspace-content { display: grid; min-height: calc(100vh - 72px); place-items: center; padding: clamp(36px, 7vw, 92px); }
.home-view, .empty-view { width: min(100%, 720px); }
.home-view__accent, .empty-view__icon { display: grid; width: 50px; height: 50px; padding: 13px; place-items: center; border-radius: 15px; color: #5b6be8; background: #ecefff; }
.page-eyebrow { margin: 24px 0 10px; color: #5969e9; font-size: 9px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.home-view h1, .empty-view h1 { max-width: 650px; margin: 0; color: #101a37; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; letter-spacing: -.045em; }
.home-view__lead, .empty-view > p:not(.page-eyebrow) { max-width: 585px; margin: 19px 0 0; color: #7c8497; font-size: 14px; line-height: 1.75; }
.context-card { display: grid; width: min(100%, 410px); grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; margin-top: 36px; padding: 14px 16px; border: 1px solid #e3e6ef; border-radius: 13px; background: #fff; box-shadow: 0 12px 35px rgba(27, 36, 70, .045); }
.context-card__icon { display: grid; width: 38px; height: 38px; padding: 10px; place-items: center; border-radius: 10px; color: #5969df; background: #eef0ff; }
.context-card small, .context-card strong { display: block; }
.context-card small { margin-bottom: 3px; color: #a1a7b4; font-size: 8px; }
.context-card strong { color: #333c54; font-size: 11px; }
.context-card__status { display: flex; align-items: center; gap: 6px; color: #6c7589; font-size: 8px; font-weight: 700; }
.context-card__status i { width: 6px; height: 6px; border-radius: 50%; background: #55c68a; box-shadow: 0 0 0 3px #e2f7ec; }
.system-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: #9097a8; font-size: 9px; }
.system-note span { padding: 4px 6px; border-radius: 5px; color: #6673d4; background: #ecefff; font-size: 7px; font-weight: 800; }
.empty-view { text-align: center; }
.empty-view__icon { margin: 0 auto; color: #7a849d; background: #eef0f5; }
.empty-view .page-eyebrow { margin-top: 22px; color: #9198a9; }
.empty-view h1 { margin-inline: auto; }
.empty-view > p:not(.page-eyebrow) { margin-inline: auto; }
.empty-view__hint { width: min(100%, 460px); margin: 26px auto 0; padding: 12px 15px; border: 1px solid #e2e5ed; border-radius: 10px; color: #9399a8; background: #fff; font-size: 9px; }

.role-dialog { width: min(calc(100% - 32px), 430px); padding: 0; border: 0; border-radius: 18px; color: #222b44; background: #fff; box-shadow: 0 30px 90px rgba(13, 21, 49, .25); }
.role-dialog::backdrop { background: rgba(8, 15, 36, .48); backdrop-filter: blur(3px); }
.role-dialog__header { display: flex; align-items: center; justify-content: space-between; padding: 21px 21px 10px; }
.role-dialog__header span { display: flex; flex-direction: column; gap: 4px; }
.role-dialog__header small { color: #6775db; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.role-dialog__header strong { font-size: 17px; }
.role-dialog > p:not(.role-dialog__note) { margin: 0; padding: 0 21px 17px; color: #858c9e; font-size: 10px; line-height: 1.5; }
.role-dialog__list { display: grid; gap: 7px; padding: 0 14px; }
.dialog-role { display: grid; grid-template-columns: 35px 1fr 14px; gap: 10px; align-items: center; min-height: 55px; padding: 8px 11px; border: 1px solid #e7e9ef; border-radius: 11px; color: #333b53; background: #fff; cursor: pointer; text-align: left; }
.dialog-role:hover { border-color: #aeb7f5; background: #fafaff; }
.dialog-role--current { border-color: #cbd1fa; background: #f4f5ff; }
.dialog-role__icon { display: grid; width: 35px; height: 35px; padding: 9px; place-items: center; border-radius: 9px; color: #6170dd; background: #edf0ff; }
.dialog-role strong, .dialog-role small { display: block; }
.dialog-role strong { margin-bottom: 3px; font-size: 10px; }
.dialog-role small { color: #969cac; font-size: 8px; }
.dialog-role__check { width: 13px; height: 13px; color: #6a77da; }
.role-dialog__note { margin: 16px 0 0; padding: 13px; border-top: 1px solid #eceef3; color: #a1a7b5; background: #fafbfc; font-size: 8px; text-align: center; }
.dialog-role:disabled { cursor: default; }
.account-dialog__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; padding: 14px; border-top: 1px solid #eceef3; background: #fafbfc; }
.account-dialog__actions button { padding: 10px; border: 1px solid #dde1ea; border-radius: 9px; color: #596174; background: #fff; cursor: pointer; font-size: 9px; font-weight: 700; }
.account-dialog__actions button:disabled { color: #acb1bd; cursor: not-allowed; }
.account-dialog__actions [data-sign-out] { color: #a44343; border-color: #efcece; background: #fff8f8; }
.secure-environment > i { background: #6573df; box-shadow: 0 0 0 3px #e4e7ff; }

.foundation-page { width: min(100%, 930px); align-self: start; }
.foundation-page__header { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.foundation-page__header .page-eyebrow { margin-top: 0; }
.foundation-page__header h1, .foundation-heading h1 { margin: 0; color: #101a37; font-size: 34px; letter-spacing: -.04em; }
.foundation-page__header > div > p:last-child { margin: 8px 0 0; color: #858c9d; font-size: 11px; }
.foundation-heading { display: flex; align-items: center; gap: 15px; }
.foundation-heading .page-eyebrow { margin: 0 0 5px; }
.foundation-heading__icon { display: grid; width: 44px; height: 44px; padding: 11px; place-items: center; border-radius: 13px; color: #5d6ce4; background: #edf0ff; }
.foundation-empty { display: flex; min-height: 360px; flex-direction: column; align-items: center; justify-content: center; margin-top: 27px; padding: 38px; border: 1px dashed #d9dde8; border-radius: 18px; background: rgba(255,255,255,.55); text-align: center; }
.foundation-empty > span { display: grid; width: 52px; height: 52px; padding: 14px; place-items: center; border-radius: 15px; color: #6f7bd4; background: #edf0ff; }
.foundation-empty h2 { margin: 19px 0 7px; color: #25304b; font-size: 18px; }
.foundation-empty p { max-width: 410px; margin: 0 0 22px; color: #8a91a3; font-size: 11px; line-height: 1.6; }
.foundation-empty--compact { min-height: 280px; margin-top: 26px; }
.page-notice { margin: 0 0 20px; padding: 11px 14px; border: 1px solid #cfeadb; border-radius: 10px; color: #397a58; background: #f1fbf5; font-size: 10px; }

.primary-action, .secondary-action, .ghost-action, .danger-button {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}
.primary-action { color: #fff; background: #5666e7; box-shadow: 0 8px 18px rgba(77, 92, 218, .16); }
.primary-action:hover { background: #4959db; }
.primary-action svg, .secondary-action svg { width: 15px; height: 15px; }
.primary-action--small { min-height: 33px; padding-inline: 12px; font-size: 9px; }
.secondary-action { border-color: #dfe3eb; color: #4f586e; background: #fff; }
.secondary-action:hover { border-color: #b9c1f3; color: #4d5edc; }
.secondary-action--wide { width: 100%; margin-top: 10px; }
.ghost-action { color: #757d90; background: transparent; }
.ghost-action:hover { background: #f2f4f8; }
.danger-button { color: #fff; background: #d6535f; }
.danger-button:hover { background: #c44552; }

.company-tabs { display: flex; gap: 7px; overflow-x: auto; margin-bottom: 16px; padding-bottom: 3px; }
.company-tab { display: flex; min-width: 150px; align-items: center; gap: 9px; padding: 7px 11px; border: 1px solid #e3e6ed; border-radius: 10px; color: #667085; background: #fff; cursor: pointer; }
.company-tab > span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; color: #6573d5; background: #eef0ff; font-size: 8px; font-weight: 800; }
.company-tab strong { overflow: hidden; max-width: 110px; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.company-tab--active { border-color: #aeb7f1; color: #4e5ddd; background: #f5f6ff; }
.company-overview, .members-panel, .invitation-panel, .hr-company-context { border: 1px solid #e3e6ed; border-radius: 16px; background: #fff; box-shadow: 0 12px 35px rgba(25, 34, 66, .04); }
.company-overview { padding: 23px; }
.company-overview__identity { display: grid; grid-template-columns: 45px 1fr auto; gap: 13px; align-items: center; }
.company-overview__identity > span:first-child, .company-monogram { display: grid; width: 45px; height: 45px; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(145deg,#6676ec,#4b5bd8); font-size: 11px; font-weight: 800; }
.company-overview__identity small { color: #a1a7b5; font-size: 8px; }
.company-overview__identity h2 { margin: 3px 0; color: #263049; font-size: 16px; }
.company-overview__identity p { margin: 0; color: #8c93a3; font-size: 9px; }
.ownership-badge { width: auto !important; height: auto !important; padding: 6px 9px; border-radius: 99px !important; color: #5060ce !important; background: #eef0ff !important; font-size: 8px !important; }
.company-meta { display: grid; grid-template-columns: 1.4fr .8fr 1fr; margin: 20px 0 0; padding-top: 17px; border-top: 1px solid #eceef3; }
.company-meta div { padding-right: 15px; }
.company-meta dt { margin-bottom: 4px; color: #a1a7b4; font-size: 8px; }
.company-meta dd { overflow: hidden; margin: 0; color: #596176; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.members-panel { margin-top: 16px; overflow: visible; }
.members-panel__header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid #eceef3; }
.members-panel__header h2 { margin: 0 0 4px; color: #2d3650; font-size: 13px; }
.members-panel__header p { margin: 0; color: #9ca2b0; font-size: 8px; }
.member-list { padding: 5px 14px; }
.member-row { position: relative; display: grid; grid-template-columns: 34px 1fr auto 32px; gap: 10px; align-items: center; min-height: 59px; padding: 8px 6px; border-bottom: 1px solid #f0f1f5; }
.member-row:last-child { border-bottom: 0; }
.member-avatar { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: #5968d7; background: #eef0ff; font-size: 10px; font-weight: 800; }
.member-row__identity strong, .member-row__identity small { display: block; }
.member-row__identity strong { margin-bottom: 3px; color: #414a61; font-size: 10px; }
.member-row__identity small { color: #989eac; font-size: 8px; }
.member-status { display: flex; align-items: center; gap: 5px; color: #7c8496; font-size: 8px; }
.member-status i { width: 5px; height: 5px; border-radius: 50%; background: #58c78c; }
.member-actions summary { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 8px; color: #858c9d; cursor: pointer; list-style: none; }
.member-actions summary:hover { background: #f2f4f8; }
.member-actions > div { position: absolute; z-index: 8; right: 4px; top: 49px; display: grid; min-width: 155px; padding: 5px; border: 1px solid #e4e7ee; border-radius: 9px; background: #fff; box-shadow: 0 12px 32px rgba(23,31,61,.14); }
.member-actions button { padding: 9px 10px; border: 0; border-radius: 6px; color: #596176; background: transparent; cursor: pointer; font-size: 9px; text-align: left; }
.member-actions button:hover { background: #f4f5f8; }
.member-actions .danger-action { color: #c84c58; }

.form-dialog, .confirm-dialog { width: min(calc(100% - 30px), 430px); padding: 0; border: 0; border-radius: 17px; color: #293249; background: #fff; box-shadow: 0 30px 90px rgba(13,21,49,.25); }
.form-dialog::backdrop, .confirm-dialog::backdrop { background: rgba(8,15,36,.48); backdrop-filter: blur(3px); }
.form-dialog form, .form-dialog > div, .form-dialog > p { margin-inline: 21px; }
.form-dialog form { margin-top: 0; }
.form-dialog__header { display: flex; align-items: center; justify-content: space-between; margin-top: 19px; }
.form-dialog__header small { color: #6674dc; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.form-dialog__header h2 { margin: 3px 0 0; font-size: 18px; }
.form-dialog > p, .form-dialog form > p:not(.dialog-error) { color: #858c9e; font-size: 10px; line-height: 1.55; }
.form-dialog label { display: block; margin-top: 13px; color: #525b70; font-size: 9px; font-weight: 700; }
.form-dialog input { display: block; width: 100%; height: 43px; margin-top: 7px; padding: 0 12px; border: 1px solid #dfe3ea; border-radius: 9px; color: #2e374f; background: #fff; font-size: 11px; }
.form-dialog select { display: block; width: 100%; height: 43px; margin-top: 7px; padding: 0 10px; border: 1px solid #dfe3ea; border-radius: 9px; color: #2e374f; background: #fff; font-size: 10px; }
.form-dialog input:focus { border-color: #8794ed; outline: 0; box-shadow: 0 0 0 3px rgba(86,102,231,.1); }
.dialog-error { min-height: 15px; margin: 8px 0 0; color: #c54b57; font-size: 9px; }
.form-dialog__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 17px; padding: 13px 0; border-top: 1px solid #eceef3; }
.recruiter-preview { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; margin-top: 13px; margin-bottom: 21px; padding: 12px; border: 1px solid #dfe3ee; border-radius: 11px; background: #f8f9fc; }
.recruiter-preview strong, .recruiter-preview small { display: block; }
.recruiter-preview strong { margin-bottom: 3px; font-size: 10px; }
.recruiter-preview small { color: #8d94a5; font-size: 8px; }
.confirm-dialog { padding: 28px; text-align: center; }
.confirm-dialog__icon { display: grid; width: 48px; height: 48px; margin: 0 auto; padding: 13px; place-items: center; border-radius: 14px; color: #5969df; background: #eef0ff; }
.confirm-dialog__icon--danger { color: #c74e59; background: #fff0f1; }
.confirm-dialog h2 { margin: 18px 0 8px; font-size: 18px; }
.confirm-dialog p { margin: 0; color: #858c9d; font-size: 10px; line-height: 1.65; }
.confirm-dialog > div:last-child { display: flex; justify-content: center; gap: 8px; margin-top: 21px; }

.recruiter-heading { align-items: center; }
.hr-id-card { display: flex; min-width: 195px; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px 9px 13px; border: 1px solid #dde1eb; border-radius: 11px; background: #fff; }
.hr-id-card small, .hr-id-card strong { display: block; }
.hr-id-card small { margin-bottom: 3px; color: #9da3b2; font-size: 8px; }
.hr-id-card strong { color: #46516d; font-size: 11px; letter-spacing: .08em; }
.invitation-panel { margin-bottom: 16px; padding: 18px; }
.invitation-panel > div:first-child { display: flex; align-items: baseline; gap: 10px; }
.invitation-panel .page-eyebrow { margin: 0; }
.invitation-panel h2 { margin: 0; color: #303950; font-size: 13px; }
.invitation-row { display: grid; grid-template-columns: 40px 1fr auto; gap: 11px; align-items: center; margin-top: 14px; padding: 12px; border: 1px solid #e7e9ef; border-radius: 11px; }
.company-monogram { width: 40px; height: 40px; border-radius: 10px; font-size: 9px; }
.invitation-row strong, .invitation-row small { display: block; }
.invitation-row strong { margin-bottom: 4px; color: #424b61; font-size: 10px; }
.invitation-row small { color: #999fad; font-size: 8px; }
.invitation-row__actions { display: flex; gap: 5px; }
.company-workspace { display: grid; grid-template-columns: 62px 1fr; gap: 12px; }
.company-rail { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 11px; border: 1px solid #e2e5ed; border-radius: 15px; background: #fff; }
.company-rail__item { position: relative; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid #e2e5ed; border-radius: 12px; color: #6e7790; background: #f6f7fa; cursor: pointer; font-size: 8px; font-weight: 800; }
.company-rail__item:hover, .company-rail__item--active { border-color: #8592ec; color: #fff; background: #5c6be3; }
.company-rail__item--active::before { content: ""; position: absolute; left: -12px; width: 3px; height: 21px; border-radius: 0 3px 3px 0; background: #5b6be5; }
.hr-company-context { min-height: 300px; padding: 34px; }
.company-monogram--large { width: 52px; height: 52px; border-radius: 14px; font-size: 11px; }
.hr-company-context .page-eyebrow { margin-top: 22px; }
.hr-company-context h2 { margin: 0; color: #263049; font-size: 24px; }
.hr-company-context > p:not(.page-eyebrow) { margin: 7px 0 0; color: #959baa; font-size: 9px; }
.hr-owner-badge { display: inline-block; margin-top: 13px; padding: 6px 9px; border-radius: 99px; color: #5362cf; background: #eef0ff; font-size: 8px; font-weight: 700; }
.hr-placeholder { margin-top: 27px; padding: 15px; border: 1px dashed #d9dde7; border-radius: 11px; color: #9298a7; background: #fafbfc; font-size: 9px; }
.hr-company-actions { display: grid; gap: 8px; width: 100%; margin-top: 24px; text-align: left; }
.hr-company-actions a { display: grid; grid-template-columns: 30px 1fr 16px; gap: 10px; align-items: center; padding: 11px 12px; border: 1px solid #e0e4ed; border-radius: 11px; color: #24304d; background: #fff; text-decoration: none; }
.hr-company-actions a > svg { width: 18px; color: #5865e8; }
.hr-company-actions a > span > strong,.hr-company-actions a > span > small { display: block; }
.hr-company-actions a > span > strong { font-size: 10px; }
.hr-company-actions a > span > small { margin-top: 2px; color: #8991a4; font-size: 8px; }
.hr-company-actions a > svg:last-child { width: 14px; color: #a3a9b7; }
.hr-company-actions a:hover { border-color: #aeb5ff; box-shadow: 0 7px 18px rgba(78, 92, 210, .09); }
.company-workspace__members { grid-column: 2; margin-top: 0; }

.workspace-content:has(.hr-cabinet) { align-items: stretch; padding: 0; }
.hr-cabinet { display: grid; width: 100%; min-height: calc(100vh - 72px); grid-template-columns: 205px minmax(0, 1fr); }
.hr-cabinet__sidebar { display: grid; align-content: start; grid-template-columns: 58px 1fr; gap: 8px; padding: 22px 12px; border-right: 1px solid #e4e7ee; background: #fff; }
.hr-company-rail { display: flex; flex-direction: column; align-items: center; gap: 9px; padding-right: 9px; border-right: 1px solid #edf0f4; }
.hr-nav { display: flex; flex-direction: column; gap: 4px; }
.hr-nav__link { display: flex; min-height: 39px; align-items: center; gap: 9px; padding: 0 9px; border-radius: 8px; color: #777f92; font-size: 9px; font-weight: 600; text-decoration: none; }
.hr-nav__link svg { width: 15px; height: 15px; }
.hr-nav__link:hover { color: #4e5ed5; background: #f5f6fb; }
.hr-nav__link--active { color: #4d5dd8; background: #eef0ff; font-weight: 700; }
.hr-cabinet__main { min-width: 0; padding: 22px clamp(24px, 4vw, 54px) 55px; }
.hr-company-header { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.hr-company-header .company-monogram { width: 36px; height: 36px; border-radius: 9px; }
.hr-company-header small, .hr-company-header strong { display: block; }
.hr-company-header small { margin-bottom: 3px; color: #9ca3b3; font-size: 8px; }
.hr-company-header strong { color: #384159; font-size: 11px; }
.hr-header-id { margin-left: auto; padding: 6px 9px; border-radius: 8px; color: #5e6bd2; background: #eef0ff; font-size: 8px; font-weight: 700; letter-spacing: .06em; }
.hr-invite-strip { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; padding: 10px 12px; border: 1px solid #e0e4f2; border-radius: 10px; background: #f8f9ff; font-size: 8px; }.hr-invite-strip > strong { color: #5360c8; }.hr-invite-strip > span { display: flex; align-items: center; gap: 5px; margin-left: auto; color: #687086; }.hr-invite-strip button { padding: 4px 6px; border: 0; border-radius: 5px; color: #5260cf; background: #e8ebff; cursor: pointer; font-size: 7px; }
.hr-section { width: min(100%, 950px); }
.hr-section__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.hr-section__heading .page-eyebrow { margin: 0 0 7px; }
.hr-section__heading h1 { margin: 0; color: #14203d; font-size: 30px; letter-spacing: -.04em; }
.hr-reminder { padding: 7px 10px; border-radius: 99px; color: #7b8499; background: #eceff4; font-size: 8px; }
.hr-metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.hr-metrics article { display: grid; min-height: 128px; grid-template-columns: 32px 1fr; align-content: center; gap: 7px 12px; padding: 16px; border: 1px solid #e3e6ed; border-radius: 13px; background: #fff; }
.hr-metrics article > span { display: grid; width: 32px; height: 32px; grid-row: 1 / 3; padding: 8px; place-items: center; border-radius: 9px; color: #5c6adc; background: #eef0ff; }
.hr-metrics article > strong { align-self: end; color: #222d48; font-size: 21px; }
.hr-metrics article > small { color: #9299aa; font-size: 8px; line-height: 1.4; }
.hr-attention { margin-top: 12px; padding: 18px; border: 1px solid #e3e6ed; border-radius: 14px; background: #fff; }
.hr-attention h2 { margin: 0 0 4px; font-size: 13px; }
.hr-attention > div:first-child > p { margin: 0 0 12px; color: #9aa1b0; font-size: 8px; }
.hr-contract-list { overflow: hidden; border: 1px solid #edf0f4; border-radius: 10px; }.hr-contract-list article { display: grid; grid-template-columns: 30px 1fr auto auto; gap: 10px; align-items: center; min-height: 55px; padding: 9px 11px; border-bottom: 1px solid #edf0f4; }.hr-contract-list article:last-child { border: 0; }.hr-contract-list article > span { display: grid; width: 30px; height: 30px; padding: 7px; place-items: center; border-radius: 8px; color: #6471d4; background: #eef0ff; }.hr-contract-list strong,.hr-contract-list small { display: block; }.hr-contract-list strong { margin-bottom: 3px; color: #414a61; font-size: 9px; }.hr-contract-list small { color: #969dac; font-size: 7px; }.hr-contract-list em { padding: 5px 7px; border-radius: 99px; color: #95652a; background: #fff5e5; font-size: 7px; font-style: normal; }.hr-contract-list a { color: #5867d4; font-size: 7px; font-weight: 700; text-decoration: none; }
.hr-list-filters { display: grid; grid-template-columns: minmax(220px,1.5fr) minmax(150px,1fr) auto auto; gap: 9px; align-items: end; margin: -8px 0 13px; padding: 12px; border: 1px solid #e3e6ed; border-radius: 12px; background: #fff; }.hr-list-filters label > span { display: block; margin-bottom: 5px; color: #858da0; font-size: 7px; font-weight: 700; }.hr-list-filters input,.hr-list-filters select { width: 100%; min-height: 34px; padding: 7px 9px; border: 1px solid #dfe3ea; border-radius: 8px; color: #3d465e; background: #fff; font: inherit; font-size: 8px; }.hr-list-filters > button { min-height: 34px; padding: 7px 10px; border: 1px solid #dfe3ea; border-radius: 8px; color: #697188; background: #fff; cursor: pointer; font-size: 8px; }.hr-filter-check { display: flex; min-height: 34px; align-items: center; gap: 7px; color: #697188; font-size: 8px; }.hr-filter-check input { width: 14px; min-height: 14px; margin: 0; }.hr-filter-empty { margin: 10px 0 0; padding: 13px; border: 1px dashed #d9dde6; border-radius: 10px; color: #9299a9; font-size: 8px; text-align: center; }
.structure-tree, .staff-groups, .employee-list, .event-list { border: 1px solid #e3e6ed; border-radius: 14px; background: #fff; }
.structure-root { display: flex; align-items: center; gap: 9px; padding: 15px 18px; border-bottom: 1px solid #eceef3; }
.structure-root span, .structure-tree li > div > span { display: grid; width: 29px; height: 29px; padding: 7px; place-items: center; border-radius: 8px; color: #5f6edb; background: #eef0ff; }
.structure-root strong, .structure-tree li strong { color: #414a61; font-size: 10px; }
.structure-tree ul { margin: 0; padding: 6px 12px 6px 33px; list-style: none; }
.structure-tree ul ul { margin-left: 14px; border-left: 1px solid #e4e7ee; }
.structure-tree li > div { display: flex; min-height: 45px; align-items: center; gap: 9px; }
.structure-tree li button { margin-left: auto; border: 0; color: #8c93a4; background: transparent; }
.hr-empty-line { margin: 0; padding: 18px; color: #9299a9; font-size: 9px; text-align: center; }
.hr-empty { display: grid; min-height: 300px; place-items: center; align-content: center; padding: 30px; border: 1px dashed #d8dce6; border-radius: 15px; text-align: center; }
.hr-empty > span { width: 45px; height: 45px; padding: 12px; border-radius: 13px; color: #6572d5; background: #eef0ff; }
.hr-empty h2 { margin: 16px 0 6px; color: #354058; font-size: 16px; }
.hr-empty p { max-width: 430px; margin: 0; color: #9298a8; font-size: 9px; line-height: 1.6; }
.staff-groups { overflow: hidden; }
.staff-groups article { display: grid; grid-template-columns: 36px 1fr 55px minmax(160px,auto); gap: 11px; align-items: center; min-height: 67px; padding: 9px 16px; border-bottom: 1px solid #edf0f4; }
.staff-groups article:last-child { border-bottom: 0; }
.staff-groups__icon { display: grid; width: 36px; height: 36px; padding: 9px; place-items: center; border-radius: 9px; color: #5f6dd8; background: #eef0ff; }
.staff-groups article > span:nth-child(2) strong, .staff-groups article > span:nth-child(2) small { display: block; }
.staff-groups article > span:nth-child(2) strong { margin-bottom: 4px; color: #40495f; font-size: 10px; }
.staff-groups article > span:nth-child(2) small { color: #969dac; font-size: 8px; }
.staff-count strong, .staff-count small { display: block; text-align: center; }
.staff-count strong { font-size: 15px; }.staff-count small { color: #999fad; font-size: 7px; }
.staff-stats { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }.staff-stats i { padding: 5px 7px; border-radius: 99px; color: #6d768b; background: #f1f3f7; font-size: 7px; font-style: normal; }.staff-stats .attention { color: #a56c28; background: #fff6e6; }.staff-stats .covered { color: #357a55; background: #eaf8f0; }.staff-stats .danger { color: #a34f59; background: #fff0f2; }
.employee-list { overflow: hidden; }
.employee-card { border-bottom: 1px solid #eceef3; }.employee-card:last-child { border-bottom: 0; }
.employee-card > summary { display: grid; grid-template-columns: 40px 1fr auto auto 15px; gap: 11px; align-items: center; min-height: 68px; padding: 10px 16px; cursor: pointer; list-style: none; }
.employee-avatar { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; color: #5867d3; background: #eef0ff; font-size: 9px; font-weight: 800; }
.employee-card summary > span:nth-child(2) strong, .employee-card summary > span:nth-child(2) small { display: block; }.employee-card summary > span:nth-child(2) strong { margin-bottom: 4px; font-size: 10px; }.employee-card summary > span:nth-child(2) small { color: #969dac; font-size: 8px; }
.employee-state { padding: 5px 8px; border-radius: 99px; color: #3f8b61; background: #eaf8f0; font-size: 7px; }.employee-state--muted { color: #7f8798; background: #eef0f4; }
.attention-dot { color: #aa712c; font-size: 7px; }.employee-card summary > svg { width: 13px; height: 13px; transition: transform .2s; }.employee-card[open] summary > svg { transform: rotate(180deg); }
.employee-detail { padding: 16px 20px 20px; border-top: 1px solid #edf0f4; background: #fafbfc; }
.employee-detail__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }.employee-detail__header h3 { margin: 0; font-size: 11px; }
.assignment-card { margin-top: 8px; padding: 13px; border: 1px solid #e2e5ed; border-radius: 11px; background: #fff; }.assignment-card--ended { opacity: .65; }
.assignment-card > div:first-child { display: inline-block; }.assignment-card > div:first-child strong,.assignment-card > div:first-child small { display: block; }.assignment-card > div:first-child strong { margin-bottom: 4px; font-size: 10px; }.assignment-card > div:first-child small { color: #969dac; font-size: 8px; }.assignment-card > span { float: right; color: #6c7589; font-size: 8px; }
.assignment-actions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }.assignment-actions button,.contract-line button,.absence-line button { padding: 6px 8px; border: 1px solid #e0e3eb; border-radius: 7px; color: #687086; background: #fff; cursor: pointer; font-size: 7px; }
.contract-line,.absence-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #edf0f4; color: #60697e; font-size: 8px; }.contract-line small { margin-right: auto; color: #9aa1af; }.absence-line span { margin-right: auto; color: #a56f2d; }
.employee-danger { margin-top: 15px; text-align: right; }.employee-danger button { border: 0; color: #c04f5a; background: transparent; cursor: pointer; font-size: 8px; }
.end-assignment-action { display: block; margin: 11px 0 0 auto; border: 0; color: #a16a70; background: transparent; cursor: pointer; font-size: 7px; }
.event-list { overflow: hidden; }.event-list article { display: flex; align-items: center; gap: 11px; min-height: 56px; padding: 9px 15px; border-bottom: 1px solid #edf0f4; }.event-list article:last-child { border-bottom: 0; }.event-list article > span { width: 28px; height: 28px; padding: 7px; border-radius: 8px; color: #6471d4; background: #eef0ff; }.event-list strong,.event-list small { display:block; }.event-list strong { margin-bottom: 4px; font-size: 9px; }.event-list small { color: #9aa1af; font-size: 7px; }.event-list .event-entity { margin-top: 3px; color: #667086; }.event-list--compact { border: 0; border-radius: 0; }.hr-event-filters { grid-template-columns: repeat(3,minmax(0,1fr)) auto; }.hr-load-more { display: flex; align-items: center; gap: 6px; margin: 12px auto 0; }.hr-load-more svg { width: 11px; }
.hr-form-dialog .form-dialog__header { margin-inline: 0; }.hr-form-dialog .form-dialog__header h2 { font-size: 17px; }.check-label { display: flex !important; align-items: center; gap: 8px; }.check-label input { display: inline-block; width: 15px; height: 15px; margin: 0; }.critical-copy { padding: 10px; border-radius: 8px; color: #9a4d55 !important; background: #fff1f2; }

.recruitment-view { width: min(100%, 1050px); }
.recruitment-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.recruitment-metrics article { display: flex; min-height: 74px; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid #e3e6ed; border-radius: 12px; background: #fff; }
.recruitment-metrics strong { color: #3f4fc4; font-size: 21px; }
.recruitment-metrics small { color: #8f96a7; font-size: 8px; line-height: 1.35; }
.recruitment-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 27px 0 11px; }
.recruitment-section-head h2 { margin: 0 0 4px; color: #2b354e; font-size: 14px; }
.recruitment-section-head p { margin: 0; color: #9aa1af; font-size: 8px; }
.need-list { display: grid; gap: 10px; }
.need-card { display: grid; grid-template-columns: 42px 1fr; gap: 13px; padding: 17px; border: 1px solid #dfe3ec; border-radius: 14px; background: #fff; box-shadow: 0 8px 25px rgba(25,34,66,.035); }
.need-card__icon { display: grid; width: 42px; height: 42px; padding: 11px; place-items: center; border-radius: 11px; color: #5868d9; background: #edf0ff; }
.need-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.need-type { padding: 5px 8px; border-radius: 99px; color: #5060ce; background: #eef0ff; font-size: 7px; font-weight: 800; }
.need-type--temporary { color: #a16a28; background: #fff5e5; }
.need-count { color: #81899a; font-size: 8px; }.need-count strong { color: #35405a; font-size: 14px; }
.need-card h2 { margin: 10px 0 4px; color: #29344f; font-size: 15px; }.need-card__body > p { margin: 0; color: #8f96a6; font-size: 8px; }
.need-templates { display: grid; gap: 7px; margin-top: 13px; }
.need-templates > p { margin: 0; padding: 10px; border-radius: 9px; color: #8f96a6; background: #f6f7f9; font-size: 8px; line-height: 1.5; }
.need-templates button { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 11px; border: 1px solid #e0e4ec; border-radius: 9px; color: #404a62; background: #fafbfc; cursor: pointer; text-align: left; }
.need-templates button:hover { border-color: #adb6ed; background: #f6f7ff; }.need-templates strong,.need-templates small { display: block; }.need-templates strong { margin-bottom: 3px; font-size: 9px; }.need-templates small { color: #969dac; font-size: 7px; }
.need-templates em { display: flex; align-items: center; gap: 5px; color: #5261d0; font-size: 8px; font-style: normal; font-weight: 700; }.need-templates em svg { width: 11px; }
.need-template-action { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; padding: 0; border: 0; color: #5867d4; background: transparent; cursor: pointer; font-size: 8px; font-weight: 700; }.need-template-action svg { width: 12px; }
.need-live { display: flex; align-items: center; gap: 7px; margin-top: 13px; padding: 10px 11px; border-radius: 9px; color: #3c7857; background: #edf9f2; font-size: 8px; }.need-live i { width: 6px; height: 6px; border-radius: 50%; background: #53bb7f; }.need-live strong { margin-left: auto; }
.template-grid,.vacancy-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.template-card,.vacancy-card { padding: 15px; border: 1px solid #e1e4eb; border-radius: 13px; background: #fff; }
.template-card > div:first-child { display: flex; align-items: center; justify-content: space-between; }.template-card > div:first-child span { width: 27px; height: 27px; padding: 6px; border-radius: 8px; color: #6170d8; background: #eef0ff; }.template-card em { color: #8c93a3; font-size: 7px; font-style: normal; }
.template-card h3 { margin: 12px 0 4px; font-size: 12px; }.template-card p { margin: 0 0 11px; color: #9299a9; font-size: 8px; }.template-card > strong,.template-card > small { display: block; }.template-card > strong { font-size: 9px; }.template-card > small { margin-top: 4px; color: #999fad; font-size: 7px; }.template-card > button { margin-top: 12px; padding: 6px 8px; border: 1px solid #e0e3eb; border-radius: 7px; color: #5b67c9; background: #fff; cursor: pointer; font-size: 7px; }
.vacancy-card--active { border-color: #cfd5f7; box-shadow: 0 8px 24px rgba(66,80,180,.06); }.vacancy-card__status { display: flex; align-items: center; justify-content: space-between; }.vacancy-card__status span { display: flex; align-items: center; gap: 5px; color: #8a92a3; font-size: 7px; font-weight: 700; }.vacancy-card__status span i { width: 6px; height: 6px; border-radius: 50%; background: #a5abba; }.vacancy-card--active .vacancy-card__status span { color: #3b845a; }.vacancy-card--active .vacancy-card__status span i { background: #50bd7e; }.vacancy-card__status small { color: #a0a6b3; font-size: 7px; }
.vacancy-card h3 { margin: 13px 0 4px; color: #303b56; font-size: 13px; }.vacancy-card > p { margin: 0; color: #9097a7; font-size: 8px; }.vacancy-card__facts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }.vacancy-card__facts span { padding: 5px 7px; border-radius: 7px; color: #687188; background: #f2f4f7; font-size: 7px; }
.vacancy-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 13px; padding-top: 11px; border-top: 1px solid #eceef3; }.vacancy-card__footer > span { color: #858d9f; font-size: 7px; }.vacancy-card__footer > div { display: flex; gap: 5px; }.primary-mini,.ghost-mini { padding: 6px 8px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-size: 7px; font-weight: 700; }.primary-mini { color: #fff; background: #5767df; }.ghost-mini { border-color: #e1e4ea; color: #70788a; background: #fff; }
.vacancy-history { margin-top: 11px; border-top: 1px solid #eceef3; }.vacancy-history > summary { display: flex; align-items: center; gap: 6px; padding-top: 10px; color: #687188; cursor: pointer; font-size: 7px; font-weight: 700; list-style: none; }.vacancy-history > summary strong { display: grid; min-width: 17px; height: 17px; place-items: center; border-radius: 99px; color: #5967cc; background: #eef0ff; }.vacancy-history > summary svg { width: 11px; margin-left: auto; transition: transform .2s; }.vacancy-history[open] > summary svg { transform: rotate(180deg); }.vacancy-history ol { display: grid; gap: 7px; margin: 9px 0 0; padding: 0; list-style: none; }.vacancy-history li { padding: 9px; border-radius: 8px; background: #f7f8fa; }.vacancy-history li > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.vacancy-history li strong { color: #46516a; font-size: 8px; }.vacancy-history li span { padding: 3px 5px; border-radius: 99px; font-size: 6px; }.vacancy-history li span.current { color: #377b57; background: #e6f6ed; }.vacancy-history li span.archive { color: #7f8798; background: #eceef2; }.vacancy-history li p { margin: 7px 0 4px; color: #596277; font-size: 7px; }.vacancy-history li small { display: block; margin-top: 3px; color: #9299a9; font-size: 6px; }
.recruitment-placeholder { margin: 0; padding: 18px; border: 1px dashed #d9dde6; border-radius: 12px; color: #969dac; font-size: 8px; text-align: center; }.recruitment-empty { display: flex; align-items: center; gap: 11px; padding: 17px; border: 1px solid #d8eadf; border-radius: 13px; background: #f5fbf7; }.recruitment-empty > span { width: 32px; height: 32px; padding: 8px; border-radius: 9px; color: #4a966a; background: #e5f6eb; }.recruitment-empty strong,.recruitment-empty small { display: block; }.recruitment-empty strong { margin-bottom: 4px; color: #3f6850; font-size: 10px; }.recruitment-empty small { color: #789083; font-size: 8px; }
.hire-list { overflow: hidden; border: 1px solid #e2e5ed; border-radius: 13px; background: #fff; }.hire-row { display: grid; grid-template-columns: 36px 1fr auto auto; gap: 10px; align-items: center; padding: 11px 14px; border-bottom: 1px solid #edf0f4; }.hire-row:last-child { border: 0; }.hire-row .employee-avatar { width: 36px; height: 36px; }.hire-row strong,.hire-row small { display: block; }.hire-row strong { margin-bottom: 3px; font-size: 9px; }.hire-row small { color: #999fad; font-size: 7px; }.hire-state { padding: 5px 7px; border-radius: 99px; color: #3e825b; background: #eaf7ef; font-size: 7px; }.hire-row button,.hire-row a { padding: 6px 8px; border: 1px solid #dfe3eb; border-radius: 7px; color: #5664ca; background: #fff; cursor: pointer; font-size: 7px; text-decoration: none; }.hire-row button:disabled { color: #9ba1ad; background: #f3f4f6; cursor: not-allowed; }
.recruitment-dialog { width: min(calc(100% - 30px), 590px); }.recruitment-dialog form { max-height: min(88vh, 760px); overflow-y: auto; padding-right: 3px; }.dialog-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.form-dialog textarea { display: block; width: 100%; margin-top: 7px; padding: 10px 12px; resize: vertical; border: 1px solid #dfe3ea; border-radius: 9px; color: #2e374f; background: #fff; font: inherit; font-size: 10px; }.form-dialog textarea:focus,.form-dialog select:focus { border-color: #8794ed; outline: 0; box-shadow: 0 0 0 3px rgba(86,102,231,.1); }

.work-page,.work-detail { width: min(100%, 1040px); }
.work-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.work-heading .page-eyebrow { margin: 0 0 8px; }.work-heading h1 { margin: 0; color: #14203d; font-size: 34px; letter-spacing: -.045em; }.work-heading > div > p:last-child { margin: 8px 0 0; color: #8e95a6; font-size: 10px; }
.match-panel { margin-bottom: 18px; padding: 15px; border: 1px solid #dfe3f3; border-radius: 15px; background: linear-gradient(140deg,#f8f9ff,#fff); }.match-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 12px; }.match-panel > header > div { display: flex; align-items: center; gap: 9px; }.match-panel > header > div > span { width: 31px; height: 31px; padding: 8px; border-radius: 9px; color: #5b69d7; background: #e9edff; }.match-panel header p,.match-panel header h2 { margin: 0; }.match-panel header p { margin-bottom: 2px; color: #7b86db; font-size: 6px; font-weight: 800; text-transform: uppercase; }.match-panel header h2 { color: #34405c; font-size: 13px; }.match-panel header > small { padding: 4px 7px; border-radius: 99px; color: #6975d3; background: #edf0ff; font-size: 7px; font-weight: 700; }
.match-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }.match-card { position: relative; min-width: 0; padding: 13px; border: 1px solid #e3e6ed; border-radius: 11px; background: #fff; }.match-card--new { border-color: #bec6f3; box-shadow: 0 7px 20px rgba(74,89,190,.07); }.match-card__new { position: absolute; top: 9px; right: 9px; padding: 3px 6px; border-radius: 99px; color: #fff; background: #6674df; font-size: 6px; font-weight: 800; }.match-card__meta { display: flex; max-width: calc(100% - 38px); align-items: center; gap: 5px; color: #969dac; font-size: 6px; }.match-card__meta i { width: 3px; height: 3px; flex: 0 0 auto; border-radius: 50%; background: #b6bbc6; }.match-card h3 { overflow: hidden; margin: 10px 0 4px; color: #35405a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.match-card > p { overflow: hidden; margin: 0 0 8px; color: #8b93a4; font-size: 7px; text-overflow: ellipsis; white-space: nowrap; }.match-card > strong { color: #525c72; font-size: 8px; }.match-card__actions { display: flex; align-items: center; gap: 5px; margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef0f4; }.match-card__actions a,.match-card__actions button { display: inline-flex; min-height: 28px; align-items: center; gap: 4px; padding: 0 8px; border: 1px solid #dfe3eb; border-radius: 7px; color: #5965c7; background: #fff; cursor: pointer; font-size: 7px; font-weight: 700; text-decoration: none; }.match-card__actions a { color: #fff; border-color: #606fd9; background: #606fd9; }.match-card__actions svg { width: 10px; }.match-panel__empty { margin: 0; padding: 12px 13px; border-radius: 9px; color: #8991a3; background: rgba(255,255,255,.8); font-size: 8px; }
.create-ad-action { min-height: 44px; padding-inline: 18px; }.create-company-hint { padding: 8px 10px; border-radius: 8px; color: #8e95a5; background: #eceef3; font-size: 8px; }
.work-filter { display: flex; align-items: center; gap: 6px; overflow-x: auto; margin-bottom: 12px; padding-bottom: 4px; }.work-filter span { flex: 1; }.work-filter button { flex: 0 0 auto; padding: 7px 10px; border: 1px solid #e2e5eb; border-radius: 8px; color: #737c91; background: #fff; cursor: pointer; font-size: 8px; font-weight: 700; }.work-filter button:hover,.work-filter .work-filter--active { border-color: #aab3ee; color: #5261d3; background: #f1f3ff; }
.market-list { display: grid; gap: 9px; }.market-card { display: grid; grid-template-columns: 45px minmax(0,1fr) auto; gap: 13px; align-items: center; min-height: 112px; padding: 15px; border: 1px solid #e1e4eb; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(25,34,66,.035); }.market-card__icon { display: grid; width: 45px; height: 45px; padding: 12px; place-items: center; border-radius: 12px; color: #5968d8; background: #edf0ff; }.market-card__image { width: 45px; height: 45px; object-fit: cover; border-radius: 11px; }.market-card__body { min-width: 0; }.market-card__meta { display: flex; align-items: center; gap: 6px; color: #8b92a2; font-size: 7px; font-weight: 700; }.market-card__meta i { width: 3px; height: 3px; border-radius: 50%; background: #b6bbc5; }.market-card__meta em { padding: 3px 5px; border-radius: 5px; color: #5362cc; background: #edf0ff; font-size: 6px; font-style: normal; }.market-card h2 { overflow: hidden; margin: 7px 0 4px; color: #303b55; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.market-card__body > p { margin: 0 0 7px; color: #939aaa; font-size: 8px; }.market-card__body > strong { color: #4c566e; font-size: 9px; }.market-card__badges { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-left: 8px; }.market-card__badges span { padding: 4px 6px; border-radius: 6px; color: #758095; background: #f1f3f6; font-size: 6px; }.market-card__aside { display: flex; min-width: 112px; flex-direction: column; align-items: flex-end; gap: 21px; }.freshness { display: flex; align-items: center; gap: 5px; color: #4d8a66; font-size: 7px; font-weight: 700; }.freshness i { width: 6px; height: 6px; border-radius: 50%; background: #54bd7d; }.market-card__aside a { display: flex; align-items: center; gap: 4px; color: #5362cf; font-size: 8px; font-weight: 700; text-decoration: none; }.market-card__aside a svg { width: 11px; }.market-no-results { padding: 30px; border: 1px dashed #daddE5; border-radius: 13px; color: #9299a8; font-size: 9px; text-align: center; }
.work-back { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 20px; color: #697287; font-size: 9px; font-weight: 700; text-decoration: none; }.work-back svg { width: 13px; transform: rotate(180deg); }.ad-detail__hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 24px; border: 1px solid #e0e4ec; border-radius: 16px 16px 0 0; background: #fff; }.ad-detail__hero h1 { margin: 11px 0 5px; color: #202c49; font-size: 28px; letter-spacing: -.035em; }.ad-detail__hero p { margin: 0; color: #8f96a7; font-size: 9px; }.ad-detail__core { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #e0e4ec; border-top: 0; border-radius: 0 0 16px 16px; background: #f8f9fb; }.ad-detail__core article { padding: 15px 20px; border-right: 1px solid #e6e8ed; }.ad-detail__core article:last-child { border: 0; }.ad-detail__core small,.ad-detail__core strong { display: block; }.ad-detail__core small { margin-bottom: 5px; color: #9ba1af; font-size: 7px; }.ad-detail__core strong { color: #475169; font-size: 10px; }.ad-detail__section { margin-top: 11px; padding: 18px 20px; border: 1px solid #e1e4eb; border-radius: 13px; background: #fff; }.ad-detail__section h2 { margin: 0 0 13px; color: #35405a; font-size: 12px; }.detail-chips { display: flex; flex-wrap: wrap; gap: 6px; }.detail-chips span { padding: 6px 8px; border-radius: 7px; color: #5c67c9; background: #eef0ff; font-size: 8px; }.detail-checks,.detail-rates,.detail-list { margin: 0; padding: 0; list-style: none; }.detail-checks li { display: flex; align-items: center; gap: 7px; margin-top: 7px; color: #626b80; font-size: 9px; }.detail-checks li span { width: 18px; height: 18px; padding: 4px; border-radius: 5px; color: #3f9462; background: #e8f7ee; }.detail-rates li { display: flex; justify-content: space-between; gap: 15px; padding: 8px 0; border-bottom: 1px solid #edf0f3; font-size: 9px; }.detail-rates li:last-child { border: 0; }.detail-rates span { color: #697287; }.detail-list { display: grid; gap: 7px; color: #636c81; font-size: 9px; }.detail-description { margin: 0; color: #626b80; font-size: 9px; line-height: 1.7; white-space: pre-line; }.detail-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }.detail-gallery img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; }.ad-contact { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 12px; padding: 17px 20px; border-radius: 13px; color: #fff; background: linear-gradient(130deg,#273760,#4055a5); }.ad-contact strong,.ad-contact small { display: block; }.ad-contact strong { margin-bottom: 4px; font-size: 11px; }.ad-contact small { color: #c9d0e7; font-size: 8px; }.ad-contact .primary-action { color: #354575; background: #fff; box-shadow: none; }
.work-wizard { width: min(calc(100% - 28px), 700px); max-height: min(92vh,850px); padding: 0; overflow: auto; border: 0; border-radius: 18px; color: #2b354d; background: #fff; box-shadow: 0 30px 100px rgba(10,18,43,.28); }.work-wizard::backdrop { background: rgba(8,15,36,.52); backdrop-filter: blur(3px); }.work-wizard form { padding: 0 24px; }.wizard-header { position: sticky; z-index: 3; top: 0; display: flex; align-items: center; justify-content: space-between; margin: 0 -24px; padding: 19px 24px 15px; border-bottom: 1px solid #e9ebf0; background: #fff; }.wizard-header small { color: #6371da; font-size: 7px; font-weight: 800; text-transform: uppercase; }.wizard-header h2 { margin: 3px 0 0; font-size: 19px; }.wizard-step { padding: 22px 0; }.wizard-step > p { margin: 0 0 16px; color: #8b92a3; font-size: 9px; }.wizard-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }.wizard-choices button { display: grid; min-height: 165px; align-content: center; justify-items: start; padding: 20px; border: 1px solid #e0e3eb; border-radius: 14px; color: #37415a; background: #fafbfc; cursor: pointer; text-align: left; }.wizard-choices button:hover { border-color: #9da8ed; background: #f5f6ff; }.wizard-choices button:disabled { opacity: .45; cursor: not-allowed; }.wizard-choices span,.side-choice > span { width: 39px; height: 39px; padding: 10px; border-radius: 11px; color: #5b69d4; background: #e9edff; }.wizard-choices strong { margin-top: 14px; font-size: 11px; }.wizard-choices small { margin-top: 6px; color: #9198a7; font-size: 8px; line-height: 1.5; }.wizard-back { margin-bottom: 14px; padding: 0; border: 0; color: #7f8799; background: transparent; cursor: pointer; font-size: 8px; }.side-choice { display: grid; grid-template-columns: 45px 1fr; gap: 13px; align-items: center; margin-bottom: 17px; padding: 18px; border: 1px solid #dfe3ee; border-radius: 13px; background: #f7f8ff; }.side-choice small,.side-choice strong { display: block; }.side-choice small { margin-bottom: 3px; color: #6876d9; font-size: 7px; font-weight: 800; text-transform: uppercase; }.side-choice strong { font-size: 13px; }.side-choice p { margin: 6px 0 0; color: #8e95a5; font-size: 8px; }.wizard-required { padding: 16px; border: 1px solid #e2e5ec; border-radius: 13px; background: #fafbfc; }.wizard-group-title { margin: 0 0 13px; color: #5963b7; font-size: 8px; font-weight: 800; text-transform: uppercase; }.work-wizard label { display: block; margin-top: 11px; color: #505a70; font-size: 8px; font-weight: 700; }.work-wizard input,.work-wizard select,.work-wizard textarea { display: block; width: 100%; margin-top: 6px; border: 1px solid #dfe3ea; border-radius: 8px; color: #313b53; background: #fff; font: inherit; font-size: 9px; }.work-wizard input,.work-wizard select { height: 39px; padding: 0 10px; }.work-wizard textarea { padding: 10px; resize: vertical; }.work-wizard input:focus,.work-wizard select:focus,.work-wizard textarea:focus { border-color: #8794ed; outline: 0; box-shadow: 0 0 0 3px rgba(86,102,231,.1); }.wizard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }.wizard-grid--payment { grid-template-columns: 1.2fr 1fr 1fr .8fr 1fr; }.profession-search { position: relative; }.profession-search__icon { position: absolute; left: 10px; top: 31px; width: 14px; color: #8c94a7; }.profession-search > input { padding-left: 32px; }.profession-results { position: absolute; z-index: 7; right: 0; left: 0; max-height: 220px; overflow-y: auto; margin-top: 4px; padding: 5px; border: 1px solid #dfe3eb; border-radius: 9px; background: #fff; box-shadow: 0 15px 35px rgba(25,35,68,.14); }.profession-results button { display: block; width: 100%; padding: 9px; border: 0; border-radius: 6px; color: #434d64; background: transparent; cursor: pointer; text-align: left; }.profession-results button:hover { background: #f2f4ff; }.profession-results strong,.profession-results small { display: block; }.profession-results strong { font-size: 9px; }.profession-results small { margin-top: 3px; color: #9198a7; font-size: 7px; }.wizard-more { margin-top: 10px; border: 1px solid #e0e4ec; border-radius: 12px; background: #fff; }.wizard-more summary { display: flex; align-items: center; gap: 7px; padding: 13px 15px; color: #5664cf; cursor: pointer; font-size: 9px; font-weight: 800; list-style: none; }.wizard-more summary svg { width: 13px; }.wizard-more summary small { margin-left: auto; color: #a1a6b2; font-size: 7px; font-weight: 500; }.wizard-more__content { padding: 0 15px 16px; border-top: 1px solid #edf0f3; }.inline-add { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; padding: 6px 8px; border: 1px solid #dde1e9; border-radius: 7px; color: #5a68ce; background: #fff; cursor: pointer; font-size: 7px; font-weight: 700; }.inline-add svg { width: 11px; }.work-type-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }.work-type-options label { margin: 0; padding: 7px 8px; border-radius: 7px; background: #f1f3f7; font-size: 7px; }.work-type-options input,.criteria-check input { display: inline-block; width: 13px; height: 13px; margin: 0 4px 0 0; vertical-align: middle; }.criteria-block { margin-top: 15px; padding-top: 12px; border-top: 1px solid #edf0f3; }.criteria-block h3 { margin: 0 0 8px; font-size: 9px; }.criteria-block h3 small { color: #9ca2af; font-size: 7px; font-weight: 500; }.criteria-check { font-weight: 500 !important; }.rate-row { display: grid; grid-template-columns: 1.3fr .7fr .65fr .8fr 30px; gap: 5px; align-items: end; margin-top: 8px; }.rate-row input,.rate-row select { margin: 0; }.rate-row button { display: grid; width: 30px; height: 39px; padding: 8px; place-items: center; border: 0; color: #a06b73; background: transparent; cursor: pointer; }.photo-field small { display: block; margin-top: 4px; color: #9aa1af; font-size: 7px; }.media-preview { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }.media-preview img { width: 54px; height: 54px; object-fit: cover; border-radius: 7px; }.media-preview span { padding: 5px 7px; border-radius: 6px; color: #6c7488; background: #f1f3f6; font-size: 7px; }.wizard-footer { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 5px -24px -22px; padding: 13px 24px; border-top: 1px solid #e7e9ef; background: #fff; }.wizard-footer span { color: #959caa; font-size: 7px; }.work-wizard .dialog-error { min-height: 14px; margin: 8px 0 0; color: #c84d59; font-size: 8px; }
.own-tabs { display: flex; gap: 7px; margin-bottom: 11px; }.own-tabs button { padding: 8px 11px; border: 1px solid #e0e3e9; border-radius: 8px; color: #727b8f; background: #fff; cursor: pointer; font-size: 8px; font-weight: 700; }.own-tabs button span { margin-left: 5px; padding: 2px 5px; border-radius: 99px; background: #edf0f4; }.own-tabs .own-tabs--active { border-color: #aab3ee; color: #5261d3; background: #f2f4ff; }.manage-list { display: grid; gap: 8px; }.manage-card { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px; border: 1px solid #e1e4eb; border-radius: 13px; background: #fff; }.manage-card__main { min-width: 0; }.manage-card h2 { overflow: hidden; margin: 7px 0 4px; color: #35405a; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.manage-card__main > p { margin: 0 0 6px; color: #81899c; font-size: 8px; }.manage-card__main > small { color: #9ba1ae; font-size: 7px; }.manage-card__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }.manage-card__actions button,.manage-card__actions a { display: inline-flex; min-height: 31px; align-items: center; gap: 5px; padding: 0 9px; border: 1px solid #dfe3eb; border-radius: 7px; color: #5a65c2; background: #fff; cursor: pointer; font-size: 7px; font-weight: 700; text-decoration: none; }.manage-card__actions button svg { width: 11px; }.manage-card__actions button:disabled { color: #9ba1ad; background: #f2f3f5; cursor: not-allowed; }.expiry-notice { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 12px 14px; border: 1px solid #f0ddbb; border-radius: 10px; color: #8b652a; background: #fff8ea; }.expiry-notice > svg { width: 23px; }.expiry-notice strong,.expiry-notice span { display: block; }.expiry-notice strong { margin-bottom: 3px; font-size: 9px; }.expiry-notice span { font-size: 7px; }

.favorite-toggle { display: grid; width: 37px; height: 37px; flex: 0 0 auto; padding: 9px; place-items: center; border: 1px solid #dfe3eb; border-radius: 10px; color: #8891a4; background: #fff; cursor: pointer; transition: border-color .15s,color .15s,background .15s,transform .15s; }.favorite-toggle:hover { border-color: #aeb7ef; color: #5666d7; transform: translateY(-1px); }.favorite-toggle:disabled { opacity: .55; cursor: wait; }.favorite-toggle svg { width: 17px; height: 17px; }.favorite-toggle--saved { border-color: #b7c0f5; color: #5060d7; background: #eef0ff; }.favorite-toggle--saved svg path { fill: currentColor; }.favorite-toggle--compact { width: 31px; height: 31px; padding: 7px; border-radius: 8px; }
.market-card,.match-card { position: relative; }.market-card > .favorite-toggle { position: absolute; z-index: 2; top: 10px; right: 10px; }.market-card:has(> .favorite-toggle) .market-card__aside { padding-top: 32px; }.match-card > .favorite-toggle { position: absolute; top: 9px; right: 9px; }.match-card:has(> .favorite-toggle) { padding-top: 36px; }
.ad-detail__hero-actions { display: flex; align-items: center; gap: 10px; }.ad-contact__actions { display: flex; align-items: center; gap: 8px; }.ad-contact__actions .favorite-toggle { border-color: rgba(255,255,255,.36); color: #fff; background: rgba(255,255,255,.1); }.ad-contact__actions .favorite-toggle--saved { color: #4051b9; background: #fff; }
.publisher-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; padding: 13px; border: 1px solid #e0e4ed; border-radius: 12px; }.publisher-choice legend { padding: 0 5px; color: #6974cd; font-size: 8px; font-weight: 800; }.publisher-choice label { position: relative; display: grid; min-height: 95px; grid-template-columns: 27px 1fr; gap: 4px 8px; margin: 0; padding: 12px; border: 1px solid #e1e4eb; border-radius: 10px; cursor: pointer; }.publisher-choice label:has(input:checked) { border-color: #9da8ed; background: #f3f4ff; }.publisher-choice input { position: absolute; top: 8px; right: 8px; width: 13px; height: 13px; margin: 0; }.publisher-choice label > span { grid-row: 1 / 3; width: 27px; height: 27px; padding: 6px; border-radius: 7px; color: #5a67cb; background: #e9edff; }.publisher-choice strong { align-self: end; font-size: 9px; }.publisher-choice small { color: #8f96a5; font-size: 7px; line-height: 1.4; }.publisher-fixed { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 12px; border: 1px solid #dfe3eb; border-radius: 10px; background: #f5f6ff; }.publisher-fixed > svg { width: 28px; padding: 6px; color: #5967ca; }.publisher-fixed small,.publisher-fixed strong { display: block; }.publisher-fixed small { color: #8e95a5; font-size: 7px; }.publisher-fixed strong { margin-top: 3px; font-size: 9px; }
.workspace-content:has(.favorites-page),.workspace-content:has(.public-subject) { align-items: start; }.favorites-page,.public-subject { width: min(100%,1020px); margin: 0 auto; }.favorites-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }.favorites-heading h1,.public-subject h1 { margin: 5px 0 6px; color: #202c49; font-size: 31px; letter-spacing: -.04em; }.favorites-heading p,.public-subject header p { margin-bottom: 0; color: #8991a3; font-size: 10px; }.favorites-heading > span { padding: 7px 10px; border-radius: 99px; color: #5c67ca; background: #eef0ff; font-size: 8px; font-weight: 800; }
.favorite-tabs { display: flex; gap: 6px; margin-bottom: 13px; overflow-x: auto; }.favorite-tabs button { min-height: 34px; padding: 0 11px; border: 1px solid #dfe3ea; border-radius: 8px; color: #70798d; background: #fff; cursor: pointer; font-size: 8px; font-weight: 700; white-space: nowrap; }.favorite-tabs button:hover,.favorite-tabs .favorite-tabs--active { border-color: #aab3ee; color: #5261d3; background: #f1f3ff; }
.favorites-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }.favorite-card { display: flex; min-width: 0; min-height: 220px; flex-direction: column; padding: 16px; border: 1px solid #e0e4eb; border-radius: 14px; background: #fff; }.favorite-card > header { display: grid; grid-template-columns: 35px minmax(0,1fr) 31px; gap: 9px; align-items: center; }.favorite-card__icon { display: grid; width: 35px; height: 35px; padding: 9px; place-items: center; border-radius: 10px; color: #5967cd; background: #eaedff; }.favorite-card header small,.favorite-card header strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.favorite-card header small { color: #8d95a6; font-size: 7px; }.favorite-card header strong { margin-top: 3px; color: #3e4861; font-size: 9px; }.favorite-card h2 { margin: 16px 0 5px; color: #303b55; font-size: 15px; }.favorite-card > p { margin: 0; color: #858d9e; font-size: 8px; line-height: 1.5; }.favorite-card__facts { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 13px; padding-top: 11px; border-top: 1px solid #edf0f3; }.favorite-card__facts strong { color: #525d75; font-size: 8px; }.favorite-state,.private-employer-mark { padding: 4px 7px; border-radius: 99px; color: #477f5e; background: #e9f7ef; font-size: 6px; font-weight: 800; }.favorite-state--inactive { color: #897449; background: #fff5df; }.private-employer-mark { color: #846747; background: #fff3df; }.favorite-card > footer { display: flex; gap: 6px; margin-top: auto; padding-top: 14px; }.favorite-card > footer a,.favorite-card > footer button { min-height: 31px; padding-inline: 10px; font-size: 7px; }.favorite-card--unavailable { border-style: dashed; background: #fafbfc; }.favorite-card--unavailable > p { margin-top: 18px; }.favorites-empty,.favorites-loading { display: grid; min-height: 360px; padding: 35px; align-content: center; justify-items: center; border: 1px dashed #d9dde6; border-radius: 15px; color: #969ead; background: #fff; text-align: center; }.favorites-empty > svg,.favorites-loading > svg { width: 43px; margin-bottom: 13px; }.favorites-empty h2 { margin: 0; color: #4d5870; font-size: 17px; }.favorites-empty p { max-width: 390px; margin: 8px 0 16px; font-size: 8px; line-height: 1.6; }.favorites-loading span { font-size: 9px; }
.public-subject > header { display: grid; grid-template-columns: 58px minmax(0,1fr) 40px; gap: 15px; align-items: center; padding: 20px; border: 1px solid #e0e4eb; border-radius: 15px; background: #fff; }.public-subject > header > span { display: grid; width: 58px; height: 58px; padding: 15px; place-items: center; border-radius: 15px; color: #5866ca; background: #e9edff; }.public-subject__stats { display: flex; align-items: baseline; gap: 7px; margin: 10px 0; padding: 12px 16px; border-radius: 11px; background: #eff1ff; }.public-subject__stats strong { color: #4c5bca; font-size: 18px; }.public-subject__stats span { color: #6c7690; font-size: 8px; }.public-subject__stats em { margin-left: auto; color: #8b6d46; font-size: 7px; font-style: normal; }.public-subject__ads { display: grid; gap: 8px; }.public-subject__ads article { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 17px; border: 1px solid #e0e4eb; border-radius: 12px; background: #fff; }.public-subject__ads h2 { margin: 4px 0; color: #38435c; font-size: 11px; }.public-subject__ads small { color: #5c956f; font-size: 7px; }.public-subject__ads p { margin: 0; color: #8b93a3; font-size: 8px; }.public-subject__ads a { min-height: 31px; padding-inline: 10px; font-size: 7px; }
.nav-link__badge { min-width: 19px; margin-left: auto; padding: 3px 5px; border-radius: 99px; color: #fff; background: #5969e9; font-size: 8px; line-height: 1; text-align: center; }
.workspace-content:has(.chat-page) { align-items: stretch; padding: 28px clamp(24px,4vw,58px); }
.demo-control-button { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; border: 1px solid #dce1ed; border-radius: 10px; color: #687086; background: #fff; font-size: 11px; font-weight: 800; }
.demo-control-button i,.demo-status i { width: 7px; height: 7px; border-radius: 50%; background: #a7adba; }
.demo-control-button--active { color: #4656d8; border-color: #cdd3ff; background: #f2f3ff; }.demo-control-button--active i,.demo-status i.demo-status--on { background: #4f61e8; box-shadow: 0 0 0 3px #dfe3ff; }
.demo-dialog { width: min(92vw,520px); }.demo-status { display: flex; align-items: center; gap: 12px; margin: 14px 0; padding: 12px 14px; border-radius: 12px; background: #f6f7fb; }.demo-status span { display: grid; gap: 3px; }.demo-status small { color: var(--muted); }
.demo-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }.demo-actions button { min-height: 38px; padding: 0 13px; border: 1px solid #dce1ed; border-radius: 9px; color: var(--navy); background: #fff; font-size: 11px; font-weight: 800; }.demo-actions .primary-action { color: #fff; border-color: var(--blue); background: var(--blue); }.demo-actions .danger-text { color: #b5424d; }.demo-actions button:disabled { opacity: .45; cursor: not-allowed; }
.demo-personas > small { display: block; margin: 3px 0 7px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.chat-page { width: min(100%,1100px); margin: 0 auto; }
.chat-page__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.chat-page__heading h1 { margin: 4px 0 5px; color: #202c49; font-size: 31px; letter-spacing: -.04em; }
.chat-page__heading p { margin-bottom: 0; color: #8991a3; font-size: 10px; }
.chat-page__heading > span { padding: 7px 10px; border-radius: 99px; color: #5d68c7; background: #eef0ff; font-size: 8px; font-weight: 800; }
.chat-hub { display: grid; height: min(73vh,720px); min-height: 520px; grid-template-columns: minmax(250px,32%) minmax(0,1fr); overflow: hidden; border: 1px solid #dfe3eb; border-radius: 17px; background: #fff; box-shadow: 0 20px 60px rgba(27,38,76,.07); }
.conversation-list { min-width: 0; overflow-y: auto; border-right: 1px solid #e6e9ef; background: #fafbfc; }
.conversation-list > header { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 17px 16px 13px; border-bottom: 1px solid #e7eaf0; background: rgba(250,251,252,.96); }
.conversation-list > header strong { color: #35405a; font-size: 10px; }.conversation-list > header small { color: #9ba2b0; font-size: 7px; }
.conversation-item { position: relative; display: grid; grid-template-columns: 39px minmax(0,1fr); gap: 10px; padding: 14px 13px; border-bottom: 1px solid #eceef2; color: inherit; text-decoration: none; }
.conversation-item:hover,.conversation-item--active { background: #f0f2ff; }.conversation-item--active::before { content: ""; position: absolute; inset: 8px auto 8px 0; width: 3px; border-radius: 0 3px 3px 0; background: #5969e9; }
.conversation-avatar { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 12px; color: #5261cc; background: #e9edff; font-size: 12px; font-weight: 900; }
.conversation-item__body { min-width: 0; }.conversation-item__body > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.conversation-item__body strong,.conversation-item__body small,.conversation-item__body em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conversation-item__body strong { color: #303a53; font-size: 9px; }.conversation-item__body time { color: #a1a7b4; font-size: 6px; }.conversation-item__body small { margin-top: 3px; color: #6874cf; font-size: 7px; }.conversation-item__body em { margin-top: 5px; color: #9299a8; font-size: 7px; font-style: normal; }
.conversation-item > b { position: absolute; right: 12px; bottom: 10px; min-width: 16px; padding: 3px 4px; border-radius: 99px; color: #fff; background: #5969e9; font-size: 7px; text-align: center; }
.conversation-list__empty { display: grid; min-height: 270px; padding: 30px; align-content: center; justify-items: center; color: #99a0ae; text-align: center; }.conversation-list__empty > svg { width: 35px; margin-bottom: 13px; }.conversation-list__empty strong { color: #576077; font-size: 11px; }.conversation-list__empty small { max-width: 210px; margin-top: 7px; font-size: 8px; line-height: 1.6; }
.chat-thread { display: grid; min-width: 0; min-height: 0; grid-template-rows: auto auto minmax(0,1fr) auto auto; background: #f6f7fa; }
.chat-thread__header { display: flex; align-items: center; gap: 11px; padding: 12px 17px; border-bottom: 1px solid #e5e8ee; background: #fff; }.chat-thread__header > div { min-width: 0; }.chat-thread__header strong,.chat-thread__header small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.chat-thread__header strong { color: #2e3952; font-size: 10px; }.chat-thread__header small { margin-top: 3px; color: #9299a8; font-size: 7px; }.chat-thread__header .conversation-avatar { width: 36px; height: 36px; }
.chat-ad-link { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: #5c68cf; font-size: 7px; font-weight: 800; text-decoration: none; white-space: nowrap; }.chat-ad-link svg { width: 11px; }.chat-mobile-back { display: none; color: #626dcb; }.chat-mobile-back svg { width: 17px; transform: rotate(180deg); }
.chat-thread__context { display: flex; align-items: center; gap: 9px; padding: 9px 17px; border-bottom: 1px solid #e8eaf0; background: #fbfbfd; }.chat-thread__context > span { width: 26px; padding: 6px; border-radius: 7px; color: #6470d2; background: #eef0ff; }.chat-thread__context small,.chat-thread__context strong { display: block; }.chat-thread__context small { color: #9ca2af; font-size: 6px; }.chat-thread__context strong { margin-top: 2px; color: #535d73; font-size: 8px; }.chat-thread__context em { margin-left: auto; color: #8b93a4; font-size: 7px; font-style: normal; }
.chat-messages { display: flex; min-height: 0; flex-direction: column; gap: 7px; overflow-y: auto; padding: 16px 18px; scroll-behavior: smooth; }
.older-messages { align-self: center; padding: 6px 9px; border-radius: 99px; color: #606dcc; background: #e9edff; font-size: 7px; font-weight: 800; text-decoration: none; }.chat-day-label { align-self: center; color: #9da3af; font-size: 7px; }
.chat-message { max-width: min(76%,520px); align-self: flex-start; padding: 9px 11px 7px; border: 1px solid #e2e5eb; border-radius: 5px 13px 13px 13px; background: #fff; box-shadow: 0 3px 10px rgba(29,39,70,.035); }.chat-message--own { align-self: flex-end; border-color: #cfd5ff; border-radius: 13px 5px 13px 13px; background: #e9edff; }
.chat-message--moderated { border-style: dashed; border-color: #d7dbe5; color: #858d9e; background: #f4f5f8; box-shadow: none; }.chat-message--moderated p { display: flex; align-items: center; gap: 7px; color: #7d8597; font-style: italic; }.chat-message--moderated p svg { width: 14px; flex: 0 0 auto; }
.chat-message > small { display: block; margin-bottom: 4px; color: #6270cf; font-size: 6px; font-weight: 800; }.chat-message p { margin: 0; color: #414b61; font-size: 9px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }.chat-message footer { display: flex; justify-content: flex-end; gap: 4px; margin-top: 4px; color: #959dad; font-size: 6px; }.chat-message footer span { color: #5969df; }
.chat-system-message { display: flex; max-width: 80%; align-items: center; align-self: center; gap: 6px; padding: 6px 9px; border: 1px solid #e0e3e9; border-radius: 99px; color: #747d90; background: rgba(255,255,255,.9); }.chat-system-message > span { width: 12px; height: 12px; color: #626fd0; }.chat-system-message strong { font-size: 7px; font-weight: 700; }.chat-system-message time { color: #a7acb6; font-size: 6px; }
.chat-actions-zone { display: grid; gap: 7px; padding: 0 14px 8px; background: #f6f7fa; }.contact-share,.agreement-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e0e4eb; border-radius: 10px; background: #fff; }.contact-share > svg,.agreement-card > svg { width: 22px; flex: 0 0 auto; color: #6470d1; }.contact-share > div:first-of-type,.agreement-card > div:first-of-type { min-width: 0; }.contact-share strong,.contact-share small,.agreement-card strong,.agreement-card small { display: block; }.contact-share strong,.agreement-card strong { color: #465069; font-size: 8px; }.contact-share small,.agreement-card small { margin-top: 3px; color: #8e96a6; font-size: 7px; line-height: 1.45; }.contact-share--allowed { border-color: #cce8d8; background: #f2fbf6; }.contact-share--allowed > svg { color: #429363; }.contact-share--allowed a { display: block; margin-top: 3px; color: #2e7d50; font-size: 13px; font-weight: 900; text-decoration: none; }.contact-share--pending { background: #fffbf1; }
.contact-share__actions,.agreement-card__actions { display: flex; flex: 0 0 auto; gap: 6px; margin-left: auto; }.contact-share__actions button,.agreement-card__actions button { min-height: 29px; padding: 0 9px; font-size: 7px; }
.chat-contact-action { display: flex; align-items: center; gap: 9px; }.chat-contact-action button { min-height: 29px; padding-inline: 9px; font-size: 7px; }.chat-contact-action small { color: #9ba1ae; font-size: 6px; line-height: 1.4; }
.agreement-card--confirmed { border-color: #c9e7d5; background: #f1fbf5; }.agreement-card--confirmed > svg { color: #3f9561; }
.chat-composer { display: grid; grid-template-columns: minmax(0,1fr) 39px; gap: 8px; padding: 10px 14px 8px; border-top: 1px solid #e1e5eb; background: #fff; }.chat-composer textarea { min-height: 39px; max-height: 110px; padding: 11px 13px; resize: vertical; border: 1px solid #dde1e9; border-radius: 10px; color: #3e485f; background: #fafbfc; font: inherit; font-size: 9px; }.chat-composer textarea:focus { border-color: #8995ed; outline: 0; box-shadow: 0 0 0 3px rgba(89,105,233,.09); }.chat-composer button { width: 39px; min-height: 39px; padding: 10px; }.chat-composer button svg { width: 17px; }.chat-composer > small { grid-column: 1 / -1; color: #a0a6b2; font-size: 6px; }
.chat-thread-empty { display: grid; padding: 35px; align-content: center; justify-items: center; color: #a0a6b2; background: #f8f9fb; text-align: center; }.chat-thread-empty > svg { width: 45px; }.chat-thread-empty h2 { margin: 14px 0 6px; color: #4e5870; font-size: 16px; }.chat-thread-empty p { max-width: 300px; margin: 0; font-size: 8px; line-height: 1.6; }

@media (max-width: 900px) {
  .welcome-shell { grid-template-columns: minmax(330px, 40%) 1fr; }
  .intro-panel { padding-inline: 35px; }
  .intro-panel h1 { font-size: 44px; }
  .intro-panel__content > p { font-size: 14px; }
  .auth-panel { padding-inline: 30px; }
  .workspace-shell { grid-template-columns: 210px minmax(0, 1fr); }
  .workspace-content { padding-inline: 48px; }
  .hr-metrics { grid-template-columns: 1fr 1fr; }
  .recruitment-metrics { grid-template-columns: 1fr 1fr; }
  .wizard-grid--payment { grid-template-columns: 1fr 1fr 1fr; }
  .match-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 760px) {
  .welcome-shell { display: block; }
  .intro-panel { display: none; }
  .auth-panel { min-height: 100svh; padding: 28px 20px 22px; }
  .auth-card { margin: auto 0; }
  .mobile-brand { display: flex; justify-content: center; margin-bottom: 38px; }
  .auth-card__header h2 { font-size: 28px; }
  .legal { margin-top: 32px; }
  .workspace-shell { display: block; }
  .sidebar { position: fixed; left: 0; transform: translateX(-102%); width: 236px; box-shadow: none; transition: transform .22s ease; }
  .sidebar--open { transform: translateX(0); box-shadow: 18px 0 50px rgba(14, 23, 52, .14); }
  .sidebar--open + .sidebar-backdrop { display: block; }
  .sidebar-backdrop { position: fixed; z-index: 19; inset: 0; border: 0; background: rgba(8, 15, 36, .38); }
  .mobile-menu-button { display: grid; }
  .topbar { height: 66px; padding-inline: 17px; }
  .workspace-content { min-height: calc(100vh - 66px); padding: 45px 24px; }
  .favorites-grid { grid-template-columns: 1fr; }.public-subject > header { grid-template-columns: 48px minmax(0,1fr) 37px; padding: 15px; }.public-subject > header > span { width: 48px; height: 48px; padding: 12px; }.publisher-choice { grid-template-columns: 1fr; }
  .workspace-content:has(.chat-page) { min-height: calc(100svh - 66px); padding: 0; }
  .chat-page { height: calc(100svh - 66px); }
  .chat-page__heading { height: 82px; margin: 0; padding: 14px 17px; }.chat-page__heading h1 { font-size: 23px; }.chat-page__heading p { display: none; }
  .chat-hub { height: calc(100svh - 148px); min-height: 0; grid-template-columns: 1fr; border-right: 0; border-bottom: 0; border-left: 0; border-radius: 0; box-shadow: none; }
  .conversation-list { border-right: 0; }.chat-hub--mobile-selected .conversation-list { display: none; }.chat-hub:not(.chat-hub--mobile-selected) .chat-thread,.chat-hub:not(.chat-hub--mobile-selected) .chat-thread-empty { display: none; }
  .chat-mobile-back { display: inline-flex; }.chat-thread__header { padding-inline: 12px; }.chat-thread__context { padding-inline: 12px; }.chat-thread__context em { display: none; }
  .chat-message { max-width: 86%; }.contact-share,.agreement-card { align-items: flex-start; flex-direction: column; }.contact-share__actions,.agreement-card__actions { width: 100%; margin-left: 0; }.contact-share__actions button,.agreement-card__actions button { flex: 1; }
  .breadcrumbs > span, .breadcrumbs svg { display: none; }
  .home-view h1, .empty-view h1 { font-size: clamp(30px, 9vw, 40px); }
  .workspace-content:has(.hr-cabinet) { padding: 0; }
  .hr-cabinet { min-height: calc(100vh - 66px); grid-template-columns: 1fr; }
  .hr-cabinet__sidebar { position: sticky; z-index: 8; top: 66px; grid-template-columns: 1fr; padding: 9px 16px; border-right: 0; border-bottom: 1px solid #e4e7ee; }
  .hr-company-rail { flex-direction: row; overflow-x: auto; padding: 0 0 8px; border-right: 0; border-bottom: 1px solid #edf0f4; }
  .hr-nav { flex-direction: row; overflow-x: auto; }.hr-nav__link { flex: 0 0 auto; }
  .hr-cabinet__main { padding: 22px 20px 45px; }
  .hr-list-filters,.hr-event-filters { grid-template-columns: 1fr 1fr; }.hr-list-filters > button { justify-self: stretch; }.hr-contract-list article { grid-template-columns: 30px 1fr auto; }.hr-contract-list article a { grid-column: 2 / -1; }
  .foundation-page__header { align-items: flex-start; flex-direction: column; }
  .recruiter-heading { align-items: stretch; }
  .hr-id-card { width: 100%; }
  .company-meta { grid-template-columns: 1fr 1fr; gap: 14px; }
  .company-meta div:last-child { grid-column: 1 / -1; }
  .member-row { grid-template-columns: 34px 1fr 30px; }
  .member-status { display: none; }
  .invitation-row { grid-template-columns: 40px 1fr; }
  .invitation-row__actions { grid-column: 1 / -1; justify-content: flex-end; }
}

@media (max-width: 420px) {
  .account-type-grid { grid-template-columns: 1fr; }
  .account-type-card span { min-height: 58px; }
  .role-grid { grid-template-columns: 1fr; }
  .dev-panel { padding: 14px; }
  .account-placeholder { display: none; }
  .notification-popover { position: fixed; top: 59px; right: 10px; left: 10px; width: auto; }
  .role-control { min-width: 142px; }
  .workspace-content { padding-inline: 20px; }
  .context-card { grid-template-columns: 35px 1fr; }
  .context-card__status { display: none; }
  .workspace-content { padding-top: 34px; }
  .foundation-page__header h1, .foundation-heading h1 { font-size: 29px; }
  .foundation-empty { min-height: 320px; padding: 28px 18px; }
  .company-overview { padding: 18px; }
  .company-overview__identity { grid-template-columns: 42px 1fr; }
  .ownership-badge { grid-column: 1 / -1; justify-self: start; }
  .members-panel__header { align-items: flex-start; flex-direction: column; gap: 12px; }
  .members-panel__header .secondary-action { width: 100%; }
  .member-row { grid-template-columns: 32px minmax(0, 1fr) 28px; }
  .member-row__identity { min-width: 0; }
  .member-row__identity strong, .member-row__identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .company-workspace { grid-template-columns: 1fr; }
  .company-rail { flex-direction: row; justify-content: flex-start; overflow-x: auto; }
  .company-rail__item--active::before { display: none; }
  .company-workspace__members { grid-column: 1; }
  .hr-company-context { min-height: 270px; padding: 25px; }
  .recruiter-preview { grid-template-columns: 34px 1fr; }
  .recruiter-preview .primary-action { grid-column: 1 / -1; }
  .hr-metrics { grid-template-columns: 1fr 1fr; }
  .hr-metrics article { min-height: 110px; grid-template-columns: 28px 1fr; padding: 12px; }
  .hr-metrics article > span { width: 28px; height: 28px; }
  .hr-list-filters,.hr-event-filters { grid-template-columns: 1fr; }.hr-contract-list article { grid-template-columns: 30px 1fr; }.hr-contract-list article em,.hr-contract-list article a { grid-column: 2; justify-self: start; }
  .staff-groups article { grid-template-columns: 34px 1fr 45px; }.staff-stats { grid-column: 2 / -1; justify-content: flex-start; }
  .employee-card > summary { grid-template-columns: 36px 1fr 13px; }.employee-state,.attention-dot { grid-column: 2; justify-self: start; }.employee-card summary > svg { grid-column: 3; grid-row: 1; }
  .employee-detail { padding-inline: 12px; }
  .template-grid,.vacancy-grid { grid-template-columns: 1fr; }
  .hire-row { grid-template-columns: 36px 1fr; }.hire-state,.hire-row button,.hire-row a { grid-column: 2; justify-self: start; }
  .vacancy-card__footer { align-items: flex-start; flex-direction: column; }
  .need-card { grid-template-columns: 34px 1fr; padding: 13px; }.need-card__icon { width: 34px; height: 34px; padding: 8px; }
  .need-card__top { align-items: flex-start; flex-direction: column; }
  .need-templates button { align-items: flex-start; flex-direction: column; }
  .dialog-field-grid { grid-template-columns: 1fr; gap: 0; }
  .work-heading { align-items: flex-start; flex-direction: column; }.work-heading h1 { font-size: 29px; }.work-heading .primary-action { width: 100%; }
  .match-panel { padding: 12px; }.match-strip { grid-template-columns: 1fr; }.match-card__actions a,.match-card__actions button { flex: 1; justify-content: center; }
  .market-card { grid-template-columns: 40px minmax(0,1fr); padding: 12px; }.market-card__icon,.market-card__image { width: 40px; height: 40px; }.market-card__aside { grid-column: 2; min-width: 0; align-items: flex-start; flex-direction: row; justify-content: space-between; }.market-card__badges { display: flex; margin: 7px 0 0; }.work-filter span { display: none; }
  .ad-detail__hero { flex-direction: column; padding: 18px; }.ad-detail__hero h1 { font-size: 23px; }.ad-detail__core { grid-template-columns: 1fr; }.ad-detail__core article { border-right: 0; border-bottom: 1px solid #e6e8ed; }.detail-gallery { grid-template-columns: 1fr 1fr; }.detail-gallery img { height: 120px; }.ad-contact { align-items: flex-start; flex-direction: column; }.ad-contact .primary-action { width: 100%; }
  .wizard-choices,.wizard-grid,.wizard-grid--payment { grid-template-columns: 1fr; }.wizard-choices button { min-height: 125px; }.work-wizard form { padding-inline: 17px; }.wizard-header { margin-inline: -17px; padding-inline: 17px; }.wizard-footer { align-items: stretch; flex-direction: column; margin-inline: -17px; padding-inline: 17px; }.rate-row { grid-template-columns: 1fr 1fr; }.rate-row button { grid-column: 2; justify-self: end; height: 28px; }.manage-card { align-items: flex-start; flex-direction: column; }.manage-card__actions { justify-content: flex-start; }
  .chat-page__heading > span { display: none; }.chat-ad-link { width: 22px; overflow: hidden; font-size: 0; }.chat-ad-link svg { width: 18px; }.chat-thread__header .conversation-avatar { display: none; }
  .chat-messages { padding-inline: 12px; }.chat-actions-zone { padding-inline: 9px; }.chat-composer { padding-inline: 9px; }.chat-contact-action { align-items: flex-start; flex-direction: column; }.chat-contact-action button { width: 100%; }
  .favorites-heading { align-items: flex-start; flex-direction: column; }.favorites-heading h1,.public-subject h1 { font-size: 27px; }.favorites-heading > span { align-self: flex-start; }.favorite-card { min-height: 205px; }.public-subject > header { grid-template-columns: 42px minmax(0,1fr); }.public-subject > header > span { width: 42px; height: 42px; padding: 10px; }.public-subject > header > .favorite-toggle { grid-column: 1 / -1; width: 100%; }.public-subject__ads article { align-items: flex-start; flex-direction: column; }.public-subject__ads a { width: 100%; }.ad-detail__hero-actions { width: 100%; justify-content: space-between; }.ad-contact__actions { width: 100%; }.ad-contact__actions .primary-action { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Stage 23 — единая продуктовая design system */
:root {
  --theme-bg: #f5f6fa;
  --theme-surface: #ffffff;
  --theme-surface-raised: #ffffff;
  --theme-surface-soft: #fafbfe;
  --theme-surface-hover: #f4f5fb;
  --theme-surface-accent: #f1f2ff;
  --theme-text: #17213c;
  --theme-text-secondary: #667085;
  --theme-text-muted: #9299aa;
  --theme-border: #dfe3eb;
  --theme-border-strong: #c8ceda;
  --theme-accent: #5361e8;
  --theme-accent-hover: #424fcf;
  --theme-accent-contrast: #ffffff;
  --theme-input-bg: #ffffff;
  --theme-overlay: rgba(13, 21, 49, .52);
  --theme-disabled: #f0f1f4;
  --theme-focus: rgba(83, 97, 232, .28);
  --theme-selection: rgba(83, 97, 232, .24);
  --color-bg: var(--theme-bg);
  --color-surface: var(--theme-surface);
  --color-surface-soft: var(--theme-surface-soft);
  --color-surface-accent: var(--theme-surface-accent);
  --color-text: var(--theme-text);
  --color-text-secondary: var(--theme-text-secondary);
  --color-text-tertiary: var(--theme-text-muted);
  --color-primary: var(--theme-accent);
  --color-primary-strong: var(--theme-accent-hover);
  --color-primary-soft: var(--theme-surface-accent);
  --color-border: var(--theme-border);
  --color-border-soft: color-mix(in srgb, var(--theme-border) 58%, transparent);
  --color-success: #26764b;
  --color-success-soft: #eaf7ef;
  --color-warning: #9a631d;
  --color-warning-soft: #fff5e6;
  --color-danger: #b13a3a;
  --color-danger-soft: #fff0f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 60, .04);
  --shadow-md: 0 12px 32px rgba(24, 34, 68, .07);
  --shadow-overlay: 0 28px 80px rgba(13, 21, 49, .22);
  --text-page-title: 32px;
  --text-section-title: 21px;
  --text-card-title: 17px;
  --text-body: 14px;
  --text-control: 13px;
  --text-label: 12px;
  --text-secondary: 12px;
  --text-caption: 11px;
  --chat-text-primary: 14px;
  --chat-text-secondary: 12px;
  --chat-text-caption: 11px;
  --navy: var(--color-text);
  --blue: var(--color-primary);
  --blue-dark: var(--color-primary-strong);
  --muted: var(--color-text-secondary);
  --line: var(--color-border);
  --surface: var(--color-surface);
}

:root[data-theme="dark"] {
  --theme-bg: #101522;
  --theme-surface: #171e2e;
  --theme-surface-raised: #1c2537;
  --theme-surface-soft: #141b2a;
  --theme-surface-hover: #222c40;
  --theme-surface-accent: #252d4d;
  --theme-text: #f1f4fb;
  --theme-text-secondary: #c0c8d8;
  --theme-text-muted: #929db1;
  --theme-border: #303a4d;
  --theme-border-strong: #465269;
  --theme-accent: #7f8cff;
  --theme-accent-hover: #929dff;
  --theme-accent-contrast: #11172a;
  --theme-input-bg: #111827;
  --theme-overlay: rgba(3, 7, 15, .74);
  --theme-disabled: #202838;
  --theme-focus: rgba(127, 140, 255, .42);
  --theme-selection: rgba(127, 140, 255, .34);
  --color-success: #72c596;
  --color-success-soft: #183529;
  --color-warning: #e0b46f;
  --color-warning-soft: #3b2d19;
  --color-danger: #ef9292;
  --color-danger-soft: #3e2227;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .22);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, .26);
  --shadow-overlay: 0 30px 85px rgba(0, 0, 0, .48);
}

html { overflow-x: hidden; }
body { color: var(--color-text); background: var(--color-bg); }
button, input, select, textarea { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(83, 97, 232, .24);
  outline-offset: 2px;
}

.workspace-shell { grid-template-columns: 248px minmax(0, 1fr); background: var(--color-bg); }
.sidebar { padding: 24px 16px 16px; border-color: var(--color-border-soft); }
.sidebar__brand { padding: 0 8px 25px; }
.sidebar-label { margin: 0 12px 9px; color: var(--color-text-tertiary); font-size: 10px; letter-spacing: .12em; }
.main-nav { gap: 3px; }
.nav-link { min-height: 44px; gap: 12px; padding: 0 12px; border-radius: var(--radius-md); color: var(--color-text-secondary); font-size: 13px; }
.nav-link:hover { color: var(--color-text); background: var(--color-surface-soft); }
.nav-link--active { color: var(--color-primary-strong); background: var(--color-primary-soft); }
.nav-link--active::before { left: -16px; width: 3px; height: 24px; background: var(--color-primary); }
.nav-link__icon { width: 19px; height: 19px; }
.nav-link__badge { min-width: 21px; margin-left: auto; padding: 3px 6px; border-radius: 999px; color: #fff; background: var(--color-primary); font-size: 10px; text-align: center; }

.company-context { grid-template-columns: 34px minmax(0, 1fr) 14px; min-height: 62px; padding: 10px 11px; border-color: #d9deed; border-radius: var(--radius-md); background: var(--color-surface-accent); }
.company-context:hover { border-color: #bec6ee; background: #ecefff; }
.company-context__icon { width: 34px; height: 34px; padding: 8px; color: var(--color-primary); background: #fff; }
.company-context small { margin-bottom: 3px; color: #7882a0; font-size: 10px; font-weight: 650; }
.company-context strong { max-width: 135px; color: var(--color-text); font-size: 12px; }
.dev-environment { min-height: 52px; border: 1px solid var(--color-border-soft); border-radius: var(--radius-md); background: var(--color-surface-soft); }
.dev-environment strong { color: var(--color-text-secondary); font-size: 11px; }
.dev-environment small { color: var(--color-text-tertiary); font-size: 10px; }

.topbar { height: 72px; padding: 0 clamp(22px, 3vw, 44px); border-color: var(--color-border-soft); background: rgba(255, 255, 255, .94); }
.breadcrumbs { gap: 8px; color: var(--color-text-tertiary); font-size: 12px; }
.breadcrumbs strong { color: var(--color-text); }
.topbar__actions { gap: 9px; }
.icon-button { width: 40px; height: 40px; padding: 10px; border-color: var(--color-border); border-radius: var(--radius-md); color: var(--color-text-secondary); }
.icon-button:hover { color: var(--color-primary); border-color: #c6ccef; background: var(--color-surface-accent); }
.notification-button > span { min-width: 19px; height: 19px; font-size: 9px; }
.role-control { min-width: 210px; grid-template-columns: 36px minmax(0, 1fr) 14px; min-height: 48px; padding: 5px 9px; border-color: var(--color-border); border-radius: var(--radius-md); }
.role-control__icon { width: 36px; height: 36px; padding: 9px; color: var(--color-primary); background: var(--color-primary-soft); }
.role-control small { color: var(--color-text-tertiary); font-size: 9px; font-weight: 700; letter-spacing: .02em; }
.role-control strong { color: var(--color-text); font-size: 12px; }
.account-placeholder { width: 40px; height: 40px; border-radius: var(--radius-md); background: var(--color-text); font-size: 12px; }
.demo-control-button { min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 11px; }

.workspace-content { min-height: calc(100vh - 72px); place-items: start stretch; padding: 38px clamp(26px, 4vw, 58px) 64px; }
.page-eyebrow { margin: 0 0 8px; color: var(--color-primary); font-size: 10px; letter-spacing: .12em; }
.primary-action, .secondary-action, .ghost-action, .danger-button {
  min-height: 40px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 750;
}
.primary-action { background: var(--color-primary); box-shadow: 0 8px 18px rgba(83, 97, 232, .18); }
.primary-action:hover { background: var(--color-primary-strong); }
.secondary-action { border-color: var(--color-border); color: #45506a; background: #fff; }
.secondary-action:hover { border-color: #c1c8eb; color: var(--color-primary-strong); background: var(--color-surface-accent); }

.work-page { width: min(100%, 1120px); margin: 0 auto; }
.work-heading { align-items: end; margin-bottom: 22px; }
.work-heading h1 { margin: 4px 0 8px; color: var(--color-text); font-size: clamp(30px, 3.3vw, 40px); line-height: 1.1; letter-spacing: -.035em; }
.work-heading > div > p:last-child { max-width: 680px; color: var(--color-text-secondary); font-size: 13px; line-height: 1.6; }
.create-ad-action { min-width: 170px; }
.catalog-category-tabs { gap: 4px; margin: 0 0 14px; padding: 4px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #eef0f5; }
.catalog-category-tabs a { min-height: 44px; border: 0; border-radius: 9px; color: var(--color-text-secondary); font-size: 13px; }
.catalog-category-tabs a.is-active { color: var(--color-primary-strong); background: #fff; box-shadow: var(--shadow-sm); }

.catalog-filters { display: grid; gap: 10px; margin-bottom: 28px; }
.catalog-search-row { display: grid; grid-template-columns: minmax(280px, 1.7fr) minmax(190px, .8fr) auto; gap: 10px; align-items: end; padding: 16px; border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.catalog-search-row label, .catalog-location-fields label, .catalog-filter-grid label { display: grid; gap: 7px; color: var(--color-text-secondary); font-size: 11px; font-weight: 750; }
.catalog-search-row input, .catalog-search-row select, .catalog-location-fields input, .catalog-location-fields select, .catalog-filter-grid input, .catalog-filter-grid select { width: 100%; height: 42px; margin: 0; padding: 0 11px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-text); background: #fff; font-size: 13px; }
.catalog-search-row input:focus, .catalog-search-row select:focus, .catalog-location-fields input:focus, .catalog-location-fields select:focus, .catalog-filter-grid input:focus, .catalog-filter-grid select:focus { border-color: #9da7ed; outline: 0; box-shadow: 0 0 0 3px rgba(83, 97, 232, .1); }
.catalog-search-input { position: relative; display: block; }
.catalog-search-input > svg { position: absolute; z-index: 1; left: 12px; top: 12px; width: 18px; height: 18px; color: var(--color-text-tertiary); }
.catalog-search-input > input { padding-left: 39px; }
.catalog-search-row .primary-action { min-width: 104px; height: 42px; }
.catalog-search-row .primary-action svg { width: 17px; }
.catalog-location-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 10px; padding: 0 16px; }
.catalog-filter-sheet { border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; }
.catalog-filter-sheet > summary { display: grid; min-height: 44px; grid-template-columns: 18px auto minmax(0, 1fr) 16px; gap: 8px; align-items: center; padding: 0 14px; color: var(--color-text-secondary); font-size: 12px; font-weight: 750; cursor: pointer; list-style: none; }
.catalog-filter-sheet > summary > svg { width: 18px; }
.catalog-filter-sheet > summary > svg:last-child { justify-self: end; transition: transform .16s; }
.catalog-filter-sheet[open] > summary > svg:last-child { transform: rotate(180deg); }
.catalog-filter-sheet > summary small { justify-self: start; min-width: 20px; padding: 3px 6px; border-radius: 999px; color: #fff; background: var(--color-primary); text-align: center; }
.catalog-filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 16px; border-top: 1px solid var(--color-border-soft); }
.catalog-filter-sheet footer { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 11px 16px; border-top: 1px solid var(--color-border-soft); }
.catalog-filter-sheet footer span { color: var(--color-text-tertiary); font-size: 11px; }
.catalog-filter-sheet footer a { color: var(--color-primary); font-size: 12px; font-weight: 750; text-decoration: none; }

.catalog-results > header { margin-bottom: 12px; }
.catalog-results > header h2 { margin: 2px 0 0; color: var(--color-text); font-size: 22px; }
.catalog-results > header small { color: var(--color-text-tertiary); font-size: 12px; }
.market-list { gap: 10px; }
.market-card { position: relative; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 16px; min-height: 164px; padding: 18px; border-color: var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: border-color .16s, box-shadow .16s, transform .16s; }
.market-card:hover { border-color: #cbd1ed; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.market-card > .favorite-toggle { position: absolute; top: 14px; right: 14px; }
.market-card__media { align-self: start; }
.market-card__icon, .market-card__image { width: 60px; height: 60px; border-radius: var(--radius-md); }
.market-card__icon { padding: 16px; color: var(--color-primary); background: var(--color-primary-soft); }
.market-card__meta { gap: 7px; color: var(--color-text-tertiary); font-size: 10px; text-transform: none; }
.market-card__meta em { padding: 3px 6px; color: var(--color-primary-strong); background: var(--color-primary-soft); font-size: 9px; }
.market-card h2 { margin: 8px 42px 4px 0; font-size: 17px; line-height: 1.3; white-space: normal; }
.market-card h2 a { color: var(--color-text); text-decoration: none; }
.market-card h2 a:hover { color: var(--color-primary-strong); }
.market-card__owner { margin: 0 0 10px !important; color: var(--color-text-secondary) !important; font-size: 12px !important; }
.market-card__owner a { color: inherit; font-weight: 700; text-decoration: none; }
.subject-rating { color: #8a681f; font-size: 11px; }
.market-card__salary { display: block; color: var(--color-text) !important; font-size: 15px !important; }
.market-card__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 10px; }
.market-card__facts > span { display: inline-flex; align-items: center; gap: 5px; color: var(--color-text-secondary); font-size: 11px; }
.market-card__facts > span svg { width: 14px; height: 14px; }
.market-card__badges { display: flex; gap: 5px; margin: 0; }
.market-card__badges span { padding: 4px 7px; border-radius: 6px; color: var(--color-text-secondary); background: #f0f2f6; font-size: 10px; }
.market-card__aside { min-width: 170px; align-items: flex-end; justify-content: flex-end; gap: 38px; padding-top: 28px; }
.freshness { color: var(--color-success); font-size: 10px; }
.market-card__actions { display: flex; gap: 8px; }
.market-card__actions .primary-action, .market-card__actions .secondary-action { min-height: 36px; padding: 0 11px; font-size: 11px; }
.market-card__actions .secondary-action { display: inline-flex; align-items: center; gap: 4px; }
.market-card__actions svg { width: 14px; }

@media (max-width: 980px) {
  .workspace-shell { grid-template-columns: 218px minmax(0, 1fr); }
  .role-control { min-width: 170px; }
  .workspace-content { padding-inline: 28px; }
  .catalog-filter-grid { grid-template-columns: 1fr 1fr; }
  .market-card__aside { min-width: 145px; }
}

@media (max-width: 760px) {
  .workspace-shell { display: block; }
  .workspace-content { min-height: calc(100svh - 64px); padding: 26px 18px 48px; }
  .topbar { height: 64px; padding-inline: 14px; }
  .topbar__actions { gap: 7px; }
  .role-control { min-width: 0; width: 42px; height: 42px; grid-template-columns: 1fr; padding: 3px; border: 0; background: transparent; }
  .role-control__icon { width: 38px; height: 38px; }
  .role-control > span:nth-child(2), .role-control__chevron, .account-placeholder { display: none; }
  .work-heading { align-items: flex-start; flex-direction: column; }
  .work-heading .primary-action { width: 100%; }
  .catalog-search-row { grid-template-columns: 1fr 1fr; }
  .catalog-search-row .catalog-profession { grid-column: 1 / -1; }
  .catalog-search-row .primary-action { width: 100%; }
  .market-card { grid-template-columns: 52px minmax(0, 1fr); min-height: 0; padding: 15px; }
  .market-card__icon, .market-card__image { width: 52px; height: 52px; }
  .market-card__aside { grid-column: 2; min-width: 0; align-items: center; flex-direction: row; justify-content: space-between; gap: 10px; padding-top: 0; }
}

@media (max-width: 520px) {
  .breadcrumbs { max-width: 82px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .demo-control-button { width: 34px; min-height: 34px; padding: 0; font-size: 0; }
  .demo-control-button i { margin: 0; }
  .catalog-category-tabs { grid-template-columns: 1fr 1fr; }
  .catalog-category-tabs a { padding: 8px; text-align: center; }
  .catalog-search-row { grid-template-columns: 1fr; padding: 13px; }
  .catalog-search-row .catalog-profession { grid-column: 1; }
  .catalog-location-fields { grid-template-columns: 1fr; padding: 0 13px; }
  .catalog-filter-grid { grid-template-columns: 1fr; padding: 13px; }
  .catalog-filter-sheet footer { align-items: flex-start; flex-direction: column; }
  .market-card { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 13px; }
  .market-card__icon, .market-card__image { width: 44px; height: 44px; padding: 11px; }
  .market-card h2 { margin-right: 32px; font-size: 15px; }
  .market-card__facts { align-items: flex-start; flex-direction: column; }
  .market-card__aside { grid-column: 1 / -1; }
  .market-card__actions { width: 100%; }
  .market-card__actions .primary-action, .market-card__actions .secondary-action { flex: 1; justify-content: center; }
}

/* PP-WORK-011 · безопасность, жалобы и модерация */
.security-loading { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 32px; text-align: center; color: var(--navy); }
.security-loading > span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 18px; color: var(--blue); background: #eef0ff; }
.security-loading svg { width: 30px; }.security-loading strong { font-size: 20px; }.security-loading p { max-width: 430px; margin: 0 0 8px; color: var(--muted); }
.security-loading--error > span { color: #c84255; background: #fff0f2; }
.security-banner { margin: 0 0 18px; padding: 13px 16px; border: 1px solid #f1d99b; border-radius: 12px; color: #725313; background: #fff9e9; }
.manage-card--moderated { border-color: #efc8ce; background: #fffafb; }.moderation-lock { padding: 7px 10px; border-radius: 9px; color: #96364a; background: #fff0f2; font-size: 13px; font-weight: 700; }
.account-blocked { display: grid; max-width: 650px; min-height: 470px; place-content: center; justify-items: center; margin: 0 auto; text-align: center; }
.account-blocked > svg { width: 56px; height: 56px; margin-bottom: 16px; padding: 14px; border-radius: 18px; color: #bd3d51; background: #fff0f2; }.account-blocked h1 { margin: 4px 0 12px; }.account-blocked > p:last-child { max-width: 520px; color: var(--muted); line-height: 1.6; }

.report-menu { position: relative; z-index: 5; }.report-menu > summary { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: #596176; background: #fff; cursor: pointer; list-style: none; }.report-menu > summary::-webkit-details-marker { display: none; }.report-menu > summary svg { width: 19px; }.report-menu[open] > summary { border-color: #cbd1fb; color: var(--blue); background: #f6f7ff; }
.report-menu > div { position: absolute; z-index: 20; top: calc(100% + 7px); right: 0; width: 180px; padding: 6px; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: 0 14px 32px rgba(20, 29, 58, .14); }.report-menu > div button { display: flex; width: 100%; align-items: center; gap: 8px; padding: 9px 10px; border: 0; border-radius: 8px; color: #394056; background: transparent; cursor: pointer; text-align: left; }.report-menu > div button:hover { background: #f5f6fa; }.report-menu > div svg { width: 17px; }
.report-dialog { width: min(520px, calc(100vw - 28px)); }.report-target { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid #e5e8ef; border-radius: 11px; background: #f8f9fc; }.report-target small { color: var(--muted); }.report-dialog select,.report-dialog textarea,.moderation-actions select,.moderation-actions textarea { width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid #d9dde7; border-radius: 10px; color: var(--navy); background: #fff; font: inherit; }.report-dialog label small { color: var(--muted); font-weight: 400; }
.chat-message footer .report-menu { margin-left: auto; }.chat-message footer .report-menu > summary { width: 25px; height: 23px; border: 0; color: #8a91a3; background: transparent; }.chat-message footer .report-menu > div { right: auto; left: 0; }.chat-message footer .report-menu svg { width: 15px; }
.public-subject__actions { display: flex; align-items: center; gap: 8px; }.ad-detail__hero-actions { flex-wrap: wrap; }

.moderation-page,.moderation-detail { max-width: 1120px; margin: 0 auto; }.moderation-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 22px; }.moderation-heading h1,.moderation-detail h1 { margin: 3px 0 8px; font-size: 36px; }.moderation-heading p { margin: 0; color: var(--muted); }.moderation-heading > span { padding: 8px 12px; border-radius: 999px; color: #3f50d6; background: #eef0ff; font-weight: 700; white-space: nowrap; }
.moderation-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }.moderation-metrics article { display: grid; gap: 4px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }.moderation-metrics strong { font-size: 25px; }.moderation-metrics small { color: var(--muted); }
.moderation-filters { display: flex; align-items: flex-end; gap: 10px; margin: 0 0 14px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }.moderation-filters label { display: grid; gap: 5px; color: #7e879a; font-size: 11px; font-weight: 700; }.moderation-filters select { min-width: 180px; height: 38px; padding: 0 10px; border: 1px solid #dfe3eb; border-radius: 8px; color: #4f596f; background: #fff; font-size: 12px; }.moderation-filters > span { margin-left: auto; padding-bottom: 10px; color: #9097a7; font-size: 12px; }.moderation-filter-empty { padding: 24px; color: #8d95a5; text-align: center; }
.moderation-queue { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }.moderation-card { display: grid; grid-template-columns: 42px minmax(0,1fr) auto 18px; align-items: center; gap: 13px; padding: 15px 17px; border-bottom: 1px solid #eceef3; color: inherit; text-decoration: none; }.moderation-card:last-child { border-bottom: 0; }.moderation-card:hover { background: #fafbfe; }.moderation-card__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--blue); background: #f0f2ff; }.moderation-card__icon svg { width: 21px; }.moderation-card__body { display: grid; min-width: 0; gap: 3px; }.moderation-card__body small,.moderation-card__body span { color: var(--muted); }.moderation-card__body strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.moderation-card > svg { width: 18px; color: #a0a6b4; }
.report-status { padding: 6px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }.report-status--new { color: #c2541c; background: #fff1e8; }.report-status--reviewing { color: #3f50d6; background: #edf0ff; }.report-status--resolved { color: #28724a; background: #e9f8ef; }.report-status--rejected { color: #667085; background: #eef0f3; }
.moderation-detail > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 18px 0 24px; }.moderation-detail > header p { margin: 0; color: var(--muted); }.moderation-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.moderation-detail__grid > article,.moderation-actions,.moderation-history { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }.moderation-detail h2 { margin: 0 0 15px; font-size: 18px; }.moderation-facts,.moderation-context { display: grid; gap: 11px; margin: 0; }.moderation-facts div,.moderation-context div { display: grid; gap: 4px; }.moderation-facts dt,.moderation-context dt { color: var(--muted); font-size: 12px; }.moderation-facts dd,.moderation-context dd { margin: 0; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.moderation-actions { margin-top: 15px; }.moderation-actions > div:first-child p { margin: -8px 0 15px; color: var(--muted); }.moderation-review-actions { display: flex; gap: 9px; margin-bottom: 15px; }.moderation-actions form { display: grid; grid-template-columns: minmax(220px,.7fr) 1.3fr auto; align-items: end; gap: 12px; padding-top: 15px; border-top: 1px solid #eceef3; }.moderation-actions form label { font-size: 13px; font-weight: 700; }.moderation-actions form .dialog-error { grid-column: 1 / -1; margin: 0; }.moderation-actions form button { min-height: 42px; }
.moderation-history { margin-top: 15px; }.moderation-history article { display: grid; grid-template-columns: 34px 1fr; gap: 11px; padding: 12px 0; border-top: 1px solid #eceef3; }.moderation-history article > span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; color: var(--blue); background: #f0f2ff; }.moderation-history article svg { width: 17px; }.moderation-history article p { margin: 3px 0; }.moderation-history article small,.moderation-muted { color: var(--muted); }

@media (max-width: 760px) {
  .moderation-metrics { grid-template-columns: 1fr 1fr; }.moderation-filters { align-items: stretch; flex-direction: column; }.moderation-filters select { width: 100%; }.moderation-filters > span { margin-left: 0; padding: 0; }.moderation-card { grid-template-columns: 38px minmax(0,1fr) 16px; padding: 13px; }.moderation-card__icon { width: 38px; height: 38px; }.moderation-card .report-status { grid-column: 2; justify-self: start; }.moderation-card > svg { grid-column: 3; grid-row: 1; }.moderation-detail__grid { grid-template-columns: 1fr; }.moderation-actions form { grid-template-columns: 1fr; }.moderation-actions form .dialog-error { grid-column: 1; }.moderation-heading,.moderation-detail > header { align-items: flex-start; flex-direction: column; }.public-subject__actions { grid-column: 1 / -1; justify-content: flex-end; }.report-menu > div { right: 0; left: auto; }
}

/* PP-WORK-013 — серверный каталог и публичные страницы */
.catalog-page,.catalog-state,.catalog-subject { max-width: 1180px; margin: 0 auto; }
.catalog-state { min-height: 520px; display: grid; place-items: center; }.catalog-loading { display: grid; justify-items: center; gap: 8px; color: var(--muted); text-align: center; }.catalog-loading span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 16px; color: var(--blue); background: #eef0ff; animation: catalog-spin 1.5s linear infinite; }.catalog-loading svg { width: 26px; }.catalog-loading h1 { margin: 5px 0 0; color: var(--navy); }.catalog-loading p { margin: 0; }
@keyframes catalog-spin { to { transform: rotate(360deg); } }
.catalog-category-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 12px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: #f5f6f9; }.catalog-category-tabs a { padding: 12px 15px; border-radius: 10px; color: #697184; font-size: 14px; font-weight: 750; text-align: center; text-decoration: none; }.catalog-category-tabs a.is-active { color: var(--blue); background: #fff; box-shadow: 0 3px 10px rgba(20,29,58,.08); }
.catalog-filters { margin-top: 10px; }.catalog-filter-sheet { width: 100%; border: 0; border-radius: 16px; background: transparent; }.catalog-filter-sheet > summary { display: flex; width: max-content; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid #dce0e8; border-radius: 11px; color: #5f6980; background: #fff; font-size: 13px; font-weight: 750; cursor: pointer; list-style: none; transition: border-color .16s ease, color .16s ease, background .16s ease; }.catalog-filter-sheet > summary::-webkit-details-marker { display: none; }.catalog-filter-sheet > summary:hover { border-color: #bdc5d6; color: var(--blue); background: #fafbff; }.catalog-filter-sheet > summary:focus-visible { outline: 3px solid rgba(89,105,233,.18); outline-offset: 2px; }.catalog-filter-sheet > summary::after { width: 7px; height: 7px; margin: -3px 2px 0 4px; border: solid currentColor; border-width: 0 2px 2px 0; content: ""; transform: rotate(45deg); transition: transform .16s ease, margin .16s ease; }.catalog-filter-sheet[open] { border: 1px solid var(--line); background: #fff; }.catalog-filter-sheet[open] > summary { margin: 10px 10px 0; border-color: #d9dff0; color: var(--blue); background: #f6f7ff; }.catalog-filter-sheet[open] > summary::after { margin-top: 3px; transform: rotate(225deg); }.catalog-filter-sheet > summary svg { width: 18px; }.catalog-filter-sheet > summary small { display: grid; min-width: 20px; height: 20px; padding: 0 6px; place-items: center; border-radius: 999px; color: #fff; background: var(--blue); font-size: 11px; }.catalog-filter-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 16px; }.catalog-filter-grid label { position: relative; display: grid; gap: 6px; color: #70798d; font-size: 12px; font-weight: 700; }.catalog-filter-grid input,.catalog-filter-grid select,.writer-context select { width: 100%; height: 42px; padding: 0 11px; border: 1px solid #dce0e8; border-radius: 9px; color: var(--navy); background: #fff; font: inherit; }.catalog-filter-sheet footer { display: flex; align-items: center; gap: 12px; padding: 0 16px 16px; }.catalog-filter-sheet footer a { color: var(--muted); font-size: 13px; font-weight: 700; text-decoration: none; }.catalog-profession .profession-results { top: 64px; }
.catalog-results { margin-top: 20px; }.catalog-results > header { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 11px; }.catalog-results > header h2 { margin: 2px 0 0; }.catalog-results > header small { color: var(--muted); }.catalog-results .market-card__body > p a { color: inherit; font-weight: 700; text-decoration: none; }.catalog-results .market-card__body > p a:hover { color: var(--blue); }
.catalog-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 14px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }.catalog-pagination a { color: var(--blue); font-weight: 750; text-decoration: none; }.catalog-pagination a:last-child { justify-self: end; }.catalog-pagination a:first-child svg { transform: rotate(180deg); }.catalog-pagination svg { width: 14px; vertical-align: -2px; }.catalog-pagination strong { color: var(--muted); font-size: 12px; }
.catalog-matching { margin-top: 18px; }.catalog-matching > summary { padding: 12px 14px; color: var(--muted); font-size: 13px; font-weight: 750; cursor: pointer; }.catalog-matching .match-panel { margin-top: 8px; }.catalog-subject .market-list { margin-top: 18px; }.catalog-subject .public-subject__stats em { margin-left: auto; color: var(--muted); font-style: normal; }.writer-context { display: grid; min-width: 210px; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 700; }.writer-context select { height: 38px; }.work-detail .ad-detail__hero a { color: inherit; text-decoration: none; }.work-detail .ad-detail__hero a:hover { color: var(--blue); }

/* PP-WORK-017 — рейтинг и отзывы подтверждённых взаимодействий */
.subject-rating { margin-left: 5px; color: #9a712f; font-weight: 850; white-space: nowrap; }
.rating-action { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; border: 1px solid #e0e4eb; border-radius: 10px; background: #fff; }.rating-action > svg { width: 22px; flex: 0 0 auto; color: #d49a39; }.rating-action strong,.rating-action small { display: block; }.rating-action strong { color: #465069; font-size: 9px; }.rating-action small { margin-top: 3px; color: #8e96a6; font-size: 7px; line-height: 1.45; }.rating-action--complete { border-color: #cce8d8; background: #f2fbf6; }.rating-action--complete > svg { color: #429363; }
.rating-form { display: grid; grid-template-columns: minmax(150px,1fr) auto; align-items: end; }.rating-stars { display: flex; min-width: 0; gap: 4px; padding: 0; border: 0; }.rating-stars legend { width: 100%; margin-bottom: 5px; color: #747e93; font-size: 7px; font-weight: 750; }.rating-stars label { display: grid; min-width: 34px; min-height: 34px; place-items: center; cursor: pointer; }.rating-stars input { position: absolute; width: 1px; height: 1px; opacity: 0; }.rating-stars label > span { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #dfe3eb; border-radius: 8px; color: #b3b8c2; background: #fafbfc; font-size: 17px; transition: border-color .15s ease, color .15s ease, background .15s ease; }.rating-stars label > small { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0 0 0 0); }.rating-stars label:has(input:checked) > span,.rating-stars label:has(~ label input:checked) > span,.rating-stars label:hover > span,.rating-stars label:has(~ label:hover) > span { border-color: #d8a34c; color: #e0a33d; background: #fff8e9; }.rating-stars input:focus-visible + span { outline: 3px solid rgba(89,105,233,.2); outline-offset: 2px; }.rating-comment { display: grid; grid-column: 1 / -1; gap: 4px; color: #59647b; font-size: 8px; font-weight: 750; }.rating-comment small { display: inline; margin-left: 4px; font-weight: 500; }.rating-comment textarea { width: 100%; min-height: 58px; padding: 9px 10px; resize: vertical; border: 1px solid #dfe3eb; border-radius: 8px; color: #3e485f; background: #fafbfc; font: inherit; font-size: 8px; }.rating-form .dialog-error { grid-column: 1 / -1; margin: 0; }.rating-form > button { grid-column: 1 / -1; justify-self: start; min-height: 31px; padding-inline: 11px; font-size: 7px; }
.subject-reviews { margin-top: 14px; padding: 17px; border: 1px solid #e0e4eb; border-radius: 15px; background: #fff; }.subject-reviews > header { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 11px; }.subject-reviews h2 { margin: 3px 0 0; color: #28344f; font-size: 18px; }.subject-reviews > header > span { color: #7a8396; font-size: 8px; }.review-list { display: grid; gap: 8px; }.review-card { min-width: 0; padding: 12px 13px; border: 1px solid #e4e7ed; border-radius: 11px; background: #fbfbfd; }.review-card > header { display: grid; grid-template-columns: minmax(0,1fr) auto 27px; align-items: start; gap: 8px; }.review-card > header > div { min-width: 0; }.review-card > header a,.review-card > header strong { display: block; overflow: hidden; color: #3e4962; font-size: 9px; font-weight: 850; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }.review-card > header span { display: block; margin-top: 3px; color: #dda23c; font-size: 11px; letter-spacing: 1px; }.review-card time { color: #939aaa; font-size: 7px; white-space: nowrap; }.review-card > p { margin: 9px 0; color: #4d576d; font-size: 9px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }.review-card > small { display: flex; align-items: center; gap: 4px; color: #5e8d70; font-size: 7px; }.review-card > small svg { width: 12px; }.review-card .report-menu summary { width: 27px; height: 27px; }.review-empty { margin: 0; padding: 20px; color: #8e96a6; font-size: 9px; text-align: center; }.load-reviews { margin-top: 10px; }

@media (max-width: 860px) {
  .catalog-filter-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .catalog-category-tabs { grid-template-columns: 1fr; }.catalog-filter-grid { grid-template-columns: 1fr; padding-top: 12px; }.catalog-filter-sheet footer { align-items: stretch; flex-direction: column; }.catalog-filter-sheet footer .primary-action { width: 100%; }.catalog-results > header { align-items: flex-start; flex-direction: column; }.catalog-pagination { padding-inline: 10px; }.catalog-pagination a { font-size: 12px; }.writer-context { width: 100%; }.catalog-subject .public-subject__stats { flex-wrap: wrap; }.catalog-subject .public-subject__stats em { width: 100%; margin-left: 0; }
  .rating-form { grid-template-columns: 1fr; }.rating-stars { width: 100%; justify-content: space-between; }.rating-stars label { min-width: 42px; }.rating-form > button { width: 100%; }.subject-reviews { padding: 13px; }.subject-reviews > header { align-items: flex-start; flex-direction: column; }.review-card > header { grid-template-columns: minmax(0,1fr) 27px; }.review-card time { grid-column: 1; grid-row: 2; }.review-card .report-menu { grid-column: 2; grid-row: 1; }
}

/* Stage 21 — завершённые рабочие разделы */
.workspace-identity { max-width: 1180px; margin: 0 auto 18px; display: flex; align-items: center; gap: 12px; padding: 12px 15px; border: 1px solid #dfe3ef; border-radius: 13px; background: #f8f9ff; }
.workspace-identity > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: var(--blue); background: #eef0ff; }.workspace-identity > span svg { width: 19px; }
.workspace-identity label { display: grid; min-width: 260px; gap: 3px; color: var(--muted); font-size: 11px; font-weight: 750; }.workspace-identity select { height: 37px; padding: 0 9px; border: 1px solid #d8ddeb; border-radius: 8px; color: var(--navy); background: #fff; font: inherit; }.workspace-identity > small { margin-left: auto; color: var(--muted); }

.role-dashboard,.profile-page,.notifications-page,.admin-page,.not-found { max-width: 1180px; margin: 0 auto; }.role-dashboard > header,.profile-hero,.admin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; margin-bottom: 22px; }.role-dashboard h1,.profile-hero h1,.admin-heading h1,.not-found h1 { margin: 3px 0 8px; font-size: clamp(30px,4vw,42px); }.role-dashboard > header p,.admin-heading p { margin: 0; color: var(--muted); }
.role-dashboard__metrics,.admin-metric-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 11px; margin-bottom: 18px; }.role-dashboard__metrics article,.admin-metric-grid article { display: grid; grid-template-columns: 35px 1fr; align-items: center; gap: 3px 10px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }.role-dashboard__metrics article > span,.admin-metric-grid article > span { display: grid; grid-row: 1 / 3; width: 35px; height: 35px; place-items: center; border-radius: 10px; color: var(--blue); background: #eef0ff; }.role-dashboard__metrics svg,.admin-metric-grid svg { width: 18px; }.role-dashboard__metrics strong,.admin-metric-grid strong { font-size: 22px; }.role-dashboard__metrics small,.admin-metric-grid small { color: var(--muted); }
.role-dashboard__grid,.admin-dashboard-grid,.admin-detail-grid,.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }.role-dashboard__grid > section,.profile-card,.admin-panel,.admin-sanction { padding: 19px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }.role-dashboard__grid > section > header,.profile-card > header,.admin-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }.role-dashboard__grid h2,.profile-card h2,.admin-panel h2 { margin: 0; font-size: 18px; }.role-dashboard__grid header a,.profile-card header a,.admin-panel header a { color: var(--blue); font-size: 13px; font-weight: 750; text-decoration: none; }
.dashboard-actions,.dashboard-notifications,.admin-compact-list,.admin-table-list { display: grid; gap: 8px; }.dashboard-actions a,.dashboard-notifications a,.admin-compact-list a,.admin-table-list a { display: grid; grid-template-columns: 34px minmax(0,1fr) 17px; align-items: center; gap: 10px; padding: 11px; border: 1px solid #e7e9ef; border-radius: 10px; color: inherit; text-decoration: none; }.dashboard-actions a:hover,.dashboard-notifications a:hover,.admin-compact-list a:hover,.admin-table-list a:hover { border-color: #cdd3ef; background: #fafbff; }.dashboard-actions a > svg:first-child,.dashboard-notifications a > span:first-child { color: var(--blue); }.dashboard-actions svg,.dashboard-notifications svg,.admin-compact-list svg,.admin-table-list svg { width: 18px; }.dashboard-actions strong,.dashboard-actions small,.dashboard-notifications strong,.dashboard-notifications small,.admin-compact-list strong,.admin-compact-list small,.admin-table-list strong,.admin-table-list small { display: block; }.dashboard-actions small,.dashboard-notifications small,.admin-compact-list small,.admin-table-list small { margin-top: 3px; color: var(--muted); }
.admin-table-list--readonly article { display: grid; grid-template-columns: 30px minmax(0,1fr); align-items: center; gap: 10px; padding: 11px; border: 1px solid #e7e9ef; border-radius: 10px; }
.admin-table-list--readonly article > svg { width: 18px; color: var(--blue); }

.profile-hero { align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }.profile-avatar { display: grid; width: 72px; height: 72px; flex: 0 0 auto; place-items: center; border-radius: 22px; color: #fff; background: linear-gradient(140deg,var(--blue),#8d79ed); font-size: 28px; font-weight: 850; }.profile-hero > div { flex: 1; }.profile-hero p { margin: 0; color: var(--muted); }.profile-status,.subject-state,.admin-health { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 6px 9px; border-radius: 999px; color: #28724a; background: #e9f8ef; font-size: 12px; font-weight: 750; }.profile-status i,.admin-health i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }.profile-card { margin-top: 14px; }.profile-grid .profile-card { margin-top: 0; }.profile-card dl,.admin-facts { display: grid; gap: 10px; margin: 0; }.profile-card dl div,.admin-facts div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 9px; border-bottom: 1px solid #eef0f4; }.profile-card dt,.admin-facts dt { color: var(--muted); }.profile-card dd,.admin-facts dd { margin: 0; font-weight: 750; text-align: right; }.profile-rating { display: block; margin: 12px 0 6px; color: #9a712f; font-size: 26px; }.profile-settings form { display: grid; grid-template-columns: minmax(220px,1fr) auto; align-items: end; gap: 12px; }.profile-settings label { display: grid; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 750; }.profile-settings input { height: 42px; padding: 0 11px; border: 1px solid #dce0e8; border-radius: 9px; font: inherit; }.profile-settings .dialog-error { grid-column: 1 / -1; }.profile-ad-list,.profile-review-list { display: grid; gap: 9px; }.profile-ad-list a { display: grid; grid-template-columns: 38px 1fr 17px; align-items: center; gap: 10px; padding: 11px; border: 1px solid #e5e8ef; border-radius: 10px; color: inherit; text-decoration: none; }.profile-ad-list a > span:first-child { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; color: var(--blue); background: #eef0ff; }.profile-ad-list svg { width: 18px; }.profile-ad-list strong,.profile-ad-list small { display: block; }.profile-ad-list small { margin-top: 3px; color: var(--muted); }.profile-review-list article { padding: 12px; border: 1px solid #e5e8ef; border-radius: 10px; background: #fbfbfd; }.profile-review-list article header { display: flex; justify-content: space-between; gap: 10px; }.profile-review-list article header span { color: #d99e37; }.profile-review-list article p { white-space: pre-wrap; }.profile-review-list article small,.profile-empty { color: var(--muted); }.profile-empty { display: grid; gap: 4px; padding: 18px; text-align: center; }

.notification-summary { padding: 8px 11px; border-radius: 999px; color: var(--blue); background: #eef0ff; font-size: 13px; font-weight: 750; }.notifications-feed { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }.notification-feed-item { display: grid; width: 100%; grid-template-columns: 42px minmax(0,1fr) 18px; align-items: center; gap: 12px; padding: 14px 16px; border: 0; border-bottom: 1px solid #eceef3; color: inherit; background: #fff; text-align: left; cursor: pointer; }.notification-feed-item:last-child { border-bottom: 0; }.notification-feed-item.is-unread { background: #f7f8ff; }.notification-feed-item > span:first-child { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; color: var(--blue); background: #eef0ff; }.notification-feed-item svg { width: 20px; }.notification-feed-item strong,.notification-feed-item small { display: block; }.notification-feed-item small { margin-top: 4px; color: var(--muted); }.notifications-more,.admin-more { margin-top: 12px; }.notification-popover footer { padding: 9px 12px; border-top: 1px solid #eceef3; }.notification-popover footer a { display: flex; align-items: center; justify-content: center; gap: 5px; color: var(--blue); font-size: 12px; font-weight: 750; text-decoration: none; }.notification-popover footer svg { width: 14px; }

.admin-heading > span:not(.admin-health) { padding: 8px 11px; border-radius: 999px; color: var(--blue); background: #eef0ff; font-weight: 750; }.admin-health--warning,.admin-health--metadata_unavailable { color: #a45b1f; background: #fff2e6; }.admin-health--ok { color: #28724a; background: #e9f8ef; }.admin-filters { display: grid; grid-template-columns: 2fr repeat(3,1fr) auto auto; align-items: end; gap: 9px; margin-bottom: 14px; padding: 13px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }.admin-filters label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 750; }.admin-filters input,.admin-filters select,.admin-sanction input,.admin-sanction select { width: 100%; height: 39px; padding: 0 9px; border: 1px solid #dce0e8; border-radius: 8px; background: #fff; font: inherit; }.admin-filters > a { align-self: center; color: var(--muted); font-size: 12px; font-weight: 750; text-decoration: none; }.admin-directory { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }.admin-directory > a { display: grid; grid-template-columns: 44px minmax(0,1fr) minmax(180px,auto) 18px; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #eceef3; color: inherit; text-decoration: none; }.admin-directory > a:last-child { border-bottom: 0; }.admin-directory > a:hover { background: #fafbfe; }.admin-directory__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; color: var(--blue); background: #eef0ff; }.admin-directory__icon svg { width: 21px; }.admin-directory > a > span:nth-child(2) small,.admin-directory > a > span:nth-child(2) strong,.admin-directory > a > span:nth-child(2) em,.admin-directory > a > span:nth-child(3) small { display: block; }.admin-directory em { overflow: hidden; margin-top: 3px; color: var(--muted); font-size: 11px; font-style: normal; text-overflow: ellipsis; }.admin-directory > a > span:nth-child(3) { text-align: right; }.admin-directory > a > span:nth-child(3) small { margin-top: 5px; color: var(--muted); }.subject-state--active { color: #28724a; background: #e9f8ef; }.subject-state--restricted { color: #a45b1f; background: #fff2e6; }.subject-state--blocked { color: #a63535; background: #fdecec; }.admin-detail .work-back { display: inline-flex; margin-bottom: 15px; }.admin-sanction { display: grid; grid-template-columns: 1fr 2fr auto; align-items: end; gap: 10px; margin: 14px 0; }.admin-sanction label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 750; }.admin-sanction > small,.admin-sanction .dialog-error { grid-column: 1 / -1; }.admin-big-number { display: block; font-size: 34px; }.admin-panel { margin-top: 14px; }.admin-detail-grid .admin-panel,.admin-dashboard-grid .admin-panel { margin-top: 0; }.admin-event-list,.admin-job-list { display: grid; gap: 9px; }.admin-event-list article,.admin-job-list article { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #eceef3; }.admin-event-list article > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--blue); background: #eef0ff; }.admin-event-list svg { width: 17px; }.admin-event-list p { margin: 4px 0; }.admin-event-list small,.admin-job-list small,.admin-muted { color: var(--muted); }.admin-job-list article > div { display: grid; gap: 4px; }.admin-state { min-height: 300px; }.ad-history { margin-top: 11px; }.ad-history summary { color: var(--blue); font-size: 12px; font-weight: 750; cursor: pointer; }.ad-history ol { display: grid; gap: 6px; margin: 9px 0 0; padding-left: 20px; }.ad-history li strong,.ad-history li span { display: block; }.ad-history li span { color: var(--muted); font-size: 11px; }.conversation-more { width: calc(100% - 20px); margin: 10px; padding: 9px; border: 1px solid #dce0e8; border-radius: 8px; color: var(--blue); background: #fff; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }.not-found { min-height: 520px; display: grid; align-content: center; justify-items: center; text-align: center; }.not-found > svg { width: 58px; color: var(--blue); }.not-found p { max-width: 520px; color: var(--muted); }

@media (max-width: 900px) {
  .admin-filters { grid-template-columns: 1fr 1fr; }.admin-filters .primary-action { width: 100%; }.admin-directory > a { grid-template-columns: 40px minmax(0,1fr) 16px; }.admin-directory > a > span:nth-child(3) { grid-column: 2; text-align: left; }.role-dashboard__grid,.admin-dashboard-grid,.admin-detail-grid,.profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .workspace-identity { align-items: stretch; flex-direction: column; }.workspace-identity label { min-width: 0; }.workspace-identity > small { margin-left: 0; }.role-dashboard > header,.profile-hero,.admin-heading { align-items: flex-start; flex-direction: column; }.profile-avatar { width: 58px; height: 58px; border-radius: 17px; }.profile-settings form,.admin-sanction { grid-template-columns: 1fr; }.profile-settings .dialog-error,.admin-sanction > small,.admin-sanction .dialog-error { grid-column: 1; }.admin-filters { grid-template-columns: 1fr; }.role-dashboard__metrics,.admin-metric-grid { grid-template-columns: 1fr 1fr; }.notification-feed-item { grid-template-columns: 38px minmax(0,1fr) 16px; padding: 12px; }.notification-feed-item > span:first-child { width: 38px; height: 38px; }
}

/* Stage 23 — финальный слой единого UX/UI */
.workspace-content > .workspace-identity,
.workspace-content > .role-dashboard,
.workspace-content > .foundation-page,
.workspace-content > .favorites-page,
.workspace-content > .notifications-page,
.workspace-content > .profile-page,
.workspace-content > .admin-page,
.workspace-content > .moderation-page,
.workspace-content > .moderation-detail { width: min(100%, 1180px); }

.workspace-identity { min-height: 64px; margin-bottom: 24px; padding: 12px 16px; border-color: var(--color-border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-sm); }
.workspace-identity label { gap: 5px; font-size: 12px; }
.workspace-identity select { height: 40px; border-radius: var(--radius-sm); font-size: 13px; }
.workspace-identity > small { max-width: 420px; font-size: 12px; line-height: 1.45; text-align: right; }

.page-notice { padding: 12px 14px; border-radius: var(--radius-md); font-size: 13px; }
.role-dashboard > header, .favorites-heading, .profile-hero, .admin-heading, .moderation-heading, .foundation-page__header { margin-bottom: 24px; }
.role-dashboard h1, .favorites-heading h1, .profile-hero h1, .admin-heading h1, .moderation-heading h1, .foundation-page__header h1 { color: var(--color-text); font-size: clamp(30px, 3.3vw, 40px); line-height: 1.12; letter-spacing: -.035em; }
.role-dashboard > header p, .favorites-heading p, .admin-heading p, .moderation-heading p, .foundation-page__header p { max-width: 720px; font-size: 14px; line-height: 1.55; }
.role-dashboard__metrics, .admin-metric-grid { gap: 12px; margin-bottom: 22px; }
.role-dashboard__metrics article, .admin-metric-grid article { min-height: 98px; padding: 18px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.role-dashboard__metrics article > span, .admin-metric-grid article > span { width: 40px; height: 40px; border-radius: 10px; }
.role-dashboard__metrics strong, .admin-metric-grid strong { color: var(--color-text); font-size: 25px; }
.role-dashboard__metrics small, .admin-metric-grid small { font-size: 12px; line-height: 1.35; }
.role-dashboard__grid, .admin-dashboard-grid, .admin-detail-grid, .profile-grid { gap: 16px; }
.role-dashboard__grid > section, .profile-card, .admin-panel, .admin-sanction { padding: 22px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.dashboard-actions a, .dashboard-notifications a, .admin-compact-list a, .admin-table-list a { min-height: 62px; padding: 13px; border-radius: var(--radius-md); }
.dashboard-actions strong, .dashboard-notifications strong, .admin-compact-list strong, .admin-table-list strong { font-size: 13px; }
.dashboard-actions small, .dashboard-notifications small, .admin-compact-list small, .admin-table-list small { font-size: 11px; line-height: 1.4; }

.foundation-page { max-width: 1180px; }
.company-workspace { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
.company-rail { padding: 8px; border-color: var(--color-border); border-radius: var(--radius-lg); background: #fff; }
.company-rail__item { width: 48px; height: 48px; border-radius: 12px; font-size: 13px; }
.company-overview, .members-panel, .hr-id-card, .invitation-panel, .recruiter-preview { border-color: var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.company-overview { padding: 24px; }
.company-overview h2, .members-panel h2, .invitation-panel h2 { font-size: 19px; }
.company-meta, .company-overview p, .members-panel p, .invitation-panel p { color: var(--color-text-secondary); font-size: 13px; line-height: 1.55; }
.company-tabs { gap: 4px; padding: 4px; border-radius: var(--radius-md); background: #eef0f5; }
.company-tab { min-height: 42px; padding: 0 15px; border-radius: 9px; font-size: 12px; }
.member-row, .invitation-row { min-height: 66px; padding: 13px 15px; }
.member-row strong, .invitation-row strong { font-size: 13px; }
.member-row small, .invitation-row small, .member-status { font-size: 11px; }

.work-back { margin-bottom: 18px; color: var(--color-text-secondary); font-size: 12px; }
.work-back svg { width: 15px; }
.ad-detail__hero { padding: 28px; border-color: var(--color-border); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.ad-detail__hero h1 { margin: 12px 0 7px; font-size: clamp(28px, 3.2vw, 38px); }
.ad-detail__hero p { font-size: 13px; line-height: 1.5; }
.ad-detail__core { border-color: var(--color-border); border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--color-surface-soft); }
.ad-detail__core article { padding: 18px 22px; }
.ad-detail__core small { font-size: 11px; }
.ad-detail__core strong { font-size: 14px; }
.ad-detail__section { margin-top: 14px; padding: 22px 24px; border-color: var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.ad-detail__section h2 { margin-bottom: 15px; font-size: 18px; }
.detail-description, .detail-list, .detail-checks li, .detail-rates li { font-size: 13px; line-height: 1.65; }
.detail-chips span { padding: 6px 9px; font-size: 11px; }
.ad-contact { margin-top: 14px; padding: 20px 24px; border-radius: var(--radius-lg); background: var(--color-text); }
.ad-contact strong { font-size: 15px; }
.ad-contact small { font-size: 12px; }
.ad-contact__actions .writer-context { position: relative; display: block; }
.ad-contact__actions .writer-context > span { position: absolute; bottom: calc(100% + 4px); left: 0; white-space: nowrap; }
.ad-contact__actions .writer-context select { display: block; }

.own-tabs { margin-bottom: 14px; padding: 4px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #eef0f5; }
.own-tabs button { min-height: 39px; padding: 0 14px; border: 0; border-radius: 8px; font-size: 12px; background: transparent; }
.own-tabs .own-tabs--active { border: 0; background: #fff; box-shadow: var(--shadow-sm); }
.manage-list { gap: 10px; }
.manage-card { min-height: 146px; padding: 20px; border-color: var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.manage-card h2 { margin: 9px 0 6px; font-size: 17px; }
.manage-card__main > p { font-size: 12px; line-height: 1.5; }
.manage-card__main > small { color: var(--color-text-tertiary); font-size: 11px; }
.manage-card__actions { align-items: center; flex-wrap: nowrap; }
.manage-card__actions > .primary-mini, .manage-card__actions > .secondary-action { min-height: 38px; padding: 0 12px; border-radius: var(--radius-sm); font-size: 11px; }
.manage-card__actions > .primary-mini { color: #fff; background: var(--color-primary); }
.entity-menu { position: relative; }
.entity-menu > summary { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--color-border); border-radius: var(--radius-sm); color: var(--color-text-secondary); background: #fff; cursor: pointer; list-style: none; }
.entity-menu > summary::-webkit-details-marker { display: none; }
.entity-menu > summary svg { width: 18px; }
.entity-menu[open] > summary { color: var(--color-primary); border-color: #bfc6ef; background: var(--color-primary-soft); }
.entity-menu > div { position: absolute; z-index: 12; top: 44px; right: 0; display: grid; min-width: 190px; gap: 3px; padding: 6px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-md); }
.manage-card__actions .entity-menu > div > button, .manage-card__actions .entity-menu > div > a { justify-content: flex-start; width: 100%; min-height: 38px; padding: 0 10px; border: 0; color: var(--color-text-secondary); background: transparent; font-size: 12px; }
.manage-card__actions .entity-menu > div > button:hover, .manage-card__actions .entity-menu > div > a:hover { color: var(--color-text); background: var(--color-surface-soft); }
.manage-card__actions .entity-menu > div > .entity-menu__danger { color: var(--color-danger); }
.expiry-notice { padding: 14px 16px; border-radius: var(--radius-md); }
.expiry-notice strong { font-size: 13px; }
.expiry-notice span { font-size: 11px; line-height: 1.45; }

.work-wizard { width: min(calc(100% - 28px), 760px); border-radius: var(--radius-xl); box-shadow: var(--shadow-overlay); }
.work-wizard form { padding-inline: 30px; }
.wizard-header { margin-inline: -30px; padding: 21px 30px 17px; }
.wizard-header small { font-size: 10px; }
.wizard-header h2 { font-size: 22px; }
.wizard-step { padding-block: 26px; }
.wizard-step > p { font-size: 13px; line-height: 1.55; }
.wizard-choices button { min-height: 158px; padding: 22px; border-radius: var(--radius-lg); }
.wizard-choices strong { font-size: 15px; }
.wizard-choices small { font-size: 12px; }
.wizard-back, .wizard-group-title { font-size: 11px; }
.side-choice { padding: 19px; border-radius: var(--radius-md); }
.side-choice small { font-size: 10px; }
.side-choice strong { font-size: 15px; }
.side-choice p { font-size: 12px; }
.wizard-required { padding: 18px; border-radius: var(--radius-md); }
.work-wizard label { color: var(--color-text-secondary); font-size: 12px; }
.work-wizard input, .work-wizard select { height: 43px; font-size: 13px; }
.work-wizard textarea { font-size: 13px; line-height: 1.5; }
.wizard-more summary { padding: 14px 16px; font-size: 12px; }
.wizard-more summary small { font-size: 10px; }
.inline-add, .work-type-options label, .criteria-block h3 { font-size: 11px; }
.photo-field small, .work-wizard .dialog-error, .wizard-footer span { font-size: 11px; }
.wizard-footer { margin: 8px -30px -26px; padding: 15px 30px; }

.favorites-heading > span, .notification-summary { font-size: 12px; }
.favorite-tabs { margin-bottom: 18px; padding: 4px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #eef0f5; }
.favorites-page, .public-subject, .chat-page { min-width: 0; }
.favorite-tabs { width: 100%; max-width: 100%; }
.favorite-tabs button { min-height: 40px; border: 0; border-radius: 8px; font-size: 12px; background: transparent; }
.favorite-tabs .favorite-tabs--active { background: #fff; box-shadow: var(--shadow-sm); }
.favorites-grid { gap: 14px; }
.favorite-card { min-height: 238px; padding: 20px; border-color: var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.favorite-card header small { font-size: 10px; }
.favorite-card header strong { font-size: 13px; }
.favorite-card h2 { font-size: 18px; }
.favorite-card > p { font-size: 12px; line-height: 1.6; }
.favorite-card__facts strong { font-size: 12px; }
.favorite-state, .private-employer-mark { font-size: 10px; }
.favorite-card > footer a, .favorite-card > footer button { min-height: 38px; font-size: 11px; }
.favorites-empty p, .favorites-loading span { font-size: 13px; }

.chat-page { width: min(100%, 1180px); }
.chat-page__heading { margin-bottom: 18px; }
.chat-page__heading h1 { font-size: clamp(30px, 3.3vw, 40px); }
.chat-page__heading p { font-size: 13px; }
.chat-hub { height: min(76vh, 760px); min-height: 560px; grid-template-columns: minmax(290px, 34%) minmax(0, 1fr); border-color: var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.conversation-list > header strong { font-size: 13px; }
.conversation-list > header small { color: var(--color-text-secondary); font-size: var(--chat-text-caption); }
.conversation-item { min-height: 76px; padding: 13px 15px; }
.conversation-item__body strong { font-size: 13px; }
.conversation-item__body small { font-size: var(--chat-text-caption); }
.conversation-item__body em { color: var(--color-text-secondary); font-size: var(--chat-text-secondary); line-height: 1.35; }
.conversation-item__body time { color: #747e92; font-size: var(--chat-text-caption); }
.conversation-item > b { min-width: 20px; font-size: 10px; }
.conversation-list__empty strong { font-size: 13px; }
.conversation-list__empty small { font-size: var(--chat-text-secondary); }
.conversation-avatar { width: 43px; height: 43px; border-radius: 11px; }
.chat-thread__header { min-height: 72px; padding: 12px 18px; }
.chat-thread__header strong { font-size: 14px; }
.chat-thread__header small, .chat-ad-link { font-size: 11px; }
.chat-thread__context > div { min-width: 0; flex: 1; }
.chat-thread__context small { color: #737d91; font-size: var(--chat-text-caption); line-height: 1.3; }
.chat-thread__context strong { overflow: hidden; margin-top: 3px; color: #3f4a63; font-size: 13px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.chat-thread__context em { display: inline-flex; flex: 0 0 auto; align-items: center; padding: 5px 8px; border-radius: 999px; color: #5663b8; background: #eef0ff; font-size: var(--chat-text-caption); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.chat-messages { padding: 18px; }
.chat-message { max-width: min(78%, 560px); padding: 10px 13px; border-radius: 14px; }
.chat-message p { font-size: var(--chat-text-primary); line-height: 1.5; }
.chat-message > .chat-message__sender { display: block; max-width: 100%; overflow: hidden; margin-bottom: 5px; color: #566176; font-size: var(--chat-text-secondary); font-weight: 650; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.chat-message--own > .chat-message__sender { color: #4657ad; }
.chat-message footer { color: #6f798d; font-size: var(--chat-text-caption); line-height: 1.2; }
.chat-message footer time { color: inherit; }
.chat-message--own footer { color: #626f9c; }
.chat-message footer > span { color: #4c5dcb; font-weight: 750; }
.chat-day-label { color: #747e92; font-size: var(--chat-text-caption); }
.older-messages { font-size: var(--chat-text-caption); }
.chat-system-message { max-width: min(92%, 640px); border-radius: var(--radius-md); }
.chat-system-message strong { color: #626c80; font-size: var(--chat-text-secondary); line-height: 1.4; }
.chat-system-message time { flex: 0 0 auto; color: #7b8496; font-size: var(--chat-text-caption); white-space: nowrap; }
.contact-share, .agreement-card, .rating-action { padding: 14px; border-radius: var(--radius-md); }
.contact-share strong, .agreement-card strong, .rating-action strong { font-size: 13px; }
.contact-share small, .agreement-card small, .rating-action small { font-size: var(--chat-text-secondary); line-height: 1.45; }
.contact-share__actions button, .agreement-card__actions button { min-height: 36px; font-size: var(--chat-text-caption); }
.chat-contact-action button { min-height: 38px; font-size: var(--chat-text-secondary); }
.chat-contact-action small { color: #737d91; font-size: var(--chat-text-secondary); line-height: 1.5; }
.rating-stars legend, .rating-comment { font-size: var(--chat-text-caption); }
.rating-comment textarea { font-size: var(--chat-text-secondary); }
.rating-form > button { font-size: var(--chat-text-caption); }
.chat-composer { padding: 13px 16px; }
.chat-composer textarea { min-height: 43px; font-size: var(--chat-text-primary); }
.chat-thread-empty p { font-size: var(--chat-text-secondary); }

.profile-hero { padding: 26px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.profile-avatar { border-radius: var(--radius-lg); background: var(--color-primary); }
.profile-card dl, .admin-facts { font-size: 13px; }
.profile-card dl div, .admin-facts div { min-height: 38px; align-items: center; }
.profile-card h2, .admin-panel h2 { font-size: 18px; }
.profile-review-list article, .profile-ad-list a { padding: 13px; border-radius: var(--radius-md); }
.profile-review-list article p, .profile-review-list article small, .profile-ad-list small, .profile-empty { font-size: 12px; line-height: 1.5; }
.notifications-feed { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.notification-feed-item { min-height: 72px; }
.notification-feed-item strong { font-size: 13px; }
.notification-feed-item small { font-size: 11px; }

.hr-cabinet { grid-template-columns: 230px minmax(0, 1fr); background: var(--color-bg); }
.hr-cabinet__sidebar { grid-template-columns: 56px minmax(0, 1fr); padding: 24px 14px; border-color: var(--color-border-soft); }
.hr-nav { gap: 4px; }
.hr-nav__link { min-height: 43px; padding: 0 10px; border-radius: 10px; font-size: 12px; }
.hr-nav__link svg { width: 17px; height: 17px; }
.hr-cabinet__main { padding: 30px clamp(26px, 4vw, 58px) 64px; }
.hr-company-header { margin-bottom: 26px; }
.hr-company-header small { font-size: 10px; }
.hr-company-header strong { font-size: 13px; }
.hr-header-id { padding: 7px 10px; font-size: 10px; }
.hr-invite-strip { padding: 12px 14px; border-radius: var(--radius-md); font-size: 11px; }
.hr-invite-strip button { min-height: 30px; padding: 0 9px; font-size: 10px; }
.hr-section { width: min(100%, 1040px); }
.hr-section__heading { margin-bottom: 22px; }
.hr-section__heading h1 { font-size: clamp(28px, 3vw, 38px); }
.hr-reminder { font-size: 11px; }
.hr-metrics { gap: 12px; }
.hr-metrics article { min-height: 116px; padding: 18px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.hr-metrics article > strong { font-size: 24px; }
.hr-metrics article > small { font-size: 11px; }
.hr-attention { margin-top: 14px; padding: 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.hr-attention h2 { font-size: 18px; }
.hr-attention > div:first-child > p { font-size: 12px; }
.hr-contract-list article { min-height: 64px; padding: 11px 13px; }
.hr-contract-list strong { font-size: 12px; }
.hr-contract-list small, .hr-contract-list em, .hr-contract-list a { font-size: 10px; }
.hr-list-filters { gap: 10px; padding: 14px; border-radius: var(--radius-md); }
.hr-list-filters label > span { font-size: 10px; }
.hr-list-filters input, .hr-list-filters select, .hr-list-filters > button { min-height: 40px; font-size: 12px; }
.hr-filter-check, .hr-filter-empty, .hr-empty-line { font-size: 11px; }
.structure-tree, .staff-groups, .employee-list, .event-list { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.structure-root strong, .structure-tree li strong { font-size: 13px; }
.structure-tree li > div { min-height: 54px; }
.staff-groups article { min-height: 76px; padding: 12px 18px; }
.staff-groups article > span:nth-child(2) strong { font-size: 13px; }
.staff-groups article > span:nth-child(2) small, .staff-count small, .staff-stats i { font-size: 10px; }
.staff-count strong { font-size: 18px; }
.employee-card > summary { min-height: 78px; padding: 12px 18px; }
.employee-card summary > span:nth-child(2) strong { font-size: 13px; }
.employee-card summary > span:nth-child(2) small, .employee-state, .attention-dot { font-size: 10px; }
.employee-detail { padding: 18px 22px 22px; }
.employee-detail__header h3, .assignment-card > div:first-child strong { font-size: 13px; }
.assignment-card > div:first-child small, .assignment-card > span, .contract-line, .absence-line { font-size: 11px; }
.assignment-actions button, .contract-line button, .absence-line button { min-height: 34px; padding: 0 10px; font-size: 10px; }
.event-list article { min-height: 64px; padding: 11px 16px; }
.event-list strong { font-size: 12px; }
.event-list small { font-size: 10px; }

.recruitment-metrics { gap: 12px; }
.recruitment-metrics article { min-height: 86px; padding: 16px 18px; border-radius: var(--radius-md); }
.recruitment-metrics strong { font-size: 24px; }
.recruitment-metrics small { font-size: 11px; }
.recruitment-section-head h2 { font-size: 18px; }
.recruitment-section-head p { font-size: 12px; }
.need-card { grid-template-columns: 46px minmax(0, 1fr); padding: 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.need-type, .need-count { font-size: 10px; }
.need-card h2 { font-size: 17px; }
.need-card__body > p, .need-templates > p { font-size: 12px; line-height: 1.55; }
.need-templates button { min-height: 54px; padding: 12px; }
.need-templates strong { font-size: 12px; }
.need-templates small, .need-templates em, .need-template-action, .need-live { font-size: 10px; }
.template-grid, .vacancy-grid { gap: 12px; }
.template-card, .vacancy-card { padding: 18px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.template-card h3, .vacancy-card h3 { font-size: 16px; }
.template-card p, .vacancy-card > p { font-size: 12px; line-height: 1.5; }
.template-card > strong { font-size: 12px; }
.template-card > small, .vacancy-card__status span, .vacancy-card__status small, .vacancy-card__facts span, .vacancy-card__footer > span { font-size: 10px; }
.template-card > button, .primary-mini, .ghost-mini { min-height: 34px; padding: 0 10px; font-size: 10px; }

.moderation-metrics article, .moderation-detail__grid > article, .moderation-actions, .moderation-history { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.moderation-card { min-height: 78px; border-radius: var(--radius-md); }
.moderation-card__body small, .report-status { font-size: 10px; }
.moderation-card__body strong { font-size: 13px; }
.moderation-card__body span { font-size: 11px; }
.moderation-actions form { grid-template-columns: minmax(200px, .7fr) minmax(280px, 1.3fr) auto; }
.moderation-confirm-check, .admin-confirm-check { display: flex !important; grid-column: 1 / -1; align-items: center; gap: 9px; color: var(--color-text-secondary); font-size: 12px !important; font-weight: 650 !important; }
.moderation-confirm-check input, .admin-confirm-check input { width: 17px; height: 17px; margin: 0; }
.admin-sanction { grid-template-columns: minmax(180px, .8fr) minmax(280px, 1.4fr) auto; }
.admin-filters { padding: 15px; border-radius: var(--radius-md); }
.admin-filters label, .admin-sanction label { font-size: 12px; }
.admin-filters input, .admin-filters select, .admin-sanction input, .admin-sanction select { height: 42px; font-size: 13px; }
.admin-directory { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.admin-directory > a { min-height: 80px; }
.admin-directory strong { font-size: 13px; }
.admin-directory small, .admin-directory em { font-size: 11px; }
.admin-event-list strong, .admin-job-list strong { font-size: 13px; }
.admin-event-list p, .admin-event-list small, .admin-job-list small, .admin-muted { font-size: 11px; line-height: 1.5; }
.admin-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-event-list article > div { display: grid; gap: 4px; min-width: 0; }

.role-dialog, .form-dialog, .confirm-dialog { border: 0; border-radius: var(--radius-xl); box-shadow: var(--shadow-overlay); }
.role-dialog::backdrop, .form-dialog::backdrop, .confirm-dialog::backdrop { background: rgba(13, 21, 49, .52); backdrop-filter: blur(2px); }
.role-dialog { width: min(480px, calc(100vw - 28px)); padding: 22px; }
.role-dialog p, .role-dialog__note, .demo-status small { font-size: 12px; line-height: 1.5; }
.role-dialog__header strong, .confirm-dialog h2 { font-size: 20px; }
.dialog-role { min-height: 60px; padding: 11px; border-radius: var(--radius-md); }
.dialog-role strong { font-size: 13px; }
.dialog-role small { font-size: 11px; }
.demo-actions button { min-height: 40px; font-size: 11px; }
.confirm-dialog { width: min(430px, calc(100vw - 28px)); padding: 28px; text-align: center; }
.confirm-dialog__icon { display: grid; width: 52px; height: 52px; margin: 0 auto 16px; padding: 13px; place-items: center; border-radius: 15px; color: var(--color-warning); background: var(--color-warning-soft); }
.confirm-dialog__icon svg { width: 26px; }
.confirm-dialog h2 { margin: 4px 0 9px; }
.confirm-dialog > p:not(.page-eyebrow) { margin: 0; color: var(--color-text-secondary); font-size: 13px; line-height: 1.55; }
.confirm-dialog__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 22px; }
.danger-button { border: 0; color: #fff; background: var(--color-danger); }

/* Stage 23.1 — единая типографическая шкала и минимальная читаемость */
body { font-size: var(--text-body); line-height: 1.5; }
.work-heading h1,
.chat-page__heading h1,
.hr-section__heading h1,
.role-dashboard h1,
.favorites-heading h1,
.profile-hero h1,
.admin-heading h1,
.moderation-heading h1,
.foundation-page__header h1 { font-size: var(--text-page-title); }
.role-dashboard__grid h2,
.hr-attention h2,
.recruitment-section-head h2,
.ad-detail__section h2,
.profile-card h2,
.admin-panel h2 { font-size: var(--text-section-title); }
.form-dialog__header h2,
.hr-form-dialog .form-dialog__header h2,
.template-card h3,
.vacancy-card h3,
.market-card h2,
.manage-card h2 { font-size: var(--text-card-title); }
.page-eyebrow,
.sidebar-label { font-size: var(--text-caption); }
.nav-link { font-size: var(--text-control); }
.company-context small,
.dev-environment small,
.role-control small,
.breadcrumbs { font-size: var(--text-caption); }
.company-context strong,
.dev-environment strong,
.role-control strong { font-size: var(--text-secondary); }
.nav-link__badge,
.notification-button > span { font-size: var(--text-caption); }
.primary-action,
.secondary-action,
.ghost-action,
.danger-button,
.primary-mini,
.ghost-mini { font-size: var(--text-control); }

.form-dialog__header small { font-size: var(--text-caption); }
.form-dialog > p,
.form-dialog form > p:not(.dialog-error),
.critical-copy { font-size: var(--text-secondary); line-height: 1.55; }
.form-dialog label { color: var(--color-text-secondary); font-size: var(--text-label); line-height: 1.4; }
.form-dialog input,
.form-dialog select,
.form-dialog textarea { font-size: var(--text-control); line-height: 1.45; }
.form-dialog input[type="hidden"] { display: none; }
.form-dialog input::placeholder,
.form-dialog textarea::placeholder { color: var(--color-text-tertiary); opacity: 1; }
.dialog-error { font-size: var(--text-secondary); line-height: 1.4; }
.form-dialog__actions button { min-height: 40px; font-size: var(--text-control); }
.recruitment-dialog form { overscroll-behavior: contain; }
.field-helper { display: block; margin-top: 6px; color: var(--color-text-tertiary); font-size: var(--text-caption); font-weight: 500; line-height: 1.4; }

.profession-search__control { position: relative; display: block; }
.profession-search__control > svg { position: absolute; z-index: 1; top: 19px; left: 12px; width: 17px; height: 17px; color: var(--color-text-tertiary); pointer-events: none; }
.form-dialog .profession-search__control > input { padding-left: 38px; }
.hr-profession-search .profession-results { top: 70px; }
.hr-profession-search .profession-results button { font-size: var(--text-control); }
.hr-profession-search .profession-results strong { font-size: var(--text-control); }
.hr-profession-search .profession-results small { font-size: var(--text-caption); line-height: 1.35; }

.notification-popover > header small { font-size: var(--text-caption); }
.notification-popover > header strong { font-size: var(--text-card-title); }
.notification-item strong { color: var(--color-text); font-size: var(--text-secondary); line-height: 1.45; }
.notification-item small { color: var(--color-text-secondary); font-size: var(--text-caption); line-height: 1.35; }
.notification-empty strong { font-size: var(--text-body); }
.notification-empty span { font-size: var(--text-secondary); line-height: 1.5; }
.notification-popover footer a { font-size: var(--text-control); }
.notification-feed-item strong { font-size: var(--text-body); line-height: 1.45; }
.notification-feed-item small { color: var(--color-text-secondary); font-size: var(--text-caption); }

.hr-company-header small,
.hr-header-id,
.hr-reminder,
.hr-metrics article > small,
.recruitment-metrics small { font-size: var(--text-caption); }
.hr-company-header strong,
.hr-invite-strip,
.hr-invite-strip button { font-size: var(--text-secondary); }
.hr-list-filters label > span { font-size: var(--text-label); }
.hr-list-filters input,
.hr-list-filters select,
.hr-list-filters > button { font-size: var(--text-control); }
.hr-filter-check,
.hr-filter-empty,
.hr-empty-line { font-size: var(--text-secondary); }
.hr-contract-list strong,
.structure-root strong,
.structure-tree li strong,
.staff-groups article > span:nth-child(2) strong,
.employee-card summary > span:nth-child(2) strong,
.employee-detail__header h3,
.assignment-card > div:first-child strong,
.event-list strong { font-size: var(--text-body); }
.hr-contract-list small,
.hr-contract-list em,
.hr-contract-list a,
.staff-groups article > span:nth-child(2) small,
.staff-count small,
.staff-stats i,
.employee-card summary > span:nth-child(2) small,
.employee-state,
.attention-dot,
.assignment-card > div:first-child small,
.assignment-card > span,
.contract-line,
.absence-line,
.event-list small { font-size: var(--text-caption); line-height: 1.4; }
.assignment-actions button,
.contract-line button,
.absence-line button,
.end-assignment-action,
.employee-danger button { min-height: 34px; padding: 0 9px; font-size: var(--text-secondary); font-weight: 700; }
.employee-danger button { border-radius: var(--radius-sm); }

.need-type,
.need-count,
.need-templates small,
.need-templates em,
.need-template-action,
.need-live,
.template-card > small,
.vacancy-card__status span,
.vacancy-card__status small,
.vacancy-card__facts span,
.vacancy-card__footer > span,
.vacancy-history li small,
.hire-row small { font-size: var(--text-caption); line-height: 1.4; }
.need-card__body > p,
.need-templates > p,
.template-card p,
.vacancy-card > p,
.recruitment-placeholder,
.recruitment-empty small,
.vacancy-history > summary,
.vacancy-history li p { font-size: var(--text-secondary); line-height: 1.5; }
.need-templates strong,
.template-card > strong,
.vacancy-history li strong,
.recruitment-empty strong,
.hire-row strong { font-size: var(--text-body); }
.need-templates button,
.template-card > button,
.hire-row button,
.hire-row a { font-size: var(--text-control); }
.hire-state,
.vacancy-history li span { font-size: var(--text-caption); }

.catalog-search-row label,
.catalog-location-fields label,
.catalog-filter-grid label,
.work-wizard label { font-size: var(--text-label); }
.catalog-search-row input,
.catalog-search-row select,
.catalog-location-fields input,
.catalog-location-fields select,
.catalog-filter-grid input,
.catalog-filter-grid select,
.work-wizard input,
.work-wizard select,
.work-wizard textarea { font-size: var(--text-control); }
.market-card__meta,
.market-card__meta em,
.market-card__facts > span,
.market-card__badges span,
.freshness,
.manage-card__main > small,
.wizard-more summary small,
.photo-field small,
.media-preview span,
.wizard-footer span { font-size: var(--text-caption); }
.market-card__owner,
.manage-card__main > p,
.wizard-step > p,
.side-choice p,
.work-type-options label,
.criteria-block h3,
.inline-add { font-size: var(--text-secondary); line-height: 1.45; }
.market-card__actions .primary-action,
.market-card__actions .secondary-action,
.manage-card__actions > .primary-mini,
.manage-card__actions > .secondary-action,
.own-tabs button { font-size: var(--text-control); }

.match-panel header p,
.match-panel header > small,
.match-card__new,
.match-card__meta { font-size: var(--text-caption); }
.match-panel header h2,
.match-card h3 { font-size: var(--text-card-title); }
.match-card > p,
.match-panel__empty,
.create-company-hint { font-size: var(--text-secondary); line-height: 1.5; }
.match-card > strong { font-size: var(--text-body); }
.match-card__actions a,
.match-card__actions button,
.work-filter button { min-height: 34px; font-size: var(--text-control); }
.publisher-choice legend,
.publisher-choice small,
.publisher-fixed small,
.side-choice small,
.wizard-header small { font-size: var(--text-caption); }
.publisher-choice strong,
.publisher-fixed strong { font-size: var(--text-body); }

.favorite-card header small,
.favorite-state,
.private-employer-mark { font-size: var(--text-caption); }
.favorite-card header strong,
.favorite-card__facts strong { font-size: var(--text-body); }
.favorite-card > p { font-size: var(--text-secondary); }
.favorite-card > footer a,
.favorite-card > footer button { font-size: var(--text-control); }
.public-subject header p,
.public-subject__stats span,
.public-subject__stats em,
.public-subject__ads small,
.public-subject__ads p { font-size: var(--text-secondary); line-height: 1.45; }
.public-subject__ads h2 { font-size: var(--text-card-title); }
.public-subject__ads a { font-size: var(--text-control); }

.subject-reviews > header > span,
.review-card time,
.review-card > small { font-size: var(--text-caption); }
.review-card > header a,
.review-card > header strong { font-size: var(--text-body); }
.review-card > p,
.review-empty { font-size: var(--text-secondary); }
.rating-action strong { font-size: var(--text-body); }
.rating-action small,
.rating-stars legend,
.rating-comment { font-size: var(--text-secondary); }
.rating-comment textarea,
.rating-form > button { font-size: var(--text-control); }

.profile-review-list article p,
.profile-review-list article small,
.profile-ad-list small,
.profile-empty,
.admin-event-list p,
.admin-event-list small,
.admin-job-list small,
.admin-muted { font-size: var(--text-secondary); }
.profile-settings label,
.admin-filters label,
.admin-sanction label { font-size: var(--text-label); }
.profile-settings input,
.admin-filters input,
.admin-filters select,
.admin-sanction input,
.admin-sanction select { font-size: var(--text-control); }

/* Семантический guardrail для старых экранов: значимый UI больше не падает ниже шкалы. */
.workspace-shell button:not(.icon-button):not(.favorite-toggle) { font-size: var(--text-control); }
.workspace-shell input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.workspace-shell select,
.workspace-shell textarea { font-size: var(--text-control); }
.workspace-shell time,
.workspace-shell small { font-size: var(--text-caption); line-height: 1.4; }
.workspace-shell .chat-contact-action small,
.workspace-shell .contact-share small,
.workspace-shell .agreement-card small,
.workspace-shell .rating-action small,
.workspace-shell .conversation-item__body em { font-size: var(--text-secondary); }

/* Stage 23.2 — theme preference control */
.theme-settings fieldset { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin: 14px 0 10px; padding: 0; border: 0; }
.theme-settings legend { grid-column: 1 / -1; margin-bottom: 2px; color: var(--color-text-secondary); font-size: var(--text-label); font-weight: 700; }
.theme-settings label { position: relative; cursor: pointer; }
.theme-settings input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.theme-settings label > span { display: grid; min-height: 42px; place-items: center; padding: 0 12px; border: 1px solid var(--theme-border); border-radius: var(--radius-sm); color: var(--theme-text-secondary); background: var(--theme-input-bg); font-size: var(--text-control); font-weight: 700; text-align: center; }
.theme-settings input:checked + span { color: var(--theme-accent); border-color: var(--theme-accent); background: var(--theme-surface-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--theme-accent) 14%, transparent); }
.theme-settings input:focus-visible + span { outline: 3px solid var(--theme-focus); outline-offset: 2px; }
.theme-settings > p { margin: 0; color: var(--theme-text-secondary); font-size: var(--text-secondary); }

/* Stage 24 — product-completion states */
.dashboard-heading-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.first-time-card { margin: 0 0 18px; padding: 22px; border: 1px solid color-mix(in srgb, var(--theme-accent) 28%, var(--theme-border)); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--theme-surface-accent), var(--theme-surface)); box-shadow: var(--shadow-sm); }
.first-time-card > header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.first-time-card h2 { margin: 0; color: var(--theme-text); font-size: var(--text-section-title); }
.first-time-card > header > button { padding: 5px 0; border: 0; color: var(--theme-text-secondary); background: transparent; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.first-time-card > p { max-width: 760px; margin: 12px 0 17px; color: var(--theme-text-secondary); font-size: var(--text-body); line-height: 1.55; }
.first-time-actions, .empty-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.first-time-actions > a:not(.primary-action):not(.secondary-action), .publication-success > div > div > a:not(.primary-action):not(.secondary-action) { padding: 10px 4px; color: var(--theme-accent); font-size: var(--text-control); font-weight: 700; text-decoration: none; }

.publication-success { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; margin: 0 0 18px; padding: 20px; border: 1px solid color-mix(in srgb, var(--color-success) 35%, var(--theme-border)); border-radius: var(--radius-lg); color: var(--theme-text); background: var(--color-success-soft); box-shadow: var(--shadow-sm); }
.publication-success > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; color: var(--color-success); background: color-mix(in srgb, var(--color-success) 15%, var(--theme-surface)); }
.publication-success > span svg { width: 22px; height: 22px; }
.publication-success h2 { margin: 0; font-size: var(--text-section-title); }
.publication-success p:not(.page-eyebrow) { margin: 7px 0 14px; color: var(--theme-text-secondary); font-size: var(--text-body); line-height: 1.55; }
.publication-success > div > div { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.catalog-empty .empty-actions { justify-content: center; margin-top: 15px; }

.employment-service-state { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; margin-top: 13px; padding: 11px; border: 1px solid var(--theme-border); border-radius: var(--radius-md); color: var(--theme-text); background: var(--theme-surface-soft); }
.employment-service-state > span { color: var(--theme-accent); }
.employment-service-state > span svg { width: 21px; height: 21px; }
.employment-service-state small, .employment-service-state strong, .employment-service-state em { display: block; }
.employment-service-state small { color: var(--theme-text-secondary); font-size: var(--text-caption); }
.employment-service-state strong { margin-top: 2px; font-size: var(--text-secondary); }
.employment-service-state em { margin-top: 3px; overflow-wrap: anywhere; color: var(--theme-accent); font-size: var(--text-caption); font-style: normal; }
.employment-service-state p { margin: 5px 0 0; color: var(--theme-text-muted); font-size: var(--text-caption); line-height: 1.4; }
.hire-context-summary { margin: 13px 0; border: 1px solid var(--theme-border); border-radius: var(--radius-md); background: var(--theme-surface-soft); }
.hire-context-summary > div { display: grid; grid-template-columns: minmax(130px, .8fr) minmax(0, 1.2fr); gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--theme-border); }
.hire-context-summary > div:last-child { border-bottom: 0; }
.hire-context-summary dt { color: var(--theme-text-secondary); font-size: var(--text-caption); }
.hire-context-summary dd { margin: 0; color: var(--theme-text); font-size: var(--text-secondary); font-weight: 700; overflow-wrap: anywhere; }
.agreement-hire-action { align-self: flex-start; margin-top: 9px; }

.product-funnel, .system-warnings { margin: 16px 0; }
.product-funnel > header, .system-warnings > header { margin-bottom: 14px; }
.product-funnel > div { display: grid; grid-template-columns: repeat(7, minmax(90px, 1fr)); gap: 8px; overflow-x: auto; }
.product-funnel article { min-width: 90px; padding: 13px; border: 1px solid var(--theme-border); border-radius: var(--radius-md); background: var(--theme-surface-soft); }
.product-funnel article small { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; color: var(--theme-accent); background: var(--theme-surface-accent); }
.product-funnel article strong, .product-funnel article span { display: block; }
.product-funnel article strong { margin: 9px 0 3px; font-size: 22px; }
.product-funnel article span { color: var(--theme-text-secondary); font-size: var(--text-caption); line-height: 1.35; }
.system-warnings > div { display: grid; gap: 9px; }
.system-warnings article { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 11px; padding: 13px; border: 1px solid color-mix(in srgb, var(--color-warning) 35%, var(--theme-border)); border-radius: var(--radius-md); background: var(--color-warning-soft); }
.system-warnings article > span { color: var(--color-warning); }
.system-warnings article > span svg { width: 20px; height: 20px; }
.system-warnings article strong, .system-warnings article small { display: block; }
.system-warnings article strong { font-size: var(--text-control); }
.system-warnings article small { margin-top: 3px; color: var(--theme-text-secondary); font-size: var(--text-caption); }
.system-warnings article p { margin: 6px 0 0; color: var(--theme-text-secondary); font-size: var(--text-secondary); line-height: 1.45; }

::selection { color: var(--theme-text); background: var(--theme-selection); }
html { scrollbar-color: var(--theme-border-strong) var(--theme-bg); }

/* Dark palette bridge for legacy Stage 23 surfaces. Layout and imagery remain unchanged. */
:root[data-theme="dark"] body,
:root[data-theme="dark"] .workspace-shell,
:root[data-theme="dark"] .workspace-main,
:root[data-theme="dark"] .workspace-content,
:root[data-theme="dark"] .hr-cabinet,
:root[data-theme="dark"] .hr-cabinet__main { color: var(--theme-text); background: var(--theme-bg); }

:root[data-theme="dark"] .auth-panel { background: radial-gradient(circle at 50% 48%, #1b2435, #131a28 58%, #101522); }
:root[data-theme="dark"] :where(.auth-card__header h2, .login-form label, .account-type-grid legend, .dev-panel__heading strong, .account-picker > button, .role-button) { color: var(--theme-text); }
:root[data-theme="dark"] :where(.auth-card__header > p:last-child, .form-message, .field-hint, .legal, .dev-note, .dev-panel__heading small, .account-picker small) { color: var(--theme-text-secondary); }
:root[data-theme="dark"] :where(.phone-input input, .auth-input, .account-type-card span, .account-picker > button, .dev-panel, .role-button) { color: var(--theme-text); border-color: var(--theme-border); background: var(--theme-surface-raised); }
:root[data-theme="dark"] :where(.account-type-card input:checked + span, .dev-code) { color: var(--theme-accent); border-color: var(--theme-accent); background: var(--theme-surface-accent); }
:root[data-theme="dark"] .auth-alert--error { color: var(--color-danger); border-color: color-mix(in srgb, var(--color-danger) 38%, transparent); background: var(--color-danger-soft); }
:root[data-theme="dark"] .auth-alert--info { color: var(--color-success); border-color: color-mix(in srgb, var(--color-success) 38%, transparent); background: var(--color-success-soft); }

:root[data-theme="dark"] :where(.sidebar, .topbar, .hr-cabinet__sidebar) { border-color: var(--theme-border); background: var(--theme-surface); }
:root[data-theme="dark"] :where(.brand--compact, .app-brand, .breadcrumbs strong, .nav-link:hover) { color: var(--theme-text); }
:root[data-theme="dark"] :where(.nav-link, .breadcrumbs, .sidebar-label) { color: var(--theme-text-secondary); }
:root[data-theme="dark"] :where(.nav-link:hover, .company-context:hover, .role-control:hover) { background: var(--theme-surface-hover); }
:root[data-theme="dark"] :where(.nav-link--active, .company-context, .role-control__icon, .company-context__icon) { color: var(--theme-accent); background: var(--theme-surface-accent); }
:root[data-theme="dark"] :where(.company-context, .role-control, .icon-button, .workspace-identity) { border-color: var(--theme-border); }
:root[data-theme="dark"] :where(.company-context strong, .role-control strong, .workspace-identity) { color: var(--theme-text); }
:root[data-theme="dark"] :where(.dev-environment, .workspace-identity) { background: var(--theme-surface-soft); }
:root[data-theme="dark"] :where(.demo-control-button, .icon-button, .role-control, .account-placeholder) { color: var(--theme-text-secondary); border-color: var(--theme-border-strong); background: var(--theme-surface-raised); box-shadow: var(--shadow-sm); }
:root[data-theme="dark"] :where(.demo-control-button:hover, .icon-button:hover, .role-control:hover, .account-placeholder:hover) { color: var(--theme-text); border-color: var(--theme-accent); background: var(--theme-surface-hover); }
:root[data-theme="dark"] .demo-control-button--active { color: var(--theme-accent); border-color: color-mix(in srgb, var(--theme-accent) 55%, var(--theme-border)); background: var(--theme-surface-accent); }
:root[data-theme="dark"] .demo-control-button i { background: var(--theme-text-muted); }
:root[data-theme="dark"] .demo-control-button--active i { background: var(--theme-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-accent) 20%, transparent); }
:root[data-theme="dark"] .notification-button > span { color: #fff; border-color: var(--theme-surface); background: var(--theme-accent); }
:root[data-theme="dark"] .account-placeholder { color: var(--theme-accent); }

:root[data-theme="dark"] :where(
  .role-dashboard__metrics article, .role-dashboard__grid > section,
  .company-overview, .members-panel, .hr-id-card, .invitation-panel, .recruiter-preview,
  .match-panel, .match-card, .market-card, .manage-card, .expiry-notice,
  .ad-detail__hero, .ad-detail__section, .catalog-search-row, .catalog-filter-sheet,
  .favorite-card, .favorites-empty, .favorites-loading, .public-subject > header,
  .public-subject__ads article, .subject-reviews, .review-card,
  .profile-hero, .profile-card,
  .notifications-feed, .notification-feed-item,
  .admin-panel, .admin-filters, .admin-sanction, .admin-directory,
  .moderation-metrics article, .moderation-queue, .moderation-detail__grid > article,
  .moderation-actions, .moderation-history,
  .structure-tree, .staff-groups, .employee-list, .event-list,
  .hr-metrics article, .hr-attention, .hr-contract-list, .hr-list-filters,
  .recruitment-metrics article, .need-card, .template-card, .vacancy-card,
  .recruitment-empty, .hire-list
) { color: var(--theme-text); border-color: var(--theme-border); background: var(--theme-surface); box-shadow: var(--shadow-sm); }

:root[data-theme="dark"] :where(
  .dashboard-actions a, .dashboard-notifications a, .member-row, .invitation-row,
  .need-templates button, .profile-ad-list a, .profile-review-list article,
  .admin-directory > a, .moderation-card, .event-list article,
  .staff-groups article, .employee-card > summary, .assignment-card,
  .contract-line, .absence-line, .vacancy-history li, .hire-row
) { color: var(--theme-text); border-color: var(--theme-border); background: var(--theme-surface-raised); }
:root[data-theme="dark"] :where(.dashboard-actions a:hover, .dashboard-notifications a:hover, .admin-directory > a:hover, .moderation-card:hover, .need-templates button:hover) { background: var(--theme-surface-hover); }

:root[data-theme="dark"] :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { color: var(--theme-text); border-color: var(--theme-border-strong); background: var(--theme-input-bg); }
:root[data-theme="dark"] :where(input::placeholder, textarea::placeholder) { color: var(--theme-text-muted); }
:root[data-theme="dark"] :where(input:disabled, select:disabled, textarea:disabled, button:disabled) { color: var(--theme-text-muted); background: var(--theme-disabled); opacity: .72; }
:root[data-theme="dark"] :where(input[type="checkbox"], input[type="radio"]) { accent-color: var(--theme-accent); }
:root[data-theme="dark"] :where(option) { color: var(--theme-text); background: var(--theme-input-bg); }
:root[data-theme="dark"] :where(.secondary-action, .ghost-action, .primary-mini, .ghost-mini, .entity-menu > summary, .entity-menu > div, .conversation-more) { color: var(--theme-text-secondary); border-color: var(--theme-border); background: var(--theme-surface-raised); }
:root[data-theme="dark"] :where(.primary-action, .primary-button) { color: var(--theme-accent-contrast); background: var(--theme-accent); }
:root[data-theme="dark"] :where(.profession-results, .entity-menu > div) { border-color: var(--theme-border-strong); background: var(--theme-surface-raised); box-shadow: var(--shadow-md); }
:root[data-theme="dark"] :where(.profession-results button, .entity-menu > div button, .entity-menu > div a) { color: var(--theme-text-secondary); }
:root[data-theme="dark"] :where(.profession-results button:hover, .entity-menu > div button:hover, .entity-menu > div a:hover) { color: var(--theme-text); background: var(--theme-surface-hover); }

:root[data-theme="dark"] :where(.role-dialog, .form-dialog, .confirm-dialog, .work-wizard) { color: var(--theme-text); border: 1px solid var(--theme-border-strong); background: var(--theme-surface-raised); box-shadow: var(--shadow-overlay); }
:root[data-theme="dark"] :where(.role-dialog, .form-dialog, .confirm-dialog, .work-wizard)::backdrop { background: var(--theme-overlay); }
:root[data-theme="dark"] :where(.wizard-header, .wizard-footer, .form-dialog__actions, .account-dialog__actions) { border-color: var(--theme-border); background: var(--theme-surface-raised); }
:root[data-theme="dark"] :where(.wizard-required, .wizard-choices button, .side-choice, .publisher-choice, .publisher-choice label, .publisher-fixed, .wizard-more, .work-type-options label, .criteria-block, .rate-row) { color: var(--theme-text); border-color: var(--theme-border); background: var(--theme-surface-soft); }
:root[data-theme="dark"] :where(.wizard-choices button:hover, .publisher-choice label:has(input:checked)) { border-color: var(--theme-accent); background: var(--theme-surface-accent); }

:root[data-theme="dark"] :where(.catalog-category-tabs, .own-tabs, .favorite-tabs, .company-tabs) { border-color: var(--theme-border); background: var(--theme-surface-soft); }
:root[data-theme="dark"] :where(.catalog-category-tabs a.is-active, .own-tabs .own-tabs--active, .favorite-tabs .favorite-tabs--active, .company-tab--active) { color: var(--theme-accent); background: var(--theme-surface-raised); }
:root[data-theme="dark"] :where(.market-card h2, .market-card__salary, .manage-card h2, .ad-detail__hero h1, .ad-detail__core strong, .detail-description, .detail-list, .detail-checks li, .detail-rates li, .favorite-card h2, .public-subject__ads h2, .review-card > p) { color: var(--theme-text) !important; }
:root[data-theme="dark"] :where(.market-card__badges span, .detail-chips span, .favorite-state, .private-employer-mark, .public-subject__stats, .admin-directory__icon, .notification-feed-item > span:first-child) { color: var(--theme-accent); background: var(--theme-surface-accent); }
:root[data-theme="dark"] .ad-detail__core { border-color: var(--theme-border); background: var(--theme-surface-soft); }
:root[data-theme="dark"] .ad-detail__core article { border-color: var(--theme-border); }
:root[data-theme="dark"] .ad-contact { background: linear-gradient(130deg, #222d49, #2f3f72); }

:root[data-theme="dark"] .notification-popover { color: var(--theme-text); border-color: var(--theme-border-strong); background: var(--theme-surface-raised); box-shadow: var(--shadow-overlay); }
:root[data-theme="dark"] :where(.notification-popover > header, .notification-popover footer, .notification-item, .notification-feed-item) { border-color: var(--theme-border); background: var(--theme-surface-raised); }
:root[data-theme="dark"] :where(.notification-item:hover, .notification-feed-item:hover) { background: var(--theme-surface-hover); }
:root[data-theme="dark"] :where(.notification-item--unread, .notification-feed-item.is-unread) { background: var(--theme-surface-accent); }
:root[data-theme="dark"] :where(.notification-item strong, .notification-feed-item strong) { color: var(--theme-text); }

:root[data-theme="dark"] :where(.chat-hub, .conversation-list, .chat-thread, .chat-thread-empty) { color: var(--theme-text); border-color: var(--theme-border); background: var(--theme-surface); }
:root[data-theme="dark"] :where(.conversation-list > header, .chat-thread__header, .chat-thread__context, .chat-composer) { border-color: var(--theme-border); background: var(--theme-surface-raised); }
:root[data-theme="dark"] .conversation-item { border-color: var(--theme-border); }
:root[data-theme="dark"] :where(.conversation-item:hover, .conversation-item--active) { background: var(--theme-surface-accent); }
:root[data-theme="dark"] :where(.conversation-item__body strong, .chat-thread__header strong, .chat-thread__context strong) { color: var(--theme-text); }
:root[data-theme="dark"] .chat-messages { background: var(--theme-bg); }
:root[data-theme="dark"] .chat-message { color: var(--theme-text); border-color: var(--theme-border-strong); background: var(--theme-surface-raised); box-shadow: var(--shadow-sm); }
:root[data-theme="dark"] .chat-message--own { color: #eef1ff; border-color: #4c5a91; background: #313d68; }
:root[data-theme="dark"] :where(.chat-message > .chat-message__sender, .chat-message footer) { color: var(--theme-text-secondary); }
:root[data-theme="dark"] :where(.chat-message--own > .chat-message__sender, .chat-message--own footer) { color: #cbd2f4; }
:root[data-theme="dark"] .chat-message--moderated { color: var(--theme-text-muted); border-color: var(--theme-border); background: var(--theme-disabled); }
:root[data-theme="dark"] .chat-system-message { color: var(--theme-text-secondary); border-color: var(--theme-border); background: var(--theme-surface-soft); }
:root[data-theme="dark"] .chat-system-message strong { color: var(--theme-text-secondary); }
:root[data-theme="dark"] .chat-actions-zone { background: var(--theme-bg); }
:root[data-theme="dark"] :where(.contact-share, .agreement-card, .rating-action) { color: var(--theme-text); border-color: var(--theme-border); background: var(--theme-surface-raised); }
:root[data-theme="dark"] :where(.contact-share strong, .agreement-card strong, .rating-action strong) { color: var(--theme-text); }
:root[data-theme="dark"] :where(.contact-share--allowed, .agreement-card--confirmed) { border-color: #315e49; background: var(--color-success-soft); }
:root[data-theme="dark"] .contact-share--pending { border-color: #66502d; background: var(--color-warning-soft); }

:root[data-theme="dark"] :where(.hr-company-header, .hr-section__heading, .employee-detail, .recruitment-section-head) { color: var(--theme-text); }
:root[data-theme="dark"] :where(.hr-nav__link:hover, .hr-nav__link--active) { color: var(--theme-accent); background: var(--theme-surface-accent); }
:root[data-theme="dark"] :where(.employee-detail, .assignment-card, .vacancy-history, .need-templates) { border-color: var(--theme-border); background: var(--theme-surface-soft); }
:root[data-theme="dark"] :where(.critical-copy, .employee-danger button, .entity-menu__danger) { color: var(--color-danger); }
:root[data-theme="dark"] .critical-copy { background: var(--color-danger-soft); }
:root[data-theme="dark"] :where(.recruitment-empty, .profile-status, .subject-state--active, .admin-health--ok) { color: var(--color-success); background: var(--color-success-soft); }
:root[data-theme="dark"] :where(.subject-state--restricted, .admin-health--warning, .admin-health--metadata_unavailable) { color: var(--color-warning); background: var(--color-warning-soft); }
:root[data-theme="dark"] :where(.subject-state--blocked, .report-status--new) { color: var(--color-danger); background: var(--color-danger-soft); }

:root[data-theme="dark"] :where(.admin-directory > a, .admin-event-list article, .admin-job-list article, .profile-card dl div, .admin-facts div) { border-color: var(--theme-border); }
:root[data-theme="dark"] :where(.admin-heading > span:not(.admin-health), .report-status--reviewing, .moderation-card__icon) { color: var(--theme-accent); background: var(--theme-surface-accent); }
:root[data-theme="dark"] :where(.admin-state, .security-loading, .catalog-state, .not-found, .account-blocked) { color: var(--theme-text-secondary); background: var(--theme-bg); }
:root[data-theme="dark"] :where(.page-notice, .security-banner) { color: var(--theme-text); border-color: var(--theme-border); background: var(--theme-surface-accent); }

@media (max-width: 980px) {
  .hr-cabinet { grid-template-columns: 205px minmax(0, 1fr); }
  .hr-cabinet__sidebar { grid-template-columns: 1fr; }
  .hr-company-rail { display: none; }
  .hr-metrics, .recruitment-metrics { grid-template-columns: 1fr 1fr; }
  .moderation-actions form, .admin-sanction { grid-template-columns: 1fr 1fr; }
  .admin-metric-grid { grid-template-columns: 1fr 1fr; }
  .moderation-actions form > button, .admin-sanction > button { width: 100%; }
}

@media (max-width: 760px) {
  .workspace-shell { display: block; }
  .sidebar { position: fixed; z-index: 30; top: 0; bottom: 0; left: 0; width: min(300px, 86vw); transform: translateX(-105%); transition: transform .2s ease; box-shadow: var(--shadow-overlay); }
  .sidebar.sidebar--open { transform: translateX(0); }
  .sidebar--open + .sidebar-backdrop { z-index: 29; }
  .workspace-content { padding: 24px 16px 48px; }
  .workspace-identity > small { text-align: left; }
  .company-workspace, .role-dashboard__grid, .profile-grid, .admin-dashboard-grid, .admin-detail-grid, .moderation-detail__grid { grid-template-columns: 1fr; }
  .company-rail { flex-direction: row; overflow-x: auto; }
  .company-overview, .members-panel { grid-column: 1; }
  .favorites-grid, .template-grid, .vacancy-grid { grid-template-columns: 1fr; }
  /* Mobile chat already owns the full-bleed workspace (the parent has no padding). */
  .chat-page { width: 100%; margin-inline: 0; }
  .chat-page__heading { padding-inline: 16px; }
  .chat-hub { height: calc(100svh - 136px); min-height: 0; grid-template-columns: 1fr; border-right: 0; border-left: 0; border-radius: 0; box-shadow: none; }
  .chat-hub--mobile-selected .conversation-list { display: none; }
  .chat-hub:not(.chat-hub--mobile-selected) .chat-thread, .chat-hub:not(.chat-hub--mobile-selected) .chat-thread-empty { display: none; }
  .chat-thread__context em { display: inline-flex; }
  .hr-cabinet { display: block; min-height: 0; }
  .hr-cabinet__sidebar { padding: 10px 16px; border-right: 0; border-bottom: 1px solid var(--color-border); }
  .hr-nav { flex-direction: row; overflow-x: auto; padding-bottom: 2px; }
  .hr-nav__link { flex: 0 0 auto; }
  .hr-cabinet__main { padding: 24px 16px 48px; }
  .hr-company-header { align-items: flex-start; }
  .hr-metrics, .recruitment-metrics { grid-template-columns: 1fr 1fr; }
  .hr-list-filters, .hr-event-filters { grid-template-columns: 1fr 1fr; }
  .staff-groups article { grid-template-columns: 40px 1fr auto; }
  .staff-stats { grid-column: 2 / -1; justify-content: flex-start; }
  .employee-card > summary { grid-template-columns: 40px minmax(0, 1fr) auto 15px; }
  .attention-dot { grid-column: 2; }
  .manage-card { align-items: flex-start; flex-direction: column; }
  .manage-card__actions { width: 100%; justify-content: space-between; }
}

@media (max-width: 520px) {
  :root { --text-page-title: 28px; }
  .theme-settings fieldset { grid-template-columns: 1fr; }
  .workspace-content { padding-inline: 14px; }
  .workspace-identity { align-items: stretch; flex-direction: column; }
  .workspace-identity label { min-width: 0; }
  .workspace-identity > small { margin-left: 0; }
  .role-dashboard h1, .favorites-heading h1, .profile-hero h1, .admin-heading h1, .moderation-heading h1, .foundation-page__header h1 { font-size: 29px; }
  .role-dashboard__metrics, .admin-metric-grid, .hr-metrics, .recruitment-metrics { grid-template-columns: 1fr 1fr; }
  .role-dashboard__metrics article, .admin-metric-grid article { min-height: 88px; padding: 14px; }
  .role-dashboard__metrics strong, .admin-metric-grid strong { font-size: 21px; }
  .ad-detail__hero, .ad-detail__section { padding: 18px; }
  .detail-gallery { grid-template-columns: 1fr; }
  .manage-card { padding: 16px; }
  .manage-card h2 { white-space: normal; }
  .manage-card__actions > .primary-mini, .manage-card__actions > .secondary-action { flex: 1; justify-content: center; }
  .entity-menu > div { right: 0; }
  .work-wizard form { padding-inline: 18px; }
  .wizard-header { margin-inline: -18px; padding-inline: 18px; }
  .wizard-footer { margin-inline: -18px; padding-inline: 18px; }
  .wizard-choices, .wizard-grid, .wizard-grid--payment, .rate-row { grid-template-columns: 1fr; }
  .wizard-choices button { min-height: 122px; }
  .chat-message { max-width: 88%; }
  .hr-section__heading, .recruitment-section-head { align-items: flex-start; flex-direction: column; }
  .hr-list-filters, .hr-event-filters { grid-template-columns: 1fr; }
  .staff-groups article { grid-template-columns: 40px minmax(0, 1fr); }
  .staff-count { grid-column: 2; justify-self: start; }
  .employee-card > summary { grid-template-columns: 38px minmax(0, 1fr) 15px; }
  .employee-state, .attention-dot { grid-column: 2; justify-self: start; }
  .template-grid, .vacancy-grid { grid-template-columns: 1fr; }
  .moderation-actions form, .admin-sanction { grid-template-columns: 1fr; }
  .moderation-confirm-check, .admin-confirm-check { grid-column: 1; }
  .confirm-dialog { padding: 22px; }
  .confirm-dialog__actions { grid-template-columns: 1fr; }
  .first-time-card { padding: 17px; }
  .first-time-card > header { flex-direction: column; gap: 7px; }
  .first-time-actions > a, .empty-actions > a, .publication-success > div > div > a { width: 100%; justify-content: center; text-align: center; }
  .publication-success { grid-template-columns: 1fr; padding: 17px; }
  .employment-service-state { grid-template-columns: 28px minmax(0, 1fr); }
  .employment-service-state > button { grid-column: 2; justify-self: start; }
  .hire-context-summary > div { grid-template-columns: 1fr; gap: 3px; }
}

@media (max-width: 620px) {
  .ad-contact__actions { display: grid; width: 100%; grid-template-columns: 37px minmax(0, 1fr) auto; align-items: center; gap: 8px; }
  .ad-contact__actions .writer-context { width: 100%; min-width: 0; }
  .ad-contact__actions .primary-action { width: auto; min-width: max-content; }
}

@media (max-width: 420px) {
  .ad-contact__actions { margin-top: 4px; }
}

/* Company hiring, onboarding and management reporting. */
.journey-view { min-width: 0; color: var(--theme-text); }
.journey-view .hr-section__heading h1, .hr-company-header strong { color: var(--theme-text); }
.journey-subtitle { color: var(--theme-text-secondary); line-height: 1.6; font-size: 13px; }
.journey-path { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 20px 0 26px; padding: 14px 18px; border: 1px solid var(--theme-border); border-radius: 12px; background: var(--theme-surface); font-size: 13px; }
.journey-path a, .journey-view a { color: var(--theme-accent); text-underline-offset: 3px; }
.journey-path span { color: var(--theme-text-secondary); }
.journey-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0 24px; }
.journey-metrics article { display: flex; flex-direction: column; gap: 9px; padding: 20px; background: var(--theme-surface); border: 1px solid var(--theme-border); border-radius: 12px; }
.journey-metrics strong { font-size: 28px; line-height: 1.2; color: var(--theme-text); }
.journey-metrics span { color: var(--theme-text-secondary); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.journey-stage-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 20px; }
.journey-stage-filter a { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid var(--theme-border); border-radius: 8px; color: var(--theme-text); text-decoration: none; font-size: 12px; background: var(--theme-surface); }
.journey-stage-filter a.is-active { color: var(--theme-accent); border-color: var(--theme-accent); background: var(--theme-surface-accent); }
.journey-search, .journey-period label { display: grid; gap: 7px; color: var(--theme-text-secondary); font-size: 12px; }
.journey-search { max-width: 420px; margin: 20px 0; }
.journey-view input:not([type="checkbox"]), .journey-view select, .journey-view textarea { width: 100%; padding: 11px 12px; font: inherit; color: var(--theme-text); border: 1px solid var(--theme-border); border-radius: 8px; background: var(--theme-surface); }
.journey-candidates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.journey-candidate, .journey-plan, .journey-panel { min-width: 0; padding: 22px; border: 1px solid var(--theme-border); border-radius: 14px; background: var(--theme-surface); }
.journey-candidate header, .journey-plan header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.journey-candidate h2, .journey-plan h2, .journey-panel h2 { margin: 12px 0 8px; color: var(--theme-text); font-size: 18px; }
.journey-candidate header p, .journey-plan header p { color: var(--theme-text-secondary); font-size: 12px; line-height: 1.6; }
.journey-badge { display: inline-block; padding: 5px 9px; border-radius: 6px; background: var(--theme-surface-accent); color: var(--theme-accent); font-size: 11px; font-weight: 600; }
.journey-badge--hired { color: var(--color-success); background: var(--color-success-soft); }
.journey-badge--rejected { color: var(--color-danger); background: var(--color-danger-soft); }
.journey-facts { display: grid; gap: 9px; margin-block: 20px; font-size: 12px; }
.journey-facts > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; }
.journey-facts dt { color: var(--theme-text-secondary); }
.journey-facts dd { margin: 0; overflow-wrap: anywhere; }
.journey-note, .journey-conclusion p { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; font-size: 13px; }
.journey-history { border-top: 1px solid var(--theme-border); padding-top: 12px; font-size: 12px; }
.journey-history summary { cursor: pointer; color: var(--theme-text-secondary); }
.journey-history ol { padding-left: 20px; }
.journey-history li { padding-block: 7px; }
.journey-history time { margin-left: 10px; color: var(--theme-text-secondary); }
.journey-history li p { margin: 6px 0; white-space: pre-wrap; }
.journey-candidate footer, .journey-plan footer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.journey-candidate footer button, .journey-plan footer button { font-size: 12px; }
.journey-empty { padding: 44px 24px; border: 1px dashed var(--theme-border); border-radius: 12px; background: var(--theme-surface); text-align: center; }
.journey-empty p { color: var(--theme-text-secondary); max-width: 560px; margin: 12px auto 20px; line-height: 1.7; }
.journey-dialog { max-width: min(560px, calc(100vw - 32px)); }
.journey-dialog form > label { display: grid; gap: 7px; margin-block: 16px; font-size: 13px; }
.journey-dialog form > p { line-height: 1.7; font-size: 13px; color: var(--theme-text-secondary); }
.journey-dialog textarea { resize: vertical; }
.journey-plan, .journey-panel { margin-bottom: 20px; }
.journey-progress { display: flex; gap: 16px; align-items: center; margin: 22px 0; font-size: 12px; }
.journey-progress progress { width: 100%; height: 9px; accent-color: var(--theme-accent); }
.journey-progress strong { flex-shrink: 0; }
.journey-task { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--theme-border); }
.journey-task label { display: flex; gap: 12px; align-items: flex-start; min-width: 0; cursor: pointer; }
.journey-task input { width: 18px; height: 18px; margin: 2px 0; flex-shrink: 0; accent-color: var(--theme-accent); }
.journey-task strong { display: block; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.journey-task small { display: block; margin-top: 7px; color: var(--theme-text-secondary); line-height: 1.5; font-size: 12px; }
.journey-task--overdue small { color: var(--color-danger); }
.journey-task input:checked + span strong { text-decoration: line-through; color: var(--theme-text-secondary); }
.journey-conclusion { padding: 16px; margin-top: 18px; border-radius: 8px; background: var(--color-success-soft); }
.journey-unplanned, .journey-source { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 14px; border-top: 1px solid var(--theme-border); font-size: 13px; }
.journey-period { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.journey-period label { flex: 1; min-width: 140px; }
.journey-period > a { padding: 12px 0; font-size: 13px; }
.journey-funnel { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-block: 20px; }
.journey-funnel > div { display: grid; gap: 9px; padding: 15px 10px; border-radius: 9px; background: var(--theme-surface-soft); text-align: center; }
.journey-funnel strong { font-size: 23px; }
.journey-funnel span { font-size: 11px; overflow-wrap: anywhere; }
.journey-table-wrap { overflow-x: auto; }
.journey-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.journey-table th { color: var(--theme-text-secondary); font-size: 11px; font-weight: 600; }
.journey-table th, .journey-table td { padding: 14px 12px; border-bottom: 1px solid var(--theme-border); line-height: 1.6; }
.journey-alert { padding: 15px; background: var(--color-warning-soft); border-radius: 8px; font-size: 13px; line-height: 1.7; }
.journey-view button:disabled { opacity: .5; cursor: default; }
@media (max-width: 1200px) { .journey-candidates { grid-template-columns: 1fr; } .journey-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .journey-candidate, .journey-plan, .journey-panel { padding: 16px; } .journey-funnel { grid-template-columns: repeat(3, minmax(0, 1fr)); } .journey-path { gap: 8px; padding: 12px; } .journey-metrics article { padding: 16px; } .journey-plan header { flex-direction: column; } .journey-task { align-items: flex-start; } .journey-task .ghost-mini { padding: 5px; font-size: 11px; } .journey-unplanned { align-items: flex-start; flex-direction: column; } }
@media (max-width: 620px) { .demo-control-button { font-size: 0; justify-content: center; } }

.application-page, .application-callout { color: var(--theme-text); }
.application-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
.application-heading h1 { margin: 7px 0 12px; color: var(--theme-text); font-size: var(--text-page-title); }
.application-heading p:not(.page-eyebrow) { margin: 0; color: var(--theme-text-secondary); line-height: 1.7; }
.application-guide, .application-callout { padding: 22px; margin-bottom: 24px; border: 1px solid var(--theme-border); border-radius: 14px; background: var(--theme-surface); line-height: 1.7; }
.application-guide { color: var(--theme-text-secondary); font-size: 13px; }
.application-callout { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 24px; background: var(--theme-surface-accent); }
.application-callout h2 { margin: 6px 0; color: var(--theme-text); font-size: 21px; }
.application-callout p { max-width: 680px; margin: 6px 0 0; color: var(--theme-text-secondary); font-size: 13px; }
.application-callout > button, .application-callout > a { flex-shrink: 0; }
.application-filter { display: grid; gap: 7px; max-width: 340px; margin-bottom: 20px; font-size: 12px; color: var(--theme-text-secondary); }
.application-filter select, .application-dialog input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), .application-dialog textarea, .application-dialog select { width: 100%; padding: 11px 12px; color: var(--theme-text); border: 1px solid var(--theme-border); border-radius: 8px; background: var(--theme-surface); font: inherit; }
.application-dialog .check-label { min-height: 44px; cursor: pointer; }
.application-dialog .check-label input { flex: 0 0 24px; width: 24px; height: 24px; padding: 0; accent-color: var(--theme-accent); }
.application-dialog { width: min(560px, calc(100vw - 32px)); padding: 24px; color: var(--theme-text); background: var(--theme-surface); }
.application-dialog form > label { display: grid; gap: 8px; margin-block: 18px; font-size: 13px; }
.application-dialog form h2 { color: var(--theme-text); font-size: 20px; }
.application-dialog textarea { resize: vertical; }
.application-dialog .application-privacy { color: var(--theme-text-secondary); font-size: 12px; line-height: 1.7; }
.application-list { display: grid; gap: 16px; }
.application-card { min-width: 0; padding: 24px; border: 1px solid var(--theme-border); border-radius: 14px; background: var(--theme-surface); }
.application-card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.application-category { font-size: 11px; color: var(--theme-text-secondary); }
.application-card h2 { margin: 7px 0 8px; color: var(--theme-text); font-size: 19px; line-height: 1.4; overflow-wrap: anywhere; }
.application-card header p { margin: 0; color: var(--theme-text-secondary); font-size: 13px; }
.application-status { flex-shrink: 0; padding: 6px 10px; border-radius: 7px; color: var(--theme-accent); background: var(--theme-surface-accent); font-size: 12px; line-height: 1.5; }
.application-status--hired, .application-status--accepted { color: var(--color-success); background: var(--color-success-soft); }
.application-status--rejected, .application-status--withdrawn { color: var(--theme-text-secondary); background: var(--theme-surface-soft); }
.application-letter { white-space: pre-wrap; overflow-wrap: anywhere; margin-block: 22px; font-size: 13px; line-height: 1.8; }
.application-dates { display: flex; flex-wrap: wrap; gap: 16px; margin-block: 20px; color: var(--theme-text-secondary); font-size: 12px; }
.application-archived { font-size: 12px; color: var(--theme-text-secondary); }
.application-card footer { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--theme-border); }
.application-text-link { color: var(--theme-accent); font-size: 13px; text-underline-offset: 3px; }
.application-empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--theme-border); border-radius: 14px; background: var(--theme-surface); }
.application-empty h2 { color: var(--theme-text); }
.application-empty p { margin: 12px auto 24px; max-width: 560px; color: var(--theme-text-secondary); line-height: 1.8; }
.application-load-more { margin-top: 20px; }
@media (max-width: 620px) { .application-heading, .application-callout, .application-card header { flex-direction: column; align-items: flex-start; } .application-card { padding: 18px; } .application-heading h1 { font-size: 28px; } .application-dialog { padding: 18px; } .application-callout { padding: 18px; } .application-callout > button { width: 100%; } .application-card footer { gap: 10px; } }

.my-work-page { min-width: 0; max-width: 1280px; margin-inline: auto; color: var(--theme-text); }
.my-work-page svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.my-work-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 0 0 28px; }
.my-work-heading h1 { margin: 8px 0 10px; color: var(--theme-text); font-size: var(--text-page-title); letter-spacing: -.6px; }
.my-work-heading p:not(.page-eyebrow) { margin: 0; color: var(--theme-text-secondary); font-size: 14px; line-height: 1.7; }
.my-work-preview { display: flex; align-items: flex-start; gap: 13px; padding: 18px 22px; margin-bottom: 28px; border: 1px solid var(--theme-border); border-radius: 13px; background: var(--theme-surface-accent); }
.my-work-preview > span { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; color: var(--theme-accent); background: var(--theme-surface); }
.my-work-preview strong { color: var(--theme-text); font-size: 13px; }
.my-work-preview p { margin: 4px 0 0; color: var(--theme-text-secondary); font-size: 12px; line-height: 1.7; }
.my-work-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.my-work-main, .my-work-side { display: grid; min-width: 0; gap: 22px; }
.my-work-employer, .my-work-onboarding, .my-work-contact, .my-work-next, .my-work-pending { min-width: 0; border: 1px solid var(--theme-border); border-radius: 17px; background: var(--theme-surface); }
.my-work-employer { display: flex; gap: 20px; padding: 28px; }
.my-work-employer__mark { display: grid; width: 64px; height: 64px; flex-shrink: 0; place-items: center; color: var(--theme-accent-contrast); background: var(--theme-accent); border-radius: 17px; font-size: 22px; font-weight: 700; }
.my-work-employer > div:last-child { min-width: 0; flex: 1; }
.my-work-badge { display: inline-flex; width: max-content; padding: 5px 10px; color: var(--theme-accent); background: var(--theme-surface-accent); border-radius: 6px; font-size: 11px; font-weight: 600; }
.my-work-employer .my-work-badge { margin-bottom: 18px; color: var(--color-success); background: var(--color-success-soft); }
.my-work-employer--former .my-work-badge { color: var(--theme-text-secondary); background: var(--theme-surface-accent); }
.my-work-closed { margin-bottom: 24px; padding: 18px 20px; border: 1px solid var(--theme-border); border-radius: 12px; background: var(--theme-surface); color: var(--theme-text); }
.my-work-closed p { margin: 8px 0 0; color: var(--theme-text-secondary); font-size: 13px; line-height: 1.7; }
.my-work-employer .page-eyebrow { color: var(--theme-text-secondary); font-size: 10px; }
.my-work-employer h2 { margin: 6px 0 8px; color: var(--theme-text); font-size: 27px; line-height: 1.3; letter-spacing: -.5px; overflow-wrap: anywhere; }
.my-work-employer p:not(.page-eyebrow) { margin: 0; color: var(--theme-text-secondary); line-height: 1.7; font-size: 13px; }
.my-work-employer .my-work-additional { margin-top: 8px; }
.my-work-employer__dates { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--theme-border); }
.my-work-employer__dates span { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: var(--theme-text-secondary); font-size: 12px; }
.my-work-employer__dates strong { color: var(--theme-text); font-weight: 600; }
.my-work-onboarding { padding: 26px 28px 0; }
.my-work-onboarding > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.my-work-onboarding h2, .my-work-contact h2, .my-work-next h2, .my-work-pending h2 { margin: 5px 0 0; color: var(--theme-text); font-size: 20px; }
.my-work-badge--done { color: var(--color-success); background: var(--color-success-soft); }
.my-work-progress { display: grid; gap: 10px; padding-block: 25px; }
.my-work-progress > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 13px; }
.my-work-progress strong { color: var(--theme-accent); font-size: 34px; line-height: 1.2; letter-spacing: -1px; }
.my-work-progress span { color: var(--theme-text-secondary); font-size: 12px; }
.my-work-progress progress { display: block; appearance: none; width: 100%; height: 8px; border: 0; border-radius: 99px; overflow: hidden; background: var(--theme-surface-soft); accent-color: var(--theme-accent); }
.my-work-progress progress::-webkit-progress-bar { background: var(--theme-surface-soft); }
.my-work-progress progress::-webkit-progress-value { background: var(--theme-accent); border-radius: 99px; }
.my-work-progress progress::-moz-progress-bar { background: var(--theme-accent); }
.my-work-tasks { display: grid; margin: 0; padding: 0; list-style: none; }
.my-work-task { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 13px; align-items: center; padding-block: 20px; border-top: 1px solid var(--theme-border); }
.my-work-task__icon { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--theme-border); border-radius: 50%; color: var(--theme-text-secondary); }
.my-work-task--done .my-work-task__icon { color: var(--color-success); background: var(--color-success-soft); border-color: transparent; }
.my-work-task__body { min-width: 0; }
.my-work-task__body > strong { display: block; color: var(--theme-text); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.my-work-task__body > span { display: flex; align-items: center; gap: 5px; margin-top: 6px; color: var(--theme-text-secondary); font-size: 11px; }
.my-work-task__body > span svg { width: 13px; height: 13px; }
.my-work-task__deadline { display: grid; gap: 5px; text-align: right; font-size: 11px; }
.my-work-task__deadline span { color: var(--theme-text-secondary); }
.my-work-task__deadline time { color: var(--theme-text); font-weight: 600; }
.my-work-task--overdue .my-work-task__deadline span, .my-work-task--overdue .my-work-task__deadline time { color: var(--color-danger); }
.my-work-task--done .my-work-task__deadline span { color: var(--color-success); }
.my-work-onboarding > footer { margin: 0 -28px; padding: 17px 28px; border-top: 1px solid var(--theme-border); border-radius: 0 0 17px 17px; color: var(--theme-text-secondary); background: var(--theme-surface-soft); font-size: 11px; line-height: 1.7; }
.my-work-contact, .my-work-next { padding: 24px; }
.my-work-contact h2, .my-work-next h2 { font-size: 17px; }
.my-work-person { display: flex; align-items: center; gap: 11px; margin-top: 24px; }
.my-work-person > span { display: grid; width: 42px; height: 42px; flex-shrink: 0; place-items: center; border-radius: 50%; color: var(--theme-accent); background: var(--theme-surface-accent); font-size: 13px; font-weight: 600; }
.my-work-person strong { display: block; font-size: 13px; color: var(--theme-text); line-height: 1.5; }
.my-work-person small { display: block; margin-top: 3px; color: var(--theme-text-secondary); font-size: 11px; }
.my-work-contact > p:not(.page-eyebrow), .my-work-next > p, .my-work-muted { margin: 20px 0; color: var(--theme-text-secondary); font-size: 12px; line-height: 1.8; }
.my-work-contact .primary-action { display: flex; width: 100%; font-size: 12px; }
.my-work-contact__hint { padding-top: 16px; border-top: 1px solid var(--theme-border); color: var(--theme-text-secondary); font-size: 11px; line-height: 1.7; }
.my-work-next { background: var(--theme-surface-accent); }
.my-work-next > span { color: var(--theme-accent); }
.my-work-next h2 { margin-top: 12px; }
.my-work-next > strong { display: block; margin-top: 14px; font-size: 20px; color: var(--theme-accent); }
.my-work-next > p { margin: 10px 0 12px; color: var(--theme-text); }
.my-work-next > small { display: block; color: var(--theme-text-secondary); font-size: 11px; line-height: 1.7; }
.my-work-attention { display: flex; align-items: flex-start; gap: 8px; padding: 12px; color: var(--color-danger); border-radius: 8px; background: var(--color-danger-soft); font-size: 12px; line-height: 1.7; }
.my-work-empty { padding: 50px 24px; border: 1px dashed var(--theme-border); border-radius: 17px; background: var(--theme-surface); text-align: center; }
.my-work-empty > span { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 20px; color: var(--theme-accent); background: var(--theme-surface-accent); border-radius: 16px; }
.my-work-empty > span svg { width: 28px; height: 28px; }
.my-work-empty h2 { color: var(--theme-text); font-size: 22px; }
.my-work-empty p { max-width: 560px; margin: 12px auto 26px; color: var(--theme-text-secondary); font-size: 13px; line-height: 1.8; }
.my-work-empty > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.my-work-pending { padding: 25px; margin-top: 22px; }
.my-work-pending article { display: flex; gap: 12px; padding-top: 20px; }
.my-work-pending article > span { color: var(--color-success); }
.my-work-pending strong { font-size: 14px; color: var(--theme-text); }
.my-work-pending p { margin: 7px 0 0; color: var(--theme-text-secondary); font-size: 12px; line-height: 1.8; }
.my-work-history { margin-top: 28px; color: var(--theme-text-secondary); font-size: 13px; }
.my-work-history > summary { margin-bottom: 20px; cursor: pointer; }
.my-work-history .my-work-grid { margin-bottom: 22px; }
.my-work-select { display: grid; max-width: 460px; gap: 7px; margin-bottom: 22px; color: var(--theme-text-secondary); font-size: 12px; }
.my-work-select select { width: 100%; padding: 12px; border: 1px solid var(--theme-border); border-radius: 9px; color: var(--theme-text); background: var(--theme-surface); font: inherit; }
@media (max-width: 1100px) { .my-work-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; } .my-work-main, .my-work-side { gap: 16px; } .my-work-employer { padding: 22px; } .my-work-employer__mark { width: 48px; height: 48px; font-size: 17px; border-radius: 13px; } .my-work-onboarding { padding-inline: 22px; } .my-work-onboarding > footer { margin-inline: -22px; padding-inline: 22px; } }
@media (max-width: 900px) { .my-work-grid { grid-template-columns: 1fr; } .my-work-side { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .my-work-heading { flex-direction: column; gap: 14px; margin-bottom: 22px; } .my-work-heading h1 { font-size: 28px; } .my-work-heading p:not(.page-eyebrow) { font-size: 13px; } .my-work-preview { padding: 15px; gap: 10px; } .my-work-employer { gap: 14px; padding: 18px; } .my-work-employer__mark { width: 40px; height: 40px; border-radius: 11px; font-size: 14px; } .my-work-employer h2 { font-size: 23px; } .my-work-employer__dates span { font-size: 11px; } .my-work-onboarding { padding: 20px 18px 0; } .my-work-onboarding > header { align-items: flex-start; flex-wrap: wrap; } .my-work-onboarding h2 { font-size: 20px; } .my-work-task { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; } .my-work-task__icon { width: 28px; height: 28px; align-self: start; } .my-work-task__deadline { grid-column: 2; display: flex; text-align: left; flex-wrap: wrap; gap: 7px; margin-top: 2px; } .my-work-onboarding > footer { margin-inline: -18px; padding-inline: 18px; } .my-work-side { grid-template-columns: 1fr; } .my-work-empty { padding: 32px 18px; } .my-work-empty > div { flex-direction: column; } }
/* Employee requests use the same surface and typography as My work. */
.hr-operations-page { min-width: 0; display: grid; gap: 20px; }
.hr-operations-page > .employee-requests-heading { margin-bottom: 0; }
.hr-operations-page > .my-work-preview { margin-bottom: 0; }
.hr-ops-preview-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hr-ops-preview-links a { font-size: 12px; padding: 9px 12px; }
.hr-ops-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hr-ops-stats article { display: grid; gap: 9px; padding: 20px; background: var(--theme-surface); border: 1px solid var(--theme-border); border-radius: 16px; }
.hr-ops-stats article strong { font-size: 26px; }
.hr-ops-stats article span { font-size: 12px; color: var(--theme-text-secondary); line-height: 1.5; }
.hr-ops-stats .hr-ops-stat--danger { border-color: var(--color-danger); color: var(--color-danger); }
.hr-request-control { margin: 20px 0; }
.hr-ops-muted, .hr-ops-description { color: var(--theme-text-secondary); font-size: 13px; line-height: 1.7; }
.hr-ops-muted a, .text-link { color: var(--theme-accent); }
.hr-calendar-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hr-calendar-toolbar h2 { margin: 0; text-transform: capitalize; font-size: 21px; }
.hr-calendar-filters { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.hr-calendar-filters label, .hr-ops-policy label { display: grid; gap: 8px; font-size: 12px; }
.hr-calendar-filters input, .hr-calendar-filters select, .hr-ops-policy input { border: 1px solid var(--theme-border); color: var(--theme-text); background: var(--theme-surface); padding: 12px; border-radius: 10px; font: inherit; min-width: 120px; }
.hr-calendar-filters label { flex: 1; }
.hr-calendar-legend { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--theme-text-secondary); font-size: 12px; }
.hr-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.hr-calendar-weekday { text-align: center; font-size: 12px; padding: 8px 0; color: var(--theme-text-secondary); }
.hr-calendar-day { min-height: 106px; padding: 12px; border: 1px solid var(--theme-border); background: var(--theme-surface); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; color: var(--theme-text); text-decoration: none; min-width: 0; }
.hr-calendar-day time { font-size: 14px; font-weight: 700; }
.hr-calendar-day span { color: var(--theme-accent); font-size: 12px; font-weight: 600; }
.hr-calendar-day small { font-size: 10px; color: var(--theme-text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-calendar-day.has-overlap { background: var(--color-warning-soft); }
.hr-calendar-day.is-today { border-color: var(--theme-accent); }
.hr-calendar-day.is-selected { box-shadow: 0 0 0 2px var(--theme-accent); }
.hr-calendar-free { opacity: .4; }
.hr-calendar-list { display: grid; gap: 12px; }
.hr-calendar-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px; border: 1px solid var(--theme-border); border-radius: 16px; background: var(--theme-surface); }
.hr-calendar-row > div:first-child { min-width: 0; }
.hr-calendar-row small { display: block; margin-top: 8px; color: var(--theme-text-secondary); font-size: 12px; }
.hr-calendar-row p { margin: 12px 0 0; font-size: 13px; }
.hr-calendar-row > div:last-child { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.hr-calendar-row .employee-request-status { margin-left: 0; }
.hr-calendar-warning { display: block; color: var(--color-warning); font-size: 12px; margin-top: 12px; }
.hr-team-list { display: grid; gap: 12px; }
.hr-team-list article { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; background: var(--theme-surface); border: 1px solid var(--theme-border); border-radius: 16px; padding: 22px; }
.hr-team-list article > div { flex: 1; min-width: 180px; }
.hr-team-list small { display: block; margin-top: 8px; color: var(--theme-text-secondary); line-height: 1.5; }
.hr-team-avatar { display: grid; place-items: center; width: 42px; height: 42px; background: var(--theme-surface-soft); color: var(--theme-accent); font-size: 14px; border-radius: 13px; }
.employee-connection-code { display: block; background: var(--theme-surface-soft); padding: 20px; border-radius: 12px; margin: 20px 0; color: var(--theme-accent); font-size: 18px; overflow-wrap: anywhere; user-select: all; }
[data-connection-code-dialog] header { display: flex; justify-content: space-between; align-items: center; }
.hr-ops-report, .hr-ops-policy { padding: 24px; border: 1px solid var(--theme-border); border-radius: 16px; background: var(--theme-surface); }
.hr-ops-report h3, .hr-ops-policy h3 { margin: 0 0 20px; }
.hr-ops-report dl { display: grid; gap: 16px; }
.hr-ops-report dl div { display: flex; gap: 14px; justify-content: space-between; font-size: 13px; border-bottom: 1px solid var(--theme-border); padding-bottom: 12px; }
.hr-ops-report dd { font-weight: 700; }
.hr-ops-policy { display: grid; gap: 14px; }
.hr-ops-policy input { max-width: 160px; }
.hr-ops-policy p { color: var(--theme-text-secondary); font-size: 13px; line-height: 1.6; margin: 0; }
.hr-ops-policy button { justify-self: start; }
.employee-connection-entry { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; margin-bottom: 22px; border: 1px solid var(--theme-border); border-radius: 16px; background: var(--theme-surface); }
.employee-connection-entry strong { font-size: 13px; }
.employee-connection-entry p { margin: 6px 0 0; font-size: 12px; color: var(--theme-text-secondary); }
.employee-connection-entry .employee-request-dialog p { font-size: 13px; line-height: 1.6; margin: 15px 0; }
.employee-connection-confirm { display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; font-size: 13px; margin: 18px 0; }
[data-employee-connection-confirm] { margin-top: 20px; padding-top: 10px; border-top: 1px solid var(--theme-border); }
[data-employee-connection-confirm][hidden] { display: none; }
.my-absence-panel article { display: flex; align-items: center; gap: 12px; justify-content: space-between; padding: 18px 0; border-top: 1px solid var(--theme-border); }
.my-absence-panel article p { color: var(--theme-text-secondary); font-size: 12px; margin-bottom: 0; }
.employee-request-deadline { color: var(--theme-text-secondary); font-size: 12px; }
.employee-request-deadline.is-overdue { color: var(--color-danger); }
.employee-request-calendar-note { color: var(--color-success); font-size: 12px; }

/* Connected employee and HR tools. */
.workspace-tools { max-width: 1200px; min-width: 0; margin: 0 auto; color: var(--theme-text); }
.tool-heading, .tool-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.tool-heading h1 { margin: 8px 0 12px; font-size: 30px; line-height: 1.2; }
.tool-heading p, .tool-muted { color: var(--theme-text-secondary); line-height: 1.7; }
.tool-heading p { margin: 0; }
.tool-heading > button { flex-shrink: 0; }
.tool-columns { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.tool-card { min-width: 0; padding: 24px; margin: 0 0 24px; border: 1px solid var(--theme-border); border-radius: 16px; background: var(--theme-surface); }
.tool-card h2 { margin: 0 0 16px; font-size: 20px; line-height: 1.35; }
.tool-card p { line-height: 1.65; overflow-wrap: anywhere; }
.workspace-tools label { display: grid; gap: 9px; margin-bottom: 18px; font-size: 13px; font-weight: 600; }
.workspace-tools input:not([type=checkbox]):not([type=hidden]), .workspace-tools select, .workspace-tools textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 44px; padding: 11px 13px; color: var(--theme-text); background: var(--theme-surface); border: 1px solid var(--theme-border); border-radius: 8px; font-family: inherit; font-size: 16px; font-weight: 400; }
.workspace-tools textarea { resize: vertical; line-height: 1.6; }
.workspace-tools button, .workspace-tools a.secondary-action { min-height: 44px; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.workspace-tools button:disabled { opacity: .55; cursor: default; }
.workspace-tools .text-action { padding: 10px 0; border: 0; background: transparent; color: var(--theme-accent); font: inherit; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
.workspace-tools .tool-check { display: flex; align-items: center; gap: 10px; line-height: 1.6; min-height: 44px; }
.tool-check input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--theme-accent); }
.workspace-tools fieldset { border: 1px solid var(--theme-border); border-radius: 10px; padding: 16px; margin: 16px 0; }
.tool-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tool-form-grid label { margin-bottom: 0; }
.tool-form-grid + label { margin-top: 18px; }
.tool-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.tool-actions label { margin: 0; }
.tool-actions button { flex-shrink: 0; }
.tool-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--theme-border); overflow-wrap: anywhere; }
.tool-line:last-child { border-bottom: 0; }
.tool-line p { margin: 8px 0; color: var(--theme-text-secondary); }
.tool-line > div, .tool-line > strong { min-width: 0; }
.tool-list { display: grid; gap: 20px; }
.tool-list .tool-card { margin-bottom: 0; }
.tool-list + .tool-card { margin-top: 24px; }
.tool-team-request { padding: 20px 0; border-bottom: 1px solid var(--theme-border); }
.tool-team-request:last-child { border-bottom: 0; }
.tool-team-request .tool-card-header { margin-bottom: 8px; }
.tool-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0; }
.tool-metrics article { padding: 16px; border: 1px solid var(--theme-border); border-radius: 10px; background: var(--theme-surface); }
.tool-metrics strong { display: block; margin-bottom: 10px; font-size: 28px; }
.tool-metrics span { color: var(--theme-text-secondary); font-size: 12px; line-height: 1.5; }
.tool-badge { display: inline-flex; padding: 7px 10px; border-radius: 6px; color: var(--theme-accent); background: var(--theme-surface-accent); font-size: 12px; line-height: 1.5; }
.tool-error { padding: 12px 14px; color: var(--color-danger); background: var(--color-danger-soft); border-radius: 8px; line-height: 1.6; overflow-wrap: anywhere; }
.tool-note, .tool-status { margin-bottom: 20px; padding: 16px; color: var(--theme-text); background: var(--theme-surface-accent); border-radius: 10px; line-height: 1.7; }
.tool-empty { padding: 40px 24px; color: var(--theme-text-secondary); background: var(--theme-surface); border: 1px solid var(--theme-border); border-radius: 14px; line-height: 1.7; text-align: center; }
.tool-empty svg { width: 32px; height: 32px; }
.tool-dialog { box-sizing: border-box; width: min(680px, calc(100vw - 32px)); max-height: 90dvh; overflow: auto; padding: 26px; border: 1px solid var(--theme-border); border-radius: 16px; color: var(--theme-text); background: var(--theme-surface); }
.tool-dialog::backdrop { background: #111a3b70; backdrop-filter: blur(3px); }
.tool-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.tool-dialog header h2 { margin: 0; font-size: 22px; }
.tool-dialog header .icon-button { flex-shrink: 0; }
.tool-table { width: 100%; overflow: auto; margin: 20px 0; }
.tool-table table { width: 100%; border-collapse: collapse; min-width: 550px; text-align: left; font-size: 13px; }
.tool-table th, .tool-table td { padding: 12px; border-bottom: 1px solid var(--theme-border); }
.tool-prewrap { white-space: pre-wrap; overflow-wrap: anywhere; }
.tool-file { display: grid; gap: 14px; padding: 16px; margin: 20px 0; background: var(--theme-surface-accent); border-radius: 10px; overflow-wrap: anywhere; }
.sponsor-card { display: grid; gap: 12px; margin: 28px 0 0; padding: 24px; border: 1px solid var(--theme-border); border-left: 4px solid var(--theme-accent); border-radius: 12px; background: var(--theme-surface); color: var(--theme-text); }
.sponsor-label { color: var(--theme-text-secondary); font-size: 11px; }
.sponsor-card > strong { font-size: 20px; }
.sponsor-card p { margin: 0; line-height: 1.7; }
.sponsor-card a { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: var(--theme-accent); }
.sponsor-card a svg { width: 16px; height: 16px; }
@media (max-width: 1100px) { .tool-columns { grid-template-columns: minmax(0, 1fr); } .tool-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .tool-heading { gap: 12px; flex-wrap: wrap; }
  .tool-heading h1 { font-size: 26px; }
  .tool-card { padding: 18px; border-radius: 12px; }
  .tool-form-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .tool-line, .tool-card-header { align-items: flex-start; flex-direction: column; }
  .tool-line .tool-actions { margin: 0; }
  .tool-dialog { padding: 20px; }
  .tool-metrics { gap: 8px; }
  .tool-metrics article { padding: 12px; }
  .tool-metrics strong { font-size: 24px; }
}
@media (max-width: 800px) {
  .hr-ops-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hr-calendar-day { padding: 8px; min-height: 80px; }
  .hr-calendar-day small { display: none; }
  .hr-calendar-toolbar { flex-wrap: wrap; }
  .hr-calendar-toolbar h2 { order: -1; width: 100%; text-align: center; }
}
@media (max-width: 620px) {
  .hr-calendar-grid { gap: 3px; }
  .hr-calendar-day { padding: 7px 3px; min-height: 66px; border-radius: 7px; align-items: center; }
  .hr-calendar-day span { font-size: 9px; }
  .hr-calendar-row, .employee-connection-entry { flex-direction: column; align-items: stretch; }
  .hr-calendar-row > div:last-child { justify-content: flex-start; }
  .hr-ops-stats article { padding: 16px; }
  .hr-ops-stats article strong { font-size: 22px; }
}
.employee-request-files { display: grid; gap: 10px; margin-top: 20px; }
.employee-request-files > strong { color: var(--theme-text-secondary); font-size: 12px; }
.employee-request-file { width: 100%; display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--theme-border); border-radius: 12px; background: var(--theme-surface-soft); color: var(--theme-text); text-align: left; cursor: pointer; }
.employee-request-file > span:nth-child(2) { min-width: 0; flex: 1; display: grid; gap: 7px; }
.employee-request-file strong { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.employee-request-file small { color: var(--theme-accent); font-size: 12px; }
.employee-request-file svg { width: 22px; height: 22px; color: var(--theme-accent); }
.employee-request-file:disabled { opacity: .6; cursor: wait; }
.employee-request-upload { padding: 16px; border: 1px dashed var(--theme-border); border-radius: 12px; background: var(--theme-surface-soft); }
.employee-request-upload p { font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; color: var(--theme-text-secondary); }
.employee-request-upload input[type=file] { font-size: 12px; }
.employee-request-opened { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 18px; padding: 14px; border-radius: 12px; background: var(--theme-surface-soft); color: var(--theme-text-secondary); font-size: 13px; }
.employee-request--target { border-color: var(--theme-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-accent) 14%, transparent); scroll-margin-top: 100px; }
.employee-request--target:focus-visible { outline: 2px solid var(--theme-accent); outline-offset: 4px; }
.notifications-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.employee-requests-panel, .employee-requests-hr { min-width: 0; }
.employee-requests-panel { padding: 26px; background: var(--theme-surface); border: 1px solid var(--theme-border); border-radius: 20px; }
.employee-requests-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.employee-requests-heading h1, .employee-requests-heading h2 { margin: 4px 0 8px; }
.employee-requests-heading p, .employee-requests-toolbar p { margin: 0; color: var(--theme-text-secondary); line-height: 1.5; }
.employee-requests-heading button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; }
.employee-requests-heading button svg { width: 17px; height: 17px; }
.employee-request-list { display: grid; gap: 16px; }
.employee-request { border: 1px solid var(--theme-border); border-radius: 15px; padding: 20px; min-width: 0; overflow-wrap: anywhere; }
.employee-request > header { display: flex; align-items: flex-start; gap: 12px; }
.employee-request > header > div { flex: 1; }
.employee-request h3 { margin: 0 0 6px; font-size: 17px; }
.employee-request header p { margin: 0; color: var(--theme-text-secondary); font-size: 12px; }
.employee-request__icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 10px; background: var(--theme-surface-soft); color: var(--theme-accent); }
.employee-request__icon svg { width: 19px; height: 19px; }
.employee-request-status { padding: 6px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; background: var(--theme-surface-soft); color: var(--theme-text-secondary); white-space: nowrap; }
.employee-request-status--submitted, .employee-request-status--in_review { background: var(--color-warning-soft); color: var(--color-warning); }
.employee-request-status--approved, .employee-request-status--ready { background: var(--color-success-soft); color: var(--color-success); }
.employee-request-status--rejected { background: var(--color-danger-soft); color: var(--color-danger); }
.employee-request__period { font-weight: 600; font-size: 13px; margin: 18px 0 9px; }
.employee-request__details { color: var(--theme-text-secondary); line-height: 1.6; font-size: 13px; white-space: pre-wrap; }
.employee-request__waiting { color: var(--theme-text-secondary); font-size: 12px; margin-top: 20px; }
.employee-request__answer { background: var(--theme-surface-soft); border-left: 3px solid var(--theme-accent); padding: 14px 16px; border-radius: 0 10px 10px 0; margin: 18px 0; }
.employee-request__answer strong { font-size: 12px; }
.employee-request__answer p { margin: 8px 0; line-height: 1.6; font-size: 13px; white-space: pre-wrap; }
.employee-request__answer small { color: var(--theme-text-secondary); font-size: 11px; }
.employee-request > footer { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-top: 15px; margin-top: 18px; border-top: 1px solid var(--theme-border); }
.employee-request details { min-width: 0; flex: 1; font-size: 12px; color: var(--theme-text-secondary); }
.employee-request summary { cursor: pointer; padding: 8px 0; }
.employee-request details ol { padding-left: 18px; line-height: 1.6; }
.employee-request details li { margin: 12px 0; }
.employee-request details p { white-space: pre-wrap; color: var(--theme-text); }
.employee-request footer button { font-size: 12px; flex-shrink: 0; }
.employee-requests-empty { padding: 28px; border: 1px dashed var(--theme-border); border-radius: 14px; color: var(--theme-text-secondary); line-height: 1.6; }
.employee-requests-empty h2 { color: var(--theme-text); }
.employee-request-demo-link { margin-top: 18px; display: flex; align-items: center; gap: 15px; justify-content: space-between; color: var(--theme-text-secondary); font-size: 12px; line-height: 1.5; }
.employee-request-demo-link a { flex-shrink: 0; }
.employee-requests-toolbar { display: flex; gap: 24px; align-items: center; margin-bottom: 24px; padding: 18px; background: var(--theme-surface); border: 1px solid var(--theme-border); border-radius: 15px; }
.employee-requests-toolbar label, .employee-request-dialog label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; }
.employee-requests-toolbar select { min-width: 200px; }
.employee-requests-toolbar select, .employee-request-dialog select, .employee-request-dialog input, .employee-request-dialog textarea { width: 100%; background: var(--theme-surface); color: var(--theme-text); border: 1px solid var(--theme-border); border-radius: 10px; padding: 12px; font: inherit; box-sizing: border-box; }
.employee-requests-toolbar p { font-size: 12px; }
.employee-requests-hr .employee-request { background: var(--theme-surface); }
.employee-requests-hr .my-work-preview { margin-bottom: 24px; }
.employee-request-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 26px; border: 1px solid var(--theme-border); border-radius: 20px; background: var(--theme-surface); color: var(--theme-text); }
.employee-request-dialog::backdrop { background: rgb(16 24 40 / 45%); backdrop-filter: blur(3px); }
.employee-request-dialog form { display: grid; gap: 20px; }
.employee-request-dialog header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.employee-request-dialog h2 { margin: 6px 0 0; }
.employee-request-dialog textarea { resize: vertical; min-height: 90px; }
.employee-request-dialog [hidden] { display: none !important; }
.employee-request-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.employee-request-help { font-size: 12px; color: var(--theme-text-secondary); line-height: 1.6; margin: 0; }
.employee-request-error { color: var(--color-danger); font-size: 13px; line-height: 1.5; }
[data-more-employee-requests] { margin-top: 18px; }
@media (max-width: 620px) {
  .employee-requests-panel { padding: 18px; }
  .employee-requests-heading, .employee-requests-toolbar, .employee-request-demo-link { flex-direction: column; align-items: stretch; }
  .employee-request { padding: 16px; }
  .employee-request > header { flex-wrap: wrap; }
  .employee-request-status { margin-left: 48px; }
  .employee-request h3 { font-size: 15px; }
  .employee-request-dialog { padding: 20px; }
  .employee-request-dates { grid-template-columns: 1fr; }
}
.hr-mobile-navigation { display: none; }

/* Touch controls and a single section chooser keep the employee journey usable on phones. */
@media (max-width: 760px) {
  .topbar__start { min-width: 0; flex: 1; gap: 8px; }
  .topbar__actions { flex-shrink: 0; gap: 4px; }
  .topbar .breadcrumbs { min-width: 0; max-width: 100%; }
  .topbar .breadcrumbs strong { overflow: hidden; text-overflow: ellipsis; }
  .workspace-shell .topbar .demo-control-button { width: auto; min-width: 62px; min-height: 44px; padding: 0 8px; gap: 6px; font-size: 12px; justify-content: center; }
  .demo-control-button i { flex-shrink: 0; }
  .workspace-shell :is(button, a.primary-action, a.secondary-action, a.ghost-action, a.primary-mini, a.ghost-mini) { min-height: 44px; }
  .workspace-shell .icon-button, .workspace-shell .role-control { min-width: 44px; min-height: 44px; }
  .workspace-shell :is(input, select, textarea):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { min-width: 0; font-size: 16px; }
  .workspace-shell :is(input, select):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { min-height: 48px; }
  .hr-cabinet__sidebar .hr-nav { display: none; }
  .hr-mobile-navigation { display: grid; gap: 6px; color: var(--theme-text-secondary); font-size: 12px; }
  .hr-mobile-navigation select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--theme-border); border-radius: 10px; background: var(--theme-surface); color: var(--theme-text); }
  .hr-cabinet__sidebar { position: sticky; top: 64px; z-index: 4; background: var(--theme-bg); }
  .journey-path { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; }
  .journey-path > span { display: none; }
  .journey-path a { display: flex; align-items: center; min-height: 44px; padding: 6px 8px; border-radius: 8px; line-height: 1.4; }
  .journey-stage-filter a { min-height: 44px; }
  .journey-task label { min-height: 48px; align-items: center; flex: 1; }
  .journey-task input { width: 24px; height: 24px; }
  .journey-view .journey-task .ghost-mini { min-height: 44px; min-width: 64px; padding: 8px; font-size: 13px; }
  .journey-view .journey-candidate header { flex-wrap: wrap; }
  .journey-candidate footer > *, .journey-plan footer > * { flex: 1 1 150px; justify-content: center; }
  .journey-history summary, .employee-request summary { min-height: 44px; padding-block: 12px; }
  .workspace-shell :is(.form-dialog, .application-dialog, .employee-request-dialog) { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; }
  .recruitment-dialog form { max-height: none; overflow-y: visible; }
  .dialog-field-grid { grid-template-columns: 1fr; }
  .form-dialog__actions { position: sticky; bottom: 0; background: var(--theme-surface); z-index: 1; }
  .application-dialog form > footer { flex-wrap: wrap; }
  .employee-request-dialog :is(input, select, textarea), .application-dialog :is(input, select, textarea) { font-size: 16px; }
  .employee-request-dialog header h2, .application-dialog header h2 { min-width: 0; }
  .employee-request-dialog header > button, .application-dialog header > button { flex-shrink: 0; min-width: 44px; }
  .employee-request > footer { flex-wrap: wrap; }
  .employee-request > header { display: grid; grid-template-columns: 36px minmax(0, 1fr); }
  .employee-request > header > div { min-width: 0; }
  .employee-request > header .employee-request-status { grid-column: 2; justify-self: start; margin-left: 0; }
  .hr-calendar-filters > button { flex: 1 1 130px; }
  .hr-calendar-filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hr-calendar-filters :is(input, select) { width: 100%; }
  .hr-calendar-filters > button { grid-column: 1 / -1; }
  .hr-calendar-row > div:last-child > :is(button, a) { flex: 1 1 120px; justify-content: center; }
  .hr-ops-report dl div { align-items: flex-start; }
  .hr-ops-report dt { min-width: 0; overflow-wrap: anywhere; }
  .hr-ops-report dd { flex-shrink: 0; margin-left: 8px; }
  .my-work-employer h2 { overflow-wrap: anywhere; }
  .my-work-page:has(.my-work-employer) { display: flex; flex-direction: column; }
  .my-work-page:has(.my-work-employer) > .employee-connection-entry { order: 1; margin-top: 24px; }
}

/* Native file links keep open/save available in mobile PDF viewers. */
.employee-request-file-card { padding: 15px; border: 1px solid var(--theme-border); border-radius: 12px; background: var(--theme-surface-soft); }
.employee-request-file-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.employee-request-file-heading > span:last-child { display: grid; gap: 6px; min-width: 0; }
.employee-request-file-heading strong { font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.employee-request-file-heading small { color: var(--theme-text-secondary); font-size: 12px; }
.employee-request-file-heading svg { width: 22px; height: 22px; color: var(--theme-accent); }
.pdf-file-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pdf-file-actions a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; text-decoration: none; }
@media(max-width:760px) { .pdf-file-actions a { flex: 1 1 110px; } }

.obligations { min-width: 0; }
.obligations p,.obligations dd,.obligations li { overflow-wrap: anywhere; }
.obligations-help,.obligations-warning { padding: 16px; border: 1px solid var(--theme-border); border-radius: 12px; background: var(--theme-surface); }
.obligations-warning { border-color: #b77b24; }
.obligations [data-ob-notice]:not(:empty),.obligations [data-ob-read-status]:not(:empty) { padding: 12px 0; }
.obligations-filters,.obligations-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; margin: 16px 0; }
.obligations label { display: grid; gap: 7px; min-width: 0; }
.obligations input,.obligations select,.obligations textarea { width: 100%; min-width: 0; min-height: 44px; box-sizing: border-box; padding: 10px; border: 1px solid var(--theme-border); border-radius: 8px; background: var(--theme-surface); color: var(--theme-text); font: inherit; }
.obligations textarea { min-height: 90px; }
.obligations button,.obligations-list a { min-height: 44px; padding: 10px 14px; font: inherit; }
.obligations button { border: 1px solid var(--theme-border); border-radius: 8px; background: var(--theme-surface); color: var(--theme-text); cursor: pointer; }
.obligations button:disabled { opacity: .55; cursor: default; }
.obligations-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.obligations-list li,.obligations-detail,.obligations-editor { padding: 16px; border: 1px solid var(--theme-border); border-radius: 12px; min-width: 0; margin: 16px 0; }
.obligations-list li { display: grid; gap: 7px; }
.obligations-list a { display: flex; align-items: center; padding-left: 0; }
.obligations-detail dl { display: grid; grid-template-columns: minmax(100px,1fr) minmax(0,3fr); gap: 10px; }
.obligations-detail dd { margin: 0; }
.obligations form[data-ob-command-form] { display: grid; gap: 14px; max-width: 760px; margin: 20px 0; }
.obligations .obligations-checkbox { display: flex; align-items: start; gap: 10px; }
.obligations-checkbox input { width: 24px; min-height: 24px; flex: 0 0 24px; }
.obligations-prewrap { white-space: pre-wrap; }
.obligations-history { padding-left: 22px; }
@media(max-width:700px) { .obligations-filters>* { flex: 1 1 100%; } .obligations-actions>* { flex: 1 1 140px; } .obligations-detail dl { grid-template-columns: 1fr; } .obligations-detail dt { font-weight: 600; } .obligations-detail dd { margin-bottom: 10px; } }
