﻿:root {
  --bg: #f4f7f4;
  --paper: #ffffff;
  --ink: #10201d;
  --muted: #65736f;
  --line: #dce8e2;
  --green: #0f8f70;
  --green-dark: #075d4a;
  --mint: #dff3ec;
  --coral: #e45f45;
  --amber: #c99624;
  --shadow: 0 18px 50px rgba(17, 38, 33, .12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 clamp(16px, 5vw, 56px);
  color: white;
  background: linear-gradient(180deg, rgba(0, 0, 0, .46), rgba(0, 0, 0, 0));
}

.site-header.solid {
  position: sticky;
  color: var(--ink);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header.solid .site-nav a,
.site-header.solid .header-action {
  color: var(--muted);
}

.site-header.solid .site-nav a:hover,
.site-header.solid .header-action:hover {
  color: var(--green-dark);
  background: var(--mint);
}

.site-header.solid .header-action {
  border-color: var(--line);
}

.site-header.solid .menu-button {
  color: var(--green-dark);
  border-color: var(--line);
  background: var(--paper);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--green);
  color: white;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a,
.header-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 13px;
  font-weight: 750;
  color: rgba(255, 255, 255, .88);
}

.site-nav a:hover,
.header-action:hover {
  background: rgba(255, 255, 255, .16);
  color: white;
}

.header-action {
  border: 1px solid rgba(255, 255, 255, .38);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .12);
  color: white;
}

.menu-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0f1d1a;
}

.hero picture,
.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 17, 15, .88), rgba(5, 17, 15, .54) 44%, rgba(5, 17, 15, .18)),
    linear-gradient(180deg, rgba(0, 0, 0, .4), rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, .45));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  padding: 120px clamp(18px, 7vw, 76px) clamp(96px, 14vh, 150px);
  color: white;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 8vw, 86px);
  line-height: .94;
  letter-spacing: 0;
  max-width: 760px;
  overflow-wrap: break-word;
}

.hero p {
  margin: 24px 0 0;
  max-width: 650px;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.38;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 20px;
  font-weight: 850;
  transition: transform .16s ease, background .16s ease;
}

.button:hover,
.quick-panel article:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--green);
  color: white;
}

.button.secondary {
  background: white;
  color: var(--green-dark);
}

.quick-panel {
  width: min(1120px, calc(100% - 32px));
  margin: -56px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quick-panel article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 132px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform .16s ease;
}

.quick-panel strong,
.quick-panel span {
  display: block;
}

.quick-panel strong {
  font-size: 20px;
}

.quick-panel span {
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.role-hub {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 28px;
  align-items: stretch;
  padding: clamp(24px, 5vw, 44px);
  background:
    linear-gradient(135deg, rgba(15, 143, 112, .12), rgba(255, 255, 255, .78)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.role-copy p {
  max-width: 680px;
}

.role-actions-panel {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
}

.role-actions-panel .button,
.role-actions-panel .header-action {
  width: 100%;
}

.role-actions-panel .header-action {
  color: var(--green-dark);
  border-color: var(--line);
  background: #fff;
}

.role-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 34px;
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--green-dark);
  padding: 0 10px;
  font-weight: 850;
  margin-bottom: 16px;
}

.kostinlab-page {
  padding-top: 36px;
}

.kostinlab-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 28px;
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 28px;
  align-items: end;
  min-height: 360px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(17, 42, 37, .88), rgba(15, 143, 112, .72)),
    url("https://images.unsplash.com/photo-1559329007-40df8a9345d8?auto=format&fit=crop&w=1400&q=82") center/cover;
  color: white;
  box-shadow: var(--shadow);
}

.kostinlab-hero[hidden],
.kostinlab-hero-collapsed[hidden] {
  display: none;
}

.kostinlab-hero-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: var(--radius);
  padding: 0 12px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.kostinlab-hero-toggle:hover {
  background: rgba(255, 255, 255, .2);
}

.kostinlab-hero-collapsed {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 28px;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.kostinlab-hero-collapsed strong,
.kostinlab-hero-collapsed span {
  display: block;
}

.kostinlab-hero-collapsed strong {
  color: var(--ink);
  font-size: 19px;
}

.kostinlab-hero-collapsed span {
  margin-top: 4px;
  color: var(--muted);
}

.kostinlab-hero-collapsed .header-action {
  color: var(--green-dark);
  background: #fff;
  border-color: var(--line);
  flex: 0 0 auto;
}

.kostinlab-hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.kostinlab-hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 19px;
  line-height: 1.5;
}

.kostinlab-hero-panel {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
}

.kostinlab-hero-panel .header-action {
  color: var(--green-dark);
  background: #fff;
  border-color: var(--line);
  width: 100%;
}

.shift-hero {
  background:
    linear-gradient(135deg, rgba(17, 42, 37, .9), rgba(15, 143, 112, .68)),
    url("https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1400&q=82") center/cover;
}

.catalog-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
}

.kostinlab-filters,
.catalog-content {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.kostinlab-filters {
  align-self: start;
  position: sticky;
  top: 92px;
  padding: 18px;
}

.catalog-content {
  padding: clamp(18px, 3vw, 28px);
  min-width: 0;
}

.section-head.compact {
  display: block;
  margin-bottom: 14px;
}

.section-head.compact h2 {
  font-size: 24px;
}

.section-head.compact p {
  margin-top: 6px;
  font-size: 15px;
}

.kostinlab-filter-form {
  display: grid;
  gap: 12px;
}

.kostinlab-filter-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.kostinlab-filter-form select,
.kostinlab-filter-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 11px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.kostinlab-filter-form .header-action {
  width: 100%;
  color: var(--green-dark);
  background: #fff;
  border-color: var(--line);
}

.kostinlab-vacancy-list {
  display: grid;
  gap: 12px;
}

.kostinlab-vacancy-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.kostinlab-vacancy-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.kostinlab-vacancy-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.18;
}

.kostinlab-vacancy-card .meta {
  margin-top: 8px;
  color: var(--muted);
}

.kostinlab-tags,
.kostinlab-vacancy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.kostinlab-vacancy-actions .text-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
}

.kostinlab-vacancy-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 23, 20, .62);
  backdrop-filter: blur(10px);
}

.kostinlab-vacancy-modal-card {
  width: min(860px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.kostinlab-vacancy-modal-card .header-action {
  color: var(--green-dark);
  background: #fff;
  border-color: var(--line);
}

.kostinlab-vacancy-detail {
  display: grid;
  gap: 16px;
}

.kostinlab-rich-content {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.kostinlab-rich-content h3 {
  margin: 0;
  font-size: 20px;
}

.kostinlab-rich-content p,
.kostinlab-rich-content ul,
.kostinlab-rich-content ol,
.kostinlab-rich-content blockquote {
  margin-top: 0;
}

.kostinlab-rich-content ul,
.kostinlab-rich-content ol {
  padding-left: 22px;
}

.kostinlab-rich-content blockquote {
  margin-left: 0;
  padding: 12px 14px;
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--mint);
}

.kostinlab-rich-content a {
  color: var(--green-dark);
  text-decoration: underline;
  font-weight: 800;
}

.kostinlab-tags span {
  padding: 8px 10px;
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--green-dark);
  font-weight: 800;
  font-size: 14px;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 82px auto;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.feature-list span {
  padding: 9px 12px;
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--green-dark);
  font-weight: 800;
}

.visual-stack {
  position: relative;
}

.visual-stack img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mini-stats {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
}

.mini-stats strong,
.mini-stats span {
  display: block;
}

.mini-stats span {
  color: var(--muted);
  margin-top: 5px;
}

.employer-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 5vw, 52px);
  background: #112a25;
  color: white;
  border-radius: var(--radius);
}

.employer-band p {
  color: rgba(255, 255, 255, .76);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.steps article,
.safety-grid div,
.vacancy-preview article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.steps article {
  min-height: 116px;
  padding: 18px;
  color: var(--ink);
}

.steps strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--coral);
  color: white;
}

.steps span {
  display: block;
  margin-top: 15px;
  font-weight: 800;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 22px;
}

.text-link {
  color: var(--green-dark);
  font-weight: 850;
}

.vacancy-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.vacancy-preview article {
  padding: 18px;
  min-height: 172px;
}

.vacancy-preview h3 {
  margin: 0;
  font-size: 20px;
}

.vacancy-preview .meta {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.45;
}

.salary {
  color: var(--green-dark);
  font-weight: 900;
  margin-top: 18px;
}

.empty {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.safety {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.safety-grid div {
  min-height: 96px;
  display: flex;
  align-items: center;
  padding: 16px;
  font-weight: 850;
  border-left: 4px solid var(--amber);
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 72px auto 0;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
}

.site-footer span {
  margin-right: auto;
  color: var(--ink);
  font-weight: 900;
}

.as-button {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.web-account-page {
  padding-bottom: 24px;
}

.web-account-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 22px auto 16px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  gap: 18px;
  align-items: center;
  min-height: 250px;
  padding: clamp(18px, 3vw, 30px);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(17, 42, 37, .92), rgba(15, 143, 112, .76)),
    url("https://images.unsplash.com/photo-1551218808-94e220e084d2?auto=format&fit=crop&w=1400&q=82") center/cover;
  color: #fff;
  box-shadow: var(--shadow);
}

.web-account-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: 0;
}

.web-account-hero p {
  margin: 12px 0 0;
  max-width: 650px;
  color: rgba(255, 255, 255, .86);
  font-size: 16px;
  line-height: 1.45;
}

.web-account-hero-card {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
}

.web-account-hero-card strong {
  font-size: 21px;
}

.web-account-hero-card span {
  color: var(--muted);
  line-height: 1.45;
}

.web-account-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 20px;
}

.web-account-sidebar,
.web-account-content,
.web-auth-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.web-account-sidebar {
  align-self: start;
  position: sticky;
  top: 92px;
  padding: 16px;
}

.web-account-user {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--green-dark);
}

.web-account-user span {
  color: var(--green-dark);
  font-weight: 750;
  opacity: .8;
}

.web-account-sidebar nav {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.web-account-sidebar nav a,
.web-logout {
  min-height: 44px;
  justify-content: flex-start;
  color: var(--muted);
  border-color: transparent;
}

.web-account-sidebar nav a {
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  padding: 0 12px;
  font-weight: 850;
}

.web-account-sidebar nav a:hover,
.web-account-sidebar nav a.active,
.web-logout:hover {
  color: var(--green-dark);
  background: var(--mint);
}

.web-logout {
  width: 100%;
  margin-top: 14px;
  border-color: var(--line);
  background: #fff;
}

.web-account-content {
  min-width: 0;
  padding: clamp(18px, 3vw, 28px);
}

.web-auth-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: clamp(22px, 4vw, 36px);
}

.web-auth-card h2,
.web-section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
  letter-spacing: 0;
}

.web-auth-card p,
.web-section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.web-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.web-auth-stack {
  width: min(560px, 100%);
  display: grid;
  gap: 14px;
  align-content: start;
}

.web-register-form[hidden] {
  display: none;
}

.web-register-form {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.web-form-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.web-form-title h3 {
  margin: 0;
}

.web-register-toggle {
  width: 100%;
  color: var(--green-dark);
  border-color: var(--line);
  background: #fff;
}

.web-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.web-form h3,
.web-form .button,
.web-form .full {
  grid-column: 1 / -1;
}

.web-form h3 {
  margin: 0;
  font-size: 22px;
}

.web-form-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.web-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.web-field label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.web-field input,
.web-field select,
.web-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.web-field input[readonly] {
  background: #f7faf8;
  color: var(--muted);
}

.web-field textarea {
  min-height: 140px;
  resize: vertical;
}

.web-role-choice,
.web-crop-controls,
.web-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.web-role-choice label,
.web-check {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-weight: 850;
}

.web-check {
  align-self: end;
}

.web-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}

.web-section-head .button {
  flex: 0 0 auto;
}

.web-info-row,
.web-action-grid a,
.web-list article,
.web-company-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.web-info-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 14px;
  padding: 16px;
}

.web-info-row.good {
  border-color: rgba(15, 143, 112, .24);
  background: var(--mint);
}

.web-info-row strong,
.web-info-row span,
.web-list strong,
.web-list span,
.web-action-grid strong,
.web-action-grid span {
  display: block;
}

.web-info-row span,
.web-list span,
.web-action-grid span {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.web-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.web-action-grid a,
.web-list article {
  padding: 16px;
}

.web-list {
  display: grid;
  gap: 12px;
}

.web-list article {
  display: grid;
  gap: 10px;
}

.web-row-actions .header-action,
.web-row-actions .button {
  color: var(--green-dark);
  background: #fff;
  border-color: var(--line);
}

.web-rich-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.web-rich-toolbar button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 10px;
  background: #fff;
  color: var(--green-dark);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.web-rich-editor {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: #fff;
  line-height: 1.55;
}

.web-rich-editor:focus {
  outline: 2px solid rgba(15, 143, 112, .24);
}

.company-web-list {
  margin-top: 16px;
}

.web-company-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
}

.web-company-logo {
  display: grid;
  align-content: start;
  gap: 10px;
}

.web-company-logo img,
.web-company-logo > span {
  width: 136px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--green-dark);
  font-size: 42px;
  font-weight: 900;
  object-fit: cover;
}

.web-company-logo input[type="file"] {
  display: none;
}

.web-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 23, 20, .64);
  backdrop-filter: blur(10px);
}

.web-crop-card {
  width: min(760px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.web-crop-card canvas {
  width: 100%;
  max-height: 420px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.web-crop-controls {
  margin: 14px 0;
}

.web-crop-controls label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.web-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 100;
  max-width: min(520px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  font-weight: 800;
}

.web-toast[hidden] {
  display: none;
}

@media (max-width: 840px) {
  .site-header {
    height: 66px;
    gap: 8px;
    padding: 0 12px;
    background: rgba(12, 25, 22, .78);
    backdrop-filter: blur(12px);
  }

  .site-header.solid {
    position: sticky;
  }

  .site-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 74px;
    display: none;
    padding: 10px;
    border-radius: var(--radius);
    background: rgba(16, 32, 29, .96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    justify-content: flex-start;
  }

  .header-action {
    margin-left: auto;
    padding: 0 9px;
    min-height: 40px;
    font-size: 14px;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding: 104px 18px 92px;
  }

  .hero h1 {
    max-width: calc(100vw - 36px);
    font-size: clamp(34px, 10.5vw, 46px);
    line-height: 1.02;
  }

  .hero p {
    max-width: calc(100vw - 36px);
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .quick-panel,
  .split,
  .role-hub,
  .kostinlab-hero,
  .catalog-shell,
  .web-account-hero,
  .web-account-shell,
  .web-auth-card,
  .web-auth-grid,
  .web-form,
  .web-company-card,
  .employer-band,
  .safety,
  .vacancy-preview {
    grid-template-columns: 1fr;
  }

  .quick-panel {
    margin-top: -42px;
  }

  .section {
    margin: 58px auto;
  }

  .kostinlab-page {
    padding-top: 16px;
  }

  .kostinlab-hero {
    min-height: auto;
    margin-top: 0;
    padding: 62px 18px 28px;
  }

  .kostinlab-hero-toggle {
    top: 14px;
    right: 14px;
  }

  .kostinlab-hero-collapsed {
    display: grid;
    margin-top: 0;
  }

  .kostinlab-hero-collapsed .header-action {
    width: 100%;
  }

  .kostinlab-hero-panel {
    padding: 16px;
  }

  .kostinlab-filters {
    position: static;
  }

  .web-account-hero {
    margin-top: 16px;
    min-height: auto;
    padding: 22px;
  }

  .web-account-hero h1 {
    font-size: clamp(28px, 8.6vw, 36px);
  }

  .web-account-hero-card {
    min-height: 96px;
  }

  .web-account-sidebar {
    position: static;
  }

  .web-account-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .web-section-head {
    display: block;
  }

  .web-section-head .button {
    width: 100%;
    margin-top: 12px;
  }

  .web-action-grid {
    grid-template-columns: 1fr;
  }

  .web-company-logo {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .web-company-logo img,
  .web-company-logo > span {
    width: 92px;
  }

  .kostinlab-vacancy-main {
    display: grid;
  }

  .kostinlab-vacancy-actions .button,
  .kostinlab-vacancy-actions .text-link {
    width: 100%;
    justify-content: center;
  }

  .kostinlab-vacancy-modal {
    padding: 10px;
    align-items: end;
  }

  .kostinlab-vacancy-modal-card {
    max-height: calc(100vh - 20px);
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .section-head {
    display: block;
  }

  .steps,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .mini-stats {
    position: static;
    margin-top: 12px;
  }
}

