/* Mendflow «Карьера»: шапка, фильтры, пустое состояние и боковые карточки (js/feed.js). */
#internshipsView .career-header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#internshipsView .career-hero-btn { flex: 0 0 auto; font-weight: 700 !important; }

#internshipsView .career-explore-panel { display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
#internshipsView .career-tabs { display: flex; flex-direction: row; flex-wrap: nowrap; align-self: flex-start; max-width: 100%; margin: 0; padding: 4px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: none; overflow-x: auto; scrollbar-width: none; }
#internshipsView .career-tabs .tab-button { flex: 0 0 auto; width: auto; min-height: 40px; padding: 8px 18px !important; background: transparent !important; box-shadow: none !important; color: var(--ink-soft); font-size: 14px; font-weight: 600; }
#internshipsView .career-tabs .tab-button:hover { background: var(--hover) !important; }
#internshipsView .career-tabs .tab-button.is-active { background: var(--ink) !important; color: var(--surface); }

#internshipsView .career-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
#internshipsView .career-filter-search { flex: 1 1 260px; }
#internshipsView .career-filter-pill { flex: 0 1 auto; gap: 10px; min-height: 48px; min-width: 0; padding: 5px 14px 5px 5px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: none; }
#internshipsView .career-filter-pill::before { content: none; }
#internshipsView .career-filter-pill:hover { transform: none; }
#internshipsView .career-filter-pill:focus-within { border-color: transparent; box-shadow: 0 0 0 2px var(--accent); }
#internshipsView .career-filter-pill-icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; border-radius: 50%; box-shadow: none; }
#internshipsView .career-filter-input { width: 100%; min-height: 38px; padding: 0 22px 0 0; border: 0; background-color: transparent !important; box-shadow: none; color: var(--ink); font-size: 14px; font-weight: 500; text-overflow: ellipsis; }
#internshipsView .career-filter-select { background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23857d93' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 2px center; }
#internshipsView .career-filter-select option { background: var(--surface); color: var(--ink); }

#internshipsView .career-board { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
#internshipsView .career-board:has(.career-board-side:not(.is-hidden)) { grid-template-columns: minmax(0, 1fr); }
@container (min-width: 820px) {
  #internshipsView .career-board:has(.career-board-side:not(.is-hidden)) { grid-template-columns: minmax(0, 1.95fr) minmax(250px, 1fr); }
}
#internshipsView .career-board-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
#internshipsView .career-board-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

#internshipsView .career-empty-card { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; padding: 36px; border-radius: 24px; background: var(--surface); }
#internshipsView .career-empty-art { flex: 0 0 auto; width: 150px; height: 140px; overflow: visible; }
[data-theme="dark"] #internshipsView .career-empty-art circle:first-child { fill: #453b85; }
#internshipsView .career-empty-copy { flex: 1 1 260px; min-width: 0; }
#internshipsView .career-empty-copy h3 { margin: 0 0 12px; color: var(--ink); font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
#internshipsView .career-empty-copy p { margin: 0 0 20px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
#internshipsView .career-empty-actions { display: flex; flex-wrap: wrap; gap: 10px; }

#internshipsView .career-side-card { display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 100%; padding: 20px; border: 0; border-radius: 24px; color: var(--pv-on-tone); text-align: left; cursor: pointer; transition: transform .15s ease; }
#internshipsView .career-side-card:hover { transform: translateY(-1px); }
#internshipsView .career-side-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#internshipsView .career-side-card--cv { background: var(--pv-orange); }
#internshipsView .career-side-card--grow { background: var(--pv-green); }
#internshipsView .career-side-card strong { font-size: 16px; font-weight: 600; line-height: 1.3; }
#internshipsView .career-side-top { display: flex; align-items: center; justify-content: space-between; }
#internshipsView .career-side-pct { font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
#internshipsView .career-side-bar { display: block; height: 4px; border-radius: 999px; background: color-mix(in srgb, var(--pv-on-tone) 18%, transparent); overflow: hidden; }
#internshipsView .career-side-bar span { display: block; height: 100%; border-radius: inherit; background: var(--pv-on-tone); }
#internshipsView .career-side-link { color: var(--pv-on-tone-soft); font-size: 13.5px; line-height: 1.4; }

#internshipsView .career-empty-state { display: flex; flex-direction: column; align-items: center; padding: 44px 24px; border: 1.5px dashed var(--pv-dash); border-radius: 24px; background: var(--surface); box-shadow: none; text-align: center; }
#internshipsView .career-empty-state-icon { display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin: 0 0 18px; border-radius: 50%; background: var(--pv-lav); color: var(--pv-on-tone); }
#internshipsView .career-empty-state h3 { margin: 0 0 8px; color: var(--ink); font-size: 20px; font-weight: 600; }
#internshipsView .career-empty-state p { max-width: 22rem; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
#internshipsView .career-empty-state button { margin-top: 18px; }

@media (max-width: 560px) {
  #internshipsView .career-filter-pill { flex: 1 1 100%; }
  #internshipsView .career-empty-card { padding: 22px; }
  #internshipsView .career-hero-btn { width: 100%; }
}
