/* SearchMarket cabinet production bundle. Generated by tools/build-cabinet-css.ps1. */

@font-face {
  font-family: "Manrope";
  src: url("./fonts/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  src: url("./fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --sm-ink: #151319;
  --sm-text: #403c46;
  --sm-muted: #746f7b;
  --sm-faint: #f6f5f8;
  --sm-surface: #faf9fb;
  --sm-surface-strong: #f1eff4;
  --sm-nav: #121116;
  --sm-nav-hover: #211e27;
  --sm-violet: #6849cd;
  --sm-violet-soft: #f0ebfa;
  --sm-green: #0b7258;
  --sm-green-soft: #e8f3ef;
  --sm-blue: #2f7199;
  --sm-amber: #a26722;
  --sm-red: #aa4c57;
  --sm-font: "Manrope", "Segoe UI", Arial, sans-serif;
}

html,
body.cabinet-v7 {
  min-height: 100%;
  margin: 0;
  background: #fff;
  color: var(--sm-ink);
  font-family: var(--sm-font);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

body.cabinet-v7 *,
body.cabinet-v7 *::before,
body.cabinet-v7 *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

body.cabinet-v7 button,
body.cabinet-v7 input,
body.cabinet-v7 select,
body.cabinet-v7 textarea {
  font: inherit;
}

body.cabinet-v7 button {
  cursor: pointer;
}

body.cabinet-v7 {
  overflow-x: hidden;
}

body.cabinet-v7.is-modal-open {
  overflow: hidden;
}

body.cabinet-v7 button:disabled {
  cursor: default;
  opacity: .42;
}

body.cabinet-v7 :where(h1, h2, h3, h4, p, dl, dd, figure) {
  margin: 0;
}

body.cabinet-v7 :where(h1, h2, h3, h4, strong, b, dt, dd) {
  font-weight: 500;
}

body.cabinet-v7 :where(p, span, small, strong, b, label, time, em, dt, dd, a, button) {
  overflow-wrap: anywhere;
}

body.cabinet-v7 .is-hidden,
body.cabinet-v7 .is-tab-hidden,
body.cabinet-v7 [hidden] {
  display: none !important;
}

/* Shell */
body.cabinet-v7 .admin-shell {
  display: grid;
  grid-template-columns: clamp(202px, 14.5vw, 232px) minmax(0, 1fr);
  min-height: 100vh;
  width: 100%;
  padding: 0;
  background: #fff;
}

body.cabinet-v7 .cabinet-sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: auto;
  height: 100vh;
  min-height: 620px;
  padding: 16px 15px 18px;
  overflow: hidden;
  background: var(--sm-nav);
  color: #f7f6f9;
}

body.cabinet-v7 .brand-mark {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 2px 8px 10px;
  color: #fff;
  text-decoration: none;
}

body.cabinet-v7 .cabinet-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
}

body.cabinet-v7 .cabinet-nav-toggle {
  display: none;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #211f27;
  color: #fff;
}

body.cabinet-v7 .cabinet-nav-toggle svg {
  width: 20px;
  height: 20px;
}

body.cabinet-v7 .brand-mark .sm-logo,
body.cabinet-v7 .brand-mark .sm-logo-header {
  display: block;
  width: max-content;
  color: #fff;
}

body.cabinet-v7 .brand-mark .sm-logo-arc {
  display: none;
}

body.cabinet-v7 .brand-mark .sm-logo-name {
  display: flex;
  gap: 4px;
  width: max-content;
  margin: 0;
  color: #fff;
  font: 500 18px/1.2 var(--sm-font);
  overflow-wrap: normal;
  white-space: nowrap;
}

body.cabinet-v7 .brand-mark .sm-logo-name span {
  overflow-wrap: normal;
  white-space: nowrap;
}

body.cabinet-v7 .brand-mark .sm-logo-name span:last-child {
  color: #9b7ff2;
}

body.cabinet-v7 .cabinet-navigation {
  display: grid;
  gap: 2px;
  padding-top: 2px;
  overflow: visible;
}

body.cabinet-v7 .cabinet-nav-group {
  display: block;
  margin: 12px 9px 4px;
  color: #817b89;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

body.cabinet-v7 .cabinet-navigation button {
  position: relative;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 41px;
  padding: 5px 10px 5px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #cbc7d0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
  transition: color .15s ease, background-color .15s ease;
}

body.cabinet-v7 .cabinet-navigation button:hover {
  background: var(--sm-nav-hover);
  color: #fff;
}

body.cabinet-v7 .cabinet-navigation button.is-active {
  background: #2a2632;
  color: #fff;
}

body.cabinet-v7 .cabinet-navigation button.is-active::before {
  position: absolute;
  left: -14px;
  width: 3px;
  height: 21px;
  border-radius: 0 2px 2px 0;
  background: #9b7ff2;
  content: "";
}

body.cabinet-v7 .cabinet-navigation button img {
  width: 30px;
  height: 30px;
  padding: 4px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .94);
  object-fit: contain;
}

body.cabinet-v7 .cabinet-navigation button[data-operation-home] img,
body.cabinet-v7 .cabinet-navigation button[data-operation-view="analytics"] img {
  background: rgba(255, 255, 255, .94);
}

body.cabinet-v7 .cabinet-navigation button[data-operation-view="orders"] img,
body.cabinet-v7 .cabinet-navigation button[data-admin-tab="products"] img,
body.cabinet-v7 .cabinet-navigation button[data-admin-tab="journal"] img {
  background: rgba(255, 255, 255, .94);
}

body.cabinet-v7 .cabinet-navigation button[data-operation-view="prices"] img,
body.cabinet-v7 .cabinet-navigation button[data-operation-view="labels"] img {
  background: rgba(255, 255, 255, .94);
}

body.cabinet-v7 .cabinet-navigation button[data-operation-view="stocks"] img {
  background: rgba(255, 255, 255, .94);
}

body.cabinet-v7 .cabinet-navigation button[data-operation-view="logistics"] img,
body.cabinet-v7 .cabinet-navigation button[data-admin-tab="connect"] img {
  background: rgba(255, 255, 255, .94);
}

body.cabinet-v7 .cabinet-account-actions {
  display: grid;
  align-items: stretch;
  justify-content: stretch;
  gap: 1px;
  margin-top: 6px;
  padding: 2px 10px 0 47px;
}

body.cabinet-v7 .cabinet-account-actions .text-action {
  display: block;
  width: auto;
  height: 28px;
  min-width: 0;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #a29daa;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  text-transform: none;
}

body.cabinet-v7 .cabinet-account-actions .text-action:hover {
  color: #fff;
}

body.cabinet-v7 .cabinet-sidebar-robot {
  position: absolute;
  right: clamp(14px, 1.8vw, 28px);
  bottom: 14px;
  z-index: 18;
  display: flex;
  width: 190px;
  height: 198px;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  pointer-events: none;
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-avatar {
  width: 88px;
  height: 92px;
  opacity: .9;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .24));
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-clouds {
  position: absolute;
  right: auto;
  bottom: 94px;
  left: 50%;
  width: 178px;
  min-height: 84px;
  transform: translateX(-50%);
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud {
  right: 0;
  bottom: 0;
  width: 178px;
  height: 84px;
  min-height: 84px;
  padding: 18px 26px 21px 20px;
  color: #fff;
  font-family: var(--sm-font);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.3;
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud-shape {
  filter: drop-shadow(0 7px 13px rgba(38, 91, 116, .1));
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud-body,
body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud-tail {
  fill: #72aec9;
  stroke: none;
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud-copy {
  max-width: 126px;
  min-height: 38px;
  max-height: 45px;
}

body.cabinet-v7 .cabinet-main,
body.cabinet-v7 .work-grid {
  min-width: 0;
  background: #fff;
}

body.cabinet-v7 .cabinet-main {
  position: relative;
}

body.cabinet-v7 .work-grid {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  padding: clamp(22px, 2vw, 32px) clamp(22px, 2.5vw, 44px) 220px;
}

body.cabinet-v7 .panel,
body.cabinet-v7 .operations-workspace,
body.cabinet-v7 .operations-content,
body.cabinet-v7 .operations-history,
body.cabinet-v7 .product-analysis,
body.cabinet-v7 .product-layout,
body.cabinet-v7 .connect-grid,
body.cabinet-v7 .connection-list {
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.cabinet-v7 .panel-titlebar,
body.cabinet-v7 .operations-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  min-height: 34px;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

body.cabinet-v7 .panel-titlebar .section-label,
body.cabinet-v7 .operations-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  color: var(--sm-ink);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.25;
  text-transform: none;
}

body.cabinet-v7 .panel-titlebar .section-label img,
body.cabinet-v7 .operations-section-title > img {
  width: 22px;
  height: 22px;
}

body.cabinet-v7 .operations-section-title > div {
  display: contents;
}

body.cabinet-v7 .operations-section-title h2 {
  color: var(--sm-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

body.cabinet-v7 .operations-section-title span {
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

body.cabinet-v7 :where(.panel-product, .panel-journal, .panel-connect) > .panel-titlebar {
  display: none;
}

/* Controls */
body.cabinet-v7 input:not([type="checkbox"]):not([type="radio"]),
body.cabinet-v7 select,
body.cabinet-v7 textarea {
  min-width: 0;
  border: 0;
  border-radius: 7px;
  outline: 0;
  background: var(--sm-faint);
  color: var(--sm-ink);
  font-size: 12.5px;
  font-weight: 400;
  box-shadow: none;
}

body.cabinet-v7 input:not([type="checkbox"]):not([type="radio"]),
body.cabinet-v7 select {
  height: 39px;
  min-height: 39px;
  padding: 0 12px;
}

body.cabinet-v7 textarea {
  min-height: 78px;
  padding: 11px 12px;
  line-height: 1.5;
  resize: vertical;
}

body.cabinet-v7 input:focus,
body.cabinet-v7 select:focus,
body.cabinet-v7 textarea:focus {
  background: #f1eff6;
  box-shadow: inset 0 0 0 1px rgba(117, 86, 214, .32), 0 0 0 3px rgba(117, 86, 214, .06);
}

body.cabinet-v7 input[type="checkbox"] {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--sm-violet);
}

body.cabinet-v7 :where(.operations-primary, .connection-action, .auth-primary,
  .operations-section-head > button, .operations-section-head > div > button,
  .operations-editor button, .operations-card-item button,
  .operations-customer-item button, .operations-logistics-flow button,
  .product-editor-actions button, .product-media-file-action) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  padding: 0 15px;
  border: 0;
  border-radius: 6px;
  background: var(--sm-ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
}

body.cabinet-v7 :where(.operations-primary, .connection-action, .auth-primary,
  .operations-section-head button, .operations-logistics-flow button):hover {
  background: #302d38;
}

body.cabinet-v7 .operations-section-head > div:last-child:not(.operations-section-title),
body.cabinet-v7 .operations-label-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* Operations */
body.cabinet-v7 .operations-workspace {
  display: block;
}

body.cabinet-v7 .operations-workspace[data-operation-view]:not([data-operation-view="overview"]) > .operations-summary,
body.cabinet-v7 .operations-workspace[data-operation-view]:not([data-operation-view="overview"]) > .operations-history {
  display: none;
}

body.cabinet-v7 .operations-summary {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(540px, 2.18fr);
  align-items: end;
  gap: 38px;
  margin: 0 0 30px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .operations-brief,
body.cabinet-v7 .operations-greeting {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.cabinet-v7 .operations-brief small,
body.cabinet-v7 .operations-greeting small {
  color: var(--sm-violet);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

body.cabinet-v7 .operations-brief strong,
body.cabinet-v7 .operations-greeting strong {
  display: block;
  margin-top: 4px;
  color: var(--sm-ink);
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 500;
  line-height: 1.2;
}

body.cabinet-v7 .operations-greeting span {
  display: block;
  max-width: 650px;
  margin-top: 5px;
  color: var(--sm-muted);
  font-size: 12px;
  line-height: 1.5;
}

body.cabinet-v7 .operations-greeting button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 11px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: var(--sm-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}

body.cabinet-v7 .operations-glance {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: clamp(18px, 2.4vw, 34px);
}

body.cabinet-v7 .operations-glance button {
  display: grid;
  align-content: end;
  gap: 2px;
  min-width: 0;
  min-height: 58px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sm-ink);
  text-align: left;
}

body.cabinet-v7 .operations-glance button span {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
}

body.cabinet-v7 .operations-glance button small {
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

body.cabinet-v7 .operations-content {
  min-width: 0;
}

body.cabinet-v7 .operations-content:empty,
body.cabinet-v7 .operations-history.is-empty {
  display: none;
}

body.cabinet-v7 .operations-section-head {
  margin-bottom: 13px;
}

body.cabinet-v7 .operations-section-head.is-actions-only {
  justify-content: flex-end;
  min-height: 0;
}

body.cabinet-v7 .operations-pulse,
body.cabinet-v7 .operations-analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin: 4px 0 32px;
}

body.cabinet-v7 .operations-analytics-grid {
  grid-template-columns: repeat(6, minmax(100px, 1fr));
}

body.cabinet-v7 .operations-pulse > div,
body.cabinet-v7 .operations-analytics-grid > span {
  display: grid;
  align-content: start;
  gap: 2px;
  min-width: 0;
}

body.cabinet-v7 .operations-pulse small,
body.cabinet-v7 .operations-analytics-grid small {
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

body.cabinet-v7 .operations-pulse strong,
body.cabinet-v7 .operations-analytics-grid strong {
  color: var(--sm-ink);
  font-size: 17px;
  font-weight: 500;
}

body.cabinet-v7 .operations-overview-detail,
body.cabinet-v7 .operations-analytics-detail,
body.cabinet-v7 .operations-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  min-width: 0;
}

body.cabinet-v7 .operations-analytics-detail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.cabinet-v7 .operations-overview-detail > section,
body.cabinet-v7 .operations-analytics-detail > section,
body.cabinet-v7 .operations-split > section {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 :where(.operations-coverage, .operations-leaders, .operations-analytics-detail) header,
body.cabinet-v7 .operations-split > section > h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  margin: 0 0 8px;
  color: var(--sm-ink);
  font-size: 12px;
  font-weight: 500;
}

body.cabinet-v7 :where(.operations-coverage, .operations-leaders) header > div {
  display: grid;
  gap: 1px;
}

body.cabinet-v7 :where(.operations-coverage, .operations-leaders) header small,
body.cabinet-v7 :where(.operations-coverage, .operations-leaders) header span,
body.cabinet-v7 .operations-analytics-detail header span {
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 400;
}

body.cabinet-v7 :where(.operations-coverage, .operations-leaders) header button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sm-violet);
  font-size: 12px;
}

body.cabinet-v7 .operations-coverage article {
  display: grid;
  grid-template-columns: minmax(130px, .85fr) minmax(80px, 1.15fr) 38px;
  align-items: center;
  gap: 9px;
  min-height: 33px;
}

body.cabinet-v7 .operations-coverage article > span {
  display: grid;
  min-width: 0;
}

body.cabinet-v7 .operations-coverage article strong,
body.cabinet-v7 .operations-leaders article strong,
body.cabinet-v7 .operations-analytics-product strong,
body.cabinet-v7 .operations-risk-product strong {
  font-size: 12px;
  font-weight: 500;
}

body.cabinet-v7 .operations-coverage article small,
body.cabinet-v7 .operations-leaders article small,
body.cabinet-v7 .operations-analytics-product small,
body.cabinet-v7 .operations-risk-product small {
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 400;
}

body.cabinet-v7 .operations-coverage article > div,
body.cabinet-v7 .operations-analytics-product > div {
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: #eeedf1;
}

body.cabinet-v7 .operations-coverage article i,
body.cabinet-v7 .operations-analytics-product i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sm-green);
}

body.cabinet-v7 .operations-coverage article b,
body.cabinet-v7 .operations-analytics-product b,
body.cabinet-v7 .operations-risk-product b {
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}

body.cabinet-v7 .operations-leaders article {
  display: grid;
  grid-template-columns: 18px 30px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  min-height: 39px;
}

body.cabinet-v7 .operations-leader-rank {
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .operations-leader-photo,
body.cabinet-v7 .operations-leader-photo img {
  display: block;
  width: 27px;
  height: 33px;
  border-radius: 4px;
  object-fit: cover;
}

body.cabinet-v7 .operations-leaders article > div {
  display: grid;
  min-width: 0;
}

body.cabinet-v7 .operations-leaders article > b,
body.cabinet-v7 .operations-leaders article > em {
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  white-space: nowrap;
}

body.cabinet-v7 .operations-leaders article > em {
  color: var(--sm-muted);
}

body.cabinet-v7 .operations-history {
  margin-top: 28px;
}

body.cabinet-v7 .operations-history .operations-section-head {
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 5px;
}

body.cabinet-v7 .operations-history .operations-section-head > h2 {
  font-size: 14.5px;
  font-weight: 500;
}

body.cabinet-v7 .operations-history .operations-section-head > span {
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .operations-history-row {
  display: grid;
  grid-template-columns: 78px minmax(170px, .8fr) minmax(150px, 1fr) 105px;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 7px 10px;
  border: 0;
  border-radius: 7px;
  background: var(--sm-surface);
  font-size: 12.5px;
}

body.cabinet-v7 .operation-status {
  color: var(--sm-green);
  font-size: 12px;
  font-weight: 500;
}

body.cabinet-v7 .operation-status.is-failed,
body.cabinet-v7 .operation-status.is-cancelled {
  color: var(--sm-red);
}

body.cabinet-v7 .operations-history-row time,
body.cabinet-v7 .operations-history-row > span:not(.operation-status),
body.cabinet-v7 .operations-history-row small {
  color: var(--sm-muted);
  font-weight: 400;
}

body.cabinet-v7 .operations-task-grid,
body.cabinet-v7 .operations-rows,
body.cabinet-v7 .operations-card-grid,
body.cabinet-v7 .operations-editor-grid {
  display: grid;
  gap: 7px;
}

body.cabinet-v7 .operations-editor-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
}

body.cabinet-v7 .operations-task-item {
  display: grid;
  grid-template-columns: 150px minmax(230px, 1.4fr) minmax(180px, .8fr) auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
  min-height: 70px;
  padding: 11px 13px;
  border: 0;
  border-radius: 8px;
  background: var(--sm-surface);
}

body.cabinet-v7 .operations-task-item:hover,
body.cabinet-v7 .operations-editor-item:hover,
body.cabinet-v7 .operations-card-item:hover,
body.cabinet-v7 .operations-row:hover {
  background: #f3f0f7;
}

body.cabinet-v7 .operations-task-item header,
body.cabinet-v7 .operations-task-product,
body.cabinet-v7 .operations-task-facts {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.cabinet-v7 .operations-task-item header {
  grid-template-columns: minmax(0, 1fr) auto;
}

body.cabinet-v7 .operations-task-item small,
body.cabinet-v7 .operations-task-item span,
body.cabinet-v7 .operations-editor-item small,
body.cabinet-v7 .operations-card-item small,
body.cabinet-v7 .operations-row time {
  color: var(--sm-muted);
  font-size: 12.25px;
  font-weight: 400;
}

body.cabinet-v7 .operations-task-item strong,
body.cabinet-v7 .operations-editor-item strong,
body.cabinet-v7 .operations-card-item strong,
body.cabinet-v7 .operations-row strong {
  font-size: 13px;
  font-weight: 500;
}

body.cabinet-v7 .operations-task-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.cabinet-v7 .operations-task-item footer {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

body.cabinet-v7 .operations-task-item footer button {
  min-height: 29px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: var(--sm-ink);
  color: #fff;
  font-size: 12px;
}

body.cabinet-v7 .operations-task-item footer button.is-danger {
  background: transparent;
  color: var(--sm-red);
}

body.cabinet-v7 .operations-product-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  align-items: end;
  gap: 8px 12px;
  margin: 3px 0 10px;
}

body.cabinet-v7 .operations-product-search-tools {
  display: block;
  min-width: 0;
}

body.cabinet-v7 .operations-product-search {
  display: grid;
  gap: 3px;
  min-width: 0;
  max-width: none;
}

body.cabinet-v7 .operations-product-search > span,
body.cabinet-v7 .operations-product-range,
body.cabinet-v7 .operations-selection-count,
body.cabinet-v7 .operations-editor-current small,
body.cabinet-v7 .operations-editor-change small {
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 400;
}

body.cabinet-v7 .operations-product-pagination {
  display: flex;
  align-items: center;
  gap: 5px;
}

body.cabinet-v7 .operations-product-pagination button,
body.cabinet-v7 .operations-product-tools > button {
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border: 0;
  border-radius: 4px;
  background: var(--sm-faint);
  color: var(--sm-text);
  font-size: 12px;
}

body.cabinet-v7 .operations-product-pagination span {
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .operations-product-pagination.is-under-products {
  justify-content: center;
  width: 100%;
  margin: 12px 0 0;
}

body.cabinet-v7 .operations-settings-line {
  display: grid;
  grid-template-columns: auto 120px 140px minmax(220px, 320px) auto;
  align-items: end;
  gap: 8px;
  max-width: 980px;
  margin-bottom: 12px;
}

body.cabinet-v7 .operations-settings-line label,
body.cabinet-v7 .operations-card-create label,
body.cabinet-v7 .operations-logistics-flow form > div,
body.cabinet-v7 .operations-editor-current,
body.cabinet-v7 .operations-editor-change {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body.cabinet-v7 .operations-settings-line label > span,
body.cabinet-v7 .operations-card-create label > span {
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .operations-switch {
  display: flex !important;
  align-items: center;
  gap: 7px !important;
  min-height: 34px;
}

body.cabinet-v7 .operations-editor-item {
  display: grid;
  grid-template-columns: 18px 36px minmax(150px, 1fr) minmax(96px, .48fr) 120px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 70px;
  padding: 11px 12px;
  border: 0;
  border-radius: 8px;
  background: var(--sm-surface);
}

body.cabinet-v7 .operations-editor-photo,
body.cabinet-v7 .operations-editor-photo img,
body.cabinet-v7 .operations-card-photo,
body.cabinet-v7 .operations-card-photo img {
  display: block;
  width: 34px;
  height: 42px;
  border-radius: 4px;
  object-fit: cover;
}

body.cabinet-v7 .operations-editor-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.cabinet-v7 .operations-editor-current em {
  color: var(--sm-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

body.cabinet-v7 .operations-value-input {
  width: 100%;
  max-width: 120px;
}

body.cabinet-v7 .operations-card-create {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .operations-card-create > summary,
body.cabinet-v7 .economics-disclosure > summary {
  width: fit-content;
  color: var(--sm-violet);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

body.cabinet-v7 .operations-card-create form {
  display: grid;
  grid-template-columns: 120px 180px minmax(180px, 1fr) 180px auto;
  align-items: end;
  gap: 8px;
  margin-top: 9px;
}

body.cabinet-v7 .operations-card-description {
  grid-column: 1 / -2;
}

body.cabinet-v7 .operations-card-item {
  display: grid;
  grid-template-columns: 38px minmax(220px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 9px 11px;
  border: 0;
  border-radius: 8px;
  background: var(--sm-surface);
}

body.cabinet-v7 .operations-card-grid {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 9px clamp(18px, 2vw, 30px);
}

body.cabinet-v7 .operations-card-item > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.cabinet-v7 .operations-card-item > div > span {
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .operations-card-item > button {
  min-height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sm-violet);
  font-size: 12px;
  font-weight: 500;
}

body.cabinet-v7 .operations-card-item > button:hover {
  background: transparent;
  color: #5d43bb;
}

body.cabinet-v7 .operations-logistics-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  margin-bottom: 24px;
}

body.cabinet-v7 .operations-logistics-flow form {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-content: start;
  gap: 7px 9px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .operations-flow-step {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--sm-violet-soft);
  color: var(--sm-violet);
  font-size: 12px;
}

body.cabinet-v7 .operations-logistics-flow form strong {
  font-size: 12.5px;
  font-weight: 500;
}

body.cabinet-v7 .operations-logistics-flow form small {
  display: none;
}

body.cabinet-v7 .operations-logistics-flow form input,
body.cabinet-v7 .operations-logistics-flow form select {
  margin-top: 4px;
}

body.cabinet-v7 .operations-logistics-flow form > button {
  grid-column: 2;
  justify-self: start;
}

body.cabinet-v7 .operations-compact-row,
body.cabinet-v7 .operations-analytics-product,
body.cabinet-v7 .operations-risk-product,
body.cabinet-v7 .operations-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 4px 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .operations-analytics-product {
  grid-template-columns: minmax(110px, .9fr) minmax(60px, 1fr) auto;
}

body.cabinet-v7 .operations-compact-row > div,
body.cabinet-v7 .operations-analytics-product > span,
body.cabinet-v7 .operations-risk-product > span {
  display: grid;
  min-width: 0;
}

body.cabinet-v7 .operations-row {
  grid-template-columns: 18px 130px minmax(0, 1fr) 105px;
  padding: 8px 10px;
  border-radius: 7px;
  background: var(--sm-surface);
}

body.cabinet-v7 .operations-analytics-grid.is-catalog-only {
  grid-template-columns: repeat(4, minmax(150px, 1fr));
}

body.cabinet-v7 .operations-analytics-detail.is-no-sales {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(430px, 1.28fr);
  gap: 28px;
  align-items: start;
}

body.cabinet-v7 .operations-data-coverage {
  min-width: 0;
}

body.cabinet-v7 .operations-data-coverage > div {
  display: grid;
  gap: 13px;
  margin-top: 16px;
}

body.cabinet-v7 .operations-data-coverage article {
  display: grid;
  grid-template-columns: minmax(120px, .7fr) minmax(120px, 1fr) 42px;
  align-items: center;
  gap: 12px;
}

body.cabinet-v7 .operations-data-coverage article > span {
  display: grid;
  gap: 2px;
}

body.cabinet-v7 .operations-data-coverage article small,
body.cabinet-v7 .operations-data-coverage article em {
  color: var(--sm-muted);
  font-size: 11.75px;
  font-style: normal;
  font-weight: 400;
}

body.cabinet-v7 .operations-data-coverage article > i {
  height: 3px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--sm-control);
}

body.cabinet-v7 .operations-data-coverage article > i > b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sm-green);
}

body.cabinet-v7 .operations-data-coverage article > em {
  text-align: right;
}

body.cabinet-v7 .operations-stock-attention {
  min-width: 0;
}

body.cabinet-v7 :where(
  .product-photo-link,
  .operations-editor-photo,
  .operations-card-photo,
  .operations-label-photo,
  .operations-leader-photo,
  .market-audit-product-photo,
  .product-editor-current-photo
) {
  position: relative;
}

body.cabinet-v7 :where(
  .product-photo-link,
  .operations-editor-photo,
  .operations-card-photo,
  .operations-label-photo,
  .operations-leader-photo,
  .market-audit-product-photo,
  .product-editor-current-photo
).is-unavailable::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  content: "Фото";
  border-radius: inherit;
  background: var(--sm-faint);
  color: var(--sm-muted);
  font-size: 10px;
  font-weight: 500;
}

body.cabinet-v7 img[hidden] {
  display: none !important;
}

body.cabinet-v7 .operations-customer-split {
  align-items: start;
}

body.cabinet-v7 .operations-customer-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 10px;
  padding: 8px 0 12px;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .operations-customer-item header,
body.cabinet-v7 .operations-customer-item p {
  grid-column: 1 / -1;
}

body.cabinet-v7 .operations-customer-item header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}

body.cabinet-v7 .operations-customer-item header span {
  color: var(--sm-amber);
}

body.cabinet-v7 .operations-customer-item p,
body.cabinet-v7 .operations-inline-empty,
body.cabinet-v7 .operations-empty span {
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

body.cabinet-v7 .operations-customer-item textarea {
  min-height: 62px;
}

body.cabinet-v7 .operations-empty,
body.cabinet-v7 .work-state,
body.cabinet-v7 .empty-state {
  display: grid;
  gap: 4px;
  min-height: 72px;
  align-content: center;
  padding: 8px 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .operations-empty strong,
body.cabinet-v7 .work-state strong,
body.cabinet-v7 .empty-state strong {
  font-size: 12px;
  font-weight: 500;
}

/* Products */
body.cabinet-v7 .work-grid[data-active-tab="products"] {
  display: grid;
  grid-template-columns: clamp(294px, 20vw, 362px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(22px, 2vw, 34px);
  overflow: hidden;
  padding-top: clamp(16px, 1.4vw, 22px);
}

body.cabinet-v7 .work-grid[data-active-tab="products"] .panel-product {
  position: sticky;
  top: 18px;
  min-width: 0;
}

body.cabinet-v7 .work-grid[data-active-tab="products"] .panel-head {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .filter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

body.cabinet-v7 .filter-row .product-report-open {
  grid-column: 1 / -1;
  justify-self: start;
}

body.cabinet-v7 .product-report-open {
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sm-violet);
  font-size: 12.5px;
  font-weight: 500;
}

body.cabinet-v7 .mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 15px;
  min-width: 0;
  padding: 6px 0 2px;
  overflow: visible;
}

body.cabinet-v7 .mode-chip {
  flex: 0 0 auto;
  min-height: 26px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sm-muted);
  font-size: 12.5px;
  font-weight: 400;
}

body.cabinet-v7 .mode-chip.is-active {
  color: var(--sm-violet);
  font-weight: 500;
}

body.cabinet-v7 .product-layout {
  max-height: calc(100vh - 220px);
  padding: 0;
  overflow-y: auto;
  scrollbar-color: #d9d6df transparent;
}

body.cabinet-v7 .product-catalog {
  display: grid;
  gap: 6px;
}

body.cabinet-v7 .product-stream-item {
  min-width: 0;
  min-height: 0;
  padding: 12px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: var(--sm-ink);
  box-shadow: none;
  cursor: pointer;
}

body.cabinet-v7 .product-stream-item:hover {
  background: var(--sm-surface);
}

body.cabinet-v7 .product-stream-item.is-active {
  background: var(--sm-violet-soft);
}

body.cabinet-v7 .product-item-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

body.cabinet-v7 .product-item-photo,
body.cabinet-v7 .product-item-photo .product-photo-link,
body.cabinet-v7 .product-item-photo img {
  display: block;
  width: 42px;
  height: 52px;
  border: 0;
  border-radius: 4px;
  object-fit: cover;
  overflow: hidden;
}

body.cabinet-v7 .product-item-copy,
body.cabinet-v7 .product-item-market {
  display: grid;
  gap: 1px;
  min-width: 0;
}

body.cabinet-v7 .product-item-copy strong {
  display: block;
  overflow: visible;
  color: inherit;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.38;
  overflow-wrap: anywhere;
}

body.cabinet-v7 .product-item-copy small,
body.cabinet-v7 .product-item-market em,
body.cabinet-v7 .product-item-facts small {
  color: var(--sm-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

body.cabinet-v7 .product-item-market {
  justify-items: end;
  text-align: right;
}

body.cabinet-v7 .product-item-market .marketplace-label {
  color: var(--sm-violet);
  font-size: 12px;
  font-weight: 500;
}

body.cabinet-v7 .product-item-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 0 52px;
}

body.cabinet-v7 .product-item-facts.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.cabinet-v7 .product-item-facts span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

body.cabinet-v7 .product-item-facts strong {
  overflow: hidden;
  color: var(--sm-text);
  font-size: 12.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cabinet-v7 .product-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 7px;
}

body.cabinet-v7 .product-pagination button,
body.cabinet-v7 .product-page-gap {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .product-pagination button.is-active {
  background: var(--sm-ink);
  color: #fff;
}

body.cabinet-v7 .product-analysis {
  min-width: 0;
  container-name: product-analysis;
  container-type: inline-size;
}

body.cabinet-v7 .product-analysis-head {
  display: grid;
  grid-template-areas:
    "product price"
    "facts facts";
  grid-template-columns: minmax(0, 1fr) minmax(190px, 230px);
  align-items: center;
  gap: 20px 30px;
  min-width: 0;
  margin: 0 0 20px;
  padding: 18px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--sm-surface);
}

body.cabinet-v7 .selected-product-main {
  grid-area: product;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0;
}

body.cabinet-v7 .selected-product-photo,
body.cabinet-v7 .selected-product-photo .product-photo-link,
body.cabinet-v7 .selected-product-photo img {
  display: block;
  width: 44px;
  height: 54px;
  border: 0;
  border-radius: 5px;
  object-fit: cover;
  overflow: hidden;
}

body.cabinet-v7 .selected-product-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.cabinet-v7 .selected-product-copy small,
body.cabinet-v7 .selected-product-copy em {
  color: var(--sm-muted);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 400;
}

body.cabinet-v7 .selected-product-copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--sm-ink);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.cabinet-v7 .selected-product-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 12px;
  margin-left: 55px;
}

body.cabinet-v7 .selected-product-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sm-violet);
  font-size: 12.5px;
  font-weight: 500;
}

body.cabinet-v7 .selected-product-actions svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

body.cabinet-v7 .selected-product-facts {
  grid-area: facts;
  display: grid;
  grid-template-columns: repeat(6, minmax(54px, 1fr));
  gap: 18px;
  min-width: 0;
  padding: 0;
}

body.cabinet-v7 .selected-product-facts > div {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .selected-product-facts dt {
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 400;
}

body.cabinet-v7 .selected-product-facts dd {
  overflow: hidden;
  color: var(--sm-ink);
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cabinet-v7 .selected-product-recommendation {
  grid-area: price;
  display: grid;
  align-content: center;
  gap: 2px;
  min-height: 76px;
  padding: 14px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--sm-green-soft);
  color: var(--sm-green);
}

body.cabinet-v7 .selected-product-recommendation span,
body.cabinet-v7 .selected-product-recommendation small {
  font-size: 12px;
  font-weight: 400;
}

body.cabinet-v7 .selected-product-recommendation strong {
  font-size: 18px;
  font-weight: 500;
}

body.cabinet-v7 .selected-product-recommendation.is-error {
  background: #faefef;
  color: var(--sm-red);
}

body.cabinet-v7 .product-analysis-layout {
  display: grid;
  grid-template-columns: minmax(340px, .9fr) minmax(430px, 1.1fr);
  align-items: start;
  gap: clamp(18px, 1.8vw, 28px);
  min-width: 0;
}

body.cabinet-v7 .panel-decision,
body.cabinet-v7 .panel-competitors {
  min-width: 0;
  padding: 20px;
  border-radius: 8px;
  background: var(--sm-surface);
}

body.cabinet-v7 .decision-focus,
body.cabinet-v7 .competitor-grid {
  min-width: 0;
}

body.cabinet-v7 .decision-hero,
body.cabinet-v7 .decision-empty,
body.cabinet-v7 .decision-evidence,
body.cabinet-v7 .decision-action-section,
body.cabinet-v7 .decision-evidence-grid article,
body.cabinet-v7 .decision-actions article {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.cabinet-v7 .decision-hero {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 17px 18px;
  border-radius: 8px;
  background: var(--sm-green-soft);
}

body.cabinet-v7 .decision-source-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 7px;
  color: var(--sm-muted);
  font-size: 12.5px;
}

body.cabinet-v7 .decision-hero > strong {
  color: var(--sm-ink);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.6;
}

body.cabinet-v7 .decision-evidence,
body.cabinet-v7 .decision-action-section {
  margin-top: 16px;
}

body.cabinet-v7 .decision-evidence h3,
body.cabinet-v7 .decision-action-section h3 {
  margin-bottom: 8px;
  color: var(--sm-muted);
  font-size: 12.5px;
  font-weight: 500;
}

body.cabinet-v7 .decision-evidence-grid,
body.cabinet-v7 .decision-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}

body.cabinet-v7 .decision-evidence-grid article,
body.cabinet-v7 .decision-actions article {
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
}

body.cabinet-v7 .decision-actions article {
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: 8px;
}

body.cabinet-v7 .decision-evidence-grid span,
body.cabinet-v7 .decision-actions span {
  color: var(--sm-muted);
  font-size: 12.5px;
}

body.cabinet-v7 .decision-evidence-grid strong,
body.cabinet-v7 .decision-actions strong {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.52;
}

body.cabinet-v7 .decision-actions strong {
  grid-column: 2;
}

body.cabinet-v7 .decision-evidence-grid p {
  color: var(--sm-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

body.cabinet-v7 .economics-disclosure {
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .margin-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  margin-top: 9px;
}

body.cabinet-v7 .margin-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

body.cabinet-v7 .margin-form label {
  display: grid;
  gap: 3px;
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .margin-result {
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
  padding: 8px 0 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}

body.cabinet-v7 .margin-summary {
  display: grid;
  grid-template-columns: minmax(140px, .42fr) minmax(0, 1.58fr);
  align-items: end;
  gap: 18px;
}

body.cabinet-v7 .margin-primary {
  display: grid;
  gap: 2px;
}

body.cabinet-v7 .margin-primary span,
body.cabinet-v7 .margin-facts dt {
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 400;
}

body.cabinet-v7 .margin-primary .value {
  color: var(--sm-ink);
  font-size: 17px;
  font-weight: 500;
}

body.cabinet-v7 .margin-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

body.cabinet-v7 .margin-facts div {
  display: grid;
  gap: 2px;
}

body.cabinet-v7 .margin-facts dd {
  margin: 0;
  color: var(--sm-ink);
  font-size: 12px;
  font-weight: 500;
}

body.cabinet-v7 .competitor-browser-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .competitor-browser-head > div {
  display: flex;
  align-items: center;
  gap: 5px;
}

body.cabinet-v7 .competitor-browser-head button {
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--sm-faint);
  color: var(--sm-text);
}

body.cabinet-v7 .competitor-browser-head strong {
  font-size: 12px;
}

body.cabinet-v7 .competitor-list {
  display: grid;
  gap: 10px;
}

@container product-analysis (min-width: 1040px) {
  body.cabinet-v7 .product-analysis-head {
    grid-template-areas: "product facts price";
    grid-template-columns: minmax(260px, .8fr) minmax(470px, 1.5fr) minmax(170px, .52fr);
    gap: clamp(18px, 2cqi, 32px);
    margin-bottom: 18px;
  }

  body.cabinet-v7 .selected-product-facts {
    gap: clamp(10px, 1.25cqi, 20px);
  }

  body.cabinet-v7 .competitor-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@container product-analysis (min-width: 1380px) {
  body.cabinet-v7 .competitor-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

body.cabinet-v7 .competitor-row {
  min-width: 0;
  padding: 15px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

body.cabinet-v7 .competitor-row > header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body.cabinet-v7 .competitor-row .photo-cell,
body.cabinet-v7 .competitor-row .photo-cell .product-photo-link,
body.cabinet-v7 .competitor-row .photo-cell img {
  display: block;
  width: 40px;
  height: 48px;
  border: 0;
  border-radius: 4px;
  object-fit: cover;
  overflow: hidden;
}

body.cabinet-v7 .competitor-row .product-name-cell {
  display: grid;
  gap: 1px;
  min-width: 0;
}

body.cabinet-v7 .competitor-row .product-name-cell small {
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .competitor-row .product-name-cell strong {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
}

body.cabinet-v7 .competitor-link {
  color: var(--sm-violet);
  font-size: 12px;
  text-decoration: none;
}

body.cabinet-v7 .competitor-fact-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 7px 0;
}

body.cabinet-v7 .competitor-fact-line span {
  display: grid;
  gap: 1px;
}

body.cabinet-v7 .competitor-fact-line small,
body.cabinet-v7 .competitor-points > span,
body.cabinet-v7 .competitor-facts > span {
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .competitor-fact-line strong {
  font-size: 12.5px;
  font-weight: 500;
}

body.cabinet-v7 .competitor-balance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body.cabinet-v7 .competitor-points,
body.cabinet-v7 .competitor-facts {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .competitor-points ul {
  margin: 5px 0 0;
  padding-left: 14px;
}

body.cabinet-v7 .competitor-points li,
body.cabinet-v7 .competitor-points p,
body.cabinet-v7 .competitor-facts p {
  color: var(--sm-text);
  font-size: 12px;
  line-height: 1.45;
}

body.cabinet-v7 .competitor-points p strong,
body.cabinet-v7 .competitor-points p small {
  display: block;
  font-size: 12px;
  font-weight: 400;
}

body.cabinet-v7 .competitor-points p small {
  margin-top: 2px;
  color: var(--sm-muted);
}

/* Market analysis */
body.cabinet-v7 .panel-journal,
body.cabinet-v7 .panel-connect {
  width: 100%;
  min-width: 0;
  padding: 0;
}

body.cabinet-v7 .journal-toolbar {
  width: min(880px, 100%);
  margin: 0 0 24px;
}

body.cabinet-v7 .journal-toolbar input {
  width: 100%;
}

body.cabinet-v7 .market-audit-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 18px 34px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .market-audit-summary > span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .market-audit-summary small {
  color: var(--sm-muted);
  font-size: 12.5px;
}

body.cabinet-v7 .market-audit-summary strong {
  color: var(--sm-ink);
  font-size: 15px;
  font-weight: 500;
}

body.cabinet-v7 .market-audit-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

body.cabinet-v7 .market-audit-row {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(430px, 1.78fr) 104px;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: clamp(16px, 1.8vw, 28px);
  row-gap: 10px;
  min-width: 0;
  padding: 16px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--sm-surface);
  box-shadow: none;
}

@media (min-width: 1200px) {
  body.cabinet-v7 .market-audit-row:nth-last-child(-n + 2) {
    padding-right: 194px;
  }
}

body.cabinet-v7 .market-audit-row:hover {
  background: #f3f0f7;
}

body.cabinet-v7 .market-audit-row:nth-child(even) {
  background: var(--sm-surface);
}

body.cabinet-v7 .market-audit-product {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-width: 0;
  grid-column: 1;
  grid-row: 1 / 3;
}

body.cabinet-v7 .market-audit-product-photo,
body.cabinet-v7 .market-audit-product-photo img {
  display: grid;
  place-items: center;
  width: 42px;
  height: 54px;
  border: 0;
  border-radius: 6px;
  background: var(--sm-faint);
  color: var(--sm-violet);
  font-size: 12px;
  object-fit: cover;
  overflow: hidden;
}

body.cabinet-v7 .market-audit-product-copy,
body.cabinet-v7 .market-audit-done,
body.cabinet-v7 .market-audit-basis,
body.cabinet-v7 .market-audit-result,
body.cabinet-v7 .market-audit-meta {
  display: grid;
  align-content: start;
  gap: 2px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .market-audit-result {
  grid-column: 2;
  grid-row: 1;
}

body.cabinet-v7 .market-audit-done {
  grid-column: 2;
  grid-row: 2;
  width: 44%;
}

body.cabinet-v7 .market-audit-basis {
  grid-column: 2;
  grid-row: 2;
  width: 52%;
  justify-self: end;
}

body.cabinet-v7 .market-audit-product-copy small,
body.cabinet-v7 .market-audit-label,
body.cabinet-v7 .market-audit-meta time {
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 400;
}

body.cabinet-v7 .market-audit-product-copy strong,
body.cabinet-v7 .market-audit-done strong,
body.cabinet-v7 .market-audit-basis strong,
body.cabinet-v7 .market-audit-result strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--sm-ink);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

body.cabinet-v7 .market-audit-done span,
body.cabinet-v7 .market-audit-result span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--sm-muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.cabinet-v7 .market-audit-meta {
  grid-column: 3;
  grid-row: 1 / 3;
  justify-items: end;
  text-align: right;
}

body.cabinet-v7 .market-audit-more {
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sm-violet);
  font-size: 12.5px;
  font-weight: 500;
}

/* Connections */
body.cabinet-v7 .connect-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  max-width: none;
  margin-top: 22px;
}

body.cabinet-v7 .connection-status {
  display: grid;
  grid-template-columns: max-content max-content minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3.4vw, 50px);
  max-width: none;
  margin: 2px 0 0;
  padding: 16px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--sm-surface);
}

body.cabinet-v7 .connection-status > span {
  display: grid;
  align-content: start;
  gap: 3px;
  min-width: 0;
}

body.cabinet-v7 .connection-status > span small {
  color: var(--sm-muted);
  font-size: 12px;
  line-height: 1.25;
}

body.cabinet-v7 .connection-status > span strong {
  color: var(--sm-ink);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
}

body.cabinet-v7 .connection-status-data strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cabinet-v7 .connection-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  align-items: stretch;
  gap: 18px;
}

body.cabinet-v7 .connection-row {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand state"
    "fields fields"
    "action action";
  align-content: start;
  align-items: center;
  column-gap: 14px;
  row-gap: 16px;
  min-width: 0;
  min-height: 0;
  padding: 20px 22px;
  border: 0;
  border-radius: 8px;
  background: var(--sm-surface);
  box-shadow: none;
}

body.cabinet-v7 .connection-row:hover {
  background: #f4f1f7;
}

body.cabinet-v7 .connection-marketplace-lockup {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body.cabinet-v7 .connection-marketplace-symbol {
  width: 30px;
  height: 30px;
}

body.cabinet-v7 .connection-marketplace-word {
  width: 122px;
  max-height: 26px;
}

body.cabinet-v7 .connection-marketplace-logo-yandex {
  grid-area: brand;
  width: 150px;
  max-height: 30px;
  object-fit: contain;
  object-position: left center;
}

body.cabinet-v7 .connection-row-state {
  grid-area: state;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 7px;
  color: var(--sm-muted);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

body.cabinet-v7 .connection-row-state::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b5b1bb;
  content: "";
  flex: 0 0 auto;
}

body.cabinet-v7 .connection-row-state.is-connected {
  color: var(--sm-green);
}

body.cabinet-v7 .connection-row-state.is-connected::before {
  background: var(--sm-green);
}

body.cabinet-v7 .connection-key,
body.cabinet-v7 .connection-key-yandex,
body.cabinet-v7 .notification-fields {
  grid-area: fields;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  min-width: 0;
}

body.cabinet-v7 .connection-key-wb {
  grid-template-columns: 1fr;
}

body.cabinet-v7 .connection-key-yandex > input:first-child {
  grid-column: 1 / -1;
}

body.cabinet-v7 .product-subworkspace {
  display: none;
  min-width: 0;
}

body.cabinet-v7 .product-subworkspace.is-product-subworkspace-active {
  display: block;
}

body.cabinet-v7 .is-product-view-hidden {
  display: none !important;
}

body.cabinet-v7 .connection-action {
  grid-area: action;
  justify-self: start;
  align-self: end;
  margin-top: auto;
}

body.cabinet-v7 .notification-row {
  display: grid;
  grid-template-columns: minmax(170px, .34fr) minmax(0, 1.66fr);
  align-items: end;
  gap: 22px;
  min-width: 0;
  margin-top: 0;
  padding: 18px 22px;
  border: 0;
  border-radius: 8px;
  background: #f5f8fb;
}

body.cabinet-v7 .connection-copy {
  display: grid;
  gap: 2px;
}

body.cabinet-v7 .connection-copy strong {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.3;
}

body.cabinet-v7 .connection-copy small {
  color: var(--sm-muted);
  font-size: 12px;
  line-height: 1.4;
}

body.cabinet-v7 .notification-fields {
  grid-area: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

/* Overlays and editors */
body.cabinet-v7 .access-view,
body.cabinet-v7 .photo-viewer,
body.cabinet-v7 .report-modal,
body.cabinet-v7 .product-editor {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(17, 15, 22, .38);
  backdrop-filter: blur(10px);
}

body.cabinet-v7 .access-view.is-visible,
body.cabinet-v7 .access-view[aria-hidden="false"],
body.cabinet-v7 .photo-viewer.is-visible,
body.cabinet-v7 .report-modal.is-visible,
body.cabinet-v7 .product-editor.is-visible,
body.cabinet-v7 .product-editor[aria-hidden="false"] {
  display: grid;
}

body.cabinet-v7 .access-panel,
body.cabinet-v7 .report-panel,
body.cabinet-v7 .product-editor-panel,
body.cabinet-v7 .photo-viewer figure {
  position: relative;
  width: min(100%, 920px);
  max-height: calc(100vh - 44px);
  padding: 24px;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(18, 15, 25, .22);
}

body.cabinet-v7 .access-panel {
  width: min(100%, 420px);
  padding: 28px;
}

body.cabinet-v7 .report-panel {
  width: min(100%, 820px);
}

body.cabinet-v7 .product-editor-panel {
  width: min(100%, 980px);
}

body.cabinet-v7 .access-close,
body.cabinet-v7 .drawer-close,
body.cabinet-v7 .product-editor-close,
body.cabinet-v7 .photo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sm-faint);
  color: var(--sm-text);
  font-size: 14px;
}

body.cabinet-v7 .access-close svg {
  width: 15px;
  height: 15px;
}

body.cabinet-v7 .access-wordmark {
  margin: 2px 0 22px;
  font-size: 21px;
  font-weight: 500;
}

body.cabinet-v7 .access-wordmark span:last-child {
  margin-left: 4px;
  color: var(--sm-violet);
}

body.cabinet-v7 .access-tabs,
body.cabinet-v7 .product-editor-tabs {
  display: flex;
  gap: 20px;
  margin-bottom: 22px;
  border: 0;
}

body.cabinet-v7 .access-tab,
body.cabinet-v7 .product-editor-tabs button {
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sm-muted);
  font-size: 12.5px;
  font-weight: 500;
}

body.cabinet-v7 .access-tab.is-active,
body.cabinet-v7 .product-editor-tabs button.is-active {
  color: var(--sm-violet);
}

body.cabinet-v7 .auth-form {
  display: none;
  gap: 9px;
}

body.cabinet-v7 .auth-form.is-active {
  display: grid;
}

body.cabinet-v7 .auth-form label,
body.cabinet-v7 .product-editor-field {
  display: grid;
  gap: 4px;
  color: var(--sm-muted);
  font-size: 12.5px;
}

body.cabinet-v7 .form-note {
  color: var(--sm-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

body.cabinet-v7 .auth-inline-status {
  margin: 1px 0 0;
  color: #a13d45;
  font: 500 12px/1.4 var(--sm-sans);
}

body.cabinet-v7 .auth-inline-status[data-kind="success"] {
  color: var(--sm-accent);
}

body.cabinet-v7 .auth-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 5px;
}

body.cabinet-v7 .product-editor-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 28px;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
  padding-right: 34px;
}

body.cabinet-v7 .product-editor-head small {
  color: var(--sm-violet);
  font-size: 12px;
}

body.cabinet-v7 .product-editor-head h2 {
  margin-top: 2px;
  font-size: 20px;
  font-weight: 500;
}

body.cabinet-v7 .product-editor-state {
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .product-editor-close {
  top: 0;
  right: 0;
}

body.cabinet-v7 .product-editor-view {
  display: none;
}

body.cabinet-v7 .product-editor-view.is-active {
  display: block;
}

body.cabinet-v7 .product-editor-identity-wrap {
  margin-bottom: 12px;
}

body.cabinet-v7 .product-editor-identity {
  display: flex;
  align-items: center;
  gap: 9px;
}

body.cabinet-v7 .product-editor-identity-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.cabinet-v7 .product-editor-identity-copy strong {
  color: var(--sm-ink);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

body.cabinet-v7 .product-editor-identity-copy small {
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.35;
}

body.cabinet-v7 .product-editor-thumb,
body.cabinet-v7 .product-editor-thumb img {
  display: block;
  width: 38px;
  height: 46px;
  border-radius: 4px;
  object-fit: cover;
}

body.cabinet-v7 .product-editor-integration {
  margin-top: 5px;
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .product-editor .product-editor-field {
  gap: 4px;
  color: var(--sm-muted);
  font-size: 12px;
  line-height: 1.3;
}

body.cabinet-v7 .product-editor-field > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

body.cabinet-v7 .product-editor-field em {
  color: var(--sm-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
}

body.cabinet-v7 .product-editor-details-grid {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(320px, 1.2fr);
  align-items: start;
  gap: 24px;
}

body.cabinet-v7 .product-editor-primary-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  align-self: start;
  gap: 8px;
}

body.cabinet-v7 .product-editor-field-wide,
body.cabinet-v7 .product-editor-price-fields,
body.cabinet-v7 .product-editor-primary-fields > textarea {
  grid-column: 1 / -1;
}

body.cabinet-v7 .product-editor-price-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.cabinet-v7 #productEditorRegionPrice {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--sm-muted);
  font-size: 12px !important;
  line-height: 1.4;
}

body.cabinet-v7 #productEditorDescription {
  height: 112px;
  min-height: 96px;
}

body.cabinet-v7 .product-editor-characteristics > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

body.cabinet-v7 .product-editor-characteristics > header strong {
  color: var(--sm-ink);
  font-size: 13px;
  font-weight: 500;
}

body.cabinet-v7 .product-editor-characteristics > header span {
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .product-editor-characteristics > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 7px 8px;
}

body.cabinet-v7 .product-editor-characteristics h3,
body.cabinet-v7 .product-editor-view-head h3 {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
}

body.cabinet-v7 .product-editor-characteristic {
  display: grid;
  gap: 3px;
  color: var(--sm-muted);
  font-size: 12px;
  line-height: 1.3;
}

body.cabinet-v7 .product-editor-view-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

body.cabinet-v7 .product-editor-view-head > div {
  display: grid;
  gap: 2px;
}

body.cabinet-v7 .product-editor-view-head strong {
  color: var(--sm-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

body.cabinet-v7 .product-editor-view-head span {
  color: var(--sm-muted);
  font-size: 12px;
  line-height: 1.4;
}

body.cabinet-v7 .product-editor-media-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
}

body.cabinet-v7 .product-editor-media-item {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 5px;
  background: var(--sm-faint);
}

body.cabinet-v7 .product-editor-media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.cabinet-v7 .product-editor-media-item button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: rgba(23, 22, 28, .72);
  color: #fff;
}

body.cabinet-v7 .product-editor-media-url {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px;
  margin-top: 9px;
}

body.cabinet-v7 .product-editor-media-empty,
body.cabinet-v7 .product-editor-characteristics-empty,
body.cabinet-v7 .product-editor-reviews-empty,
body.cabinet-v7 .product-editor-review-locked {
  color: var(--sm-muted);
  font-size: 12px;
  line-height: 1.45;
}

body.cabinet-v7 .product-editor-reviews {
  display: grid;
  gap: 13px;
}

body.cabinet-v7 .product-editor.is-review-mode .product-editor-panel {
  width: min(100%, 900px);
}

body.cabinet-v7 .product-editor.is-review-mode .product-editor-actions #saveProductDraft,
body.cabinet-v7 .product-editor.is-review-mode .product-editor-actions #publishProductDraft {
  display: none;
}

body.cabinet-v7 .product-editor-review-trend,
body.cabinet-v7 .decision-review-trend {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 20px;
  margin: 1px 0 5px;
  padding: 0;
  border: 0;
  background: #fff;
}

body.cabinet-v7 .product-editor-review-trend > div,
body.cabinet-v7 .decision-review-trend > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body.cabinet-v7 .product-editor-review-trend strong,
body.cabinet-v7 .decision-review-trend strong {
  color: var(--sm-ink);
  font-size: 12.5px;
  font-weight: 500;
}

body.cabinet-v7 .product-editor-review-trend p,
body.cabinet-v7 .decision-review-trend p {
  margin: 0;
  color: var(--sm-text);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.52;
}

body.cabinet-v7 .product-editor-review-trend a,
body.cabinet-v7 .decision-review-trend a,
body.cabinet-v7 .product-editor-reviews-empty a {
  color: var(--sm-violet);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

body.cabinet-v7 .product-editor-reviews-empty {
  display: grid;
  gap: 5px;
  justify-items: start;
}

body.cabinet-v7 .product-editor-review-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, max-content));
  justify-content: start;
  gap: 12px 30px;
  margin-bottom: 2px;
}

body.cabinet-v7 .product-editor-review-summary > span {
  display: grid;
  gap: 2px;
}

body.cabinet-v7 .product-editor-review-summary small {
  color: var(--sm-muted);
  font-size: 12px;
  line-height: 1.3;
}

body.cabinet-v7 .product-editor-review-summary strong {
  color: var(--sm-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

body.cabinet-v7 .product-editor-review-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px 18px;
  margin: 2px 0 4px;
  padding: 9px 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .product-editor-review-filters label {
  display: grid;
  gap: 4px;
  min-width: 108px;
}

body.cabinet-v7 .product-editor-review-filters label > span,
body.cabinet-v7 .product-editor-review-filters > small {
  color: var(--sm-muted);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.2;
}

body.cabinet-v7 .product-editor-review-filters select {
  width: auto;
  min-width: 108px;
  height: 37px;
  padding: 0 28px 0 9px;
  border: 0;
  border-radius: 7px;
  background-color: #f5f4f6;
  color: var(--sm-ink);
  font: inherit;
  font-size: 12.5px;
}

body.cabinet-v7 .product-editor-review-filters > small {
  margin-left: auto;
  padding-bottom: 9px;
  white-space: nowrap;
}

body.cabinet-v7 .product-editor-review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

body.cabinet-v7 .product-editor-review {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 0;
  border-radius: 8px;
  background: var(--sm-surface);
}

body.cabinet-v7 .product-editor-review > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

body.cabinet-v7 .product-editor-review > header > span {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

body.cabinet-v7 .product-editor-review > header strong {
  color: var(--sm-ink);
  font-size: 12.5px;
  font-weight: 500;
}

body.cabinet-v7 .product-editor-review > header small {
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .product-editor-review > header em {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  color: #a86d18;
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

body.cabinet-v7 .product-editor-review > p,
body.cabinet-v7 .product-editor-review blockquote p {
  margin: 0;
  color: var(--sm-text);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
}

body.cabinet-v7 .product-editor-review blockquote {
  display: grid;
  gap: 3px;
  margin: 2px 0 0 22px;
  padding: 0;
  border: 0;
}

body.cabinet-v7 .product-editor-review blockquote > span {
  color: var(--sm-violet);
  font-size: 12px;
  font-weight: 500;
}

body.cabinet-v7 .product-editor-review-reply {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 7px;
}

body.cabinet-v7 .product-editor-review-reply button {
  justify-self: start;
}

body.cabinet-v7 .product-editor-review-trend {
  grid-template-columns: minmax(0, 560px) auto;
  justify-content: start;
}

body.cabinet-v7 .decision-review-trend {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 5px;
}

body.cabinet-v7 .decision-review-trend a {
  justify-self: start;
}

body.cabinet-v7 .product-editor-review-reply textarea {
  height: 68px;
  min-height: 68px;
}

body.cabinet-v7 .product-editor-review-locked {
  font-size: 12px;
  line-height: 1.4;
}

body.cabinet-v7 .product-editor-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 16px;
}

body.cabinet-v7 .market-detail-body {
  display: grid;
  gap: 13px;
  margin-top: 12px;
}

body.cabinet-v7 .market-detail-body section {
  padding: 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 .market-detail-body section > span {
  display: block;
  margin-bottom: 3px;
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .market-detail-body :where(p, strong) {
  color: var(--sm-ink);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
}

body.cabinet-v7 .photo-viewer figure {
  width: min(100%, 650px);
  text-align: center;
}

body.cabinet-v7 .photo-viewer img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
}

body.cabinet-v7 .photo-viewer figcaption {
  margin-top: 7px;
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  max-width: min(360px, calc(100vw - 36px));
  padding: 9px 12px;
  border-radius: 5px;
  background: var(--sm-nav);
  color: #fff;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .16s ease, transform .16s ease;
}

body.cabinet-v7 .toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.cabinet-v7 .report-head {
  display: grid;
  gap: 4px;
  padding-right: 34px;
}

body.cabinet-v7 .report-head > span {
  color: var(--sm-violet);
  font-size: 12px;
}

body.cabinet-v7 .report-head > strong {
  font-size: 17px;
  font-weight: 500;
}

body.cabinet-v7 .report-head > p,
body.cabinet-v7 .report-evidence-coverage,
body.cabinet-v7 .report-review-boundary {
  color: var(--sm-muted);
  font-size: 12px;
  line-height: 1.5;
}

body.cabinet-v7 .product-period-fields,
body.cabinet-v7 .report-lines,
body.cabinet-v7 .report-review-metrics,
body.cabinet-v7 .report-card-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 14px;
}

body.cabinet-v7 .product-period-fields label,
body.cabinet-v7 .report-lines > div,
body.cabinet-v7 .report-review-metrics > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .product-period-fields button,
body.cabinet-v7 .period-report-actions button,
body.cabinet-v7 .product-editor-media-url button,
body.cabinet-v7 .product-editor-review-reply button {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  background: var(--sm-ink);
  color: #fff;
  font-size: 12px;
}

body.cabinet-v7 .period-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

body.cabinet-v7 .report-date-group,
body.cabinet-v7 .report-product-group,
body.cabinet-v7 .report-evidence-section,
body.cabinet-v7 .report-dimension-row,
body.cabinet-v7 .report-own-review,
body.cabinet-v7 .report-competitor-row {
  margin-top: 12px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.cabinet-v7 :where(.report-date-group, .report-product-group, .report-competitor-row) > summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  color: var(--sm-text);
  font-size: 12px;
  cursor: pointer;
}

body.cabinet-v7 .report-dimension-grid,
body.cabinet-v7 .report-competitor-dimensions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 18px;
}

/* Typography floor for dense workspaces. */
body.cabinet-v7 .cabinet-main .work-grid :where(small, time, em, dt) {
  font-size: 12.25px !important;
  line-height: 1.45;
}

body.cabinet-v7 .cabinet-main .work-grid p {
  font-size: 13.5px !important;
}

body.cabinet-v7 .cabinet-main .work-grid label {
  font-size: 12.25px !important;
}

body.cabinet-v7 .cabinet-main .work-grid button {
  font-size: 12.5px !important;
}

body.cabinet-v7 .cabinet-main .work-grid :where(.market-audit-product-copy, .market-audit-result) strong,
body.cabinet-v7 .cabinet-main .work-grid :where(.operations-editor-item, .operations-card-item, .operations-row, .product-stream-item) strong {
  font-size: 13.5px !important;
}

body.cabinet-v7 .cabinet-main .work-grid .market-audit-result span,
body.cabinet-v7 .cabinet-main .work-grid .product-item-facts strong {
  font-size: 12.5px !important;
}

body.cabinet-v7 .work-grid[data-active-tab="products"] :where(
  .product-page-gap,
  .selected-product-recommendation span,
  .decision-source-line span,
  .decision-evidence h3,
  .decision-action-section h3,
  .economics-disclosure > summary,
  .competitor-browser-head > span,
  .competitor-browser-head strong,
  .competitor-link,
  .competitor-fact-line strong,
  .competitor-points > span,
  .competitor-points p strong,
  .competitor-points p small
) {
  font-size: 12.25px !important;
}

body.cabinet-v7 .cabinet-main .work-grid :where(
  .operations-product-range,
  .operations-selection-count,
  .operations-product-pagination span,
  .operations-coverage article b,
  .operations-leaders article > b,
  .operations-leaders article > em
) {
  font-size: 12.25px !important;
}

body.cabinet-v7 .cabinet-main .work-grid :where(
  .operations-pulse span,
  .operations-coverage header span,
  .operations-leader-rank,
  .operations-settings-line label > span,
  .operations-product-search > span,
  .operations-card-create > summary,
  .operations-card-create label > span,
  .operations-card-item > div > span,
  .operations-analytics-detail header span,
  .operations-empty span,
  .operations-flow-step,
  .connection-row-state
) {
  font-size: 12.25px !important;
  line-height: 1.4;
}

body.cabinet-v7 .cabinet-main .work-grid :where(
  .operations-analytics-product b,
  .operations-risk-product b
) {
  font-size: 13.5px !important;
  line-height: 1.35;
}

body.cabinet-v7 .product-editor :where(small, time, em, label),
body.cabinet-v7 .product-editor :where(
  .product-editor-state,
  .product-editor-integration,
  .product-editor-field,
  .product-editor-characteristic,
  .product-editor-view-head span,
  #productEditorCharacteristicsCount,
  #productEditorMessage
) {
  font-size: 12px !important;
  line-height: 1.35;
}

@media (max-width: 1320px) {
  body.cabinet-v7 .operations-summary {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.cabinet-v7 .operations-analytics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.cabinet-v7 .product-analysis-head {
    grid-template-columns: minmax(220px, 1fr) minmax(150px, 210px);
  }

  body.cabinet-v7 .selected-product-recommendation {
    grid-area: price;
  }

  body.cabinet-v7 .market-audit-row {
    grid-template-columns: minmax(190px, .66fr) minmax(360px, 1.72fr) 78px;
    column-gap: 13px;
    row-gap: 6px;
  }

  body.cabinet-v7 .connect-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  body.cabinet-v7 .notification-row {
    width: auto;
  }

  body.cabinet-v7 .notification-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1240px) and (min-width: 921px) {
  body.cabinet-v7 .product-analysis-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 921px) and (max-height: 900px) {
  body.cabinet-v7 .cabinet-sidebar-robot {
    width: 164px;
    height: 152px;
  }

  body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-clouds {
    bottom: 68px;
    width: 150px;
    min-height: 72px;
  }

  body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-avatar {
    width: 64px;
    height: 70px;
  }

  body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud {
    width: 150px;
    height: 72px;
    min-height: 72px;
    padding: 15px 21px 18px 17px;
    font-size: 11px;
  }

  body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud-copy {
    max-width: 108px;
    min-height: 34px;
    max-height: 39px;
  }
}

@media (max-width: 1120px) {
  body.cabinet-v7 .admin-shell {
    grid-template-columns: 196px minmax(0, 1fr);
  }

  body.cabinet-v7 .operations-overview-detail,
  body.cabinet-v7 .operations-analytics-detail,
  body.cabinet-v7 .operations-split,
  body.cabinet-v7 .product-analysis-layout {
    grid-template-columns: 1fr;
  }

  body.cabinet-v7 .operations-task-item {
    grid-template-columns: 130px minmax(200px, 1fr) minmax(160px, .7fr);
  }

  body.cabinet-v7 .operations-editor-grid {
    grid-template-columns: 1fr;
  }

  body.cabinet-v7 .operations-task-item footer {
    grid-column: 1 / -1;
  }

  body.cabinet-v7 .operations-settings-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cabinet-v7 .operations-logistics-flow {
    grid-template-columns: 1fr;
  }

  body.cabinet-v7 .operations-logistics-flow form {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: center;
  }

  body.cabinet-v7 .operations-logistics-flow form > button {
    grid-column: 3;
  }

  body.cabinet-v7 .market-audit-row {
    grid-template-columns: minmax(180px, .66fr) minmax(310px, 1.68fr) 72px;
  }

  body.cabinet-v7 .market-audit-meta {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  body.cabinet-v7 .connection-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.cabinet-v7 .connect-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: none;
  }

  body.cabinet-v7 .notification-row {
    width: min(620px, 100%);
  }

  body.cabinet-v7 .notification-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Premium authentication foundation retained from v31. */
/* Premium authentication flow v31 */
body.cabinet-v7 .access-view {
  padding: 20px;
  background: rgba(244, 243, 246, .76);
  backdrop-filter: blur(18px) saturate(.82);
}

body.cabinet-v7 .access-panel {
  width: min(100%, 526px);
  max-height: calc(100dvh - 32px);
  padding: 30px 30px 28px;
  overflow: auto;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(20, 18, 24, .14), 0 8px 22px rgba(20, 18, 24, .06);
}

body.cabinet-v7 .access-close {
  top: 15px;
  right: 15px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--sm-muted);
  transition: background .18s ease, color .18s ease;
}

body.cabinet-v7 .access-close:hover {
  background: var(--sm-faint);
  color: var(--sm-ink);
}

body.cabinet-v7 .access-close svg {
  width: 16px;
  height: 16px;
}

body.cabinet-v7 .access-wordmark {
  margin: 2px 42px 28px 0;
  color: var(--sm-ink);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

body.cabinet-v7 .access-wordmark span:last-child {
  margin-left: 0;
  color: var(--sm-violet);
}

body.cabinet-v7 .access-stage {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  min-width: 0;
}

body.cabinet-v7 .access-forms {
  min-width: 0;
}

body.cabinet-v7 .access-tabs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.cabinet-v7 .access-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 0 6px 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  transition: color .18s ease;
}

body.cabinet-v7 .access-tab:hover {
  color: var(--sm-ink);
}

body.cabinet-v7 .access-tab svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  color: #97919d;
  transition: color .18s ease;
}

body.cabinet-v7 .access-tab span {
  white-space: nowrap;
}

body.cabinet-v7 .access-tab::after {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 0;
  width: 2px;
  border-radius: 1px;
  background: var(--sm-violet);
  content: "";
  opacity: 0;
  transform: scaleY(.45);
  transition: opacity .18s ease, transform .18s ease;
}

body.cabinet-v7 .access-tab.is-active {
  color: var(--sm-ink);
  background: transparent;
  box-shadow: none;
  font-weight: 500;
}

body.cabinet-v7 .access-tab.is-active svg {
  color: var(--sm-violet);
}

body.cabinet-v7 .access-tab.is-active::after {
  opacity: 1;
  transform: scaleY(1);
}

body.cabinet-v7 .auth-form,
body.cabinet-v7 .auth-form.is-active {
  gap: 0;
}

body.cabinet-v7 .auth-step {
  display: grid;
  gap: 11px;
  min-width: 0;
  animation: auth-step-in .22s ease both;
}

body.cabinet-v7 .auth-step[hidden],
body.cabinet-v7 .auth-form [hidden] {
  display: none !important;
}

body.cabinet-v7 .auth-form [data-auth-identifier][hidden] {
  display: none !important;
}

@keyframes auth-step-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

body.cabinet-v7 .auth-channel-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.cabinet-v7 .auth-channel-caption {
  grid-column: 1 / -1;
  margin: 0 0 2px;
  color: #88828e;
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1.3;
}

body.cabinet-v7 .auth-channel-switch button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 4px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--sm-muted);
  font-size: 11.5px;
  font-weight: 400;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

body.cabinet-v7 .auth-channel-switch button.is-active {
  background: transparent;
  color: var(--sm-ink);
  box-shadow: none;
}

body.cabinet-v7 .auth-channel-switch button:hover {
  background: transparent;
  color: var(--sm-ink);
}

body.cabinet-v7 .auth-channel-switch button:active {
  transform: translateY(1px);
}

body.cabinet-v7 .auth-channel-mark {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border-radius: 5px;
  background: transparent;
  color: var(--sm-muted);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

body.cabinet-v7 .auth-channel-switch button.is-active .auth-channel-mark {
  background: var(--sm-violet-soft);
  color: var(--sm-violet);
  box-shadow: none;
}

body.cabinet-v7 .auth-channel-switch img,
body.cabinet-v7 .auth-channel-switch .auth-channel-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

body.cabinet-v7 .auth-channel-switch button > span:last-child {
  white-space: nowrap;
}

body.cabinet-v7 .auth-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--sm-muted);
  font-size: 12px;
  font-weight: 400;
}

body.cabinet-v7 .auth-form label > span {
  padding-left: 1px;
}

body.cabinet-v7 .auth-form input:not([type="hidden"]) {
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  background: var(--sm-control);
  color: var(--sm-ink);
  font-size: 15px;
  font-weight: 400;
  box-shadow: none;
}

body.cabinet-v7 .auth-form input:not([type="hidden"]):focus {
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(104, 73, 205, .28), 0 0 0 4px rgba(104, 73, 205, .07);
}

body.cabinet-v7 .auth-form input::placeholder {
  color: #a0a6a9;
  opacity: 1;
}

body.cabinet-v7 .auth-form label.auth-identity-field {
  gap: 1px;
  min-height: 55px;
  padding: 7px 0 7px;
  border-radius: 0;
  background: transparent;
  box-shadow: inset 0 -1px #dcd9e1;
  transition: background .18s ease, box-shadow .18s ease;
}

body.cabinet-v7 .auth-form label.auth-identity-field:focus-within {
  background: transparent;
  box-shadow: inset 0 -2px var(--sm-violet);
}

body.cabinet-v7 .auth-form label.auth-identity-field > span {
  color: #817b87;
  font-size: 10.5px;
  line-height: 1.2;
}

body.cabinet-v7 .auth-form label.auth-identity-field input:not([type="hidden"]) {
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--sm-ink);
  font-size: 17px;
  font-weight: 400;
  box-shadow: none;
}

body.cabinet-v7 .auth-form label.auth-identity-field input:not([type="hidden"]):focus {
  background: transparent;
  box-shadow: none;
}

body.cabinet-v7 .form-note {
  margin: -2px 0 0;
  color: var(--sm-muted);
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.45;
}

body.cabinet-v7 .auth-primary.auth-request-main,
body.cabinet-v7 .auth-primary.auth-submit-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 44px;
  margin-top: 2px;
  padding: 0 14px 0 16px;
  border: 0;
  border-radius: 4px;
  background: #19171d;
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  text-align: left;
  box-shadow: none;
  transition: background .18s ease, opacity .18s ease, transform .18s ease;
}

body.cabinet-v7 .auth-button-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  transition: transform .18s ease;
}

body.cabinet-v7 .auth-primary:hover:not(:disabled) .auth-button-icon {
  transform: translateX(2px);
}

body.cabinet-v7 .auth-primary.auth-request-main:hover,
body.cabinet-v7 .auth-primary.auth-submit-main:hover:not(:disabled) {
  background: #27242d;
}

body.cabinet-v7 .auth-primary.auth-request-main:active,
body.cabinet-v7 .auth-primary.auth-submit-main:active:not(:disabled) {
  transform: translateY(1px);
}

body.cabinet-v7 .auth-primary.auth-submit-main:disabled {
  background: #dfe3e2;
  color: #9ba19f;
  opacity: 1;
}

body.cabinet-v7 .auth-code-head {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 2px;
}

body.cabinet-v7 .auth-back {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--sm-text);
}

body.cabinet-v7 .auth-back:hover {
  background: var(--sm-faint);
}

body.cabinet-v7 .auth-back svg {
  width: 18px;
  height: 18px;
}

body.cabinet-v7 .auth-code-head > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.cabinet-v7 .auth-code-head small {
  color: var(--sm-muted);
  font-size: 11.75px;
  font-weight: 400;
}

body.cabinet-v7 .auth-code-head strong {
  overflow: hidden;
  color: var(--sm-ink);
  font-size: 14px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cabinet-v7 .auth-code-field input:not([type="hidden"]) {
  height: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  letter-spacing: 0;
  box-shadow: none;
}

body.cabinet-v7 .auth-form label.auth-code-field {
  gap: 1px;
  padding: 7px 0 7px;
  border-radius: 0;
  background: transparent;
  box-shadow: inset 0 -1px #dcd9e1;
  transition: background .18s ease, box-shadow .18s ease;
}

body.cabinet-v7 .auth-form label.auth-code-field:focus-within {
  background: transparent;
  box-shadow: inset 0 -2px var(--sm-violet);
}

body.cabinet-v7 .auth-form label.auth-code-field > span {
  color: #817b88;
  font-size: 10.5px;
  line-height: 1.2;
}

body.cabinet-v7 .auth-form label.auth-code-field input:not([type="hidden"]):focus {
  background: transparent;
  box-shadow: none;
}

body.cabinet-v7 .auth-code-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
  color: var(--sm-muted);
  font-size: 12px;
}

body.cabinet-v7 .auth-code-meta > span {
  white-space: nowrap;
}

body.cabinet-v7 .auth-code-meta strong {
  color: var(--sm-text);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}

body.cabinet-v7 .auth-code-meta button {
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--sm-violet);
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}

body.cabinet-v7 .auth-code-meta button:disabled {
  color: #9ba19f;
  opacity: 1;
}

body.cabinet-v7 .auth-inline-status {
  margin: 12px 0 0;
  padding: 10px 11px;
  border: 0;
  border-radius: 6px;
  background: #fbf1f2;
  color: var(--sm-red);
  font: 400 12.25px/1.45 var(--sm-font);
}

body.cabinet-v7 .auth-inline-status[data-kind="success"] {
  background: var(--sm-green-soft);
  color: var(--sm-green);
}

body.cabinet-v7 .auth-inline-status[hidden] {
  display: none !important;
}

@media (max-width: 560px) {
  body.cabinet-v7 .access-view {
    align-items: center;
    padding: 12px;
  }

  body.cabinet-v7 .access-panel {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 24px 18px 20px;
  }

  body.cabinet-v7 .access-wordmark {
    margin-bottom: 23px;
    font-size: 21px;
  }

  body.cabinet-v7 .access-stage {
    display: block;
  }

  body.cabinet-v7 .access-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
  }

  body.cabinet-v7 .access-tab {
    min-height: 34px;
    padding: 0 0 8px;
  }

  body.cabinet-v7 .access-tab::after {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 1px;
    transform: scaleX(.45);
  }

  body.cabinet-v7 .access-tab.is-active::after {
    transform: scaleX(1);
  }

  body.cabinet-v7 .auth-channel-switch button {
    min-height: 36px;
    padding: 0 4px;
    font-size: 11.75px;
  }

  body.cabinet-v7 .auth-code-meta {
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }

  body.cabinet-v7 .auth-code-meta button {
    text-align: right;
  }
}

/* Labels workspace */
body.cabinet-v7 .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.cabinet-v7 .operations-label-source {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  margin: 0 0 18px;
  padding: 3px;
  border-radius: 9px;
  background: #f1f3f2;
}

body.cabinet-v7 .operations-label-source button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #777c79;
  font: 400 12px/1 var(--sm-font);
  white-space: nowrap;
}

body.cabinet-v7 .operations-label-source button span {
  min-width: 21px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #707572;
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
}

body.cabinet-v7 .operations-label-source button.is-active {
  background: #fff;
  color: #171a18;
  box-shadow: 0 3px 10px rgba(28, 40, 34, .08);
}

body.cabinet-v7 .operations-label-source button.is-active span {
  background: #e9f5f0;
  color: #217b5b;
}

body.cabinet-v7 .operations-label-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: clamp(22px, 2.7vw, 42px);
  width: 100%;
}

body.cabinet-v7 .operations-label-catalog {
  min-width: 0;
}

body.cabinet-v7 .operations-label-toolbar {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto auto auto;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 13px;
}

body.cabinet-v7 .operations-label-search {
  position: relative;
  min-width: 0;
}

body.cabinet-v7 .operations-label-search::before {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 12px;
  height: 12px;
  content: "";
  border: 1.4px solid #8e9490;
  border-radius: 50%;
  transform: translateY(-60%);
  pointer-events: none;
}

body.cabinet-v7 .operations-label-search::after {
  position: absolute;
  top: calc(50% + 3px);
  left: 22px;
  width: 5px;
  height: 1.4px;
  content: "";
  border-radius: 1px;
  background: #8e9490;
  transform: rotate(45deg);
  pointer-events: none;
}

body.cabinet-v7 .operations-label-search input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 34px;
  border: 0;
  border-radius: 8px;
  outline: 0;
  background: #f3f5f4;
  color: #1c201e;
  font: 400 12.5px/1 var(--sm-font);
  box-shadow: inset 0 0 0 1px transparent;
}

body.cabinet-v7 .operations-label-search input:focus {
  background: #fff;
  box-shadow: inset 0 0 0 1px #9ecab9, 0 4px 14px rgba(31, 77, 59, .08);
}

body.cabinet-v7 .operations-label-range,
body.cabinet-v7 .operations-label-selected {
  color: #858b87;
  font-size: 11.5px;
  font-weight: 400;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

body.cabinet-v7 .operations-label-selected b {
  color: #20785a;
  font-weight: 500;
}

body.cabinet-v7 .operations-label-toolbar > button {
  min-height: 31px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #26785d;
  font: 400 11.5px/1 var(--sm-font);
}

body.cabinet-v7 .operations-label-toolbar > button:hover:not(:disabled) {
  background: #edf6f2;
}

body.cabinet-v7 .operations-label-toolbar > button:disabled {
  opacity: .38;
}

body.cabinet-v7 .operations-label-products {
  display: grid;
  gap: 7px;
}

body.cabinet-v7 .operations-label-product {
  display: grid;
  grid-template-columns: 24px 48px minmax(180px, 1fr) minmax(120px, .34fr) 82px;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 7px 10px 7px 8px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 3px 16px rgba(29, 42, 35, .055);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

body.cabinet-v7 .operations-label-product:hover {
  box-shadow: 0 7px 22px rgba(29, 42, 35, .09);
  transform: translateY(-1px);
}

body.cabinet-v7 .operations-label-check {
  position: relative;
  display: grid;
  width: 24px;
  height: 32px;
  place-items: center;
  cursor: pointer;
}

body.cabinet-v7 .operations-label-check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

body.cabinet-v7 .operations-label-check span {
  display: grid;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: #eef1ef;
  box-shadow: inset 0 0 0 1px #dfe4e1;
  place-items: center;
}

body.cabinet-v7 .operations-label-check input:checked + span {
  background: #247a5d;
  box-shadow: none;
}

body.cabinet-v7 .operations-label-check input:checked + span::after {
  width: 7px;
  height: 4px;
  content: "";
  border-bottom: 1.5px solid #fff;
  border-left: 1.5px solid #fff;
  transform: translateY(-1px) rotate(-45deg);
}

body.cabinet-v7 .operations-label-check input:focus-visible + span {
  outline: 2px solid rgba(36, 122, 93, .26);
  outline-offset: 2px;
}

body.cabinet-v7 .operations-label-photo {
  display: grid;
  width: 48px;
  height: 56px;
  overflow: hidden;
  border-radius: 6px;
  background: #f1f3f2;
  color: #959a97;
  font-size: 9px;
  place-items: center;
}

body.cabinet-v7 .operations-label-photo :where(img, picture) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.cabinet-v7 .operations-label-copy,
body.cabinet-v7 .operations-label-code,
body.cabinet-v7 .operations-label-quantity {
  display: grid;
  min-width: 0;
  gap: 4px;
}

body.cabinet-v7 .operations-label-copy strong {
  overflow: hidden;
  color: #202421;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cabinet-v7 .operations-label-copy small,
body.cabinet-v7 .operations-label-code small,
body.cabinet-v7 .operations-label-quantity span {
  color: #939995;
  font-size: 10.5px;
  font-weight: 400;
  line-height: 1;
}

body.cabinet-v7 .operations-label-copy small {
  color: #7364c9;
}

body.cabinet-v7 .operations-label-code strong {
  overflow: hidden;
  color: #4d534f;
  font-size: 11.5px;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

body.cabinet-v7 .operations-label-quantity {
  justify-items: end;
}

body.cabinet-v7 .operations-label-quantity input {
  width: 58px;
  height: 30px;
  padding: 0 7px;
  border: 0;
  border-radius: 6px;
  outline: 0;
  background: #f2f4f3;
  color: #202421;
  font: 400 12px/1 var(--sm-font);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

body.cabinet-v7 .operations-label-quantity input:focus {
  background: #eaf5f0;
  box-shadow: inset 0 0 0 1px #9dcab9;
}

body.cabinet-v7 .operations-label-catalog > .operations-product-pagination {
  justify-content: center;
  margin-top: 15px;
}

body.cabinet-v7 .operations-label-preview-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(25, 39, 32, .09);
}

body.cabinet-v7 .operations-label-preview-panel > header {
  display: grid;
  gap: 3px;
}

body.cabinet-v7 .operations-label-preview-panel > header small {
  color: #8f9591;
  font-size: 10.5px;
  font-weight: 400;
  text-transform: uppercase;
}

body.cabinet-v7 .operations-label-preview-panel > header strong {
  color: #1d211f;
  font-size: 15px;
  font-weight: 500;
}

body.cabinet-v7 .operations-label-preview-list {
  display: grid;
  gap: 10px;
  max-height: 356px;
  min-height: 142px;
  overflow-y: auto;
  padding: 2px 5px 2px 1px;
  scrollbar-color: #d7ddd9 transparent;
  scrollbar-width: thin;
}

body.cabinet-v7 .operations-label-preview {
  display: grid;
  width: 100%;
  aspect-ratio: 58 / 40;
  padding: 13px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(25, 35, 30, .12);
  place-items: stretch;
}

body.cabinet-v7 .operations-label-preview[data-size="43x25"] {
  aspect-ratio: 43 / 25;
}

body.cabinet-v7 .operations-label-preview-empty,
body.cabinet-v7 .operations-label-preview-content {
  min-width: 0;
  height: 100%;
}

body.cabinet-v7 .operations-label-preview-empty[hidden],
body.cabinet-v7 .operations-label-preview-content[hidden] {
  display: none !important;
}

body.cabinet-v7 .operations-label-preview-empty {
  display: grid;
  min-height: 142px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  color: #8a908c;
  text-align: center;
}

body.cabinet-v7 .operations-label-preview-empty > span {
  width: 27px;
  height: 18px;
  margin-bottom: 4px;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, #b8bfbb 0 1px, transparent 1px 3px);
}

body.cabinet-v7 .operations-label-preview-empty strong {
  color: #656b67;
  font-size: 11.5px;
  font-weight: 500;
}

body.cabinet-v7 .operations-label-preview-empty small {
  font-size: 9.5px;
}

body.cabinet-v7 .operations-label-preview-content {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: start;
  gap: 6px;
}

body.cabinet-v7 .operations-label-preview-content > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

body.cabinet-v7 .operations-label-preview-head b {
  overflow: hidden;
  max-width: 72%;
  color: #242825;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cabinet-v7 .operations-label-preview-head time,
body.cabinet-v7 .operations-label-preview-foot :where(span, small) {
  color: #737a76;
  font-size: 8px;
  font-weight: 400;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

body.cabinet-v7 .operations-label-preview-foot span {
  overflow: hidden;
  text-overflow: ellipsis;
}

body.cabinet-v7 .operations-label-preview-content b {
  color: #242825;
  font-size: 10px;
  font-weight: 500;
}

body.cabinet-v7 .operations-label-preview-content small,
body.cabinet-v7 .operations-label-preview-content > span {
  color: #737a76;
  font-size: 8px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

body.cabinet-v7 .operations-label-preview-content > strong {
  display: -webkit-box;
  overflow: hidden;
  color: #171a18;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.cabinet-v7 .operations-label-preview-content svg {
  align-self: end;
  width: 100%;
  max-height: 43px;
}

body.cabinet-v7 .operations-label-totals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

body.cabinet-v7 .operations-label-totals > div {
  display: grid;
  gap: 3px;
  padding: 10px 11px;
  border-radius: 7px;
  background: #f4f7f5;
}

body.cabinet-v7 .operations-label-totals :where(dt, dd) {
  margin: 0;
}

body.cabinet-v7 .operations-label-totals dt,
body.cabinet-v7 .operations-label-size span {
  color: #858c88;
  font-size: 10.5px;
  font-weight: 400;
}

body.cabinet-v7 .operations-label-totals dd {
  color: #1c211e;
  font-size: 15px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

body.cabinet-v7 .operations-label-size {
  display: grid;
  gap: 5px;
}

body.cabinet-v7 .operations-label-size select,
body.cabinet-v7 .operations-label-actions select {
  width: 100%;
  height: 34px;
  padding: 0 30px 0 10px;
  border: 0;
  border-radius: 7px;
  background-color: #f1f4f2;
  color: #252a27;
  font: 400 11.5px/1 var(--sm-font);
}

body.cabinet-v7 .operations-label-print {
  width: 100%;
}

body.cabinet-v7 .operations-label-print span {
  display: inline-grid;
  min-width: 19px;
  min-height: 19px;
  margin-left: 7px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  font-size: 10px;
  place-items: center;
}

body.cabinet-v7 .operations-label-print:disabled {
  cursor: default;
  opacity: .42;
}

body.cabinet-v7 .operations-label-modebar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 15px;
  padding: 13px 15px;
  border: 0;
  border-radius: 8px;
  background: #f5f7f6;
}

body.cabinet-v7 .operations-label-modebar > span {
  color: #656c68;
  font-size: 12px;
  font-weight: 400;
}

body.cabinet-v7 .operations-label-actions label {
  display: grid;
  min-width: 150px;
  gap: 4px;
}

body.cabinet-v7 .operations-label-actions label > span {
  color: #858c88;
  font-size: 10.5px;
}

body.cabinet-v7 .operations-order-labels {
  display: grid;
  gap: 7px;
}

body.cabinet-v7 .operations-label-row {
  display: grid;
  grid-template-columns: 20px 130px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 12px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 3px 14px rgba(29, 42, 35, .05);
}

body.cabinet-v7 .operations-label-row :where(strong, span, time) {
  font-size: 11.5px;
  font-weight: 400;
}

body.cabinet-v7 .operations-label-row time {
  color: #858c88;
}

@media (max-width: 1100px) {
  body.cabinet-v7 .operations-label-workspace {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 20px;
  }

  body.cabinet-v7 .operations-label-toolbar {
    grid-template-columns: minmax(190px, 1fr) auto auto;
  }

  body.cabinet-v7 .operations-label-toolbar > button {
    grid-row: 2;
  }

  body.cabinet-v7 .operations-label-toolbar > button:last-child {
    justify-self: end;
  }

  body.cabinet-v7 .operations-label-product {
    grid-template-columns: 24px 46px minmax(150px, 1fr) 105px 70px;
    gap: 9px;
  }
}

@media (max-width: 880px) {
  body.cabinet-v7 .operations-label-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .operations-label-preview-panel {
    position: static;
    grid-template-columns: minmax(170px, 230px) 1fr 150px;
    align-items: center;
  }

  body.cabinet-v7 .operations-label-preview-panel > header {
    grid-column: 1 / -1;
  }

  body.cabinet-v7 .operations-label-preview-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 310px;
  }

  body.cabinet-v7 .operations-label-totals {
    align-self: stretch;
  }

  body.cabinet-v7 .operations-label-print {
    grid-column: 3;
  }
}

@media (max-width: 640px) {
  body.cabinet-v7 .operations-label-source {
    display: grid;
    width: 100%;
  }

  body.cabinet-v7 .operations-label-source button {
    padding: 0 7px;
    font-size: 11px;
  }

  body.cabinet-v7 .operations-label-toolbar {
    grid-template-columns: 1fr auto;
  }

  body.cabinet-v7 .operations-label-search {
    grid-column: 1 / -1;
  }

  body.cabinet-v7 .operations-label-range {
    grid-column: 1;
  }

  body.cabinet-v7 .operations-label-selected {
    grid-column: 2;
  }

  body.cabinet-v7 .operations-label-toolbar > button {
    grid-row: auto;
  }

  body.cabinet-v7 .operations-label-product {
    grid-template-columns: 22px 44px minmax(0, 1fr) 68px;
    min-height: 68px;
    padding: 6px;
  }

  body.cabinet-v7 .operations-label-photo {
    width: 44px;
    height: 54px;
  }

  body.cabinet-v7 .operations-label-code {
    display: none;
  }

  body.cabinet-v7 .operations-label-preview-panel {
    grid-template-columns: minmax(140px, 1fr) 1fr;
    padding: 14px;
  }

  body.cabinet-v7 .operations-label-preview-list {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
    max-height: 300px;
  }

  body.cabinet-v7 .operations-label-print {
    grid-column: 1 / -1;
  }

  body.cabinet-v7 .operations-label-modebar {
    align-items: stretch;
    flex-direction: column;
  }

  body.cabinet-v7 .operations-label-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.cabinet-v7 .operations-label-row {
    grid-template-columns: 20px minmax(0, 1fr) auto;
  }

  body.cabinet-v7 .operations-label-row span {
    display: none;
  }
}


/* SearchMarket cabinet v42: premium presentation layer. */
:root {
  --cabinet-ink: #101512;
  --cabinet-text: #303934;
  --cabinet-muted: #707a74;
  --cabinet-faint: #f7f9f8;
  --cabinet-surface: #f0f4f2;
  --cabinet-surface-strong: #e4ebe7;
  --cabinet-nav: #101713;
  --cabinet-nav-hover: #1c2821;
  --cabinet-green: #087158;
  --cabinet-green-dark: #055842;
  --cabinet-green-soft: #e5f3ed;
  --cabinet-violet: #7050c7;
  --cabinet-violet-soft: #f1edfa;
  --cabinet-amber: #94601e;
  --cabinet-amber-soft: #fbf2e6;
  --cabinet-red: #9b4650;
  --cabinet-red-soft: #faeff0;
  --cabinet-blue: #2e7497;
  --cabinet-blue-soft: #eaf4f8;
  --cabinet-focus: 0 0 0 3px rgba(12, 116, 89, .16);
  --cabinet-font: "Manrope", "Segoe UI", Arial, sans-serif;
}

html,
body.cabinet-v7 {
  min-height: 100%;
  background: #fff;
  color: var(--cabinet-text);
  font-family: var(--cabinet-font);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.cabinet-v7 :where(h1, h2, h3, h4, strong, b, dt, dd) {
  color: var(--cabinet-ink);
  font-weight: 540;
}

body.cabinet-v7 :where(button, input, select, textarea) {
  font: inherit;
  letter-spacing: 0;
}

body.cabinet-v7 :where(button, a, input, select, textarea):focus-visible {
  outline: 0;
  box-shadow: var(--cabinet-focus);
}

body.cabinet-v7 :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  background: #f5f7f6;
  color: var(--cabinet-ink);
  box-shadow: inset 0 0 0 1px rgba(21, 26, 23, .035);
}

body.cabinet-v7 :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea):focus {
  background: #fff;
}

/* Shell */
body.cabinet-v7 .admin-shell {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  min-height: 100dvh;
  background: #fff;
}

body.cabinet-v7 .cabinet-sidebar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 208px;
  height: 100dvh;
  padding: 17px 12px 14px;
}

body.cabinet-v7 .cabinet-sidebar-top {
  min-height: 44px;
  padding: 0 8px 10px;
}

body.cabinet-v7 .cabinet-sidebar-tools {
  display: flex;
  align-items: center;
  gap: 5px;
}

body.cabinet-v7 .cabinet-report-center {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .78);
  transition: background .16s ease, color .16s ease;
}

body.cabinet-v7 .cabinet-report-center:hover,
body.cabinet-v7 .cabinet-report-center:focus-visible,
body.cabinet-v7 .cabinet-report-center.has-unread {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}

body.cabinet-v7 .cabinet-report-center > svg {
  width: 17px;
  height: 17px;
}

body.cabinet-v7 .cabinet-report-count {
  position: absolute;
  top: -4px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: #d59a3b;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
}

body.cabinet-v7 .cabinet-report-count.is-hidden {
  display: none;
}

body.cabinet-v7 .cabinet-navigation {
  align-content: start;
  gap: 2px;
}

body.cabinet-v7 .cabinet-nav-group {
  margin: 12px 9px 4px;
  color: rgba(255, 255, 255, .46);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: none;
}

body.cabinet-v7 .cabinet-nav-group.is-work { color: #89c7b1; }
body.cabinet-v7 .cabinet-nav-group.is-control { color: #dfbd7c; }
body.cabinet-v7 .cabinet-nav-group.is-settings { color: #bba9e2; }

body.cabinet-v7 .cabinet-navigation button {
  grid-template-columns: 27px minmax(0, 1fr);
  min-height: 40px;
  padding: 4px 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: rgba(255, 255, 255, .78);
  font-size: 13.25px;
  font-weight: 400;
  transition: background .16s ease, color .16s ease;
}

body.cabinet-v7 .cabinet-navigation button img {
  width: 25px;
  height: 25px;
  padding: 3px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .96);
}

body.cabinet-v7 .cabinet-navigation button[data-operation-home] img { background: #e5f3ed; }
body.cabinet-v7 .cabinet-navigation button[data-admin-tab="products"] img { background: #f1edfa; }
body.cabinet-v7 .cabinet-navigation button[data-operation-view="orders"] img { background: #eaf4f8; }
body.cabinet-v7 .cabinet-navigation button[data-operation-view="customers"] img { background: #faeff0; }
body.cabinet-v7 .cabinet-navigation button[data-operation-view="logistics"] img { background: #e8f3ef; }
body.cabinet-v7 .cabinet-navigation button[data-operation-view="analytics"] img { background: #fbf2e6; }
body.cabinet-v7 .cabinet-navigation button[data-admin-tab="journal"] img { background: #f1edfa; }
body.cabinet-v7 .cabinet-navigation button[data-admin-tab="connect"] img { background: #edf5f2; }

body.cabinet-v7 .cabinet-navigation button:hover {
  background: var(--cabinet-nav-hover);
  color: #fff;
}

body.cabinet-v7 .cabinet-navigation button.is-active {
  background: #193129;
  color: #f7faf8;
  font-weight: 450;
  box-shadow: inset 2px 0 0 #79b99d;
}

body.cabinet-v7 .cabinet-navigation button.is-active::before {
  display: none;
}

body.cabinet-v7 .cabinet-account-actions {
  margin-top: 6px;
  padding: 5px 8px 0;
}

body.cabinet-v7 .cabinet-account-actions .text-action {
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .68);
  font-size: 12.5px;
  font-weight: 400;
}

body.cabinet-v7 .cabinet-main,
body.cabinet-v7 .work-grid {
  min-width: 0;
  background: #fff;
}

body.cabinet-v7 .cabinet-main {
  position: relative;
}

body.cabinet-v7 .work-grid {
  width: 100%;
  max-width: none;
  min-height: 100dvh;
}

body.cabinet-v7 .panel,
body.cabinet-v7 .operations-workspace,
body.cabinet-v7 .product-analysis {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.cabinet-v7 :where(small, time, dt) {
  color: var(--cabinet-muted);
  font-size: 12.75px;
  font-weight: 400;
  line-height: 1.42;
}

body.cabinet-v7 .section-label {
  color: var(--cabinet-ink);
  font-size: 17px;
  font-weight: 560;
}

/* Persistent desktop companion. */
body.cabinet-v7 .cabinet-sidebar-robot {
  position: fixed;
  visibility: visible;
  opacity: 1;
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-avatar {
  position: absolute;
  right: 0;
  bottom: 0;
  opacity: 1;
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-clouds {
  left: auto;
  transform: none;
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud {
  border-radius: 0;
  font-family: var(--sm-font);
  letter-spacing: 0;
  box-shadow: none;
  overflow: visible;
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud::before,
body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud::after {
  content: none;
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud-shape {
  display: block;
  filter: drop-shadow(0 12px 24px rgba(61, 126, 153, .16));
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud-copy {
  width: 100%;
  max-width: none;
  min-height: 0;
  max-height: none;
  text-wrap: balance;
}

/* Shared empty state */
body.cabinet-v7 .cabinet-empty-state {
  display: grid;
  align-items: center;
  width: 100%;
  border: 0;
  border-radius: 0;
  background: #fff;
  text-align: left;
}

body.cabinet-v7 .cabinet-empty-state > img {
  align-self: start;
}

body.cabinet-v7 .cabinet-empty-state > span {
  display: grid;
  min-width: 0;
}

body.cabinet-v7 .cabinet-empty-state strong {
  line-height: 1.3;
}

body.cabinet-v7 .cabinet-empty-state > button {
  grid-column: 2;
  justify-self: start;
  border: 0;
  background: var(--cabinet-ink);
  color: #fff;
}

body.cabinet-v7 .operations-task-grid:has(> .cabinet-empty-state) {
  grid-template-columns: minmax(0, 1fr);
}

body.cabinet-v7 .operations-task-grid > .cabinet-empty-state {
  width: 100%;
}

/* Stable loading composition without technical placeholder text. */
body.cabinet-v7 .cabinet-skeleton {
  position: relative;
  display: grid;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

body.cabinet-v7 .operations-summary > .cabinet-skeleton {
  grid-column: 1 / -1;
}

body.cabinet-v7 .cabinet-skeleton-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body.cabinet-v7 .cabinet-skeleton-block {
  display: block;
  min-height: 84px;
  border-radius: 7px;
  background: #edf1ef;
}

body.cabinet-v7 .cabinet-skeleton.is-summary {
  grid-template-columns: minmax(190px, 1.1fr) repeat(4, minmax(120px, 1fr));
}

body.cabinet-v7 .cabinet-skeleton.is-content,
body.cabinet-v7 .cabinet-skeleton.is-product {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.cabinet-v7 .cabinet-skeleton.is-content .cabinet-skeleton-block:nth-of-type(-n + 3),
body.cabinet-v7 .cabinet-skeleton.is-product .cabinet-skeleton-block:nth-of-type(-n + 3) {
  min-height: 112px;
}

body.cabinet-v7 .cabinet-skeleton.is-content .cabinet-skeleton-block:nth-of-type(n + 4),
body.cabinet-v7 .cabinet-skeleton.is-product .cabinet-skeleton-block:nth-of-type(n + 4) {
  min-height: 210px;
}

/* Overview */
body.cabinet-v7 .operations-workspace,
body.cabinet-v7 .operations-content {
  width: 100%;
  min-width: 0;
}

body.cabinet-v7 .operations-summary {
  display: grid;
  grid-template-columns: minmax(210px, .95fr) minmax(0, 3.05fr);
  border-radius: 7px;
}

body.cabinet-v7 .operations-brief {
  display: grid;
  align-content: center;
  min-height: 68px;
  border: 0;
  border-radius: 7px;
  background: #e5f3ed;
}

body.cabinet-v7 .operations-brief strong {
  font-size: 15px;
  line-height: 1.35;
}

body.cabinet-v7 .operations-glance {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.cabinet-v7 .operations-glance button {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 68px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--cabinet-text);
  text-align: left;
}

body.cabinet-v7 .operations-glance button span {
  color: var(--cabinet-ink);
  font-size: 19px;
  font-weight: 560;
}

body.cabinet-v7 .operations-glance button small {
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
}

body.cabinet-v7 .operations-workspace[data-operation-view="overview"] .operations-content {
  display: grid;
  min-height: calc(100dvh - 44px);
}

body.cabinet-v7 .operations-pulse {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.cabinet-v7 .operations-pulse > div {
  display: grid;
  align-content: space-between;
  min-height: 112px;
  padding: 18px 20px;
  border: 0;
  border-radius: 7px;
  background: #f5f7f6;
}

body.cabinet-v7 .operations-pulse > div:first-child {
  background: var(--cabinet-green-soft);
}

body.cabinet-v7 .operations-pulse > div:nth-child(2) {
  background: var(--cabinet-blue-soft);
}

body.cabinet-v7 .operations-pulse > div:nth-child(3) {
  background: var(--cabinet-amber-soft);
}

body.cabinet-v7 .operations-pulse small {
  font-size: 12.5px;
}

body.cabinet-v7 .operations-pulse strong {
  line-height: 1.1;
}

body.cabinet-v7 .operations-overview-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
}

body.cabinet-v7 :where(.operations-coverage, .operations-leaders) {
  min-width: 0;
  padding: 0;
  border: 0;
  background: #fff;
}

body.cabinet-v7 :where(.operations-coverage, .operations-leaders) > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

body.cabinet-v7 :where(.operations-coverage, .operations-leaders) > header strong {
  display: block;
  margin-top: 2px;
  font-size: 19px;
}

body.cabinet-v7 :where(.operations-coverage, .operations-leaders) > header button {
  min-height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cabinet-green);
  font-size: 13px;
  font-weight: 500;
}

body.cabinet-v7 .operations-coverage > div,
body.cabinet-v7 .operations-leaders > div {
  display: grid;
  gap: 7px;
}

body.cabinet-v7 .operations-coverage article {
  display: grid;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 10px 13px;
  border: 0;
  border-radius: 6px;
  background: #f6f8f7;
}

body.cabinet-v7 .operations-coverage article > span,
body.cabinet-v7 .operations-leaders article > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.cabinet-v7 .operations-coverage article strong,
body.cabinet-v7 .operations-leaders article strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cabinet-v7 .operations-coverage article > div {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--cabinet-surface-strong);
}

body.cabinet-v7 .operations-coverage article i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--cabinet-green);
}

body.cabinet-v7 .operations-coverage article b {
  font-size: 13px;
  text-align: right;
}

body.cabinet-v7 .operations-leaders article {
  display: grid;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: #f6f8f7;
}

body.cabinet-v7 .operations-leader-photo,
body.cabinet-v7 .operations-leader-photo img {
  width: 38px;
  height: 46px;
  border-radius: 4px;
  object-fit: cover;
}

body.cabinet-v7 .operations-leaders article > em {
  display: none;
}

/* Operational workspaces */
body.cabinet-v7 .operations-workspace:not([data-operation-view="overview"]) .operations-summary,
body.cabinet-v7 .operations-history {
  display: none;
}

body.cabinet-v7 .operations-workspace:not([data-operation-view="overview"]) .operations-content {
  min-height: calc(100dvh - 44px);
}

body.cabinet-v7 .operations-section-head.is-actions-only {
  display: flex;
  justify-content: flex-end;
  min-height: 42px;
  margin-bottom: 10px;
}

body.cabinet-v7 .operations-section-head button,
body.cabinet-v7 .operations-primary,
body.cabinet-v7 [data-export-operations] {
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 5px;
  background: var(--cabinet-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 540;
  box-shadow: 0 6px 18px rgba(16, 21, 18, .11);
}

body.cabinet-v7 .operations-task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 9px;
}

body.cabinet-v7 .operations-task-item,
body.cabinet-v7 .operations-customer-item {
  padding: 16px;
  border: 0;
  border-radius: 7px;
  background: #f6f8f7;
  box-shadow: none;
}

body.cabinet-v7 .operations-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

body.cabinet-v7 .operations-split > section > h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

body.cabinet-v7 .operations-logistics-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 28px;
}

body.cabinet-v7 .operations-logistics-flow form {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-content: start;
  gap: 10px;
  min-height: 174px;
  padding: 15px;
  border: 0;
  border-radius: 7px;
  background: #f6f8f7;
}

body.cabinet-v7 .operations-logistics-flow form > button {
  grid-column: 2;
  justify-self: start;
}

/* Sales and catalog analytics */
body.cabinet-v7 .operations-analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 0 0 26px;
}

body.cabinet-v7 .operations-analytics-grid > span {
  display: grid;
  align-content: space-between;
  min-height: 100px;
  padding: 16px 18px;
  border: 0;
  border-radius: 7px;
  background: #f5f7f6;
}

body.cabinet-v7 .operations-analytics-grid > span:first-child {
  background: var(--cabinet-green-soft);
}

body.cabinet-v7 .operations-analytics-grid strong {
  line-height: 1.15;
}

body.cabinet-v7 .operations-analytics-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.cabinet-v7 .operations-analytics-detail > section,
body.cabinet-v7 .operations-data-coverage,
body.cabinet-v7 .operations-stock-attention {
  min-width: 0;
  padding: 0;
  border: 0;
  background: #fff;
}

body.cabinet-v7 .operations-analytics-detail > section > header,
body.cabinet-v7 .operations-data-coverage > header,
body.cabinet-v7 .operations-stock-attention > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

body.cabinet-v7 .operations-analytics-detail > section > header strong,
body.cabinet-v7 .operations-data-coverage > header strong,
body.cabinet-v7 .operations-stock-attention > header strong {
  font-size: 17px;
}

body.cabinet-v7 .operations-analytics-product,
body.cabinet-v7 .operations-risk-product,
body.cabinet-v7 .operations-data-coverage article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(80px, .55fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 11px;
  border: 0;
  border-radius: 6px;
  background: #f6f8f7;
}

body.cabinet-v7 .operations-analytics-product {
  grid-template-columns: 38px minmax(120px, 1fr) minmax(80px, .55fr) auto;
}

body.cabinet-v7 .operations-risk-product {
  grid-template-columns: 38px minmax(0, 1fr) auto;
}

body.cabinet-v7 .operations-analytics-photo {
  display: grid;
  place-items: center;
  width: 38px;
  height: 46px;
  overflow: hidden;
  border-radius: 5px;
  background: #e9eeeb;
  color: #86928c;
  font-size: 8px;
}

body.cabinet-v7 .operations-analytics-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.cabinet-v7 .operations-analytics-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.cabinet-v7 :where(.operations-analytics-product, .operations-risk-product, .operations-data-coverage article) + :where(.operations-analytics-product, .operations-risk-product, .operations-data-coverage article) {
  margin-top: 6px;
}

body.cabinet-v7 .operations-analytics-product > span,
body.cabinet-v7 .operations-risk-product > span,
body.cabinet-v7 .operations-data-coverage article > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.cabinet-v7 .operations-analytics-product > div,
body.cabinet-v7 .operations-data-coverage article > i {
  height: 5px;
  overflow: hidden;
  border-radius: 99px;
  background: var(--cabinet-surface-strong);
}

body.cabinet-v7 .operations-analytics-product i,
body.cabinet-v7 .operations-data-coverage article b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--cabinet-green);
}

body.cabinet-v7 .operations-sales-state {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  margin: 0 0 14px;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  background: #f3f6f4;
}

body.cabinet-v7 .operations-sales-state > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--cabinet-text);
  font-size: 12px;
  font-weight: 450;
  cursor: pointer;
  list-style: none;
}

body.cabinet-v7 .operations-sales-state > summary::-webkit-details-marker {
  display: none;
}

body.cabinet-v7 .operations-sales-state > summary i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #94a09a;
}

body.cabinet-v7 .operations-sales-state > summary svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .16s ease;
}

body.cabinet-v7 .operations-sales-state[open] > summary svg {
  transform: rotate(90deg);
}

body.cabinet-v7 .operations-sales-state > div {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

body.cabinet-v7 .operations-sales-state > div strong {
  color: var(--cabinet-muted);
  font-size: 11.5px;
  font-weight: 450;
  white-space: nowrap;
}

body.cabinet-v7 .operations-sales-state > div button {
  min-height: 30px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--cabinet-green-dark);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

body.cabinet-v7 .operations-sales-state > div button:hover {
  color: var(--cabinet-green);
}

@media (max-width: 560px) {
  body.cabinet-v7 .operations-sales-state {
    grid-template-columns: minmax(112px, 1fr) auto;
    gap: 8px;
    padding: 0 9px;
  }

  body.cabinet-v7 .operations-sales-state > summary,
  body.cabinet-v7 .operations-sales-state > div strong,
  body.cabinet-v7 .operations-sales-state > div button {
    font-size: 10.5px;
  }

  body.cabinet-v7 .operations-sales-state > div {
    gap: 8px;
  }
}

/* Products master-detail */
body.cabinet-v7 .product-workspace-nav {
  display: flex;
  align-items: center;
  width: min(520px, 100%);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.cabinet-v7 .product-workspace-nav :where(button, span) {
  min-height: 38px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cabinet-muted);
  font-size: 13px;
  font-weight: 400;
}

body.cabinet-v7 .product-workspace-nav .is-active {
  background: transparent;
  color: var(--cabinet-ink);
  font-weight: 560;
}

body.cabinet-v7 .work-grid[data-active-tab="products"] {
  display: grid;
  row-gap: 14px;
}

body.cabinet-v7 .work-grid[data-active-tab="products"] .product-workspace-nav,
body.cabinet-v7 .work-grid[data-active-tab="products"] .product-subworkspace {
  grid-column: 1 / -1;
}

body.cabinet-v7 .work-grid[data-active-tab="products"] .panel-product {
  position: sticky;
  top: 14px;
  align-self: start;
  min-width: 0;
}

body.cabinet-v7 .panel-product .panel-head {
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}

body.cabinet-v7 .filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

body.cabinet-v7 .filter-row .product-report-open {
  justify-self: start;
  min-height: 29px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cabinet-green);
  font-size: 12px;
  font-weight: 500;
}

/* Prepared daily assortment report */
body.cabinet-v7 .report-modal.is-report-center .report-panel {
  max-height: calc(100dvh - 32px);
  border-radius: 8px;
}

body.cabinet-v7 .report-center-head > span {
  color: var(--cabinet-green);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

body.cabinet-v7 .report-center-head > strong {
  display: block;
  margin-top: 5px;
  color: var(--cabinet-ink);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

body.cabinet-v7 .report-center-list {
  display: grid;
}

body.cabinet-v7 .report-center-item {
  display: grid;
  align-items: center;
  min-width: 0;
  border: 0;
}

body.cabinet-v7 .report-center-date {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body.cabinet-v7 .report-center-date > span {
  color: var(--cabinet-green);
  font-size: 10px;
  font-weight: 500;
}

body.cabinet-v7 .report-center-date > strong {
  color: var(--cabinet-ink);
  font-weight: 500;
  line-height: 1.35;
}

body.cabinet-v7 .report-center-date > small {
  color: var(--cabinet-muted);
  font-size: 10.5px;
}

body.cabinet-v7 .report-center-metrics {
  display: grid;
  margin: 0;
}

body.cabinet-v7 .report-center-metrics > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.cabinet-v7 .report-center-metrics :where(dt, dd) {
  margin: 0;
}

body.cabinet-v7 .report-center-metrics dt {
  overflow: hidden;
  color: var(--cabinet-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cabinet-v7 .report-center-metrics dd {
  color: var(--cabinet-ink);
  font-weight: 500;
}

body.cabinet-v7 .report-center-item > button {
  border: 0;
  background: transparent;
  font-weight: 500;
}

body.cabinet-v7 .report-center-empty {
  padding: 32px 0;
  color: var(--cabinet-muted);
  text-align: center;
}

body.cabinet-v7 .report-modal.is-product-period-report .report-panel {
  max-height: calc(100dvh - 32px);
  border-radius: 8px;
}

body.cabinet-v7 .morning-report-head > span {
  color: var(--cabinet-green);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

body.cabinet-v7 .morning-report-head > strong {
  display: block;
  margin-top: 5px;
  color: var(--cabinet-ink);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}

body.cabinet-v7 .morning-report-head > p {
  margin: 5px 0 0;
  color: var(--cabinet-muted);
}

body.cabinet-v7 .morning-report-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.cabinet-v7 .morning-report-summary > div {
  align-content: center;
}

body.cabinet-v7 .morning-report-summary > div > strong {
  color: var(--cabinet-ink);
  font-weight: 500;
}

body.cabinet-v7 .morning-report-filters {
  display: grid;
}

body.cabinet-v7 .morning-report-filters label {
  display: grid;
  color: var(--cabinet-muted);
}

body.cabinet-v7 .morning-report-filters :where(input, select) {
  width: 100%;
  border: 0;
  border-radius: 6px;
  outline: 0;
  color: var(--cabinet-ink);
  font: inherit;
}

body.cabinet-v7 .morning-report-filters :where(input, select):focus {
  box-shadow: inset 0 0 0 2px rgba(21, 122, 83, .22);
}

body.cabinet-v7 .morning-report-result {
  display: flex;
  justify-content: space-between;
  color: var(--cabinet-muted);
}

body.cabinet-v7 .morning-report-list {
  display: grid;
}

body.cabinet-v7 .morning-report-row {
  display: grid;
  min-width: 0;
  border: 0;
}

body.cabinet-v7 .morning-report-product,
body.cabinet-v7 .morning-report-recommendation {
  display: grid;
  align-content: start;
  min-width: 0;
}

body.cabinet-v7 .morning-report-product > span,
body.cabinet-v7 .morning-report-status {
  color: var(--cabinet-green);
  font-size: 10.5px;
  font-weight: 500;
}

body.cabinet-v7 .morning-report-product > strong {
  overflow: hidden;
  color: var(--cabinet-ink);
  line-height: 1.35;
  text-overflow: ellipsis;
}

body.cabinet-v7 .morning-report-product > small {
  color: var(--cabinet-muted);
  font-size: 11px;
}

body.cabinet-v7 .morning-report-recommendation > p,
body.cabinet-v7 .morning-report-recommendation details p {
  margin: 0;
  color: var(--cabinet-ink);
  font-size: 12.5px;
  line-height: 1.48;
}

body.cabinet-v7 .morning-report-recommendation details summary {
  width: max-content;
  cursor: pointer;
}

body.cabinet-v7 .morning-report-recommendation details p {
  color: var(--cabinet-muted);
}

body.cabinet-v7 .morning-report-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 14px;
  color: var(--cabinet-muted);
  font-size: 11.5px;
}

body.cabinet-v7 .morning-report-pagination button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #edf3f0;
  color: var(--cabinet-green-dark);
}

body.cabinet-v7 .morning-report-pagination button:disabled {
  opacity: .35;
}

@media (max-width: 720px) {
  body.cabinet-v7 .report-modal.is-report-center .report-panel {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding: 20px 14px;
  }

  body.cabinet-v7 .report-center-metrics {
    grid-row: 2;
  }

  body.cabinet-v7 .report-modal.is-product-period-report .report-panel {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    padding: 20px 14px;
  }

  body.cabinet-v7 .morning-report-filters,
  body.cabinet-v7 .morning-report-row {
    grid-template-columns: 1fr;
  }
}

/* Premium recommendation reports: compact hierarchy, calm surfaces, mobile-first controls. */
body.cabinet-v7 .report-modal:is(.is-report-center, .is-product-period-report) .report-panel {
  scrollbar-gutter: stable;
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(16, 21, 18, .2);
}

body.cabinet-v7 .report-modal.is-report-center .report-panel {
  width: min(760px, calc(100vw - 32px));
  padding: 28px 30px 30px;
}

body.cabinet-v7 .report-center-head {
  max-width: 560px;
  margin-bottom: 21px;
}

body.cabinet-v7 .report-center-head > span,
body.cabinet-v7 .morning-report-head > span {
  color: var(--cabinet-green);
  font-size: 10.5px;
  font-weight: 540;
  text-transform: uppercase;
}

body.cabinet-v7 .report-center-head > strong,
body.cabinet-v7 .morning-report-head > strong {
  display: block;
  margin-top: 5px;
  font-size: 25px;
  font-weight: 540;
  line-height: 1.18;
}

body.cabinet-v7 .report-center-head > p {
  margin: 8px 0 0;
  color: var(--cabinet-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

body.cabinet-v7 .report-center-list {
  gap: 2px;
}

body.cabinet-v7 .report-center-item {
  grid-template-columns: minmax(188px, .9fr) minmax(270px, 1.25fr) 80px;
  gap: 20px;
  min-height: 82px;
  padding: 13px 12px 13px 15px;
  border-radius: 6px;
  background: #fff;
}

body.cabinet-v7 .report-center-item:hover,
body.cabinet-v7 .report-center-item:focus-within {
  background: #f7f9f8;
}

body.cabinet-v7 .report-center-item.is-unread {
  background: #f1f7f4;
  box-shadow: none;
}

body.cabinet-v7 .report-center-date > span,
body.cabinet-v7 .morning-report-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

body.cabinet-v7 .report-center-date > span i,
body.cabinet-v7 .morning-report-status i {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #9aa49f;
}

body.cabinet-v7 .report-center-item.is-unread .report-center-date > span i,
body.cabinet-v7 .morning-report-row.is-ready .morning-report-status i {
  background: var(--cabinet-green);
}

body.cabinet-v7 .report-center-date > strong {
  font-size: 13.5px;
}

body.cabinet-v7 .report-center-metrics {
  grid-template-columns: 72px 78px minmax(100px, 1fr);
  gap: 13px;
  align-items: center;
}

body.cabinet-v7 .report-center-metrics dt {
  font-size: 9.5px;
}

body.cabinet-v7 .report-center-metrics dd {
  font-size: 14px;
}

body.cabinet-v7 .report-center-coverage dt {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

body.cabinet-v7 .report-center-coverage dt b {
  font-size: 9.5px;
}

body.cabinet-v7 .report-center-coverage dd {
  position: relative;
  height: 3px;
  overflow: hidden;
  border-radius: 3px;
  background: #dce5e0;
}

body.cabinet-v7 .report-center-coverage dd span {
  display: block;
  width: var(--report-coverage, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--cabinet-green);
}

body.cabinet-v7 .report-center-item > button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  min-height: 32px;
  padding: 0 4px;
  color: var(--cabinet-green-dark);
  font-size: 11.5px;
}

body.cabinet-v7 .report-center-item > button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.cabinet-v7 .report-modal.is-product-period-report .report-panel {
  width: min(1160px, calc(100vw - 32px));
  padding: 22px 28px 28px;
}

body.cabinet-v7 .period-report-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  margin: 0 34px 18px 0;
}

body.cabinet-v7 .period-report-tools {
  display: flex;
  align-items: center;
  gap: 3px;
}

body.cabinet-v7 .period-report-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 9px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--cabinet-muted);
  font-size: 11.5px;
  font-weight: 500;
}

body.cabinet-v7 .period-report-actions button:hover {
  background: #f2f5f3;
  color: var(--cabinet-ink);
}

body.cabinet-v7 .period-report-actions .period-report-back {
  padding-left: 2px;
  color: var(--cabinet-green-dark);
}

body.cabinet-v7 .period-report-actions button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.cabinet-v7 .morning-report-head {
  max-width: 720px;
  margin: 0 0 17px;
}

body.cabinet-v7 .morning-report-head > p {
  margin-top: 6px;
  font-size: 11.5px;
}

body.cabinet-v7 .morning-report-summary {
  display: flex;
  gap: clamp(24px, 4vw, 54px);
  margin: 0 0 18px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

body.cabinet-v7 .morning-report-summary > div {
  min-height: 0;
  padding: 0;
  background: transparent;
}

body.cabinet-v7 .morning-report-summary > div > span {
  font-size: 10.5px;
}

body.cabinet-v7 .morning-report-summary > div > strong {
  font-size: 18px;
}

body.cabinet-v7 .morning-report-filters {
  grid-template-columns: minmax(150px, .7fr) minmax(240px, 1.45fr) minmax(160px, .7fr);
  gap: 6px;
  margin-bottom: 7px;
  padding: 8px;
  border-radius: 7px;
  background: #f5f7f6;
}

body.cabinet-v7 .morning-report-filters label {
  gap: 3px;
  font-size: 9.5px;
}

body.cabinet-v7 .morning-report-filters :where(input, select) {
  min-height: 34px;
  padding: 0 10px;
  background: #fff;
  font-size: 12px;
}

body.cabinet-v7 .morning-report-result {
  padding: 3px 2px 7px;
  font-size: 10.5px;
}

body.cabinet-v7 .morning-report-list {
  gap: 1px;
}

body.cabinet-v7 .morning-report-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
  margin-top: 9px;
  padding: 0 3px;
  color: var(--cabinet-muted);
}

body.cabinet-v7 .morning-report-group:first-child {
  margin-top: 0;
}

body.cabinet-v7 .morning-report-group span {
  font-size: 10.5px;
  font-weight: 540;
  text-transform: uppercase;
}

body.cabinet-v7 .morning-report-group strong {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #edf2ef;
  font-size: 10px;
}

body.cabinet-v7 .morning-report-group.is-changed {
  color: var(--cabinet-violet);
}

body.cabinet-v7 .morning-report-group.is-waiting {
  color: var(--cabinet-amber);
}

body.cabinet-v7 .morning-report-row {
  grid-template-columns: 46px minmax(190px, 27%) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 11px 12px;
  border-radius: 5px;
  background: #fff;
}

body.cabinet-v7 .morning-report-row:hover {
  background: #f8faf9;
}

body.cabinet-v7 .morning-report-row.is-changed {
  background: #f1f7f4;
}

body.cabinet-v7 .morning-report-row.is-waiting {
  background: #fbf8f2;
}

body.cabinet-v7 .morning-report-photo,
body.cabinet-v7 .morning-report-photo .product-photo-link,
body.cabinet-v7 .morning-report-photo img {
  width: 46px;
  height: 58px;
  border-radius: 4px;
  object-fit: cover;
}

body.cabinet-v7 .morning-report-photo .product-photo-link.is-unavailable {
  display: block;
  background: #edf1ef;
}

body.cabinet-v7 .morning-report-product,
body.cabinet-v7 .morning-report-recommendation {
  gap: 3px;
}

body.cabinet-v7 .morning-report-product > strong {
  font-size: 12.75px;
  font-weight: 540;
  white-space: normal;
}

body.cabinet-v7 .morning-report-status {
  color: var(--cabinet-muted);
  font-size: 9.5px;
  text-transform: uppercase;
}

body.cabinet-v7 .morning-report-row.is-changed .morning-report-status i {
  background: var(--cabinet-violet);
}

body.cabinet-v7 .morning-report-row.is-waiting .morning-report-status i {
  background: var(--cabinet-amber);
}

body.cabinet-v7 .morning-report-recommendation > .morning-report-lead {
  font-size: 12.75px;
  font-weight: 500;
  line-height: 1.45;
}

body.cabinet-v7 .morning-report-recommendation details summary {
  margin-top: 3px;
  color: var(--cabinet-green-dark);
  font-size: 10.5px;
}

body.cabinet-v7 .morning-report-recommendation details p {
  max-width: 760px;
  padding-top: 5px;
  font-size: 11.5px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  body.cabinet-v7 .report-modal:is(.is-report-center, .is-product-period-report) {
    padding: 8px;
  }

  body.cabinet-v7 .report-modal:is(.is-report-center, .is-product-period-report) .report-panel {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 18px 14px 22px;
  }

  body.cabinet-v7 .report-center-head > strong,
  body.cabinet-v7 .morning-report-head > strong {
    padding-right: 28px;
    font-size: 21px;
  }

  body.cabinet-v7 .report-center-head > p {
    padding-right: 12px;
  }

  body.cabinet-v7 .report-center-item {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 10px;
    padding: 12px 8px 12px 11px;
  }

  body.cabinet-v7 .report-center-metrics {
    grid-column: 1 / -1;
    grid-template-columns: 58px 66px minmax(100px, 1fr);
    gap: 9px;
  }

  body.cabinet-v7 .report-center-item > button {
    width: 34px;
    padding: 0;
  }

  body.cabinet-v7 .report-center-item > button span {
    display: none;
  }

  body.cabinet-v7 .period-report-actions {
    margin: 0 34px 14px 0;
  }

  body.cabinet-v7 .period-report-tools {
    gap: 1px;
  }

  body.cabinet-v7 .period-report-tools button {
    width: 32px;
    padding: 0;
  }

  body.cabinet-v7 .period-report-tools button span {
    display: none;
  }

  body.cabinet-v7 .morning-report-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  body.cabinet-v7 .morning-report-summary > div > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.cabinet-v7 .morning-report-filters {
    grid-template-columns: 1fr 1fr;
  }

  body.cabinet-v7 .morning-report-filters label:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  body.cabinet-v7 .morning-report-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px 10px;
    padding: 11px 8px;
  }

  body.cabinet-v7 .morning-report-photo,
  body.cabinet-v7 .morning-report-photo .product-photo-link,
  body.cabinet-v7 .morning-report-photo img {
    width: 42px;
    height: 53px;
  }

  body.cabinet-v7 .morning-report-recommendation {
    grid-column: 1 / -1;
    padding-left: 52px;
  }
}

@media (max-width: 430px) {
  body.cabinet-v7 .morning-report-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 10px;
  }
}

body.cabinet-v7 .mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px 0 6px;
}

body.cabinet-v7 .mode-chip {
  min-height: 27px;
  padding: 0 8px;
  border: 0;
  font-size: 11.5px;
}

body.cabinet-v7 .product-layout {
  max-height: calc(100dvh - 230px);
  overflow: auto;
  scrollbar-width: thin;
}

body.cabinet-v7 .product-catalog {
  display: grid;
  gap: 2px;
}

body.cabinet-v7 .product-row {
  border: 0;
  background: #fff;
  box-shadow: none;
  transition: background .16s ease, box-shadow .16s ease;
}

body.cabinet-v7 .product-row:hover {
  background: #f5f7f6;
}

body.cabinet-v7 .product-item-head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
}

body.cabinet-v7 .product-item-photo,
body.cabinet-v7 .product-item-photo .product-photo-link,
body.cabinet-v7 .product-item-photo img {
  width: 44px;
  height: 56px;
  border-radius: 4px;
  object-fit: cover;
}

body.cabinet-v7 .product-item-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.cabinet-v7 .product-item-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 13.5px;
  line-height: 1.35;
}

body.cabinet-v7 .product-item-market strong {
  color: var(--cabinet-violet);
  font-size: 11.5px;
}

body.cabinet-v7 .product-item-market em {
  display: none;
}

body.cabinet-v7 .product-item-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding-top: 9px;
}

body.cabinet-v7 .product-item-facts.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.cabinet-v7 .product-item-facts span {
  display: grid;
  gap: 1px;
}

body.cabinet-v7 .product-item-facts small { font-size: 11.5px; }
body.cabinet-v7 .product-item-facts strong { font-size: 13px; }

body.cabinet-v7 .product-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 12px 0 3px;
}

body.cabinet-v7 .product-pagination button {
  min-width: 29px;
  min-height: 29px;
  border: 0;
  border-radius: 4px;
  background: var(--cabinet-faint);
  color: var(--cabinet-muted);
  font-size: 11.5px;
}

body.cabinet-v7 .product-pagination button.is-active {
  background: var(--cabinet-ink);
  color: #fff;
}

body.cabinet-v7 .product-analysis {
  min-width: 0;
  container-type: inline-size;
  container-name: product-analysis;
}

body.cabinet-v7 .product-context-sticky {
  position: fixed;
  top: 12px;
  left: var(--product-context-left, 50%);
  width: var(--product-context-width, 50%);
  z-index: 24;
  height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .16s ease, transform .16s ease;
}

body.cabinet-v7 .product-context-sticky.is-visible {
  height: 64px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.cabinet-v7 .selected-product-compact {
  display: grid;
  grid-template-columns: 44px minmax(180px, 1fr) auto 34px;
  align-items: center;
  gap: 10px 14px;
  min-height: 68px;
  padding: 7px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 34px rgba(16, 21, 18, .14);
  backdrop-filter: blur(14px);
}

body.cabinet-v7 .selected-product-compact-photo,
body.cabinet-v7 .selected-product-compact-photo .product-photo-link,
body.cabinet-v7 .selected-product-compact-photo img {
  width: 44px;
  height: 54px;
  border-radius: 4px;
  object-fit: cover;
}

body.cabinet-v7 .selected-product-compact-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.cabinet-v7 .selected-product-compact-copy strong {
  overflow: hidden;
  font-size: 13.5px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cabinet-v7 .selected-product-compact dl {
  display: flex;
  gap: 20px;
  margin: 0;
}

body.cabinet-v7 .selected-product-compact dl > div {
  display: grid;
  gap: 1px;
}

body.cabinet-v7 .selected-product-compact dd {
  margin: 0;
  font-size: 13px;
}

body.cabinet-v7 .selected-product-compact > button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #f1f4f2;
  color: var(--cabinet-ink);
}

body.cabinet-v7 .selected-product-compact > button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.cabinet-v7 .product-analysis-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  border: 0;
}

body.cabinet-v7 .selected-product-main {
  display: grid;
  min-width: 0;
}

body.cabinet-v7 .selected-product-photo,
body.cabinet-v7 .selected-product-photo .product-photo-link,
body.cabinet-v7 .selected-product-photo img {
  object-fit: cover;
}

body.cabinet-v7 .selected-product-copy {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
}

body.cabinet-v7 .selected-product-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.22;
}

body.cabinet-v7 .selected-product-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

body.cabinet-v7 .selected-product-actions button {
  padding: 0 10px;
  border: 0;
  color: var(--cabinet-text);
  font-size: 12.5px;
  font-weight: 400;
}

body.cabinet-v7 .selected-product-actions button:hover {
  background: var(--cabinet-surface-strong);
}

body.cabinet-v7 .selected-product-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(76px, 1fr));
  margin: 0;
  border: 0;
}

body.cabinet-v7 .selected-product-facts > div {
  display: grid;
  gap: 2px;
}
body.cabinet-v7 .selected-product-facts dd { margin: 0; }

body.cabinet-v7 .selected-product-recommendation {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: 46px;
  padding: 9px 14px;
  border: 0;
  border-radius: 7px;
  background: #dff1e9;
}

body.cabinet-v7 .selected-product-recommendation span {
  color: var(--cabinet-green-dark);
  font-size: 12.5px;
}

body.cabinet-v7 .selected-product-recommendation strong {
  color: var(--cabinet-green-dark);
  font-size: 16px;
}

body.cabinet-v7 .selected-product-recommendation.is-empty {
  min-height: 40px;
  background: #f5f7f6;
}

body.cabinet-v7 .selected-product-recommendation.is-empty span,
body.cabinet-v7 .selected-product-recommendation.is-empty strong {
  color: var(--cabinet-muted);
}

body.cabinet-v7 .selected-product-recommendation.is-empty strong {
  font-size: 13px;
  font-weight: 500;
}

body.cabinet-v7 .product-analysis-layout {
  display: grid;
}

body.cabinet-v7 :where(.panel-decision, .panel-competitors, .decision-focus, .competitor-grid, .competitor-browser, .competitor-list) {
  min-width: 0;
  max-width: 100%;
}

body.cabinet-v7 .panel-titlebar {
  padding: 0;
  border: 0;
}

body.cabinet-v7 .decision-focus {
  padding: 0;
}

body.cabinet-v7 .decision-hero {
  border: 0;
}

body.cabinet-v7 .decision-source-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 13px;
  color: var(--cabinet-muted);
  font-size: 10.5px;
}

body.cabinet-v7 .decision-kicker {
  display: flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
}

body.cabinet-v7 .decision-kicker i {
  border-radius: 50%;
  background: var(--cabinet-green);
}

body.cabinet-v7 .decision-hero.tone-observe .decision-kicker i {
  background: var(--cabinet-blue);
}

body.cabinet-v7 .decision-hero.tone-data .decision-kicker i {
  background: var(--cabinet-amber);
}

body.cabinet-v7 .decision-hero > strong {
  display: block;
  max-width: 760px;
}

body.cabinet-v7 .decision-detail {
  max-width: 780px;
  margin: 8px 0 0;
}

body.cabinet-v7 .decision-detail summary {
  width: max-content;
  color: var(--cabinet-green-dark);
  font-size: 11px;
  cursor: pointer;
}

body.cabinet-v7 .decision-detail > p {
  margin: 7px 0 0;
  color: var(--cabinet-text);
  font-size: 12.5px;
  line-height: 1.55;
}

body.cabinet-v7 .decision-evidence,
body.cabinet-v7 .decision-action-section {
  margin-top: 18px;
}

body.cabinet-v7 :where(.decision-evidence, .decision-action-section) h3 {
  margin: 0 0 8px;
  text-transform: uppercase;
}

body.cabinet-v7 .decision-action-section > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  color: var(--cabinet-green-dark);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

body.cabinet-v7 .decision-action-section > summary span {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--cabinet-green-soft);
  font-size: 10px;
}

body.cabinet-v7 .decision-action-section[open] > summary {
  margin-bottom: 9px;
}

body.cabinet-v7 .decision-evidence-grid,
body.cabinet-v7 .decision-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.cabinet-v7 .decision-evidence-grid article,
body.cabinet-v7 .decision-actions article {
  position: relative;
  border: 0;
  border-radius: 0;
  background: #fff;
}

body.cabinet-v7 .decision-evidence-grid article::before,
body.cabinet-v7 .decision-actions article::before {
  position: absolute;
  left: 0;
  background: var(--cabinet-green);
  content: "";
}

body.cabinet-v7 .decision-actions article:nth-child(2n)::before {
  background: var(--cabinet-violet);
}

body.cabinet-v7 .decision-evidence-grid strong,
body.cabinet-v7 .decision-actions strong {
  line-height: 1.45;
}

body.cabinet-v7 .recommendation-application {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 12px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line, #d7dfdc) 72%, transparent);
}

body.cabinet-v7 .recommendation-application > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body.cabinet-v7 .recommendation-application span {
  color: var(--muted, #65736f);
  font-size: 12px;
}

body.cabinet-v7 .recommendation-application strong {
  color: var(--ink, #15231f);
  font-size: 13px;
  font-weight: 650;
}

body.cabinet-v7 .recommendation-application nav {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

body.cabinet-v7 .recommendation-application button {
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid var(--line, #d7dfdc);
  border-radius: 6px;
  background: transparent;
  color: var(--ink, #15231f);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

body.cabinet-v7 .recommendation-application button:hover,
body.cabinet-v7 .recommendation-application button.is-active {
  border-color: #16805c;
  background: #eaf6f1;
  color: #106448;
}

body.cabinet-v7 .recommendation-application button:disabled {
  cursor: wait;
  opacity: .58;
}

@media (max-width: 680px) {
  body.cabinet-v7 .recommendation-application {
    align-items: stretch;
    flex-direction: column;
  }

  body.cabinet-v7 .recommendation-application nav,
  body.cabinet-v7 .recommendation-application button {
    width: 100%;
  }
}

body.cabinet-v7 .decision-evidence-grid p {
  margin: 3px 0 0;
  color: var(--cabinet-muted);
  line-height: 1.48;
}

body.cabinet-v7 .economics-disclosure {
  margin-top: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
}

body.cabinet-v7 .economics-disclosure summary {
  color: var(--cabinet-green);
  font-size: 13px;
  font-weight: 500;
}

body.cabinet-v7 .panel-competitors .section-label {
  font-size: 17px;
}

body.cabinet-v7 .competitor-browser-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

body.cabinet-v7 .competitor-browser-head > div {
  display: flex;
  align-items: center;
  gap: 5px;
}

body.cabinet-v7 .competitor-browser-head button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 4px;
  background: var(--cabinet-faint);
  color: var(--cabinet-ink);
}

body.cabinet-v7 .competitor-list {
  display: grid;
  gap: 8px;
}

body.cabinet-v7 .competitor-row {
  display: grid;
  gap: 10px;
  border: 0;
}

body.cabinet-v7 .competitor-row > header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

body.cabinet-v7 .competitor-row .photo-cell,
body.cabinet-v7 .competitor-row .photo-cell .product-photo-link,
body.cabinet-v7 .competitor-row .photo-cell img {
  width: 44px;
  height: 54px;
  border-radius: 4px;
  object-fit: cover;
}

body.cabinet-v7 .competitor-row .product-name-cell {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body.cabinet-v7 .competitor-row .product-name-cell strong {
  font-size: 14px;
  line-height: 1.36;
}

body.cabinet-v7 .competitor-link {
  color: var(--cabinet-green);
  font-size: 12px;
  font-weight: 500;
}

body.cabinet-v7 .competitor-verdict {
  padding: 11px 12px;
  border: 0;
  border-radius: 5px;
  background: #fff;
}

body.cabinet-v7 .competitor-verdict[data-tone="own"] {
  background: var(--cabinet-green-soft);
}

body.cabinet-v7 .competitor-verdict[data-tone="competitor"] {
  background: var(--cabinet-red-soft);
}

body.cabinet-v7 .competitor-visual-comparison {
  padding: 11px 12px;
  border-radius: 5px;
  background: #fff;
}

body.cabinet-v7 .competitor-visual-comparison > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

body.cabinet-v7 .competitor-visual-comparison > header span {
  color: var(--cabinet-ink);
  font-size: 12.5px;
  font-weight: 540;
}

body.cabinet-v7 .competitor-visual-comparison > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 18px;
}

body.cabinet-v7 .competitor-visual-comparison article {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  grid-template-rows: auto 4px 4px;
  gap: 5px 9px;
  min-width: 0;
}

body.cabinet-v7 .competitor-visual-comparison article > span {
  grid-row: 1 / 4;
  align-self: center;
  color: var(--cabinet-muted);
  font-size: 11.5px;
}

body.cabinet-v7 .competitor-visual-comparison article > i {
  display: block;
  height: 4px;
  overflow: hidden;
  border-radius: 99px;
  background: #edf1ef;
}

body.cabinet-v7 .competitor-visual-comparison article > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
}

body.cabinet-v7 .competitor-visual-comparison .is-own b {
  width: var(--metric-own);
  background: var(--cabinet-green);
}

body.cabinet-v7 .competitor-visual-comparison .is-peer b {
  width: var(--metric-peer);
  background: var(--cabinet-violet);
}

body.cabinet-v7 .competitor-visual-comparison article > small {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10.5px;
}

body.cabinet-v7 .competitor-visual-comparison article > small strong {
  color: var(--cabinet-green-dark);
}

body.cabinet-v7 .competitor-visual-comparison article > small em {
  color: var(--cabinet-violet);
  font-style: normal;
}

body.cabinet-v7 .competitor-verdict strong,
body.cabinet-v7 .competitor-verdict span {
  display: block;
}

body.cabinet-v7 .competitor-verdict strong { font-size: 13px; }
body.cabinet-v7 .competitor-verdict span { margin-top: 2px; color: var(--cabinet-muted); font-size: 12.5px; }

body.cabinet-v7 .competitor-fact-line {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

body.cabinet-v7 .competitor-fact-line span {
  display: grid;
  gap: 2px;
}

body.cabinet-v7 .competitor-fact-line strong { font-size: 12.5px; }

body.cabinet-v7 .competitor-details {
  border: 0;
}

body.cabinet-v7 .competitor-details summary {
  color: var(--cabinet-green);
  font-size: 12.5px;
  font-weight: 500;
}

/* Market analysis becomes a result-first feed. */
body.cabinet-v7 .panel-journal {
  width: 100%;
}

body.cabinet-v7 .journal-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 720px) auto;
  align-items: center;
  gap: 12px;
  max-width: none;
  margin-bottom: 20px;
}

body.cabinet-v7 .journal-toolbar input {
  min-height: 44px;
  font-size: 14px;
}

body.cabinet-v7 .market-audit-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}

body.cabinet-v7 .market-audit-summary > span {
  display: grid;
  align-content: space-between;
  min-height: 88px;
  padding: 14px 16px;
  border: 0;
  border-radius: 7px;
  background: #f8faf9;
}

body.cabinet-v7 .market-audit-summary > span:first-child {
  background: var(--cabinet-violet-soft);
}

body.cabinet-v7 .market-audit-summary > span:nth-child(2) { background: var(--cabinet-blue-soft); }
body.cabinet-v7 .market-audit-summary > span:nth-child(3) { background: var(--cabinet-green-soft); }
body.cabinet-v7 .market-audit-summary > span:nth-child(4) { background: var(--cabinet-amber-soft); }

body.cabinet-v7 .market-audit-summary strong {
  margin-top: 8px;
  font-size: 21px;
}

body.cabinet-v7 .market-audit-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
}

body.cabinet-v7 .market-audit-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, .72fr) minmax(320px, 1.28fr);
  grid-template-areas: "head result";
  align-items: center;
  gap: 8px 20px;
  padding: 16px 104px 16px 18px;
  border: 0;
}

body.cabinet-v7 .market-audit-head {
  grid-area: head;
  display: grid;
  gap: 7px;
  min-width: 0;
}

body.cabinet-v7 .market-audit-product {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
}

body.cabinet-v7 .market-audit-product-photo,
body.cabinet-v7 .market-audit-product-photo img {
  width: 46px;
  height: 58px;
  border-radius: 4px;
  object-fit: cover;
}

body.cabinet-v7 .market-audit-product-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body.cabinet-v7 .market-audit-product-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  font-size: 14px;
  line-height: 1.36;
}

body.cabinet-v7 .market-audit-result {
  grid-area: result;
  min-width: 0;
}

body.cabinet-v7 .market-audit-result strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin-top: 3px;
  font-size: 16px;
  line-height: 1.42;
}

body.cabinet-v7 .market-audit-result p {
  display: -webkit-box;
  overflow: hidden;
  margin: 5px 0 0;
  color: var(--cabinet-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12.75px;
  line-height: 1.45;
}

body.cabinet-v7 .market-audit-more {
  position: absolute;
  top: 16px;
  right: 18px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--cabinet-green);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
}

body.cabinet-v7 .market-audit-more:hover,
body.cabinet-v7 .market-audit-more:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Market detail */
body.cabinet-v7 .report-modal.is-market-audit-detail .report-panel {
  width: min(1040px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 26px 30px 30px;
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(16, 21, 18, .2);
}

body.cabinet-v7 .market-detail-loading {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  min-height: 320px;
  color: var(--cabinet-muted);
  font-size: 13px;
}

body.cabinet-v7 .market-detail-loading span {
  width: 24px;
  height: 24px;
  border: 2px solid #dce6e1;
  border-top-color: var(--cabinet-green);
  border-radius: 50%;
  animation: cabinet-market-spin .8s linear infinite;
}

@keyframes cabinet-market-spin { to { transform: rotate(360deg); } }

body.cabinet-v7 .market-detail-head {
  display: grid;
  gap: 18px;
  padding-right: 36px;
}

body.cabinet-v7 .market-detail-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cabinet-muted);
  font-size: 11px;
}

body.cabinet-v7 .market-detail-meta span {
  color: var(--cabinet-violet);
  font-weight: 550;
}

body.cabinet-v7 .market-detail-product {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

body.cabinet-v7 .market-detail-product > img,
body.cabinet-v7 .market-detail-product-placeholder {
  width: 82px;
  height: 108px;
  border-radius: 6px;
  background: #f1f4f2;
  object-fit: cover;
}

body.cabinet-v7 .market-detail-product > div {
  min-width: 0;
}

body.cabinet-v7 .market-detail-product small {
  color: var(--cabinet-muted);
  font-size: 11.5px;
}

body.cabinet-v7 .market-detail-product h2,
body.cabinet-v7 .market-detail-head > h2 {
  margin: 5px 0 0;
  color: var(--cabinet-ink);
  font-size: 25px;
  font-weight: 520;
  line-height: 1.2;
}

body.cabinet-v7 .market-detail-product p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--cabinet-muted);
  font-size: 13px;
  line-height: 1.5;
}

body.cabinet-v7 .market-detail-product a,
body.cabinet-v7 .market-detail-competitors a {
  display: inline-block;
  margin-top: 8px;
  color: var(--cabinet-green);
  font-size: 11.5px;
  font-weight: 500;
  text-decoration: none;
}

body.cabinet-v7 .market-detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 6px;
  background: #e9eeeb;
}

body.cabinet-v7 .market-detail-metrics > div {
  display: grid;
  gap: 5px;
  padding: 13px 15px;
  background: #f6f8f7;
}

body.cabinet-v7 .market-detail-metrics span,
body.cabinet-v7 .market-detail-section header > span,
body.cabinet-v7 .market-detail-body > section > span {
  color: var(--cabinet-muted);
  font-size: 10.5px;
}

body.cabinet-v7 .market-detail-metrics strong {
  color: var(--cabinet-ink);
  font-size: 15px;
  font-weight: 520;
}

body.cabinet-v7 .market-detail-body {
  display: grid;
  gap: 24px;
  margin-top: 25px;
}

body.cabinet-v7 .market-detail-body > section {
  display: grid;
  gap: 7px;
}

body.cabinet-v7 .market-detail-body > section > p {
  margin: 0;
  color: var(--cabinet-ink);
  font-size: 14px;
  line-height: 1.55;
}

body.cabinet-v7 .market-detail-findings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.cabinet-v7 .market-detail-findings {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 17px 18px;
  border-radius: 6px;
  background: #f3f7f5;
}

body.cabinet-v7 .market-detail-findings.is-risk { background: #faf4f3; }

body.cabinet-v7 .market-detail-findings h3,
body.cabinet-v7 .market-detail-section h3 {
  margin: 0;
  color: var(--cabinet-ink);
  font-size: 14px;
  font-weight: 520;
}

body.cabinet-v7 .market-detail-findings > div {
  display: grid;
  gap: 3px;
}

body.cabinet-v7 .market-detail-findings > div strong {
  font-size: 12px;
  font-weight: 520;
}

body.cabinet-v7 .market-detail-findings p {
  margin: 0;
  color: var(--cabinet-muted);
  font-size: 12px;
  line-height: 1.45;
}

body.cabinet-v7 .market-detail-section {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #e7ece9;
}

body.cabinet-v7 .market-detail-section > header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 12px;
}

body.cabinet-v7 .market-detail-section > header > span,
body.cabinet-v7 .market-detail-section > header > h3 { grid-column: 1; }
body.cabinet-v7 .market-detail-section > header > strong { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 12px; font-weight: 500; }

body.cabinet-v7 .market-detail-comparisons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

body.cabinet-v7 .market-detail-comparisons > div {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  border-radius: 5px;
  background: #f6f8f7;
}

body.cabinet-v7 .market-detail-comparisons span,
body.cabinet-v7 .market-detail-comparisons small {
  color: var(--cabinet-muted);
  font-size: 10.5px;
}

body.cabinet-v7 .market-detail-comparisons strong { font-size: 14px; font-weight: 520; }

body.cabinet-v7 .market-detail-competitors {
  display: grid;
  gap: 3px;
}

body.cabinet-v7 .market-detail-competitors article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 8px 10px;
  border-radius: 5px;
  background: #f8faf9;
}

body.cabinet-v7 .market-detail-competitors img,
body.cabinet-v7 .market-detail-image-placeholder {
  width: 42px;
  height: 54px;
  border-radius: 4px;
  background: #eef2f0;
  object-fit: cover;
}

body.cabinet-v7 .market-detail-competitors article > div { display: grid; gap: 2px; min-width: 0; }
body.cabinet-v7 .market-detail-competitors small { color: var(--cabinet-muted); font-size: 10px; }
body.cabinet-v7 .market-detail-competitors strong { overflow: hidden; font-size: 12.5px; font-weight: 520; text-overflow: ellipsis; white-space: nowrap; }
body.cabinet-v7 .market-detail-competitors p { margin: 0; color: var(--cabinet-muted); font-size: 10.5px; }

body.cabinet-v7 .market-detail-reviews > p {
  margin: 0;
  color: var(--cabinet-ink);
  font-size: 13px;
  line-height: 1.55;
}

body.cabinet-v7 .market-detail-reviews blockquote {
  margin: 0;
  padding: 11px 13px;
  border: 0;
  border-radius: 5px;
  background: #f7f9f8;
}

body.cabinet-v7 .market-detail-reviews blockquote span,
body.cabinet-v7 .market-detail-reviews > small { color: var(--cabinet-muted); font-size: 10.5px; }
body.cabinet-v7 .market-detail-reviews blockquote p { margin: 4px 0 0; font-size: 12px; line-height: 1.5; }
body.cabinet-v7 .market-detail-evidence { color: var(--cabinet-muted); font-size: 10.5px; line-height: 1.45; }

body.cabinet-v7 .report-product-facts {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 6px;
  background: #f2f7f4;
}

body.cabinet-v7 .report-product-facts span {
  color: var(--cabinet-green);
  font-size: 10.5px;
  font-weight: 500;
}

body.cabinet-v7 .report-product-facts strong {
  color: var(--cabinet-ink);
  font-size: 13px;
  font-weight: 520;
  line-height: 1.5;
}

body.cabinet-v7 .morning-report-detail-body {
  display: grid;
  gap: 10px;
  padding-top: 8px;
}

body.cabinet-v7 .morning-report-detail-body > span {
  color: var(--cabinet-muted);
  font-size: 11.5px;
  line-height: 1.45;
}

body.cabinet-v7 .morning-report-detail-body .report-detail-loading {
  color: var(--cabinet-green);
}

body.cabinet-v7 .morning-report-detail-body .report-evidence-section {
  margin-top: 6px;
}

body.cabinet-v7 .market-audit-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 16px 0 0;
}

body.cabinet-v7 .market-audit-pagination button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  background: var(--cabinet-faint);
}

/* Connection */
body.cabinet-v7 .panel-connect {
  width: 100%;
}

body.cabinet-v7 .connection-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  min-height: 0;
  padding: 0;
  background: transparent;
}

body.cabinet-v7 .connection-status > span {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

body.cabinet-v7 .connection-status > span strong {
  font-size: 13.5px;
}

body.cabinet-v7 .connect-grid {
  display: grid;
}

body.cabinet-v7 .connection-section {
  min-width: 0;
  padding: 0;
  border: 0;
  background: #fff;
}

body.cabinet-v7 .connection-section > h2 {
  margin: 0 0 7px;
}

body.cabinet-v7 .connection-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
}

body.cabinet-v7 .connection-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px 14px;
  min-height: 108px;
  padding: 14px 16px;
  border: 0;
  border-radius: 5px;
  background: #fafcfb;
  box-shadow: none;
}

body.cabinet-v7 .connection-row[data-connect-service="wb"],
body.cabinet-v7 .connection-row[data-connect-service="yandex"] {
  background: #fafcfb;
}

body.cabinet-v7 .connection-row[data-connect-service="wb"] {
  box-shadow: inset 3px 0 0 #9c42d7;
}

body.cabinet-v7 .connection-row[data-connect-service="yandex"] {
  box-shadow: inset 3px 0 0 #f5c400;
}

body.cabinet-v7 .connection-marketplace-lockup,
body.cabinet-v7 .connection-marketplace-logo {
  align-self: center;
}

body.cabinet-v7 .connection-row-state {
  align-self: center;
  color: var(--cabinet-muted);
  font-size: 12.5px;
}

body.cabinet-v7 .connection-row-state::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #9ca69f;
  content: "";
}

body.cabinet-v7 .connection-row.is-connected .connection-row-state::before {
  background: var(--cabinet-green);
}

body.cabinet-v7 .connection-key {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.cabinet-v7 .connection-key-wb {
  grid-template-columns: minmax(0, 1fr);
}

body.cabinet-v7 :where(.connection-row, .notification-row) :where(input, select, textarea) {
  background: #fff;
}

body.cabinet-v7 .connection-action {
  grid-column: 2;
  grid-row: 2;
  align-self: stretch;
  justify-self: end;
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 5px;
  background: var(--cabinet-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 540;
  box-shadow: 0 6px 18px rgba(16, 21, 18, .11);
}

body.cabinet-v7 .connection-preferences-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

body.cabinet-v7 .notification-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body.cabinet-v7 .notification-prompt {
  margin: 0;
  color: var(--cabinet-text);
  font-size: 13px;
  font-weight: 430;
}

body.cabinet-v7 .notification-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 0;
  justify-content: flex-start;
}

body.cabinet-v7 .notification-channels :where(a, button) {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  background: #f5f7f6;
  color: var(--cabinet-text);
  font-family: inherit;
  font-size: 11.5px;
  text-decoration: none;
  cursor: pointer;
}

body.cabinet-v7 .notification-channels :where(a, button).is-connected {
  background: #edf5f1;
  color: #176448;
}

body.cabinet-v7 .notification-channels button.is-disabled {
  color: #7d8782;
  background: rgba(255, 255, 255, .58);
}

body.cabinet-v7 .notification-channels button:disabled {
  opacity: .58;
  cursor: wait;
}

body.cabinet-v7 .notification-channels img {
  width: 17px;
  height: 17px;
}

body.cabinet-v7 .messenger-guide {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(12, 18, 15, .28);
  backdrop-filter: blur(10px);
}

body.cabinet-v7 .messenger-guide.is-visible {
  display: grid;
}

body.cabinet-v7 .messenger-guide-panel {
  position: relative;
  width: min(100%, 640px);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: 22px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(12, 18, 15, .18);
}

body.cabinet-v7 .messenger-guide-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f3f5f4;
  color: #405049;
}

body.cabinet-v7 .messenger-guide-close svg {
  width: 16px;
  height: 16px;
}

body.cabinet-v7 .messenger-guide-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-right: 38px;
}

body.cabinet-v7 .messenger-guide-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #f3f7f5;
}

body.cabinet-v7 .messenger-guide-icon img {
  width: 25px;
  height: 25px;
}

body.cabinet-v7 .messenger-guide-head p {
  display: block;
  margin: 0;
  letter-spacing: 0;
  color: #35443d;
  font-size: 14px;
  line-height: 1.5;
}

body.cabinet-v7 .messenger-guide-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

body.cabinet-v7 .messenger-guide-steps li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 9px 0;
}

body.cabinet-v7 .messenger-guide-number {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #173d31;
  color: #fff;
  font-size: 11px;
  font-weight: 550;
}

body.cabinet-v7 .messenger-guide-step-copy strong,
body.cabinet-v7 .messenger-guide-step-copy p {
  display: block;
  margin: 0;
}

body.cabinet-v7 .messenger-guide-step-copy strong {
  color: #1f2d27;
  font-size: 13px;
  font-weight: 520;
  line-height: 1.35;
}

body.cabinet-v7 .messenger-guide-step-copy p {
  margin-top: 2px;
  color: #69756f;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.4;
}

body.cabinet-v7 .messenger-guide-step-action {
  padding: 7px 9px;
  border-radius: 6px;
  background: #f2f5f3;
  color: #315c4d;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
}

body.cabinet-v7 .messenger-guide-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

body.cabinet-v7 .messenger-guide-confirm,
body.cabinet-v7 .messenger-guide-cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border: 0;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
}

body.cabinet-v7 .messenger-guide-confirm {
  background: #173d31;
  color: #fff;
  box-shadow: 0 7px 18px rgba(23, 61, 49, .14);
}

body.cabinet-v7 .messenger-guide-cancel {
  background: #f2f4f3;
  color: #506059;
  cursor: pointer;
}

body.cabinet-v7 .messenger-guide-confirm:hover {
  background: #0f3228;
}

@media (max-width: 700px) {
  body.cabinet-v7 .notification-row {
    align-items: flex-start;
  }

  body.cabinet-v7 .notification-channels {
    justify-content: flex-start;
  }

  body.cabinet-v7 .messenger-guide {
    align-items: end;
    padding: 10px;
  }

  body.cabinet-v7 .messenger-guide-panel {
    max-height: calc(100dvh - 12px);
    padding: 19px 15px 15px;
    border-radius: 12px;
  }

  body.cabinet-v7 .messenger-guide-head {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  body.cabinet-v7 .messenger-guide-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    margin: 15px 0 16px;
  }

  body.cabinet-v7 .messenger-guide-steps li {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
  }

  body.cabinet-v7 .messenger-guide-step-action {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
  }

  body.cabinet-v7 .messenger-guide-actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@keyframes cabinet-skeleton-pulse {
  0%, 100% { opacity: .58; }
  50% { opacity: 1; }
}

@keyframes cabinet-content-enter {
  from { opacity: .55; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: no-preference) {
  body.cabinet-v7 .cabinet-skeleton-block {
    animation: cabinet-skeleton-pulse 1.15s ease-in-out infinite;
  }

  body.cabinet-v7 :where(.market-audit-card, .competitor-row, .operations-pulse, .operations-overview-detail, .connection-section) {
    animation: cabinet-content-enter .18s ease-out both;
  }

  body.cabinet-v7 :where(button, a, .product-row, .operations-coverage article, .operations-leaders article) {
    transition: background-color .16s ease, color .16s ease, opacity .16s ease, transform .16s ease, box-shadow .16s ease;
  }

  body.cabinet-v7 :where(.connection-action, .operations-primary, [data-export-operations]):hover {
    transform: translateY(-1px);
  }
}

/* Desktop adaptation: protect the product narrative before the competitor rail. */
@media (max-width: 1499px) {
  body.cabinet-v7 .product-analysis-head {
    grid-template-areas:
      "product"
      "actions"
      "facts"
      "price";
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .selected-product-actions {
    justify-content: flex-start;
  }

  body.cabinet-v7 .product-analysis-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  body.cabinet-v7 .competitor-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1180px) {
  body.cabinet-v7 .admin-shell {
    grid-template-columns: 196px minmax(0, 1fr);
  }

  body.cabinet-v7 .cabinet-sidebar {
    width: 196px;
  }

  body.cabinet-v7 .work-grid[data-active-tab="products"] {
    display: block;
  }

  body.cabinet-v7 .work-grid[data-active-tab="products"] .panel-product {
    position: static;
    margin-bottom: 24px;
  }

  body.cabinet-v7 .product-layout {
    max-height: 330px;
  }

  body.cabinet-v7 .product-catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cabinet-v7 .operations-overview-detail,
  body.cabinet-v7 .operations-analytics-detail {
    gap: 26px;
  }

  body.cabinet-v7 .market-audit-card {
    grid-template-columns: minmax(210px, .75fr) minmax(260px, 1.25fr);
    grid-template-areas: "head result";
  }
}

@media (max-width: 920px) {
  body.cabinet-v7 .admin-shell {
    display: block;
  }

  body.cabinet-v7 .cabinet-sidebar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: grid;
    grid-template-areas:
      "brand account"
      "navigation navigation";
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 7px 10px;
    width: 100%;
    max-width: 100vw;
    height: auto;
    min-height: 0;
    padding: 9px 12px 10px;
    overflow: hidden;
  }

  body.cabinet-v7 .cabinet-sidebar-top {
    grid-area: brand;
    display: flex;
    align-items: center;
    min-height: 30px;
    padding: 0;
  }

  body.cabinet-v7 .cabinet-navigation {
    grid-area: navigation;
    display: flex;
    gap: 4px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 1px;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  body.cabinet-v7 .cabinet-navigation::-webkit-scrollbar {
    display: none;
  }

  body.cabinet-v7 .cabinet-nav-group {
    display: none;
  }

  body.cabinet-v7 .cabinet-navigation button {
    flex: 0 0 auto;
    grid-template-columns: 24px auto;
    width: auto;
    min-height: 34px;
    padding: 3px 9px 3px 5px;
  }

  body.cabinet-v7 .cabinet-navigation button img {
    width: 23px;
    height: 23px;
  }

  body.cabinet-v7 .cabinet-account-actions {
    grid-area: account;
    align-self: center;
    margin: 0;
    padding: 0;
  }

  body.cabinet-v7 .cabinet-account-actions .text-action {
    min-height: 30px;
    color: rgba(255, 255, 255, .72);
  }

  body.cabinet-v7 .work-grid {
    min-height: calc(100dvh - 70px);
  }

  body.cabinet-v7 .operations-overview-detail,
  body.cabinet-v7 .operations-analytics-detail,
  body.cabinet-v7 .operations-split,
  body.cabinet-v7 .connection-preferences-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .operations-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .operations-leaders article:nth-last-child(-n + 2) {
    padding-right: 10px;
  }

  body.cabinet-v7 .operations-logistics-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .operations-logistics-flow form {
    min-height: 0;
  }

  body.cabinet-v7 .connection-list {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .cabinet-skeleton.is-summary,
  body.cabinet-v7 .cabinet-skeleton.is-content,
  body.cabinet-v7 .cabinet-skeleton.is-product {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.cabinet-v7 {
    font-size: 13.5px;
  }

  body.cabinet-v7 .cabinet-sidebar-robot {
    right: 30px;
  }

  body.cabinet-v7 .product-context-sticky {
    top: 120px;
  }

  body.cabinet-v7 .product-context-sticky.is-visible {
    height: 72px;
  }

  body.cabinet-v7 .selected-product-compact {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 60px;
    padding: 6px 8px;
  }

  body.cabinet-v7 .selected-product-compact-photo,
  body.cabinet-v7 .selected-product-compact-photo .product-photo-link,
  body.cabinet-v7 .selected-product-compact-photo img {
    width: 40px;
    height: 48px;
  }

  body.cabinet-v7 .selected-product-compact-copy small,
  body.cabinet-v7 .selected-product-compact dl > div:last-child {
    display: none;
  }

  body.cabinet-v7 .selected-product-compact dl {
    gap: 0;
  }

  body.cabinet-v7 .selected-product-compact > button {
    display: none;
  }

  body.cabinet-v7 .competitor-visual-comparison > div,
  body.cabinet-v7 .cabinet-skeleton.is-summary,
  body.cabinet-v7 .cabinet-skeleton.is-content,
  body.cabinet-v7 .cabinet-skeleton.is-product {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .work-grid {
    padding: 14px 14px 30px;
  }

  body.cabinet-v7 .product-workspace-nav,
  body.cabinet-v7 .market-audit-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cabinet-v7 .operations-pulse {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .operations-glance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cabinet-v7 .operations-pulse > div {
    min-height: 82px;
  }

  body.cabinet-v7 .product-catalog,
  body.cabinet-v7 .competitor-list,
  body.cabinet-v7 .decision-evidence-grid,
  body.cabinet-v7 .decision-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .product-analysis-head {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .selected-product-actions {
    justify-content: flex-start;
  }

  body.cabinet-v7 .selected-product-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.cabinet-v7 .selected-product-recommendation {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  body.cabinet-v7 .market-audit-card {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "result";
    gap: 11px;
    padding: 44px 14px 14px;
  }

  body.cabinet-v7 .market-audit-more {
    top: 14px;
    right: 14px;
  }

  body.cabinet-v7 .report-modal.is-market-audit-detail {
    padding: 8px;
  }

  body.cabinet-v7 .report-modal.is-market-audit-detail .report-panel {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 20px 14px 24px;
  }

  body.cabinet-v7 .market-detail-head { padding-right: 30px; }

  body.cabinet-v7 .market-detail-product {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
  }

  body.cabinet-v7 .market-detail-product > img,
  body.cabinet-v7 .market-detail-product-placeholder {
    width: 62px;
    height: 82px;
  }

  body.cabinet-v7 .market-detail-product h2,
  body.cabinet-v7 .market-detail-head > h2 { font-size: 20px; }

  body.cabinet-v7 .market-detail-metrics,
  body.cabinet-v7 .market-detail-findings-grid,
  body.cabinet-v7 .market-detail-comparisons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cabinet-v7 .market-detail-competitors article {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  body.cabinet-v7 .market-detail-competitors article > a {
    grid-column: 2;
    margin-top: 0;
  }

  body.cabinet-v7 .journal-toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .connection-status {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  body.cabinet-v7 .connection-row,
  body.cabinet-v7 .notification-row {
    padding: 14px;
  }

  body.cabinet-v7 .connection-key {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .connection-action {
    grid-column: 1 / -1;
  }

  body.cabinet-v7 .cabinet-empty-state {
    place-content: center;
    min-height: 60dvh;
    text-align: center;
  }

  body.cabinet-v7 .cabinet-empty-state > img,
  body.cabinet-v7 .cabinet-empty-state > button {
    grid-column: 1;
    justify-self: center;
  }
}

@media (min-width: 921px) and (max-height: 760px) {
  body.cabinet-v7 .cabinet-sidebar-robot {
    display: flex;
    right: 16px;
    bottom: 12px;
    width: 280px;
    height: 150px;
  }

  body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-avatar {
    width: 86px;
    height: 92px;
  }

  body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-clouds {
    right: 66px;
    bottom: 54px;
    width: 208px;
    min-height: 88px;
  }

  body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud {
    width: 208px;
    height: 94px;
    min-height: 94px;
    padding: 22px 27px 18px 23px;
    font-size: 11.75px;
  }

  body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud-copy {
    max-width: none;
    min-height: 0;
    max-height: none;
  }
}

@media (max-width: 460px) {
  body.cabinet-v7 .selected-product-main {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  body.cabinet-v7 .selected-product-photo,
  body.cabinet-v7 .selected-product-photo .product-photo-link,
  body.cabinet-v7 .selected-product-photo img {
    width: 56px;
    height: 70px;
  }

  body.cabinet-v7 .selected-product-facts,
  body.cabinet-v7 .competitor-fact-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cabinet-v7 .market-audit-summary {
    gap: 6px;
  }

  body.cabinet-v7 .market-audit-summary > span {
    min-height: 72px;
    padding: 11px 12px;
  }

  body.cabinet-v7 .operations-coverage article,
  body.cabinet-v7 .operations-analytics-product,
  body.cabinet-v7 .operations-risk-product,
  body.cabinet-v7 .operations-data-coverage article {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.cabinet-v7 .operations-analytics-product {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  body.cabinet-v7 .operations-risk-product {
    grid-template-columns: 38px minmax(0, 1fr) auto;
  }

  body.cabinet-v7 :where(.operations-coverage article, .operations-analytics-product, .operations-data-coverage article) > :where(div, i) {
    display: none;
  }
}

/* Compact report period picker. */
body.cabinet-v7 .report-modal.is-period-picker .report-panel {
  width: min(660px, calc(100vw - 32px));
  padding: 30px 32px;
  overflow: visible;
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(16, 21, 18, .22);
}

body.cabinet-v7 .report-modal.is-period-picker .report-close {
  top: 12px;
  right: 12px;
}

body.cabinet-v7 .product-period-report-form {
  width: 100%;
}

body.cabinet-v7 .product-period-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  margin: 0;
}

body.cabinet-v7 .product-period-fields label {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--cabinet-muted);
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
}

body.cabinet-v7 .product-period-fields input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 0;
  border-radius: 7px;
  outline: 0;
  background: #f2f5f3;
  color: var(--cabinet-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 450;
  color-scheme: light;
  transition: background .16s ease, box-shadow .16s ease;
}

body.cabinet-v7 .product-period-fields input:hover {
  background: #edf2ef;
}

body.cabinet-v7 .product-period-fields input:focus {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(8, 113, 88, .16);
}

body.cabinet-v7 .product-period-fields button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 162px;
  height: 46px;
  padding: 0 17px;
  border: 0;
  border-radius: 7px;
  background: #101713;
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  transition: background .16s ease, transform .16s ease;
}

body.cabinet-v7 .product-period-fields button:hover {
  background: var(--cabinet-green-dark);
  transform: translateY(-1px);
}

body.cabinet-v7 .product-period-fields button:focus-visible {
  outline: 2px solid rgba(8, 113, 88, .32);
  outline-offset: 2px;
}

body.cabinet-v7 .product-period-fields button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 560px) {
  body.cabinet-v7 .report-modal.is-period-picker .report-panel {
    width: calc(100vw - 16px);
    padding: 26px 16px 18px;
  }

  body.cabinet-v7 .product-period-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }

  body.cabinet-v7 .product-period-fields button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 700px) {
  body.cabinet-v7 .selected-product-recommendation.is-empty {
    align-items: baseline;
    flex-direction: row;
    gap: 8px;
  }

  body.cabinet-v7 .decision-evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  body.cabinet-v7 .decision-evidence-grid article {
    padding: 9px 7px 9px 12px;
  }

  body.cabinet-v7 .decision-evidence-grid article::before {
    top: 9px;
    bottom: 9px;
  }

  body.cabinet-v7 .decision-evidence-grid strong {
    font-size: 12.5px;
  }

  body.cabinet-v7 .decision-evidence-grid p {
    font-size: 10.75px;
  }
}

/* Premium coherence pass v86 */
body.cabinet-v7 {
  --premium-shadow: 0 10px 30px rgba(18, 31, 25, .055);
  --premium-shadow-hover: 0 14px 34px rgba(18, 31, 25, .085);
  --premium-quiet: #f7f9f8;
  --premium-separator: #e8edea;
}

body.cabinet-v7 .cabinet-sidebar {
  background: #0d1512;
  box-shadow: 12px 0 36px rgba(10, 20, 16, .055);
}

body.cabinet-v7 .brand-mark {
  padding-left: 10px;
}

body.cabinet-v7 .brand-mark .sm-logo-name {
  font-size: 17px;
  font-weight: 520;
}

body.cabinet-v7 .cabinet-nav-group-title {
  color: rgba(183, 221, 207, .66);
  font-size: 10px;
  font-weight: 500;
  text-transform: none;
}

body.cabinet-v7 .cabinet-nav button {
  min-height: 40px;
  border-radius: 6px;
  color: rgba(255, 255, 255, .79);
}

body.cabinet-v7 .cabinet-nav button:hover {
  background: rgba(255, 255, 255, .045);
  color: #fff;
}

body.cabinet-v7 .cabinet-nav button.is-active,
body.cabinet-v7 .cabinet-nav button[aria-current="page"] {
  background: #173229;
  color: #fff;
  box-shadow: inset 2px 0 0 #5bc49e;
}

body.cabinet-v7 .work-grid {
  padding: 24px clamp(28px, 3vw, 52px) 34px;
}

body.cabinet-v7 .cabinet-main .work-grid :where(h2, h3, .section-label) {
  color: #15211c;
  font-weight: 520;
}

body.cabinet-v7 .cabinet-main .work-grid :where(small, time, dt) {
  color: #78837d;
}

body.cabinet-v7 .operations-summary {
  gap: 10px;
  margin-bottom: 18px;
  padding: 0;
  background: #fff;
}

body.cabinet-v7 .operations-brief,
body.cabinet-v7 .operations-glance button {
  min-height: 78px;
  border-radius: 7px;
  background: #fff;
  box-shadow: var(--premium-shadow);
}

body.cabinet-v7 .operations-brief {
  padding: 14px 17px;
  box-shadow: inset 2px 0 0 #208269, var(--premium-shadow);
}

body.cabinet-v7 .operations-glance {
  gap: 8px;
}

body.cabinet-v7 .operations-glance button {
  padding: 12px 14px;
}

body.cabinet-v7 .operations-glance button:hover {
  background: #fff;
  box-shadow: var(--premium-shadow-hover);
}

body.cabinet-v7 .operations-pulse,
body.cabinet-v7 .operations-analytics-grid,
body.cabinet-v7 .market-audit-summary {
  gap: 9px;
}

body.cabinet-v7 .operations-pulse > div,
body.cabinet-v7 .operations-analytics-grid > span,
body.cabinet-v7 .market-audit-summary > span,
body.cabinet-v7 .market-audit-summary > span:first-child,
body.cabinet-v7 .market-audit-summary > span:nth-child(2),
body.cabinet-v7 .market-audit-summary > span:nth-child(3),
body.cabinet-v7 .market-audit-summary > span:nth-child(4) {
  min-height: 96px;
  padding: 15px 17px;
  border-radius: 7px;
  background: #fff;
  box-shadow: var(--premium-shadow);
}

body.cabinet-v7 .operations-pulse > div:first-child,
body.cabinet-v7 .operations-pulse > div:nth-child(2),
body.cabinet-v7 .operations-pulse > div:nth-child(3),
body.cabinet-v7 .operations-analytics-grid > span:first-child {
  background: #fff;
}

body.cabinet-v7 .operations-pulse strong,
body.cabinet-v7 .operations-analytics-grid strong,
body.cabinet-v7 .market-audit-summary strong {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 480;
}

body.cabinet-v7 .operations-overview-detail,
body.cabinet-v7 .operations-analytics-detail {
  gap: clamp(24px, 3vw, 46px);
}

body.cabinet-v7 .operations-coverage article,
body.cabinet-v7 .operations-leaders article,
body.cabinet-v7 .operations-analytics-product,
body.cabinet-v7 .operations-risk-product,
body.cabinet-v7 .operations-data-coverage article,
body.cabinet-v7 .operations-task-item,
body.cabinet-v7 .operations-customer-item {
  border-radius: 5px;
  background: var(--premium-quiet);
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

body.cabinet-v7 .operations-coverage article:hover,
body.cabinet-v7 .operations-leaders article:hover,
body.cabinet-v7 .operations-analytics-product:hover,
body.cabinet-v7 .operations-risk-product:hover {
  background: #fff;
  box-shadow: var(--premium-shadow-hover);
  transform: translateY(-1px);
}

body.cabinet-v7 .product-workspace-nav {
  min-height: 42px;
  gap: 24px;
  margin-bottom: 18px;
  box-shadow: inset 0 -1px 0 var(--premium-separator);
}

body.cabinet-v7 .product-workspace-nav .is-active {
  box-shadow: inset 0 -2px 0 #7255c8;
}

body.cabinet-v7 .work-grid[data-active-tab="products"] {
  grid-template-columns: minmax(286px, 320px) minmax(0, 1fr);
  column-gap: clamp(24px, 3vw, 46px);
}

body.cabinet-v7 .filter-row :where(input, select),
body.cabinet-v7 :where(.connection-row, .notification-row) :where(input, select, textarea) {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  outline: 0;
  background: #f3f6f4;
  box-shadow: none;
}

body.cabinet-v7 .filter-row :where(input, select):focus,
body.cabinet-v7 :where(.connection-row, .notification-row) :where(input, select, textarea):focus {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(18, 117, 88, .15);
}

body.cabinet-v7 .mode-chip {
  border-radius: 5px;
  background: #fff;
  color: #707b75;
}

body.cabinet-v7 .mode-chip.is-active {
  background: #eaf4f0;
  color: #0d6f56;
}

body.cabinet-v7 .product-row {
  padding: 11px 10px;
  border-radius: 5px;
}

body.cabinet-v7 .product-row.is-active {
  background: #edf6f2;
  box-shadow: inset 2px 0 0 #168062;
}

body.cabinet-v7 .product-analysis-head {
  gap: 10px 18px;
  margin-bottom: 18px;
  padding: 0 0 16px;
  background: #fff;
  box-shadow: inset 0 -1px 0 var(--premium-separator);
}

body.cabinet-v7 .selected-product-main {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
}

body.cabinet-v7 .selected-product-photo,
body.cabinet-v7 .selected-product-photo .product-photo-link,
body.cabinet-v7 .selected-product-photo img {
  width: 64px;
  height: 82px;
  border-radius: 6px;
}

body.cabinet-v7 .selected-product-copy strong {
  max-width: 860px;
  font-size: clamp(20px, 1.65vw, 24px);
  font-weight: 500;
}

body.cabinet-v7 .selected-product-actions button {
  min-height: 32px;
  border-radius: 5px;
  background: #f4f6f5;
}

body.cabinet-v7 .selected-product-facts {
  gap: 0;
  padding: 12px 0 0;
  border-radius: 0;
  background: #fff;
}

body.cabinet-v7 .selected-product-facts > div {
  min-height: 40px;
  padding: 0 13px;
  box-shadow: inset -1px 0 0 var(--premium-separator);
}

body.cabinet-v7 .selected-product-facts dt { font-size: 10.75px; }
body.cabinet-v7 .selected-product-facts dd { font-size: 13.5px; }

body.cabinet-v7 .selected-product-facts > div:first-child { padding-left: 0; }
body.cabinet-v7 .selected-product-facts > div:last-child { box-shadow: none; }

body.cabinet-v7 .selected-product-recommendation,
body.cabinet-v7 .selected-product-recommendation.is-empty {
  min-height: 38px;
  padding: 9px 0 0;
  border-radius: 0;
  background: #fff;
}

body.cabinet-v7 .product-analysis-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(28px, 3.2vw, 50px);
}

body.cabinet-v7 .decision-hero > strong {
  font-weight: 500;
}

body.cabinet-v7 .competitor-row {
  background: #fff;
}

body.cabinet-v7 .market-audit-card {
  min-height: 108px;
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--premium-shadow);
}

body.cabinet-v7 .market-audit-card:hover {
  box-shadow: var(--premium-shadow-hover);
}

body.cabinet-v7 .connection-status {
  margin-bottom: 20px;
}

body.cabinet-v7 .connect-grid {
  gap: 24px;
}

body.cabinet-v7 .connection-section > h2 {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 520;
}

body.cabinet-v7 .connection-list {
  gap: 16px;
}

body.cabinet-v7 .connection-row,
body.cabinet-v7 .connection-row[data-connect-service="wb"],
body.cabinet-v7 .connection-row[data-connect-service="yandex"] {
  min-height: 118px;
  padding: 16px 17px;
  border-radius: 7px;
  background: #fff;
  box-shadow: var(--premium-shadow);
}

body.cabinet-v7 .connection-row[data-connect-service="wb"],
body.cabinet-v7 .connection-row[data-connect-service="yandex"] {
  box-shadow: var(--premium-shadow);
}

body.cabinet-v7 .connection-action,
body.cabinet-v7 .operations-section-head button,
body.cabinet-v7 .operations-primary,
body.cabinet-v7 [data-export-operations] {
  min-height: 38px;
  border-radius: 6px;
  background: #111914;
  box-shadow: 0 8px 20px rgba(17, 25, 20, .12);
}

body.cabinet-v7 .notification-row {
  min-height: 46px;
  padding: 3px 0;
}

body.cabinet-v7 .cabinet-sidebar-robot {
  right: auto;
  z-index: 24;
  pointer-events: none;
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-avatar {
  filter: drop-shadow(0 8px 14px rgba(11, 24, 31, .13));
}

@container product-analysis (max-width: 760px) {
  body.cabinet-v7 .product-analysis-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 1180px) {
  body.cabinet-v7 .work-grid[data-active-tab="products"] {
    grid-template-columns: minmax(264px, 292px) minmax(0, 1fr);
    column-gap: 22px;
  }

  body.cabinet-v7 .product-analysis-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .cabinet-sidebar-robot {
    width: 184px;
    opacity: .92;
  }
}

@media (max-width: 920px) {
  body.cabinet-v7 .work-grid {
    padding: 18px 16px 28px;
  }

  body.cabinet-v7 .work-grid[data-active-tab="products"] {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .operations-summary,
  body.cabinet-v7 .operations-overview-detail,
  body.cabinet-v7 .operations-analytics-detail,
  body.cabinet-v7 .connection-list {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .cabinet-sidebar-robot {
    display: none;
  }
}

@media (max-width: 700px) {
  body.cabinet-v7 .operations-glance,
  body.cabinet-v7 .operations-pulse,
  body.cabinet-v7 .operations-analytics-grid,
  body.cabinet-v7 .market-audit-summary,
  body.cabinet-v7 .selected-product-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cabinet-v7 .operations-brief {
    min-height: 66px;
  }

  body.cabinet-v7 .selected-product-facts > div {
    padding: 8px 10px;
    box-shadow: none;
  }

  body.cabinet-v7 .selected-product-facts > div:first-child { padding-left: 10px; }

  body.cabinet-v7 .product-analysis-head {
    box-shadow: none;
  }
}

/* Premium handoff v90: compact workspaces, unframed lists and calmer type. */
body.cabinet-v7 .cabinet-main {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "kern" 1, "liga" 1, "tnum" 1;
}

body.cabinet-v7 :where(
  .operations-brief strong,
  .operations-glance button span,
  .operations-pulse strong,
  .operations-analytics-grid strong,
  .market-audit-summary strong,
  .selected-product-copy strong,
  .decision-hero > strong,
  .competitor-row strong
) {
  font-weight: 500;
  letter-spacing: 0;
}

body.cabinet-v7 :where(
  .operations-section-head button,
  .operations-primary,
  [data-export-operations],
  .connection-action,
  .selected-product-actions button
) {
  min-height: 36px;
  border-radius: 5px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
}

body.cabinet-v7 .operations-workspace[data-operation-view="overview"] .operations-content,
body.cabinet-v7 .operations-workspace:not([data-operation-view="overview"]) .operations-content {
  min-height: 0;
}

body.cabinet-v7 .operations-pulse {
  gap: 0;
  margin-bottom: 20px;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0 13px 34px rgba(20, 30, 25, .055);
}

body.cabinet-v7 .operations-pulse > div,
body.cabinet-v7 .operations-pulse > div:first-child,
body.cabinet-v7 .operations-pulse > div:nth-child(2),
body.cabinet-v7 .operations-pulse > div:nth-child(3) {
  min-height: 78px;
  padding: 11px 19px;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.cabinet-v7 .operations-pulse small,
body.cabinet-v7 .operations-analytics-grid small,
body.cabinet-v7 .market-audit-summary small {
  color: #77827c;
  font-size: 11.5px;
  font-weight: 400;
}

body.cabinet-v7 .operations-pulse strong {
  margin-top: 7px;
  font-size: clamp(23px, 1.8vw, 27px);
}

body.cabinet-v7 .operations-overview-detail {
  gap: clamp(28px, 3.5vw, 54px);
  min-height: 0;
}

body.cabinet-v7 :where(.operations-coverage, .operations-leaders) > header {
  min-height: 48px;
  margin-bottom: 5px;
}

body.cabinet-v7 :where(.operations-coverage, .operations-leaders) > header strong,
body.cabinet-v7 :where(.operations-analytics-detail, .operations-data-coverage, .operations-stock-attention) header strong {
  font-size: 16px;
  font-weight: 500;
}

body.cabinet-v7 .operations-coverage > div,
body.cabinet-v7 .operations-leaders > div,
body.cabinet-v7 .operations-data-coverage > div {
  gap: 1px;
}

body.cabinet-v7 :where(
  .operations-coverage article,
  .operations-leaders article,
  .operations-analytics-product,
  .operations-risk-product,
  .operations-data-coverage article
) {
  min-height: 56px;
  padding: 8px 5px;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transform: none;
}

body.cabinet-v7 .operations-content .operations-coverage article,
body.cabinet-v7 .operations-content .operations-leaders article,
body.cabinet-v7 .operations-content .operations-analytics-product,
body.cabinet-v7 .operations-content .operations-risk-product,
body.cabinet-v7 .operations-content .operations-data-coverage article {
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  transform: none;
}

body.cabinet-v7 :where(
  .operations-coverage article,
  .operations-leaders article,
  .operations-analytics-product,
  .operations-risk-product,
  .operations-data-coverage article
):hover {
  border-radius: 5px;
  background: #f7faf8;
  box-shadow: none;
  transform: none;
}

body.cabinet-v7 .operations-content .operations-coverage article:hover,
body.cabinet-v7 .operations-content .operations-leaders article:hover,
body.cabinet-v7 .operations-content .operations-analytics-product:hover,
body.cabinet-v7 .operations-content .operations-risk-product:hover,
body.cabinet-v7 .operations-content .operations-data-coverage article:hover {
  border-radius: 5px;
  background: #f7faf8;
  box-shadow: none;
  transform: none;
}

body.cabinet-v7 .operations-coverage article {
  grid-template-columns: minmax(138px, 1fr) minmax(86px, .72fr) 42px;
}

body.cabinet-v7 .operations-leaders article {
  grid-template-columns: 18px 36px minmax(0, 1fr) auto;
  padding-right: 5px;
}

body.cabinet-v7 .operations-leaders article:nth-last-child(-n + 2) {
  padding-right: 5px;
}

body.cabinet-v7 .operations-coverage article strong,
body.cabinet-v7 .operations-leaders article strong,
body.cabinet-v7 .operations-analytics-copy strong,
body.cabinet-v7 .operations-data-coverage article strong {
  font-size: 13px;
  font-weight: 500;
}

body.cabinet-v7 .operations-coverage article small,
body.cabinet-v7 .operations-leaders article small,
body.cabinet-v7 .operations-analytics-copy small,
body.cabinet-v7 .operations-data-coverage article small {
  color: #7a857f;
  font-size: 10.75px;
  font-weight: 400;
}

body.cabinet-v7 .operations-analytics-grid {
  gap: 0;
  margin-bottom: 22px;
  padding: 8px 0;
  background: #fff;
  box-shadow: 0 13px 34px rgba(20, 30, 25, .055);
}

body.cabinet-v7 .operations-analytics-grid > span,
body.cabinet-v7 .operations-analytics-grid > span:first-child {
  min-height: 76px;
  padding: 11px 16px;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

body.cabinet-v7 .operations-analytics-grid strong {
  margin-top: 7px;
  font-size: clamp(20px, 1.6vw, 24px);
}

body.cabinet-v7 .operations-analytics-detail {
  gap: clamp(28px, 3.5vw, 54px);
}

body.cabinet-v7 .cabinet-empty-state {
  grid-template-columns: 42px minmax(0, 500px);
  place-content: start;
  justify-content: start;
  gap: 14px;
  min-height: 0;
  padding: clamp(42px, 7vh, 70px) 2px 28px;
}

body.cabinet-v7 .cabinet-empty-state > img {
  width: 42px;
  height: 42px;
}

body.cabinet-v7 .cabinet-empty-state > span {
  gap: 4px;
}

body.cabinet-v7 .cabinet-empty-state strong {
  font-size: 17px;
  font-weight: 500;
}

body.cabinet-v7 .cabinet-empty-state small {
  max-width: 470px;
  font-size: 12.5px;
  line-height: 1.5;
}

body.cabinet-v7 .cabinet-empty-state > button {
  min-height: 34px;
  margin-top: 2px;
  padding: 0 13px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
}

body.cabinet-v7 .operations-task-grid:has(> .cabinet-empty-state) {
  min-height: 0;
}

body.cabinet-v7 .product-analysis-layout {
  align-items: start;
}

body.cabinet-v7 .panel-titlebar {
  min-height: 36px;
}

body.cabinet-v7 .section-label,
body.cabinet-v7 .decision-kicker,
body.cabinet-v7 :where(.decision-evidence, .decision-action-section) h3 {
  text-transform: none;
  letter-spacing: 0;
}

body.cabinet-v7 .section-label,
body.cabinet-v7 .panel-competitors .section-label {
  font-size: 16px;
  font-weight: 500;
}

body.cabinet-v7 .decision-hero {
  padding: 16px 17px 14px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 11px 30px rgba(20, 30, 25, .065);
}

body.cabinet-v7 .decision-kicker {
  margin-bottom: 7px;
  color: #23725d;
  font-size: 11px;
  font-weight: 500;
}

body.cabinet-v7 .decision-kicker i {
  width: 6px;
  height: 6px;
}

body.cabinet-v7 .decision-hero > strong {
  font-size: 15.5px;
  line-height: 1.46;
}

body.cabinet-v7 :where(.decision-evidence, .decision-action-section) h3 {
  margin-bottom: 7px;
  color: #4f5b55;
  font-size: 13px;
  font-weight: 500;
}

body.cabinet-v7 .decision-evidence-grid,
body.cabinet-v7 .decision-actions {
  gap: 4px 20px;
}

body.cabinet-v7 .decision-evidence-grid article,
body.cabinet-v7 .decision-actions article {
  padding: 9px 8px 9px 14px;
}

body.cabinet-v7 .decision-evidence-grid article::before,
body.cabinet-v7 .decision-actions article::before {
  top: 14px;
  bottom: auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

body.cabinet-v7 .decision-evidence-grid strong,
body.cabinet-v7 .decision-actions strong {
  font-size: 12.75px;
  font-weight: 500;
}

body.cabinet-v7 .decision-evidence-grid p {
  font-size: 11.5px;
}

body.cabinet-v7 .competitor-row {
  padding: 12px 13px;
  border-radius: 6px;
  box-shadow: 0 9px 25px rgba(20, 30, 25, .055);
}

body.cabinet-v7 .cabinet-sidebar-robot {
  left: 7px;
  bottom: 59px;
  width: 194px;
  height: 124px;
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-avatar {
  width: 64px;
  height: 70px;
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-clouds {
  right: 43px;
  bottom: 38px;
  width: 144px;
  min-height: 72px;
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud {
  width: 144px;
  height: 72px;
  min-height: 72px;
  padding: 17px 19px 14px 16px;
  background: transparent;
  color: #fff;
  font-size: 9.8px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.28;
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud-body,
body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud-tail {
  fill: #73b8d1;
}

body.cabinet-v7 .cabinet-sidebar-robot .sm-companion-cloud.is-long {
  padding: 17px 19px 14px 16px;
  font-size: 9.1px;
  line-height: 1.24;
}

@media (max-width: 700px) {
  body.cabinet-v7 .cabinet-empty-state {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 34px 0 22px;
  }

  body.cabinet-v7 .cabinet-empty-state > img {
    display: block;
    width: 36px;
    height: 36px;
  }

  body.cabinet-v7 .cabinet-empty-state > button {
    display: inline-flex;
    grid-column: 2;
  }

  body.cabinet-v7 .operations-pulse,
  body.cabinet-v7 .operations-analytics-grid {
    gap: 2px;
    box-shadow: none;
  }

  body.cabinet-v7 .operations-pulse > div,
  body.cabinet-v7 .operations-analytics-grid > span,
  body.cabinet-v7 .operations-analytics-grid > span:first-child {
    min-height: 72px;
    padding: 10px 11px;
    background: #f7f9f8;
  }

  body.cabinet-v7 .product-item-facts:not(.is-two) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cabinet-v7 .product-item-facts:not(.is-two) > span:last-child {
    display: none;
  }
}

/* Product workspace v100: compact master-detail flow, stable controls and list-first paging. */
body.cabinet-v7 .work-grid[data-active-tab="products"] {
  align-content: start;
  grid-auto-rows: max-content;
  overflow: visible;
  padding-bottom: 0;
}

body.cabinet-v7 .work-grid[data-active-tab="products"][data-product-workspace-view="cards"] {
  grid-template-areas:
    "product-tabs product-tabs"
    "product-tools product-tools"
    "product-list product-detail";
  grid-template-columns: minmax(300px, 336px) minmax(0, 1fr);
  row-gap: 12px;
}

body.cabinet-v7 .work-grid[data-active-tab="products"] .product-workspace-nav {
  grid-area: product-tabs;
  width: 100%;
  min-height: 38px;
  margin: 0;
  gap: 22px;
  box-shadow: none;
}

body.cabinet-v7 .product-workspace-nav :where(button, span) {
  min-height: 36px;
  padding: 0 1px;
  font-size: 12.5px;
}

body.cabinet-v7 .work-grid[data-active-tab="products"][data-product-workspace-view="cards"] .panel-product {
  display: contents;
  position: static;
}

body.cabinet-v7 .work-grid[data-active-tab="products"][data-product-workspace-view="cards"] .panel-product > .panel-head {
  position: sticky;
  top: 0;
  z-index: 16;
  grid-area: product-tools;
  display: grid;
  grid-template-columns: minmax(430px, 1fr) auto;
  align-items: center;
  gap: 8px 18px;
  width: 100%;
  margin: 0;
  padding: 5px 0 9px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 22px -24px rgba(19, 34, 27, .55);
  backdrop-filter: blur(10px);
}

body.cabinet-v7 .panel-product .filter-row {
  display: grid;
  grid-template-columns: minmax(148px, 176px) minmax(220px, 1fr) auto;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

body.cabinet-v7 .panel-product .filter-row :where(input, select) {
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding-inline: 11px;
  border-radius: 6px;
  font-size: 12px;
}

body.cabinet-v7 .panel-product .filter-row .product-report-open {
  grid-column: auto;
  align-self: center;
  justify-self: end;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 6px;
  background: #f2f5f3;
  color: #176e54;
  font-size: 11.75px;
  white-space: nowrap;
}

body.cabinet-v7 .panel-product .mode-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 3px;
  min-width: 0;
  padding: 0;
}

body.cabinet-v7 .panel-product .mode-chip {
  min-height: 32px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 11.25px;
  white-space: nowrap;
}

body.cabinet-v7 .work-grid[data-active-tab="products"][data-product-workspace-view="cards"] .product-layout {
  grid-area: product-list;
  align-self: start;
  max-height: none;
  overflow: visible;
}

body.cabinet-v7 .work-grid[data-active-tab="products"][data-product-workspace-view="cards"] .product-analysis {
  grid-area: product-detail;
  align-self: start;
  max-height: calc(100dvh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-color: #d5ded9 transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

body.cabinet-v7 .work-grid[data-active-tab="products"][data-product-workspace-view="cards"] .product-analysis::-webkit-scrollbar {
  width: 6px;
}

body.cabinet-v7 .work-grid[data-active-tab="products"][data-product-workspace-view="cards"] .product-analysis::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: #d5ded9;
}

body.cabinet-v7 .decision-more-facts {
  margin-top: 9px;
  border: 0;
}

body.cabinet-v7 .decision-more-facts > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  color: #176e54;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

body.cabinet-v7 .decision-more-facts > summary::-webkit-details-marker {
  display: none;
}

body.cabinet-v7 .decision-more-facts > summary::after {
  width: 6px;
  height: 6px;
  margin-left: 1px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
  content: "";
}

body.cabinet-v7 .decision-more-facts[open] > summary::after {
  transform: translateY(2px) rotate(225deg);
}

body.cabinet-v7 .decision-more-facts > summary span {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #edf6f2;
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
}

body.cabinet-v7 .decision-more-facts[open] > summary {
  margin-bottom: 7px;
}

body.cabinet-v7 .decision-actionable-section,
body.cabinet-v7 .decision-benchmark-section {
  margin-top: 16px;
}

body.cabinet-v7 .decision-actionable-section h3 {
  margin: 0 0 10px;
  color: #12221c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.cabinet-v7 .decision-actionable-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.cabinet-v7 .decision-actionable-card {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 13px 14px 13px 42px;
  border: 1px solid #e5ece8;
  border-radius: 8px;
  background: #fff;
}

body.cabinet-v7 .decision-actionable-card > span {
  position: absolute;
  top: 13px;
  left: 13px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #edf6f2;
  color: #176e54;
  font-size: 10px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

body.cabinet-v7 .decision-actionable-card.tone-advantage > span {
  background: #f0ecff;
  color: #5b45b0;
}

body.cabinet-v7 .decision-actionable-card strong {
  color: #12221c;
  font-size: 13px;
  line-height: 1.35;
}

body.cabinet-v7 .decision-actionable-card p,
body.cabinet-v7 .decision-actionable-card small {
  margin: 0;
  color: #5d6e66;
  font-size: 12px;
  line-height: 1.45;
}

body.cabinet-v7 .decision-actionable-card small {
  color: #7d8b85;
}

body.cabinet-v7 .decision-benchmark-section {
  border: 0;
}

body.cabinet-v7 .decision-price-corridor {
  display: grid;
  gap: 11px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #d9e8e1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(240, 249, 245, .96), rgba(255, 255, 255, .98));
}

body.cabinet-v7 .decision-price-corridor.tone-current_price_below_safe_floor,
body.cabinet-v7 .decision-price-corridor.tone-do_not_match_competitor_price {
  border-color: #f0d4c7;
  background:
    linear-gradient(135deg, rgba(255, 248, 244, .98), rgba(255, 255, 255, .98));
}

body.cabinet-v7 .decision-price-corridor.tone-raise_price_possible,
body.cabinet-v7 .decision-price-corridor.tone-safe_decrease_possible {
  border-color: #c9e5d7;
  background:
    linear-gradient(135deg, rgba(245, 252, 248, .98), rgba(255, 255, 255, .98));
}

body.cabinet-v7 .decision-price-corridor > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

body.cabinet-v7 .decision-price-corridor > header span {
  color: #12221c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.cabinet-v7 .decision-price-corridor > header strong {
  color: #176e54;
  font-size: 12px;
  font-weight: 720;
  text-align: right;
}

body.cabinet-v7 .decision-price-corridor.tone-current_price_below_safe_floor > header strong,
body.cabinet-v7 .decision-price-corridor.tone-do_not_match_competitor_price > header strong {
  color: #9a4b33;
}

body.cabinet-v7 .decision-price-corridor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.cabinet-v7 .decision-price-corridor-grid article {
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 10px 11px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .82);
  box-shadow: inset 0 0 0 1px rgba(18, 34, 28, .05);
}

body.cabinet-v7 .decision-price-corridor-grid span,
body.cabinet-v7 .decision-price-corridor > p,
body.cabinet-v7 .decision-price-corridor > small,
body.cabinet-v7 .decision-price-corridor-verdict span {
  margin: 0;
  color: #5d6e66;
  font-size: 12px;
  line-height: 1.4;
}

body.cabinet-v7 .decision-price-corridor-grid strong {
  color: #12221c;
  font-size: 14px;
  font-weight: 740;
}

body.cabinet-v7 .decision-price-corridor-verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 38px;
  padding: 9px 11px;
  border-radius: 7px;
  background: #f7faf8;
}

body.cabinet-v7 .decision-price-corridor-verdict strong {
  color: #176e54;
  font-size: 12.5px;
  font-weight: 740;
  text-align: right;
}

body.cabinet-v7 .decision-price-corridor-verdict[data-safe="false"] strong {
  color: #9a4b33;
}

body.cabinet-v7 .decision-price-economics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

body.cabinet-v7 .decision-price-economics span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #52645b;
  font-size: 11.5px;
  font-weight: 680;
  line-height: 1.25;
  box-shadow: inset 0 0 0 1px rgba(18, 34, 28, .06);
}

body.cabinet-v7 .decision-price-map,
body.cabinet-v7 .decision-competitive-verdict {
  display: grid;
  gap: 11px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e5ece8;
  border-radius: 8px;
  background: #fff;
}

body.cabinet-v7 .decision-price-map > header,
body.cabinet-v7 .decision-competitive-verdict > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

body.cabinet-v7 .decision-price-map > header span,
body.cabinet-v7 .decision-competitive-verdict > header span {
  color: #12221c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.cabinet-v7 .decision-price-map > header strong,
body.cabinet-v7 .decision-competitive-verdict > header strong {
  color: #7d8b85;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

body.cabinet-v7 .decision-price-map-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

body.cabinet-v7 .decision-price-map-grid article {
  display: grid;
  gap: 4px;
  min-height: 64px;
  padding: 10px 11px;
  border-radius: 7px;
  background: #f7faf8;
}

body.cabinet-v7 .decision-price-map-grid span,
body.cabinet-v7 .decision-price-map > p,
body.cabinet-v7 .decision-competitive-verdict > p,
body.cabinet-v7 .decision-competitive-verdict > small,
body.cabinet-v7 .decision-price-map details summary,
body.cabinet-v7 .decision-price-map details article span {
  color: #5d6e66;
  font-size: 12px;
  line-height: 1.4;
}

body.cabinet-v7 .decision-price-map-grid strong {
  color: #12221c;
  font-size: 14px;
  font-weight: 740;
}

body.cabinet-v7 .decision-price-range {
  display: grid;
  grid-template-columns: auto minmax(80px, 1fr) auto;
  align-items: center;
  gap: 10px;
}

body.cabinet-v7 .decision-price-range span {
  color: #12221c;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

body.cabinet-v7 .decision-price-range i {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e8f1ed, #56b38f 45%, #f2d071);
}

body.cabinet-v7 .decision-price-map > p,
body.cabinet-v7 .decision-competitive-verdict > p,
body.cabinet-v7 .decision-competitive-verdict > small {
  margin: 0;
}

body.cabinet-v7 .decision-price-map details {
  border: 0;
}

body.cabinet-v7 .decision-price-map details summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  list-style: none;
}

body.cabinet-v7 .decision-price-map details summary::-webkit-details-marker {
  display: none;
}

body.cabinet-v7 .decision-price-map details summary span {
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #edf6f2;
  color: #176e54;
  font-size: 9.5px;
}

body.cabinet-v7 .decision-price-map details > div {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

body.cabinet-v7 .decision-price-map details article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 8px 10px;
  border-radius: 7px;
  background: #f7faf8;
}

body.cabinet-v7 .decision-price-map details article strong {
  overflow: hidden;
  color: #12221c;
  font-size: 12px;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cabinet-v7 .decision-parameter-map {
  display: grid;
  gap: 11px;
  margin-top: 16px;
}

body.cabinet-v7 .decision-parameter-map > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

body.cabinet-v7 .decision-parameter-map > header span {
  color: #12221c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.cabinet-v7 .decision-parameter-map > header strong {
  color: #7d8b85;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
}

body.cabinet-v7 .decision-parameter-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

body.cabinet-v7 .decision-parameter-map-grid article {
  display: grid;
  gap: 9px;
  min-height: 132px;
  padding: 13px 14px;
  border: 1px solid #e5ece8;
  border-radius: 8px;
  background: #fff;
}

body.cabinet-v7 .decision-parameter-map-grid article.tone-market_gap {
  background: #fffaf7;
}

body.cabinet-v7 .decision-parameter-map-grid article.tone-market_advantage {
  background: #f7fbf8;
}

body.cabinet-v7 .decision-parameter-map-grid article > div:first-child {
  display: grid;
  gap: 3px;
}

body.cabinet-v7 .decision-parameter-map-grid span,
body.cabinet-v7 .decision-parameter-map-grid dt,
body.cabinet-v7 .decision-parameter-map-grid p,
body.cabinet-v7 .decision-parameter-map-grid small {
  margin: 0;
  color: #5d6e66;
  font-size: 12px;
  line-height: 1.42;
}

body.cabinet-v7 .decision-parameter-map-grid strong {
  color: #12221c;
  font-size: 14px;
  font-weight: 740;
  line-height: 1.25;
}

body.cabinet-v7 .decision-parameter-map-grid dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

body.cabinet-v7 .decision-parameter-map-grid dl div {
  display: grid;
  gap: 2px;
  padding: 8px 9px;
  border-radius: 7px;
  background: #f7faf8;
}

body.cabinet-v7 .decision-parameter-map-grid dd {
  margin: 0;
  color: #12221c;
  font-size: 14px;
  font-weight: 740;
}

body.cabinet-v7 .decision-parameter-map-grid small {
  overflow: hidden;
  color: #7d8b85;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cabinet-v7 .decision-benchmark-section > summary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  color: #176e54;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

body.cabinet-v7 .decision-benchmark-section > summary::-webkit-details-marker {
  display: none;
}

body.cabinet-v7 .decision-benchmark-section > summary span {
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #edf6f2;
  font-size: 9.5px;
}

body.cabinet-v7 .decision-benchmark-section > p {
  margin: 3px 0 10px;
  color: #7d8b85;
  font-size: 12px;
}

body.cabinet-v7 .decision-benchmark-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body.cabinet-v7 .decision-benchmark-grid article {
  display: grid;
  gap: 4px;
  min-height: 98px;
  padding: 11px 12px;
  border: 1px solid #e5ece8;
  border-radius: 8px;
  background: #fff;
}

body.cabinet-v7 .decision-benchmark-grid span,
body.cabinet-v7 .decision-benchmark-grid small {
  color: #7d8b85;
  font-size: 11px;
}

body.cabinet-v7 .decision-benchmark-grid strong,
body.cabinet-v7 .decision-benchmark-grid em {
  color: #12221c;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
}

body.cabinet-v7 .decision-benchmark-grid em {
  color: #5d6e66;
  font-weight: 500;
}

body.cabinet-v7 .decision-benchmark-grid article.tone-weaker small {
  color: #9a4b33;
}

body.cabinet-v7 .decision-benchmark-grid article.tone-stronger small {
  color: #176e54;
}

@media (max-width: 720px) {
  body.cabinet-v7 .decision-actionable-grid,
  body.cabinet-v7 .decision-benchmark-grid,
  body.cabinet-v7 .decision-price-corridor-grid,
  body.cabinet-v7 .decision-price-map-grid,
  body.cabinet-v7 .decision-parameter-map-grid {
    grid-template-columns: 1fr;
  }

  body.cabinet-v7 .decision-price-map > header,
  body.cabinet-v7 .decision-price-corridor > header,
  body.cabinet-v7 .decision-parameter-map > header {
    display: grid;
  }

  body.cabinet-v7 .decision-price-map > header strong,
  body.cabinet-v7 .decision-price-corridor > header strong,
  body.cabinet-v7 .decision-parameter-map > header strong {
    text-align: left;
  }

  body.cabinet-v7 .decision-price-corridor-verdict {
    display: grid;
  }

  body.cabinet-v7 .decision-price-corridor-verdict strong {
    text-align: left;
  }
}

body.cabinet-v7 .competitor-list {
  gap: 6px;
}

body.cabinet-v7 .competitor-row {
  gap: 7px;
  padding: 10px 11px;
}

body.cabinet-v7 .competitor-row > header {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

body.cabinet-v7 .competitor-row .photo-cell,
body.cabinet-v7 .competitor-row .photo-cell .product-photo-link,
body.cabinet-v7 .competitor-row .photo-cell img {
  width: 40px;
  height: 48px;
}

body.cabinet-v7 .competitor-row .product-name-cell strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12.75px;
  line-height: 1.32;
}

body.cabinet-v7 .competitor-row .product-name-cell small,
body.cabinet-v7 .competitor-link {
  font-size: 10.75px;
}

body.cabinet-v7 .competitor-verdict {
  display: grid;
  grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
  align-items: baseline;
  gap: 5px 9px;
  padding: 7px 9px;
}

body.cabinet-v7 .competitor-verdict strong {
  font-size: 11.75px;
}

body.cabinet-v7 .competitor-verdict span {
  margin-top: 0;
  font-size: 11px;
  line-height: 1.35;
}

body.cabinet-v7 .competitor-visual-comparison {
  padding: 7px 9px;
}

body.cabinet-v7 .competitor-visual-comparison > header {
  margin-bottom: 6px;
}

body.cabinet-v7 .competitor-visual-comparison > header span {
  font-size: 11.5px;
}

body.cabinet-v7 .competitor-visual-comparison > div {
  gap: 7px 13px;
}

body.cabinet-v7 .competitor-visual-comparison article {
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: auto 3px 3px;
  gap: 4px 7px;
}

body.cabinet-v7 .competitor-visual-comparison article > span {
  font-size: 10.5px;
}

body.cabinet-v7 .competitor-visual-comparison article > i {
  height: 3px;
}

body.cabinet-v7 .competitor-visual-comparison article > small {
  font-size: 9.75px;
}

body.cabinet-v7 .competitor-fact-line {
  gap: 5px;
}

body.cabinet-v7 .competitor-fact-line span {
  gap: 1px;
}

body.cabinet-v7 .competitor-fact-line small {
  font-size: 10px;
}

body.cabinet-v7 .competitor-fact-line strong,
body.cabinet-v7 .competitor-details summary {
  font-size: 11.25px;
}

body.cabinet-v7 .selected-product-facts > div {
  padding-inline: 10px;
}

body.cabinet-v7 .product-catalog {
  gap: 4px;
}

body.cabinet-v7 .product-row,
body.cabinet-v7 .product-stream-item {
  min-height: 86px;
  padding: 8px;
}

body.cabinet-v7 .product-item-head {
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

body.cabinet-v7 .product-item-photo,
body.cabinet-v7 .product-item-photo .product-photo-link,
body.cabinet-v7 .product-item-photo img {
  width: 38px;
  height: 48px;
}

body.cabinet-v7 .product-item-copy strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 12.5px;
  line-height: 1.32;
}

body.cabinet-v7 .product-item-copy small,
body.cabinet-v7 .product-item-market em,
body.cabinet-v7 .product-item-facts small {
  font-size: 10.75px;
}

body.cabinet-v7 .product-item-facts {
  gap: 5px;
  margin: 6px 0 0 48px;
  padding-top: 0;
}

body.cabinet-v7 .product-item-facts strong {
  font-size: 11.75px;
}

body.cabinet-v7 .product-pagination {
  position: static;
  min-height: 32px;
  margin: 9px 0 0;
  padding: 0;
}

body.cabinet-v7 .product-pagination button,
body.cabinet-v7 .product-page-gap {
  min-width: 27px;
  width: 27px;
  height: 27px;
  min-height: 27px;
  font-size: 11px;
}

body.cabinet-v7 .work-grid[data-active-tab="products"]:not([data-product-workspace-view="cards"]) {
  grid-template-areas:
    "product-tabs"
    "product-sub";
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: max-content max-content;
  align-content: start;
  row-gap: 12px;
}

body.cabinet-v7 .work-grid[data-active-tab="products"] .product-subworkspace.is-product-subworkspace-active {
  grid-area: product-sub;
  align-self: start;
  width: 100%;
  min-height: 0;
}

body.cabinet-v7 .work-grid input:not([type="checkbox"]):not([type="radio"]):not([data-label-quantity]),
body.cabinet-v7 .work-grid select {
  height: 36px;
  min-height: 36px;
  border-radius: 6px;
  font-size: 12px;
}

body.cabinet-v7 .work-grid textarea {
  min-height: 68px;
  padding: 9px 11px;
  border-radius: 6px;
  font-size: 12px;
}

body.cabinet-v7 .work-grid :where(
  .operations-primary,
  .operations-settings-save,
  .operations-section-head button,
  .connection-action,
  .connection-row button,
  .notification-row button,
  .product-editor-actions button,
  .period-report-actions button,
  [data-export-operations]
) {
  min-height: 34px;
  padding-inline: 12px;
  border-radius: 5px;
  font-size: 12px;
}

body.cabinet-v7 .operations-product-tools {
  position: sticky;
  top: 6px;
  z-index: 12;
  grid-template-columns: minmax(230px, 1fr) auto auto auto auto;
  align-items: center;
  gap: 7px 11px;
  margin: 0 0 10px;
  padding: 5px 0 7px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
}

body.cabinet-v7 .operations-product-search {
  position: relative;
  display: block;
}

body.cabinet-v7 .operations-product-search input {
  width: 100%;
}

body.cabinet-v7 .operations-product-search > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

body.cabinet-v7 .operations-product-range,
body.cabinet-v7 .operations-selection-count {
  font-size: 11.25px;
  white-space: nowrap;
}

body.cabinet-v7 .operations-settings-line {
  grid-template-columns: auto 108px 124px minmax(150px, 210px) auto auto;
  gap: 7px;
  max-width: none;
  margin-bottom: 10px;
}

body.cabinet-v7 .operations-editor-item {
  min-height: 62px;
  padding-block: 7px;
}

body.cabinet-v7 .operations-product-pagination.is-under-products,
body.cabinet-v7 .operations-label-catalog > .operations-product-pagination {
  position: static;
  justify-content: center;
  width: 100%;
  margin: 11px 0 0;
}

body.cabinet-v7 .operations-product-pagination button {
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
}

body.cabinet-v7 .operations-label-source {
  margin-bottom: 12px;
}

body.cabinet-v7 .operations-label-source button {
  min-height: 34px;
  padding-inline: 11px;
  font-size: 11.5px;
}

body.cabinet-v7 .operations-label-workspace {
  grid-template-columns: minmax(0, 1fr) 252px;
  gap: clamp(18px, 2.2vw, 32px);
}

body.cabinet-v7 .operations-label-toolbar {
  position: sticky;
  top: 6px;
  z-index: 12;
  grid-template-columns: minmax(200px, 1fr) auto auto auto auto;
  margin-bottom: 9px;
  padding: 5px 0 7px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
}

body.cabinet-v7 .operations-label-search input {
  height: 34px;
  min-height: 34px;
}

body.cabinet-v7 .operations-label-product {
  grid-template-columns: 22px 42px minmax(170px, 1fr) minmax(112px, .32fr) 74px;
  gap: 10px;
  min-height: 62px;
  padding: 6px 9px 6px 7px;
}

body.cabinet-v7 .operations-label-photo {
  width: 42px;
  height: 50px;
}

body.cabinet-v7 .operations-label-quantity input {
  width: 54px;
  height: 28px;
  min-height: 28px;
}

body.cabinet-v7 .operations-label-preview-panel {
  top: 8px;
  gap: 11px;
  padding: 14px;
}

body.cabinet-v7 .operations-label-modebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 0;
  margin-bottom: 12px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.cabinet-v7 .operations-label-modebar > span {
  color: #6f7973;
  font-size: 11.75px;
}

body.cabinet-v7 .operations-label-actions label {
  display: block;
}

body.cabinet-v7 .operations-label-actions label > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

body.cabinet-v7 .operations-label-empty {
  display: grid;
  grid-template-columns: 42px minmax(0, 410px) auto;
  align-items: center;
  gap: 14px;
  min-height: 138px;
  max-width: 760px;
  padding: 24px 2px;
}

body.cabinet-v7 .operations-label-empty > img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

body.cabinet-v7 .operations-label-empty > span {
  display: grid;
  gap: 4px;
}

body.cabinet-v7 .operations-label-empty strong {
  color: #17241e;
  font-size: 14px;
  font-weight: 500;
}

body.cabinet-v7 .operations-label-empty small {
  color: #727d77;
  font-size: 11.5px;
  line-height: 1.45;
}

body.cabinet-v7 .operations-label-empty button {
  justify-self: start;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 5px;
  background: #edf6f2;
  color: #176e54;
  font-size: 11.75px;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 1180px) {
  body.cabinet-v7 .work-grid[data-active-tab="products"][data-product-workspace-view="cards"] {
    display: grid;
    grid-template-areas:
      "product-tabs product-tabs"
      "product-tools product-tools"
      "product-list product-detail";
    grid-template-columns: minmax(270px, 292px) minmax(0, 1fr);
  }

  body.cabinet-v7 .work-grid[data-active-tab="products"][data-product-workspace-view="cards"] .panel-product > .panel-head {
    position: static;
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .work-grid[data-active-tab="products"] {
    padding-bottom: 28px;
  }

  body.cabinet-v7 .panel-product .mode-row {
    justify-content: flex-start;
  }

  body.cabinet-v7 .operations-settings-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.cabinet-v7 .operations-product-tools,
  body.cabinet-v7 .operations-label-toolbar {
    grid-template-columns: minmax(0, 1fr) repeat(3, auto);
  }

  body.cabinet-v7 .operations-product-search-tools,
  body.cabinet-v7 .operations-label-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  body.cabinet-v7 .work-grid[data-active-tab="products"][data-product-workspace-view="cards"] {
    grid-template-areas:
      "product-tabs"
      "product-tools"
      "product-list"
      "product-detail";
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .work-grid[data-active-tab="products"][data-product-workspace-view="cards"] .product-analysis {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    scrollbar-gutter: auto;
  }

  body.cabinet-v7 .panel-product .filter-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.cabinet-v7 .panel-product .filter-row > input {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  body.cabinet-v7 .panel-product .filter-row .product-report-open {
    grid-column: 2;
    grid-row: 1;
  }

  body.cabinet-v7 .operations-product-tools,
  body.cabinet-v7 .operations-label-toolbar {
    position: static;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.cabinet-v7 .operations-product-search-tools,
  body.cabinet-v7 .operations-label-search {
    grid-column: 1 / -1;
  }

  body.cabinet-v7 .operations-settings-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  body.cabinet-v7 .product-workspace-nav {
    gap: 16px;
    overflow-x: auto;
  }

  body.cabinet-v7 .panel-product .mode-row {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.cabinet-v7 .operations-label-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  body.cabinet-v7 .operations-label-source {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  body.cabinet-v7 .operations-label-empty {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
    min-height: 0;
    padding: 24px 0;
  }

  body.cabinet-v7 .operations-label-empty > img {
    width: 36px;
    height: 36px;
  }

  body.cabinet-v7 .operations-label-empty > button {
    grid-column: 2;
    justify-self: start;
  }

  body.cabinet-v7 .operations-label-product {
    grid-template-columns: 22px 38px minmax(0, 1fr) 58px;
  }

  body.cabinet-v7 .operations-label-code {
    display: none;
  }

  body.cabinet-v7 .operations-label-preview-panel {
    position: static;
  }

  body.cabinet-v7 .operations-settings-line {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Unified market price control */
.price-control-profile,
.price-control-proposals,
.price-control-costs {
  padding: 24px 0;
  border-bottom: 1px solid rgba(18, 30, 50, .1);
}

.price-control-profile > header,
.price-control-proposals > header,
.price-control-costs > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.price-control-profile header div,
.price-control-proposals header div,
.price-control-costs header div,
.price-control-proposal-copy {
  display: grid;
  gap: 4px;
}

.price-control-profile header small,
.price-control-proposals header small,
.price-control-costs header small,
.price-control-proposal small {
  color: #657083;
  font-size: 12px;
}

.price-control-profile header strong,
.price-control-proposals header strong,
.price-control-costs header strong {
  font-size: 18px;
}

.price-control-profile form {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
}

.price-control-profile form label:not(.operations-switch) {
  display: grid;
  gap: 7px;
}

.price-control-profile input[type="number"] {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #d8dee8;
  border-radius: 6px;
  background: #fff;
}

.price-control-proposal-list {
  display: grid;
}

.price-control-proposal {
  display: grid;
  grid-template-columns: 24px minmax(220px, 2fr) repeat(4, minmax(115px, 1fr));
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(18, 30, 50, .08);
}

.price-control-proposal > span:not(.price-control-proposal-copy) {
  display: grid;
  gap: 3px;
}

.price-control-proposal.is-increase > span:nth-last-child(3) strong { color: #14734d; }
.price-control-proposal.is-decrease > span:nth-last-child(3) strong { color: #b24a37; }
.price-control-proposal em { color: #657083; font-size: 11px; font-style: normal; }

@media (max-width: 980px) {
  .price-control-profile form { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
  .price-control-proposal { grid-template-columns: 24px minmax(190px, 1fr) repeat(2, minmax(100px, 1fr)); }
  .price-control-proposal > span:nth-last-child(-n+2) { grid-column: span 2; }
}

@media (max-width: 640px) {
  .price-control-profile form { grid-template-columns: 1fr; }
  .price-control-profile > header,
  .price-control-proposals > header,
  .price-control-costs > header { align-items: flex-start; flex-direction: column; }
  .price-control-proposal { grid-template-columns: 22px 1fr; }
  .price-control-proposal > span { grid-column: 2; }
}

/* Product price and inventory controls */
body.cabinet-v7 .product-control-calculator {
  margin: 0 10px 10px;
}

body.cabinet-v7 .product-control-form {
  display: grid;
  gap: 7px;
  padding: 9px 10px;
  border-radius: 7px;
  background: #f3f7f5;
}

body.cabinet-v7 .product-control-primary {
  display: grid;
  grid-template-columns: minmax(150px, 1.45fr) minmax(92px, .7fr) minmax(112px, .8fr) auto;
  align-items: end;
  gap: 7px;
}

body.cabinet-v7 .product-control-form label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body.cabinet-v7 .product-control-form label > span {
  color: #66756f;
  font-size: 10.5px;
  line-height: 1.2;
}

body.cabinet-v7 .product-control-form :where(input, select) {
  width: 100%;
  height: 33px !important;
  min-height: 33px !important;
  padding: 0 9px;
  border: 0;
  border-radius: 5px !important;
  background: #fff;
  color: #17251f;
  font: inherit;
  font-size: 11.5px !important;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(22, 61, 47, .08);
}

body.cabinet-v7 .product-control-form :where(input, select):focus {
  box-shadow: inset 0 0 0 1px #4b7b68, 0 0 0 3px rgba(75, 123, 104, .09);
}

body.cabinet-v7 .product-control-calculate {
  height: 33px;
  min-height: 33px;
  padding: 0 15px;
  border: 0;
  border-radius: 5px;
  background: #173e31;
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
}

body.cabinet-v7 .product-control-conditions summary {
  width: max-content;
  color: #52645d;
  font-size: 10.75px;
  cursor: pointer;
  list-style: none;
}

body.cabinet-v7 .product-control-conditions summary::-webkit-details-marker { display: none; }

body.cabinet-v7 .product-control-conditions summary::after {
  content: " +";
  color: #287257;
}

body.cabinet-v7 .product-control-conditions[open] summary::after { content: " −"; }

body.cabinet-v7 .product-control-conditions > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 7px;
  margin-top: 7px;
}

body.cabinet-v7 .product-control-result {
  min-height: 13px;
  color: #287257;
  font-size: 10.75px;
}

body.cabinet-v7 .product-item-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 7px 0 0 48px;
}

body.cabinet-v7 .product-item-controls label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4f6059;
  font-size: 10.5px;
  cursor: pointer;
}

body.cabinet-v7 .product-item-controls input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #287257;
}

body.cabinet-v7 .product-item-controls input:disabled + span {
  color: #9aa49f;
}

body.cabinet-v7 .product-catalog {
  display: grid;
  gap: 1px;
}

body.cabinet-v7 .product-row,
body.cabinet-v7 .product-stream-item {
  display: grid;
  grid-template-columns: 40px minmax(220px, 1.5fr) minmax(82px, .55fr) repeat(3, minmax(78px, .5fr)) minmax(190px, .9fr);
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 6px 8px;
  border-radius: 0;
  background: #fff;
}

body.cabinet-v7 .product-row:hover,
body.cabinet-v7 .product-stream-item:hover {
  background: #f8f8fa;
}

body.cabinet-v7 .product-row.is-active,
body.cabinet-v7 .product-stream-item.is-active {
  background: #f3f1f9;
}

body.cabinet-v7 .product-item-head {
  display: contents;
}

body.cabinet-v7 .product-item-photo,
body.cabinet-v7 .product-item-photo .product-photo-link,
body.cabinet-v7 .product-item-photo img {
  width: 34px;
  height: 42px;
}

body.cabinet-v7 .product-item-copy {
  min-width: 0;
}

body.cabinet-v7 .product-item-copy strong {
  display: block;
  overflow: hidden;
  color: #17131d;
  font-size: 12.25px;
  font-weight: 400;
  line-height: 1.24;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cabinet-v7 .product-item-copy small {
  margin-bottom: 1px;
  color: #7b7682;
  font-size: 10.25px;
  line-height: 1.1;
  white-space: nowrap;
}

body.cabinet-v7 .product-item-market {
  justify-items: start;
  text-align: left;
}

body.cabinet-v7 .product-item-market .marketplace-label {
  color: #6f52cf;
  font-size: 11px;
  font-weight: 500;
}

body.cabinet-v7 .product-item-market em {
  color: #77727d;
  font-size: 10px;
}

body.cabinet-v7 .product-item-facts {
  display: contents;
  margin: 0;
}

body.cabinet-v7 .product-item-facts span {
  display: grid;
  gap: 1px;
  min-width: 0;
}

body.cabinet-v7 .product-item-facts small {
  color: #85808a;
  font-size: 9.75px;
  line-height: 1;
}

body.cabinet-v7 .product-item-facts strong {
  overflow: hidden;
  color: #201c25;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cabinet-v7 .product-item-controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  min-width: 0;
}

body.cabinet-v7 .product-item-controls label {
  gap: 4px;
  color: #4e5955;
  font-size: 9.75px;
  line-height: 1.1;
  white-space: nowrap;
}

body.cabinet-v7 .product-item-controls input {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
}

@media (max-width: 1180px) {
  body.cabinet-v7 .product-row,
  body.cabinet-v7 .product-stream-item {
    grid-template-columns: 40px minmax(180px, 1fr) minmax(70px, .45fr) repeat(3, minmax(68px, .45fr));
  }

  body.cabinet-v7 .product-item-controls {
    grid-column: 2 / -1;
    justify-content: flex-start;
    padding-top: 2px;
  }
}

@media (max-width: 760px) {
  body.cabinet-v7 .product-row,
  body.cabinet-v7 .product-stream-item {
    grid-template-columns: 36px minmax(0, 1fr) minmax(64px, auto);
    gap: 8px;
    min-height: 64px;
  }

  body.cabinet-v7 .product-item-market {
    justify-items: end;
    text-align: right;
  }

  body.cabinet-v7 .product-item-facts {
    display: grid;
    grid-column: 2 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  body.cabinet-v7 .product-item-controls {
    grid-column: 2 / -1;
    flex-wrap: wrap;
  }
}

@media (max-width: 1180px) {
  body.cabinet-v7 .product-control-primary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  body.cabinet-v7 .product-control-calculate { grid-column: 1 / -1; }
  body.cabinet-v7 .product-control-conditions > div { grid-template-columns: repeat(2, minmax(90px, 1fr)); }
}

@media (max-width: 640px) {
  body.cabinet-v7 .product-control-calculator { margin-inline: 6px; }
  body.cabinet-v7 .product-control-primary { grid-template-columns: 1fr 1fr; }
  body.cabinet-v7 .product-control-primary label:first-child { grid-column: 1 / -1; }
  body.cabinet-v7 .product-control-conditions > div { grid-template-columns: 1fr 1fr; }
}

body.cabinet-v7 .report-center-inventory-metrics {
  grid-template-columns: repeat(2, minmax(90px, 1fr));
}

body.cabinet-v7 #reportModal.is-inventory-report .report-panel {
  width: min(920px, calc(100vw - 40px));
}

body.cabinet-v7 .inventory-report-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

body.cabinet-v7 .inventory-report-head > button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f3;
  color: #173e31;
  font-size: 17px;
}

body.cabinet-v7 .inventory-report-head > div {
  display: grid;
  gap: 2px;
}

body.cabinet-v7 .inventory-report-head span,
body.cabinet-v7 .inventory-report-row small {
  color: #73807b;
  font-size: 11px;
}

body.cabinet-v7 .inventory-report-head strong {
  color: #17251f;
  font-size: 20px;
  font-weight: 500;
}

body.cabinet-v7 .inventory-report-list {
  display: grid;
  gap: 2px;
}

body.cabinet-v7 .inventory-report-row {
  display: grid;
  grid-template-columns: minmax(110px, .8fr) minmax(260px, 2.4fr) minmax(100px, .7fr) minmax(110px, .7fr);
  align-items: center;
  gap: 14px;
  padding: 11px 12px;
  border-radius: 5px;
  background: #f7f9f8;
}

body.cabinet-v7 .inventory-report-row > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body.cabinet-v7 .inventory-report-row strong {
  overflow: hidden;
  color: #1b2923;
  font-size: 12.5px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.cabinet-v7 #reportModal.is-report-notice .report-panel {
  width: min(470px, calc(100vw - 32px));
}

body.cabinet-v7 .report-unread-notice {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 30px 24px 24px;
  text-align: center;
}

body.cabinet-v7 .report-unread-notice-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dff2e9;
  box-shadow: inset 0 0 0 10px #2e8262;
}

body.cabinet-v7 .report-unread-notice > strong {
  color: #17251f;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0;
}

body.cabinet-v7 .report-unread-notice > p {
  max-width: 360px;
  margin: 0;
  color: #64736d;
  font-size: 13px;
  line-height: 1.55;
}

body.cabinet-v7 .report-unread-notice > div {
  display: flex;
  gap: 8px;
  margin-top: 5px;
}

body.cabinet-v7 .report-unread-notice button {
  min-height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 5px;
  background: #edf2ef;
  color: #29443a;
  font-size: 12px;
}

body.cabinet-v7 .report-unread-notice button:first-child {
  background: #173e31;
  color: #fff;
}

@media (max-width: 700px) {
  body.cabinet-v7 .inventory-report-row {
    grid-template-columns: 1fr 1fr;
  }
  body.cabinet-v7 .inventory-report-name { grid-column: 1 / -1; grid-row: 1; }
}
