/* OKKwork — страница «Предложить идею» (вертикальный выезд из-под шапки) */

:root {
  --okkwork-idea-header-offset: var(--okkwork-news-header-offset, 71px);
  --okkwork-idea-slide-ms: 400ms;
  --okkwork-idea-slide-ease: ease-in-out;
  --okkwork-idea-layer-z: 20020;
  --okkwork-header-icons-behind-overlay-z: 19980;
  --okkwork-header-tooltip-z: var(--okkwork-header-icons-behind-overlay-z);
}

body.okkwork-idea-page-open .Pixso-frame-219_2 > .Pixso-frame-129_23,
body.okkwork-idea-page-open .Pixso-frame-219_2 > #129_23,
body.okkwork-idea-page-open .Pixso-frame-219_2 > .Pixso-frame-129_35,
body.okkwork-idea-page-open .Pixso-frame-219_2 > .Pixso-frame-129_19 {
  z-index: var(--okkwork-header-tooltip-z) !important;
}

body.okkwork-idea-page-open #219_3.Pixso-frame-219_3,
body.okkwork-idea-page-open .Pixso-frame-219_3 {
  z-index: auto !important;
  overflow: visible !important;
}

/* Подсказки шапки отключены, пока открыта страница «Предложить идею» */
html.okkwork-idea-page-open #129_24 .okkwork-tooltip-host::after,
html.okkwork-idea-page-open #129_24 .okkwork-tooltip-host:hover::after,
html.okkwork-idea-page-open #129_24 .okkwork-tooltip-host:focus::after,
html.okkwork-idea-page-open #129_24 .okkwork-tooltip-host:focus-visible::after,
html.okkwork-idea-page-open #129_24 .okkwork-header-icon-host::after,
html.okkwork-idea-page-open #129_24 .okkwork-header-icon-host:hover::after,
html.okkwork-idea-page-open #129_24 .okkwork-header-icon-host:focus::after,
html.okkwork-idea-page-open #129_24 .okkwork-header-icon-host:focus-visible::after,
body.okkwork-idea-page-open #129_24 .okkwork-tooltip-host::after,
body.okkwork-idea-page-open #129_24 .okkwork-tooltip-host:hover::after,
body.okkwork-idea-page-open #129_24 .okkwork-tooltip-host:focus::after,
body.okkwork-idea-page-open #129_24 .okkwork-tooltip-host:focus-visible::after,
body.okkwork-idea-page-open #129_24 .okkwork-header-icon-host::after,
body.okkwork-idea-page-open #129_24 .okkwork-header-icon-host:hover::after,
body.okkwork-idea-page-open #129_24 .okkwork-header-icon-host:focus::after,
body.okkwork-idea-page-open #129_24 .okkwork-header-icon-host:focus-visible::after,
html.okkwork-idea-page-open #129_23 .okkwork-tooltip-host::after,
html.okkwork-idea-page-open #129_35 .okkwork-tooltip-host::after,
html.okkwork-idea-page-open #129_19 .okkwork-tooltip-host::after,
html.okkwork-idea-page-open #219_6 .okkwork-tooltip-host::after,
html.okkwork-idea-page-open #129_29.okkwork-tooltip-host::after,
body.okkwork-idea-page-open #129_23 .okkwork-tooltip-host::after,
body.okkwork-idea-page-open #129_35 .okkwork-tooltip-host::after,
body.okkwork-idea-page-open #129_19 .okkwork-tooltip-host::after,
body.okkwork-idea-page-open #219_6 .okkwork-tooltip-host::after,
body.okkwork-idea-page-open #129_29.okkwork-tooltip-host::after,
body.okkwork-idea-page-open #129_23 .okkwork-tooltip-host:hover::after,
body.okkwork-idea-page-open #129_35 .okkwork-tooltip-host:hover::after,
body.okkwork-idea-page-open #129_19 .okkwork-tooltip-host:hover::after,
body.okkwork-idea-page-open #219_6 .okkwork-tooltip-host:hover::after,
body.okkwork-idea-page-open #129_29.okkwork-tooltip-host:hover::after,
body.okkwork-idea-page-open #129_23 .okkwork-tooltip-host:focus::after,
body.okkwork-idea-page-open #129_35 .okkwork-tooltip-host:focus::after,
body.okkwork-idea-page-open #129_19 .okkwork-tooltip-host:focus::after,
body.okkwork-idea-page-open #219_6 .okkwork-tooltip-host:focus::after,
body.okkwork-idea-page-open #129_29.okkwork-tooltip-host:focus::after,
body.okkwork-idea-page-open #129_23 .okkwork-tooltip-host:focus-visible::after,
body.okkwork-idea-page-open #129_35 .okkwork-tooltip-host:focus-visible::after,
body.okkwork-idea-page-open #129_19 .okkwork-tooltip-host:focus-visible::after,
body.okkwork-idea-page-open #219_6 .okkwork-tooltip-host:focus-visible::after,
body.okkwork-idea-page-open #129_29.okkwork-tooltip-host:focus-visible::after,
body.okkwork-idea-page-open #219_3 .okkwork-header-icon-host::after,
body.okkwork-idea-page-open #219_3 .okkwork-header-icon-host:hover::after,
body.okkwork-idea-page-open #219_3 .okkwork-header-icon-host:focus::after,
body.okkwork-idea-page-open #219_3 .okkwork-header-icon-host:focus-visible::after,
body.okkwork-idea-page-open #129_23 .okkwork-header-icon-host::after,
body.okkwork-idea-page-open #129_23 .okkwork-header-icon-host:hover::after,
body.okkwork-idea-page-open #129_23 .okkwork-header-icon-host:focus::after,
body.okkwork-idea-page-open #129_23 .okkwork-header-icon-host:focus-visible::after,
.okkwork-tooltip-host--news-blocked::after,
.okkwork-tooltip-host--news-blocked:hover::after,
.okkwork-tooltip-host--news-blocked:focus::after,
.okkwork-tooltip-host--news-blocked:focus-visible::after {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  content: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  width: 0 !important;
  height: 0 !important;
  max-width: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  transform: none !important;
}

html.okkwork-idea-page-open .okkwork-header-float-tip,
body.okkwork-idea-page-open .okkwork-header-float-tip,
html.okkwork-idea-page-open #okkwork-header-float-tip,
body.okkwork-idea-page-open #okkwork-header-float-tip {
  display: none !important;
  visibility: hidden !important;
}

#219_2 > .okkwork-idea-page,
.Pixso-frame-219_2 > .okkwork-idea-page,
body > .okkwork-idea-page {
  z-index: var(--okkwork-idea-layer-z) !important;
}

html.okkwork-idea-page-open,
body.okkwork-idea-page-open {
  overflow: hidden !important;
}

html.okkwork-idea-page-open .scroll-container,
body.okkwork-idea-page-open .scroll-container {
  overflow: hidden !important;
}

.okkwork-idea-page {
  position: fixed;
  top: var(--okkwork-idea-header-offset);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: var(--okkwork-idea-layer-z);
  display: none;
  pointer-events: none;
  visibility: hidden;
}

.okkwork-idea-page.is-open {
  display: block;
  visibility: visible;
}

.okkwork-idea-page__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.22);
  opacity: 0;
  transition: opacity var(--okkwork-idea-slide-ms) var(--okkwork-idea-slide-ease);
}

.okkwork-idea-page.is-open.is-idea-entering .okkwork-idea-page__backdrop,
.okkwork-idea-page.is-open.is-slide-open .okkwork-idea-page__backdrop {
  opacity: 1;
}

.okkwork-idea-page__shell {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid rgba(6, 88, 162, 0.12);
  box-shadow: 0 14px 40px rgba(6, 88, 162, 0.14);
  overflow: hidden;
  transform: translateY(-100%);
  transform-origin: top center;
  transition:
    transform var(--okkwork-idea-slide-ms) var(--okkwork-idea-slide-ease),
    box-shadow var(--okkwork-idea-slide-ms) var(--okkwork-idea-slide-ease),
    opacity var(--okkwork-idea-slide-ms) var(--okkwork-idea-slide-ease);
  will-change: transform;
}

.okkwork-idea-page.is-open.is-idea-entering .okkwork-idea-page__shell,
.okkwork-idea-page.is-open.is-slide-open .okkwork-idea-page__shell {
  transform: translateY(0);
}

.okkwork-idea-page.is-open.is-idea-leaving .okkwork-idea-page__shell {
  transform: translateY(-100%);
}

.okkwork-idea-page.is-open.is-idea-entering,
.okkwork-idea-page.is-open.is-slide-open {
  pointer-events: auto;
}

.okkwork-idea-page.is-open.is-idea-leaving {
  pointer-events: none;
}

.okkwork-idea-page__scroll {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.okkwork-idea-page__scroll > .okkwork-idea-page__content.okkwork-idea-page__content--kanban {
  flex: none;
  min-height: auto;
  height: auto;
  max-height: none;
  overflow: visible;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.okkwork-idea-page__content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  max-width: 1488px;
  margin: 0 auto;
  padding: 24px 24px 48px;
  font-family: "Rubik", sans-serif;
  color: rgba(72, 87, 101, 0.95);
}

.okkwork-idea-page__toolbar,
.okkwork-idea-page__hero,
.okkwork-idea-page__divider {
  flex-shrink: 0;
}

.okkwork-idea-page__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.okkwork-idea-page__list-search {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 100%;
  min-height: 56px;
  margin: 0 0 20px;
  padding: 0 18px;
  border: 1px solid rgba(68, 68, 68, 1);
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}

.okkwork-idea-page__list-search-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(72, 87, 101, 0.95);
  outline: none;
}

.okkwork-idea-page__list-search-input::-webkit-search-cancel-button,
.okkwork-idea-page__list-search-input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.okkwork-idea-page__list-search-input::placeholder {
  color: rgba(72, 87, 101, 0.55);
}

.okkwork-idea-page__search-mark {
  background: rgba(255, 232, 74, 0.92);
  color: inherit;
  border-radius: 2px;
  padding: 0 1px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.okkwork-idea-page__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: rgba(6, 88, 162, 1);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.okkwork-idea-page__submit:hover {
  background: rgba(5, 72, 130, 1);
}

.okkwork-idea-page__sidebar-sort {
  width: 100%;
  min-height: 56px;
  padding: 0 48px 0 18px;
  border: 1px solid rgba(68, 68, 68, 1);
  border-radius: 10px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23485765' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 8px;
  font-family: inherit;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(72, 87, 101, 0.95);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
}

.okkwork-idea-page__sort-picker {
  position: relative;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
}

.okkwork-idea-page__sort-picker__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(68, 68, 68, 1);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(72, 87, 101, 0.95);
  cursor: pointer;
  text-align: left;
}

.okkwork-idea-page__sort-picker__trigger:hover {
  border-color: rgba(6, 88, 162, 0.45);
  background: rgba(244, 249, 253, 1);
}

.okkwork-idea-page__sort-picker__label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.okkwork-idea-page__sort-picker__chevron {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(72, 87, 101, 0.75);
  border-bottom: 2px solid rgba(72, 87, 101, 0.75);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s ease;
}

.okkwork-idea-page__sort-picker.is-open .okkwork-idea-page__sort-picker__chevron {
  transform: rotate(-135deg) translateY(2px);
}

.okkwork-idea-page__sort-picker__list {
  position: absolute;
  z-index: 6;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  min-width: 100%;
  width: max-content;
  max-width: min(420px, calc(100vw - 32px));
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid rgba(6, 88, 162, 0.22);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
  box-sizing: border-box;
}

.okkwork-idea-page__sort-picker.is-open .okkwork-idea-page__sort-picker__list {
  z-index: 20;
}

.okkwork-idea-page__sort-picker__list[hidden] {
  display: none !important;
}

.okkwork-idea-page__sort-picker__option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(72, 87, 101, 0.95);
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.okkwork-idea-page__sort-picker__option:hover,
.okkwork-idea-page__sort-picker__option:focus-visible {
  background: rgba(6, 88, 162, 0.08);
  outline: none;
}

.okkwork-idea-page__sort-picker__option.is-selected {
  background: rgba(6, 88, 162, 1);
  color: #fff;
}

.okkwork-idea-page__hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.okkwork-idea-page__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.okkwork-idea-page__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 35px);
  font-weight: 800;
  line-height: 1.1;
  color: rgba(6, 88, 162, 1);
}

.okkwork-idea-page__author {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 500;
  color: rgba(72, 87, 101, 0.5);
}

.okkwork-idea-page__divider {
  height: 1px;
  margin: 0 0 24px;
  background: rgba(6, 88, 162, 0.14);
}

.okkwork-idea-page__layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 421px;
  gap: 32px;
  align-items: stretch;
}

.okkwork-idea-page__main {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
}

.okkwork-idea-page__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.okkwork-idea-page__card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(6, 88, 162, 0.1);
}

.okkwork-idea-page__card:last-child {
  border-bottom: 0;
}

.okkwork-idea-page__votes {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 58px;
  min-height: 113px;
  padding: 9px 15px;
  border: 2px solid rgba(6, 88, 162, 1);
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
  flex-shrink: 0;
}

.okkwork-idea-page__vote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.okkwork-idea-page__vote-btn img {
  width: 28px;
  height: 26px;
  display: block;
  object-fit: contain;
}

/* SVG: плоское основание ▲ на y≈75%, ▼ на y≈25% viewBox — выравниваем по одной линии */
.okkwork-idea-page__vote-btn--up img {
  transform: translateY(-25%);
}

.okkwork-idea-page__vote-btn--down img {
  transform: translateY(25%);
}

.okkwork-idea-page__vote-btn:hover {
  opacity: 0.78;
}

.okkwork-idea-page__vote-btn:disabled,
.okkwork-idea-page__vote-btn.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.okkwork-idea-page__vote-btn:disabled:hover,
.okkwork-idea-page__vote-btn.is-disabled:hover {
  opacity: 0.35;
}

.okkwork-idea-page__vote-count {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(6, 88, 162, 1);
  line-height: 1.1;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
}

.okkwork-idea-page__card-title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(6, 88, 162, 1);
}

.okkwork-idea-page__card-text {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.4;
  color: rgba(6, 88, 162, 1);
}

.okkwork-idea-page__card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
}

.okkwork-idea-page__comments-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: rgba(72, 87, 101, 0.5);
}

.okkwork-idea-page__comments-toggle img {
  display: block;
  width: 18px;
  height: 17px;
  flex-shrink: 0;
}

.okkwork-idea-page__comments-count {
  min-width: 0.6em;
}

.okkwork-idea-page__card-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 2px 8px;
  border-radius: 20px;
  background: rgba(72, 87, 101, 0.5);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.02em;
}

.okkwork-idea-page__card-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  min-width: 0;
}

.okkwork-idea-page__card-author-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.okkwork-idea-page__card-author-name {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  color: rgba(72, 87, 101, 0.5);
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.okkwork-idea-page__comments {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(6, 88, 162, 0.12);
}

.okkwork-idea-page__comments-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.okkwork-idea-page__comments-empty {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(72, 87, 101, 0.65);
}

.okkwork-idea-page__comment {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}

.okkwork-idea-page__comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.okkwork-idea-page__comment-body {
  flex: 1;
  min-width: 0;
}

.okkwork-idea-page__comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.okkwork-idea-page__comment-author {
  font-size: 14px;
  font-weight: 600;
  color: rgba(6, 88, 162, 1);
}

.okkwork-idea-page__comment-time {
  font-size: 12px;
  font-weight: 400;
  color: rgba(72, 87, 101, 0.55);
}

.okkwork-idea-page__comment-text {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
  color: #485765;
  white-space: pre-wrap;
  word-break: break-word;
}

.okkwork-idea-page__comments-locked {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(220, 231, 242, 0.45);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(72, 87, 101, 0.75);
}

.okkwork-idea-page__comment-form {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: flex-start;
  margin-top: 12px;
}

.okkwork-idea-page__comment-form-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.okkwork-idea-page__comment-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(68, 68, 68, 0.35);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: #485765;
  resize: vertical;
}

.okkwork-idea-page__comment-input:focus {
  outline: 2px solid rgba(6, 88, 162, 0.25);
  outline-offset: 1px;
}

.okkwork-idea-page__comment-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.okkwork-idea-page__comment-submit img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.okkwork-idea-page__comment-submit:hover {
  opacity: 0.82;
}

.okkwork-idea-page__sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.okkwork-idea-page__stats {
  padding: 18px 15px;
  border-radius: 10px;
  background: rgba(6, 88, 162, 1);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.okkwork-idea-page__stat {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.okkwork-idea-page__stat:hover,
.okkwork-idea-page__stat.is-active {
  opacity: 1;
}

.okkwork-idea-page__stat:not(.is-active) {
  opacity: 0.88;
}

.okkwork-idea-page__stat-icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.okkwork-idea-page__stat[data-okkwork-idea-status="new"] .okkwork-idea-page__stat-icon {
  filter: none;
}

.okkwork-idea-page__stat[data-okkwork-idea-status="rejected"] .okkwork-idea-page__stat-icon {
  filter: brightness(0) saturate(100%) invert(36%) sepia(96%) saturate(2800%) hue-rotate(338deg) brightness(101%) contrast(101%);
}

.okkwork-idea-page__stat[data-okkwork-idea-status="done"] .okkwork-idea-page__stat-icon {
  filter: none;
}

.okkwork-idea-page__stat-label {
  font-size: 16px;
  font-weight: 600;
}

.okkwork-idea-page__stat-count {
  font-size: 16px;
  font-weight: 600;
}

.okkwork-idea-page__tags {
  padding: 14px 12px;
  border: 1px solid rgba(6, 88, 162, 0.12);
  border-radius: 10px;
  background: #fff;
}

.okkwork-idea-page__tags-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(6, 88, 162, 1);
}

.okkwork-idea-page__tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.okkwork-idea-page__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(6, 88, 162, 0.16);
  border-radius: 8px;
  background: rgba(220, 231, 242, 0.35);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  color: rgba(6, 88, 162, 1);
  cursor: pointer;
}

.okkwork-idea-page__tag:hover,
.okkwork-idea-page__tag.is-active {
  background: rgba(6, 88, 162, 0.12);
  border-color: rgba(6, 88, 162, 0.28);
}

.okkwork-idea-page__support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: rgba(6, 88, 162, 1);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.okkwork-idea-page__support:hover {
  background: rgba(5, 72, 130, 1);
}

.okkwork-idea-page__empty {
  padding: 28px 16px;
  border: 1px dashed rgba(6, 88, 162, 0.2);
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  color: rgba(72, 87, 101, 0.7);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .okkwork-idea-page__scroll {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .okkwork-idea-page__content {
    display: block;
  }

  .okkwork-idea-page__layout {
    flex: unset;
    min-height: unset;
    grid-template-columns: 1fr;
  }

  .okkwork-idea-page__main {
    overflow: visible;
    padding-right: 0;
  }

  .okkwork-idea-page__sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

/* Вариант 07 — как у «Новости и обновления»: разворот по Y из-под шапки */
.okkwork-idea-page[data-okkwork-idea-variant="07"] .okkwork-idea-page__shell {
  transform: translateY(0) scaleY(0.001);
}

.okkwork-idea-page[data-okkwork-idea-variant="07"].is-open.is-slide-open .okkwork-idea-page__shell,
.okkwork-idea-page[data-okkwork-idea-variant="07"].is-open.is-idea-entering .okkwork-idea-page__shell {
  transform: translateY(0) scaleY(1);
}

.okkwork-idea-page[data-okkwork-idea-variant="07"].is-open.is-idea-leaving .okkwork-idea-page__shell {
  transform: translateY(0) scaleY(0.001);
}

/* После анимации открытия снимаем transform с shell — иначе весь текст остаётся размытым (GPU-слой). */
.okkwork-idea-page.is-open.is-idea-motion-done .okkwork-idea-page__shell,
.okkwork-idea-page[data-okkwork-idea-variant="07"].is-open.is-idea-motion-done .okkwork-idea-page__shell {
  transform: none;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .okkwork-idea-page__shell,
  .okkwork-idea-page__backdrop {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

/* ── Kanban layout (макет 07) ── */
.okkwork-idea-page__content--kanban {
  --kb-control-h: 36px;
  --kb-radius: 8px;
  --kb-gap: 12px;
  --kb-col-min-h: 360px;
  --kb-card-min-h: 100px;
  --kb-sidebar-w: 168px;
  --kb-col-inset-x: 10px;
  --kb-body-scroll-pad: 32px;
  --kb-scrollbar-size: var(--okkwork-scrollbar-size, 8px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: block;
  flex: none;
  min-height: auto;
  overflow: visible;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 14px 14px 48px;
  gap: 0;
  box-sizing: border-box;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-top,
.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters,
.okkwork-idea-page__content--kanban .okkwork-idea-page__divider {
  flex-shrink: 0;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--kb-sidebar-w);
  gap: var(--kb-gap);
  align-items: center;
  margin-bottom: 12px;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-top .okkwork-idea-page__hero {
  grid-column: 1;
  margin-bottom: 0;
  flex: 1;
  min-width: 0;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-top .okkwork-idea-page__submit--compact {
  grid-column: 2;
  width: 100%;
  justify-self: stretch;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--kb-sidebar-w);
  gap: var(--kb-gap);
  align-items: center;
  width: 100%;
  margin-bottom: 14px;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters:has(.okkwork-idea-page__sort-picker.is-open) {
  position: relative;
  z-index: 5;
  overflow: visible;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__submit--compact {
  flex-shrink: 0;
  align-self: center;
  min-height: var(--kb-control-h);
  height: var(--kb-control-h);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--kb-radius);
  white-space: nowrap;
  box-sizing: border-box;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__list-search--compact {
  --okkwork-idea-search-width: 240px;
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  flex: 0 0 var(--okkwork-idea-search-width);
  width: var(--okkwork-idea-search-width);
  max-width: none;
  min-height: var(--kb-control-h);
  height: var(--kb-control-h);
  margin: 0;
  padding: 0 10px 0 8px;
  border: 1px solid rgba(6, 88, 162, 0.28);
  border-radius: var(--kb-radius);
  background: #fff;
  gap: 6px;
  box-sizing: border-box;
  overflow: hidden;
  transition: width 0.28s cubic-bezier(0.2, 0.9, 0.2, 1);
  z-index: 1;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__list-search--compact:hover,
.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__list-search--compact:focus-within {
  flex: 0 0 calc(var(--okkwork-idea-search-width) * 2);
  width: calc(var(--okkwork-idea-search-width) * 2);
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__list-search--compact {
    transition: none;
  }
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__list-search--compact::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' stroke='%230658a2' stroke-width='1.5'/%3E%3Cpath d='M15 15L20 20' stroke='%230658a2' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  opacity: 0.75;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__list-search--compact .okkwork-idea-page__list-search-input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(4, 63, 115, 0.92);
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__sort-picker--compact {
  grid-column: 2;
  width: 100%;
  max-width: var(--kb-sidebar-w);
  flex: none;
  margin-left: 0;
  justify-self: stretch;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__sort-picker--compact .okkwork-idea-page__sort-picker__trigger {
  width: 100%;
  min-height: var(--kb-control-h);
  height: var(--kb-control-h);
  padding: 0 28px 0 10px;
  border: 1px solid rgba(6, 88, 162, 0.28);
  border-radius: var(--kb-radius);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(72, 87, 101, 0.9);
  box-sizing: border-box;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__sort-picker--compact .okkwork-idea-page__sort-picker__chevron {
  width: 8px;
  height: 8px;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__sort-picker--compact .okkwork-idea-page__sort-picker__list {
  left: 0;
  right: 0;
  width: 100%;
  min-width: 0;
  max-width: none;
  border-radius: var(--kb-radius);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__sort-picker--compact .okkwork-idea-page__sort-picker__option {
  border-radius: calc(var(--kb-radius) - 2px);
  white-space: normal;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__hero {
  margin-bottom: 0;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__avatar {
  width: 48px;
  height: 48px;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__title {
  font-size: 28px;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__author {
  font-size: 16px;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__divider {
  margin-bottom: 16px;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__layout--kanban {
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  max-height: none;
  overflow: visible;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--kb-sidebar-w);
  grid-template-rows: auto;
  gap: var(--kb-gap);
  align-items: start;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__main--kanban {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: auto;
  height: auto;
  overflow: visible;
  padding-right: 0;
}

.okkwork-idea-page__content--kanban .okkwork-idea-page__main--kanban .okkwork-idea-page__kanban {
  flex: 0 0 auto;
  height: auto;
  overflow: visible;
}

.okkwork-idea-page__kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(210px, 1fr));
  grid-template-rows: auto;
  gap: var(--kb-gap);
  min-width: 0;
  height: auto;
  width: 100%;
  align-items: stretch;
}

.okkwork-idea-page__kanban-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: var(--kb-col-min-h);
  height: auto;
  overflow: visible;
  padding: 8px var(--kb-col-inset-x) 10px;
  border-radius: var(--kb-radius);
  background: linear-gradient(180deg, rgba(220, 231, 242, 0.55) 0%, rgba(248, 251, 255, 0.9) 100%);
  border: 1px solid rgba(6, 88, 162, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
}

.okkwork-idea-page__kanban-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 44px;
  height: 44px;
  padding: 0 12px;
  margin: -4px 0 8px;
  border: 1px solid rgba(6, 88, 162, 0.18);
  border-radius: 10px;
  flex: 0 0 auto;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 1px 2px rgba(6, 88, 162, 0.06),
    0 4px 12px rgba(6, 88, 162, 0.1);
  box-sizing: border-box;
}

.okkwork-idea-page__kanban-head__label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(6, 88, 162, 1);
}

.okkwork-idea-page__kanban-head__label span {
  line-height: 1.15;
}

.okkwork-idea-page__kanban-head__label img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
}

.okkwork-idea-page__kanban-head__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(6, 88, 162, 0.12);
  font-size: 13px;
  font-weight: 700;
  color: rgba(6, 88, 162, 1);
  flex-shrink: 0;
}

.okkwork-idea-page__kanban-head--new .okkwork-idea-page__kanban-head__label img {
  filter: none;
}

.okkwork-idea-page__kanban-head--planned .okkwork-idea-page__kanban-head__label img {
  filter: none;
}

.okkwork-idea-page__kanban-head--rejected .okkwork-idea-page__kanban-head__label img {
  filter: brightness(0) saturate(100%) invert(36%) sepia(96%) saturate(2800%) hue-rotate(338deg);
}

.okkwork-idea-page__kanban-head--done .okkwork-idea-page__kanban-head__label img {
  filter: none;
}

.okkwork-idea-page__kanban-body {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

.okkwork-idea-page__kanban-body > .okkwork-idea-page__kanban-card + .okkwork-idea-page__kanban-card,
.okkwork-idea-page__kanban-body > .okkwork-idea-page__kanban-empty + .okkwork-idea-page__kanban-card {
  margin-top: var(--kb-gap);
}

.okkwork-idea-page__kanban-body__end {
  display: block;
  height: var(--kb-body-scroll-pad, 32px);
  min-height: var(--kb-body-scroll-pad, 32px);
  margin: 0;
  padding: 0;
  border: 0;
  pointer-events: none;
  flex-shrink: 0;
}

.okkwork-idea-page__kanban-card {
  display: flex;
  flex-direction: column;
  position: relative;
  flex: 0 0 auto;
  flex-shrink: 0;
  min-height: var(--kb-card-min-h);
  height: auto;
  padding: 10px 12px;
  border-radius: var(--kb-radius);
  background: #fff;
  border: 1px solid rgba(6, 88, 162, 0.1);
  box-shadow:
    0 1px 2px rgba(6, 88, 162, 0.06),
    0 8px 20px rgba(6, 88, 162, 0.07);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.okkwork-idea-page__kanban-card:hover {
  box-shadow:
    0 2px 4px rgba(6, 88, 162, 0.08),
    0 12px 28px rgba(6, 88, 162, 0.12);
  transform: translateY(-1px);
}

.okkwork-idea-page__kanban-card.is-tag-picker-open {
  z-index: 30;
}

.okkwork-idea-page__kanban-card__vote {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.okkwork-idea-page__kanban-card .okkwork-idea-page__votes {
  display: grid;
  grid-template-columns: 20px auto 20px;
  align-items: center;
  justify-items: center;
  column-gap: 6px;
  width: auto;
  min-width: 76px;
  min-height: 0;
  height: 28px;
  padding: 2px 10px;
  border-width: 1px;
  border-radius: 8px;
  margin: 0;
}

.okkwork-idea-page__kanban-card .okkwork-idea-page__vote-btn {
  width: 20px;
  height: 18px;
  flex: none;
  justify-self: center;
}

.okkwork-idea-page__kanban-card .okkwork-idea-page__vote-btn--up {
  grid-column: 1;
}

.okkwork-idea-page__kanban-card .okkwork-idea-page__vote-count {
  grid-column: 2;
}

.okkwork-idea-page__kanban-card .okkwork-idea-page__vote-btn--down {
  grid-column: 3;
}

.okkwork-idea-page__kanban-card .okkwork-idea-page__vote-btn img {
  width: 14px;
  height: 13px;
}

.okkwork-idea-page__kanban-card .okkwork-idea-page__vote-btn--up img,
.okkwork-idea-page__kanban-card .okkwork-idea-page__vote-btn--down img {
  transform: none;
}

.okkwork-idea-page__kanban-card .okkwork-idea-page__vote-count {
  font-size: 13px;
  letter-spacing: 0;
  width: auto;
  min-width: 1.6em;
  padding: 0 4px;
  text-align: center;
  flex: 0 1 auto;
}

.okkwork-idea-page__kanban-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
}

.okkwork-idea-page__kanban-card .okkwork-idea-page__card-title {
  margin: 0;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.okkwork-idea-page__kanban-card .okkwork-idea-page__card-text {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.okkwork-idea-page__card-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.okkwork-idea-page__card-attachment {
  display: inline-flex;
  width: 25px;
  height: 25px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(6, 88, 162, 0.15);
  flex-shrink: 0;
}

.okkwork-idea-page__card-attachment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.okkwork-idea-page__kanban-card__foot {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(6, 88, 162, 0.08);
  flex-shrink: 0;
}

.okkwork-idea-page__status-select-wrap {
  min-width: 0;
}

.okkwork-idea-page__status-select {
  max-width: 118px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(6, 88, 162, 0.22);
  border-radius: 8px;
  background: #fff;
  color: rgba(6, 88, 162, 1);
  font-family: "Rubik", sans-serif;
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
}

.okkwork-idea-page__kanban-card.is-notify-highlight {
  box-shadow:
    0 0 0 2px rgba(229, 57, 53, 0.82),
    0 10px 28px rgba(6, 88, 162, 0.16);
  animation: okkwork-idea-notify-highlight 1.8s ease-in-out 1;
}

@keyframes okkwork-idea-notify-highlight {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(229, 57, 53, 0.82),
      0 10px 28px rgba(6, 88, 162, 0.16);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(229, 57, 53, 0.95),
      0 12px 32px rgba(6, 88, 162, 0.2);
  }
}

.okkwork-idea-page__kanban-card__foot .okkwork-idea-page__comments-toggle {
  font-size: 14px;
  color: rgba(137, 186, 230, 1);
}

.okkwork-idea-page__kanban-card__foot .okkwork-idea-page__comments-toggle img {
  width: 16px;
  height: 15px;
}

.okkwork-idea-page__kanban-card__foot .okkwork-idea-page__comments-count {
  color: rgba(137, 186, 230, 1);
}

.okkwork-idea-page__kanban-card__foot .okkwork-idea-page__card-tag {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-size: 10px;
  padding: 3px 8px;
  background: rgba(220, 231, 242, 1);
  color: rgba(6, 88, 162, 1);
  border-radius: 20px;
}

.okkwork-idea-page__tag-picker {
  position: absolute;
  z-index: 50;
  min-width: 160px;
  max-width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(6, 88, 162, 0.22);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
  box-sizing: border-box;
}

.okkwork-idea-page__tag-picker__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 6px;
}

.okkwork-idea-page__tag-picker__item {
  appearance: none;
  border: 0;
  background: rgba(6, 88, 162, 0.06);
  color: rgba(6, 88, 162, 1);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  padding: 7px 8px;
  border-radius: 8px;
  cursor: pointer;
}

.okkwork-idea-page__tag-picker__item:hover,
.okkwork-idea-page__tag-picker__item:focus-visible {
  background: rgba(6, 88, 162, 0.1);
  outline: none;
}

.okkwork-idea-page__tag-picker__item.is-selected {
  background: rgba(6, 88, 162, 1);
  color: #fff;
}

.okkwork-idea-page__tag-create-input {
  width: 100%;
  min-height: 28px;
  padding: 6px 8px;
  border: 1px solid rgba(6, 88, 162, 0.3);
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: rgba(6, 88, 162, 1);
  outline: none;
  box-sizing: border-box;
}

.okkwork-idea-page__tag-picker .okkwork-idea-page__tag-create {
  width: 100%;
  margin-top: 4px;
}

.okkwork-idea-page__kanban-card__foot .okkwork-idea-page__card-author {
  margin-left: auto !important;
  flex: 0 0 auto;
  justify-self: auto;
  gap: 6px;
}

.okkwork-idea-page__kanban-card__foot .okkwork-idea-page__card-author-avatar {
  width: 26px;
  height: 26px;
}

.okkwork-idea-page__kanban-card__foot .okkwork-idea-page__card-author-name {
  font-size: 13px;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(137, 186, 230, 1);
}

.okkwork-idea-page__kanban-card .okkwork-idea-page__comments {
  margin-top: 12px;
}

.okkwork-idea-page__kanban-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  margin: 0;
  padding: 16px;
  border-radius: var(--kb-radius);
  border: 1px dashed rgba(6, 88, 162, 0.2);
  background: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 500;
  color: rgba(72, 87, 101, 0.45);
  text-align: center;
}

.okkwork-idea-page__sidebar--kanban {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: static;
  min-width: 0;
  height: auto;
  overflow: visible;
  align-self: start;
}

.okkwork-idea-page__tags--kanban .okkwork-idea-page__tags-title {
  margin: 0 0 6px;
  font-size: 13px;
}

.okkwork-idea-page__tag-list--vertical {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.okkwork-idea-page__tags--kanban .okkwork-idea-page__tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 30px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  border-radius: 6px;
}

.okkwork-idea-page__tag-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.okkwork-idea-page__tag-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(6, 88, 162, 1);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.okkwork-idea-page__tag.is-active .okkwork-idea-page__tag-count {
  background: #fff;
  color: rgba(6, 88, 162, 1);
}

.okkwork-idea-page__tag-create {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 28px;
  margin-top: 4px;
  padding: 4px 8px;
  border: 1px dashed rgba(6, 88, 162, 0.35);
  border-radius: 6px;
  background: rgba(220, 231, 242, 0.35);
  color: rgba(6, 88, 162, 1);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.okkwork-idea-page__tag-create:hover {
  background: rgba(6, 88, 162, 0.08);
}

@media (max-width: 1200px) {
  .okkwork-idea-page__kanban {
    grid-template-columns: repeat(2, minmax(210px, 1fr));
  }
}

@media (max-width: 860px) {
  .okkwork-idea-page__content--kanban .okkwork-idea-page__layout--kanban {
    grid-template-columns: 1fr;
  }

  .okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-top {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-top .okkwork-idea-page__submit--compact {
    grid-column: auto;
    width: 100%;
  }

  .okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__list-search--compact {
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
  }

  .okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__list-search--compact:hover,
  .okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__list-search--compact:focus-within {
    flex: 1 1 auto;
    width: 100%;
  }

  .okkwork-idea-page__content--kanban .okkwork-idea-page__kanban-filters .okkwork-idea-page__sort-picker--compact {
    grid-column: auto;
    flex: 1 1 auto;
    width: 100%;
    max-width: none;
    margin-left: 0;
  }

  .okkwork-idea-page__kanban {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    min-height: 0;
  }

  .okkwork-idea-page__kanban-col {
    height: auto;
    max-height: none;
    overflow: visible;
  }
}

/* Pop-up «Предложить идею» (по образцу описания блока) */
.okkwork-idea-submit-modal {
  position: fixed;
  inset: 0;
  z-index: 20300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
  pointer-events: none;
}

.okkwork-idea-submit-modal.is-open {
  display: flex !important;
  pointer-events: auto;
}

.okkwork-idea-submit-modal[hidden] {
  display: none !important;
  pointer-events: none;
}

.okkwork-idea-submit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 34, 0.52);
}

.okkwork-idea-submit-modal__frame {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(92vh, 900px);
  padding: 2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 126, 168, 0.95), rgba(26, 95, 158, 0.95), rgba(14, 138, 111, 0.95));
  box-shadow: 0 28px 70px rgba(6, 40, 72, 0.35);
}

.okkwork-idea-submit-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: calc(min(92vh, 900px) - 4px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 22px 22px 18px;
  border-radius: 16px;
  background: #f8fafc;
  font-family: "Rubik", "Rubik-Medium", "Rubik-Light", system-ui, sans-serif;
  color: rgba(81, 95, 108, 1);
}

.okkwork-idea-submit-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(6, 88, 162, 0.08);
  color: rgba(6, 88, 162, 0.9);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.okkwork-idea-submit-modal__close:hover {
  background: rgba(6, 88, 162, 0.14);
}

.okkwork-idea-submit-modal__heading {
  margin: 0 36px 2px 0;
  font-family: "Rubik-Bold", "Rubik", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(6, 88, 162, 1);
}

.okkwork-idea-submit-modal__intro {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid rgba(6, 88, 162, 0.72);
  border-radius: 0 8px 8px 0;
  background: rgba(6, 88, 162, 0.06);
}

.okkwork-idea-submit-modal__intro p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(81, 95, 108, 1);
}

.okkwork-idea-submit-modal__intro p:last-child {
  margin-bottom: 0;
}

.okkwork-idea-submit-modal__intro a {
  color: rgba(6, 88, 162, 1);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.okkwork-idea-submit-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.okkwork-idea-submit-modal__label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(72, 87, 101, 0.9);
}

.okkwork-idea-submit-modal__input,
.okkwork-idea-submit-modal__textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(6, 88, 162, 0.22);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  color: rgba(81, 95, 108, 1);
}

.okkwork-idea-submit-modal__input {
  min-height: 44px;
  padding: 0 14px;
}

.okkwork-idea-submit-modal__textarea {
  min-height: 148px;
  padding: 12px 14px;
  resize: vertical;
}

.okkwork-idea-submit-modal__input:focus,
.okkwork-idea-submit-modal__textarea:focus {
  outline: 2px solid rgba(6, 88, 162, 0.28);
  outline-offset: 0;
  border-color: rgba(6, 88, 162, 0.45);
}

.okkwork-idea-submit-modal__field--tag {
  position: relative;
  z-index: 2;
}

.okkwork-idea-submit-modal__tag-picker {
  position: relative;
  width: 100%;
  user-select: none;
  -webkit-user-select: none;
}

.okkwork-idea-submit-modal__tag-picker.is-open {
  z-index: 4;
}

.okkwork-idea-submit-modal__tag-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(6, 88, 162, 0.35);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: rgba(81, 95, 108, 1);
  cursor: pointer;
  text-align: left;
}

.okkwork-idea-submit-modal__tag-trigger:hover,
.okkwork-idea-submit-modal__tag-picker.is-open .okkwork-idea-submit-modal__tag-trigger {
  border-color: rgba(6, 88, 162, 0.55);
  background: rgba(244, 249, 253, 1);
}

.okkwork-idea-submit-modal__tag-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.okkwork-idea-submit-modal__tag-label.is-placeholder {
  color: rgba(72, 87, 101, 0.55);
  font-weight: 400;
}

.okkwork-idea-submit-modal__tag-chevron {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(72, 87, 101, 0.7);
  border-bottom: 2px solid rgba(72, 87, 101, 0.7);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s ease;
}

.okkwork-idea-submit-modal__tag-picker.is-open .okkwork-idea-submit-modal__tag-chevron {
  transform: rotate(-135deg) translateY(2px);
}

.okkwork-idea-submit-modal__tag-list {
  position: absolute;
  z-index: 8;
  bottom: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 4px;
  list-style: none;
  border: 1px solid rgba(6, 88, 162, 0.22);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
  box-sizing: border-box;
  max-height: min(280px, 42vh);
  overflow: auto;
  overscroll-behavior: contain;
}

.okkwork-idea-submit-modal__tag-list[hidden] {
  display: none !important;
}

.okkwork-idea-submit-modal__tag-list li {
  margin: 0;
  padding: 0;
}

.okkwork-idea-submit-modal__tag-option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(72, 87, 101, 0.95);
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.okkwork-idea-submit-modal__tag-option:hover,
.okkwork-idea-submit-modal__tag-option:focus-visible {
  background: rgba(6, 88, 162, 0.08);
  outline: none;
}

.okkwork-idea-submit-modal__tag-option.is-selected {
  background: rgba(6, 88, 162, 1);
  color: #fff;
  font-weight: 600;
}

.okkwork-idea-submit-modal__tag-option.is-selected:hover,
.okkwork-idea-submit-modal__tag-option.is-selected:focus-visible {
  background: rgba(5, 72, 130, 1);
}

.okkwork-idea-submit-modal__upload {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.okkwork-idea-submit-modal__drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 112px;
  padding: 16px;
  border: 1px dashed rgba(6, 88, 162, 0.42);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  text-align: center;
}

.okkwork-idea-submit-modal__file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.okkwork-idea-submit-modal__drop.is-dragover {
  border-color: rgba(6, 88, 162, 0.85);
  background: rgba(6, 88, 162, 0.06);
}

.okkwork-idea-submit-modal__drop-title {
  font-size: 14px;
  font-weight: 500;
  color: rgba(6, 88, 162, 1);
}

.okkwork-idea-submit-modal__drop-hint {
  font-size: 12px;
  color: rgba(72, 87, 101, 0.72);
}

.okkwork-idea-submit-modal__drop-clear {
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  color: rgba(6, 88, 162, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.okkwork-idea-submit-modal__drop-clear:hover {
  color: rgba(5, 72, 130, 1);
}

.okkwork-idea-submit-modal__actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 4px;
}

.okkwork-idea-submit-modal__submit {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: rgba(6, 88, 162, 1);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.okkwork-idea-submit-modal__submit:hover {
  background: rgba(5, 72, 130, 1);
}

@media (max-width: 640px) {
  .okkwork-idea-submit-modal__panel {
    padding: 18px 16px 14px;
  }

  .okkwork-idea-submit-modal__heading {
    font-size: 20px;
  }
}

/* Pop-up «Спасибо за идею» */
.okkwork-idea-submit-thanks-modal {
  position: fixed;
  inset: 0;
  z-index: 20310;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  box-sizing: border-box;
  pointer-events: none;
}

.okkwork-idea-submit-thanks-modal.is-open {
  display: flex !important;
  pointer-events: auto;
}

.okkwork-idea-submit-thanks-modal[hidden] {
  display: none !important;
  pointer-events: none;
}

.okkwork-idea-submit-thanks-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 20, 34, 0.52);
}

.okkwork-idea-submit-thanks-modal__frame {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(13, 126, 168, 0.95), rgba(26, 95, 158, 0.95), rgba(14, 138, 111, 0.95));
  box-shadow: 0 28px 70px rgba(6, 40, 72, 0.35);
}

.okkwork-idea-submit-thanks-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 26px 22px;
  border-radius: 16px;
  background: #f8fafc;
  font-family: "Rubik", "Rubik-Medium", "Rubik-Light", system-ui, sans-serif;
  color: rgba(81, 95, 108, 1);
  text-align: center;
}

.okkwork-idea-submit-thanks-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(6, 88, 162, 0.08);
  color: rgba(6, 88, 162, 0.9);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.okkwork-idea-submit-thanks-modal__close:hover {
  background: rgba(6, 88, 162, 0.14);
}

.okkwork-idea-submit-thanks-modal__emoji {
  margin: 4px 0 6px;
}

.okkwork-idea-thanks-emoji {
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(160deg, #ffe082 0%, #ffca28 55%, #ffb300 100%);
  box-shadow:
    inset 0 -5px 10px rgba(180, 110, 0, 0.18),
    0 8px 18px rgba(255, 193, 7, 0.28);
  animation: okkwork-thanks-emoji-float 2.8s ease-in-out infinite;
}

.okkwork-idea-thanks-emoji__eye {
  position: absolute;
  top: 28px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #1f2937;
}

.okkwork-idea-thanks-emoji__eye:first-of-type {
  left: 24px;
}

.okkwork-idea-thanks-emoji__eye--wink {
  right: 24px;
  left: auto;
  animation: okkwork-thanks-wink 2.4s ease-in-out infinite;
  transform-origin: center;
}

.okkwork-idea-thanks-emoji__smile {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: 34px;
  height: 17px;
  margin-left: -17px;
  border: 3px solid #1f2937;
  border-top: 0;
  border-radius: 0 0 34px 34px;
  background: transparent;
}

@keyframes okkwork-thanks-wink {
  0%,
  42%,
  58%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(0.1);
  }
}

@keyframes okkwork-thanks-emoji-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

.okkwork-idea-submit-thanks-modal__text {
  margin: 0;
  max-width: 38ch;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(81, 95, 108, 1);
}

.okkwork-idea-submit-thanks-modal__actions {
  display: flex;
  justify-content: center;
  padding-top: 8px;
  width: 100%;
}

.okkwork-idea-submit-thanks-modal__ok {
  min-height: 44px;
  padding: 0 28px;
  border: 0;
  border-radius: 10px;
  background: rgba(6, 88, 162, 1);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.okkwork-idea-submit-thanks-modal__ok:hover {
  background: rgba(5, 72, 130, 1);
}

@media (max-width: 640px) {
  .okkwork-idea-submit-thanks-modal__panel {
    padding: 24px 18px 18px;
  }

  .okkwork-idea-submit-thanks-modal__text {
    font-size: 14px;
  }
}
