[hidden] { display: none !important; }
button:disabled { cursor: default; }
textarea { font: inherit; color: inherit; resize: vertical; }
textarea:focus-visible { outline: 2px solid #aaa; outline-offset: 2px; }
.text-button { padding: 8px 0; border: 0; background: transparent; color: #b6b6b6; font: inherit; text-align: left; }
.text-button:hover { color: white; }
.page-state { padding: 40px 20px; color: #999; line-height: 1.7; text-align: center; }
.page-state button { margin: 16px; }
.form-error { color: #f1a29b; line-height: 1.5; padding-block: 10px; }
.form-error:empty { display: none; }
.local-note { color: #999; text-align: center; margin: -12px 0 24px; font-size: 13px; }
.muted, .filter-hint { color: #969696; }
.tooltip { position: fixed; z-index: 160; padding: 8px 12px; border-radius: 12px; background: #2a2a2a; box-shadow: 0 8px 24px #0009; color: #ededed; font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(6px); transition: opacity .12s ease, transform .12s ease; }
.tooltip.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .tooltip { transition: none; } }
.frontend-update { position: fixed; z-index: 150; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; width: max-content; max-width: calc(100% - 32px); padding: 16px 20px; border: 1px solid #454545; border-radius: 24px; background: var(--surface-card); color: #f5f5f5; box-shadow: 0 8px 40px #0008; }
.hh-relogin { position: fixed; z-index: 150; left: 50%; top: max(16px, env(safe-area-inset-top)); transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; width: max-content; max-width: calc(100% - 32px); padding: 16px 20px; border: 1px solid #6b3a35; border-radius: 24px; background: var(--surface-card); color: #f5f5f5; text-align: center; box-shadow: 0 8px 40px #0008; }
@media (max-width: 820px) { .frontend-update { bottom: calc(88px + env(safe-area-inset-bottom)); text-align: center; } }
.positive { color: var(--green); }
.preserve-lines, .vacancy-description { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.75; }
.field { display: grid; gap: 10px; min-width: 0; }
.field :is(input, select, textarea) { width: 100%; border: 1px solid #333; border-radius: 18px; background: #141414; color: #f5f5f5; padding: 16px 18px; font: inherit; }
.field textarea { min-height: 110px; }
.field select { color-scheme: dark; }
.section-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.vacancies-page { width: 100%; margin: 20px auto 0; }
.vacancy-workspace { display: grid; grid-template-columns: clamp(280px, 34%, 460px) minmax(0, 1fr); gap: clamp(12px, 2vw, 28px); min-height: 0; }
.vacancy-workspace.detail-closed { grid-template-columns: 1fr; }
.vacancy-feed { min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.feed-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 0 8px 18px; }
.feed-heading h1 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 610; line-height: 1.08; letter-spacing: -.035em; }
.feed-heading .text-button { font-size: 15px; }
.feed-scroll { min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.feed-controls { position: sticky; top: 0; z-index: 1; display: grid; gap: 14px; padding: 14px 8px 18px; background: var(--bg); }
.feed-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.feed-tabs button { display: inline-flex; min-height: 46px; align-items: center; padding: 0 16px; border: 1px solid #292929; border-radius: 999px; background: transparent; color: #898989; font-size: 18px; font-weight: 570; }
.feed-tabs button:hover { border-color: #555; color: #fff; }
.feed-tabs button[aria-pressed="true"] { border-color: #d8d8d8; background: #e9e9e9; color: #080808; }
.focus-list { display: grid; gap: 4px; }
.focus-item { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto; gap: 13px 16px; padding: 20px 8px 20px 18px; border: 0; background: transparent; color: var(--text); text-align: left; transition: background .18s ease; }
.focus-item:hover { background: #0b0b0b; }
.focus-item.is-selected { background: #141414; box-shadow: inset 4px 0 #fff; }
.focus-item-title { display: grid; gap: 7px; min-width: 0; }
.focus-item-title strong { font-size: clamp(18px, 1.5vw, 20px); font-weight: 620; line-height: 1.25; overflow-wrap: anywhere; }
.focus-company { color: #b2b2b2; font-size: clamp(15px, 1.2vw, 17px); font-weight: 520; line-height: 1.25; }
.focus-updated { align-self: start; padding-top: 4px; color: #8c8c8c; font-size: 13px; white-space: nowrap; }
.focus-item-foot { display: flex; grid-column: 1 / -1; align-items: center; }
.feed-status { display: inline-flex; align-items: center; gap: 9px; color: #c7c7c7; font-size: 15px; font-weight: 560; }
.feed-status[data-tone="attention"] { color: #ffd166; }
.feed-empty { padding: 26px 8px; color: #818181; font-size: 14px; line-height: 1.45; }
.load-more { margin: 16px 8px; }
.vacancy-detail { min-width: 0; padding: 26px clamp(4px, 3vw, 48px); background: transparent; }
.vacancy-detail .page-state { text-align: left; }
.vacancy-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.vacancy-heading h1 { font-size: clamp(26px, 3vw, 38px); line-height: 1.18; letter-spacing: -.03em; overflow-wrap: anywhere; }
.vacancy-heading .text-button { flex: none; font-size: 15px; }
.vacancy-company { margin-top: 12px; color: #aaa; font-size: 18px; }
.eyebrow { color: #999; }
.vacancy-salary { margin-top: 12px; color: #c6c6c6; font-size: 17px; }
.detail-section { margin-top: 32px; padding-top: 24px; border-top: 1px solid #292929; }
.detail-section h2 { font-size: 23px; margin-bottom: 20px; letter-spacing: -.02em; }
.detail-section h3 { font-size: 18px; margin: 20px 0 14px; }
.assessment { display: grid; gap: 12px; margin: 20px 0; line-height: 1.6; }
.skill-tags, .answer-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.skill-tags span { padding: 7px 12px; border: 1px solid #333; border-radius: 16px; font-size: 13px; }
.question { padding: 10px 0 24px; border-bottom: 1px solid #292929; }
.clarification { margin-top: 20px; }
.saved-answer { padding: 16px 20px; background: #222; border-radius: 20px; margin-top: 16px; line-height: 1.6; white-space: pre-wrap; }
.form-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.answer-suggestions button { text-align: left; font-size: 14px; font-weight: 400; }
.chat-messages { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.chat-bubble { align-self: flex-start; max-width: 86%; border-radius: 22px; background: #222; padding: 16px 20px; overflow-wrap: anywhere; }
.chat-bubble.self { align-self: flex-end; background: #303632; }
.chat-bubble p { white-space: pre-wrap; line-height: 1.5; }
.chat-bubble small { display: block; margin-top: 8px; color: #a4a4a4; font-size: 11px; }
@media (max-width: 820px) {
  .app { padding-bottom: 120px; }
  .vacancies-page { margin-top: 28px; }
  .feed-heading h1 { font-size: 30px; }
  .feed-tabs button { font-size: 15px; }
  .vacancy-workspace { display: block; }
  .vacancy-detail { display: none; padding: 24px 4px; }
  .vacancy-heading { display: grid; }
  .has-detail .vacancy-detail { display: block; }
  .has-detail .vacancy-feed { display: none; }
  .chat-bubble { max-width: 94%; }
  .form-actions button { flex: 1; }
}
@media (min-width: 821px) {
  .vacancies-page { width: var(--desktop-shell-width); height: calc(100dvh / var(--desktop-shell-scale)); zoom: var(--desktop-shell-scale); }
  .vacancy-workspace { height: 100%; }
  .vacancy-feed { height: 100%; overflow: hidden; }
  .vacancy-workspace:not(.detail-closed) .vacancy-feed { padding-right: 22px; border-right: 1px solid var(--line); }
  .vacancy-detail { height: 100%; overflow-y: auto; scrollbar-width: thin; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

.mobile-logout { display: none; }
@media (max-width: 820px) { .mobile-logout { display: block; margin-top: 32px; } }
