.product-workflow-context {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 420px;
  color: var(--yb-primary, #2f63f2);
}

.product-workflow-context__mark {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border: 1px solid rgba(47, 99, 242, .18);
  border-radius: 10px;
  background: rgba(47, 99, 242, .06);
  font-size: 20px;
}

.product-workflow-context > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.product-workflow-context small {
  color: var(--yb-muted, #67758c);
  font-size: 10px;
}

.product-workflow-context strong {
  font-size: 12px;
  font-weight: 600;
}

.product-workflow-context a {
  margin-left: auto;
  padding: 9px 2px 9px 10px;
  color: var(--yb-primary, #2f63f2);
  font-size: 11px;
  white-space: nowrap;
  text-decoration: none;
}

.product-workflow-context a:hover { text-decoration: underline; }
.product-workflow-context a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 4px; }
.product-workflow-context a i { margin-left: 3px; font-style: normal; }

/* Fit the work area to the window; keep the next action within reach. */
body[data-page="products"] .product-stage { min-width: 0; }
body[data-page="products"] .product-enrichment-result {
  padding: 18px 22px 0;
  gap: 0;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d6dfef transparent;
  scroll-padding-bottom: 76px;
}
body[data-page="products"] .product-enrichment-result > * { flex-shrink: 0; }
body[data-page="products"] .product-enrichment-result .operation-view-head h2 { font-size: 23px; }
body[data-page="products"] .product-enrichment-result .localization-table { gap: 6px; margin-top: 12px; }
body[data-page="products"] .localization-table article { min-height: 60px; padding: 8px 10px; gap: 8px; }
body[data-page="products"] .localization-table small { font-size: 9px; letter-spacing: 0; }
body[data-page="products"] .localization-table strong { font-size: 11px; }
body[data-page="products"] .localization-thumb { width: 38px; height: 42px; }
body[data-page="products"] .pricing-selector {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 12px 0 7px;
  background: transparent;
}
body[data-page="products"] .pricing-selector > div {
  grid-column: 1 / -1;
  flex-direction: row;
  justify-content: flex-start;
  align-items: baseline;
  gap: 9px;
  padding: 0;
  border: 0;
}
body[data-page="products"] .pricing-selector > div small { color: #7a879e; font-size: 9px; letter-spacing: 0; }
body[data-page="products"] .pricing-selector > div strong { color: #52627d; font-size: 10px; font-weight: 500; }
body[data-page="products"] .pricing-selector button {
  grid-template-columns: 38px minmax(0, 1fr);
  min-width: 0;
  min-height: 65px;
  padding: 10px 8px;
  gap: 7px;
  border: 1px solid #dce4f1;
  border-radius: 12px;
  color: #34435d;
  background: #fff;
  box-shadow: none;
  transform: none;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
body[data-page="products"] .pricing-selector button:hover {
  border-color: #9cb6f6;
  color: #34435d;
  background: #f3f7ff;
  box-shadow: 0 2px 8px #2f63f20a;
  transform: none;
}
body[data-page="products"] .pricing-selector button.is-selected,
body[data-page="products"] .pricing-selector button.is-selected:hover {
  border-color: #5982ef;
  color: #234aaa;
  background: #edf3ff;
  box-shadow: inset 0 0 0 1px #5982ef;
  transform: none;
}
body[data-page="products"] .pricing-selector button:focus-visible { outline: 2px solid #2f63f2; outline-offset: 3px; }
body[data-page="products"] .pricing-selector button > i {
  width: 38px;
  height: 38px;
  margin: 0;
  border-color: #e0e7f2;
  color: #60749b;
  background: #f7f9fd;
  font-size: 12px;
}
body[data-page="products"] .pricing-selector button.is-selected > i { color: #fff; border-color: #2f63f2; background: #2f63f2; }
body[data-page="products"] .pricing-selector button b { font-size: 10px; font-weight: 600; line-height: 1.4; }
body[data-page="products"] .pricing-selector button small { color: #728099; font-size: 9px; }
body[data-page="products"] .pricing-selector button > em { top: -7px; right: 8px; padding: 2px 6px; color: #526b9e; background: #f2f5fc; font-size: 8px; border: 1px solid #dce5f6; }
body[data-page="products"] .pricing-prerequisites { gap: 5px; margin: 3px 0 0; }
body[data-page="products"] .pricing-prerequisites span { padding: 5px 7px; color: #7a879c; font-size: 8px; }
body[data-page="products"] #pricing-selected-summary { color: #4566a6; background: #f1f5ff; }
body[data-page="products"] .enrichment-result-actions {
  position: sticky;
  bottom: 0;
  z-index: 6;
  flex-shrink: 0;
  margin: auto -22px 0;
  padding: 14px 22px 16px;
  border-top: 1px solid #e5ebf5;
  background: #fafcff;
  box-shadow: 0 -8px 16px #f7faffb3;
}
body[data-page="products"] .enrichment-result-actions button { height: 42px; font-size: 11px; }

@media (min-width: 1191px) {
  body[data-page="products"] .task-main { height: 100svh; min-height: 0; }
  body[data-page="products"] .product-task { height: calc(100svh - 72px); min-height: 0; padding-bottom: 20px; }
  body[data-page="products"] .task-scene__head { height: 58px; }
  body[data-page="products"] .product-task-layout { padding-top: 14px; }
  body[data-page="products"] .product-stage { height: min(660px, calc(100svh - 170px)); min-height: 430px; }
  body[data-page="products"] .product-task-copy > h1 { margin: 20px 0 14px; font-size: clamp(35px, 3.45vw, 54px); line-height: 1.16; }
  body[data-page="products"] .product-task-copy > p { font-size: 12px; }
  body[data-page="products"] .product-methods { margin-top: 18px; gap: 7px; }
  body[data-page="products"] .product-methods button { min-height: 67px; }
}
@media (min-width: 1191px) and (max-height: 680px) {
  body[data-page="products"] .product-task { height: auto; min-height: calc(100svh - 72px); }
  body[data-page="products"] .product-task-layout { align-items: start; }
  body[data-page="products"] .product-task-copy > h1 { font-size: 33px; margin-top: 15px; }
  body[data-page="products"] .product-methods button { min-height: 58px; }
}
@media (max-width: 1190px) {
  body[data-page="products"] .product-stage { height: 660px; min-height: 0; }
  body[data-page="products"] .product-task-layout { padding-bottom: 0; }
}
@media (max-width: 620px) {
  body[data-page="products"] .product-stage { height: min(730px, calc(100svh - 88px)); min-height: 530px; }
  body[data-page="products"] .product-enrichment-result { padding: 16px 12px 0; }
  body[data-page="products"] .product-enrichment-result .operation-view-head h2 { font-size: 21px; }
  body[data-page="products"] .product-enrichment-result .operation-view-head > span { font-size: 8px; }
  body[data-page="products"] .localization-table article { grid-template-columns: 31px minmax(0, 1fr) auto; gap: 3px 8px; min-height: 74px; }
  body[data-page="products"] .localization-table article > i { display: none; }
  body[data-page="products"] .localization-thumb { grid-column: 1; grid-row: 1 / 3; width: 31px; height: 39px; }
  body[data-page="products"] .localization-table article > span:first-of-type { grid-column: 2; grid-row: 1; }
  body[data-page="products"] .localization-table article > span:nth-of-type(2) { grid-column: 2; grid-row: 2; }
  body[data-page="products"] .localization-table article > span:nth-of-type(2) > small { display: none; }
  body[data-page="products"] .localization-table article > em { grid-column: 3; grid-row: 1 / 3; padding: 4px; font-size: 8px; }
  body[data-page="products"] .pricing-selector > div { flex-wrap: wrap; gap: 3px 7px; }
  body[data-page="products"] .pricing-selector button { grid-template-columns: 1fr; justify-items: center; gap: 5px; min-height: 94px; padding: 8px 4px; text-align: center; }
  body[data-page="products"] .pricing-selector button > i { height: 30px; width: 37px; }
  body[data-page="products"] .pricing-selector button b { font-size: 9px; }
  body[data-page="products"] .enrichment-result-actions { margin-inline: -12px; padding: 12px; }
  body[data-page="products"] .enrichment-result-actions button { min-width: 0; flex: 1; font-size: 10px; }
  body[data-page="products"] .enrichment-result-actions button:last-child { min-width: 0; flex: 1.5; }
}
