/* Product identity shared between Ozon unit-economics views.
   Scoped below both unit-economics sections, never other dashboards. */
#unitEconomicsSection .ueq-panel,
#unitEconomicsNewSection .ueq-panel {
  --ueq-ink:#1c2c46;
  --ueq-muted:#566b87;
  --ueq-line:#dce5f1;
  --ueq-brand:#216cdb;
  --ueq-light:#f5f8fd;
  display:block;
  max-width:100%;
  min-width:0;
  box-sizing:border-box;
  padding:23px;
  margin:25px 0 28px;
  border:1px solid #d9e5f4;
  border-radius:18px;
  background:#fff;
  box-shadow:0 9px 35px rgba(33,58,96,.07);
  color:var(--ueq-ink);
}
#unitEconomicsSection .ueq-panel[hidden],
#unitEconomicsNewSection .ueq-panel[hidden]{display:none!important}
.ueq-panel *{box-sizing:border-box}
.ueq-heading{
  display:flex;align-items:flex-start;justify-content:space-between;
  flex-wrap:wrap;gap:13px;margin-bottom:19px;
}
.ueq-eyebrow{
  display:block;font-size:10px;letter-spacing:.09em;
  text-transform:uppercase;color:#3268b5;font-weight:850;margin-bottom:8px;
}
.ueq-heading h3{
  margin:0 0 6px;font-size:19px;letter-spacing:-.025em;line-height:1.28;
  font-weight:850;color:#162a46;
}
.ueq-heading p{font-size:12px;line-height:1.55;color:#536985;margin:0;max-width:710px}
.ueq-period{
  flex:0 0 auto;color:#476688;background:#eff5fc;border:1px solid #dfeafa;
  padding:9px 12px;border-radius:9px;font-size:11px;font-weight:750;
  font-variant-numeric:tabular-nums;
}
.ueq-summary{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;margin-bottom:16px;
}
.ueq-kpi{
  border:1px solid #e2eaf5;background:#f7faff;border-radius:12px;
  padding:13px 15px;min-width:0;
}
.ueq-kpi span{font-size:11px;line-height:1.45;color:#536b8a;display:block;font-weight:650}
.ueq-kpi strong{
  display:block;color:#203954;font-size:21px;letter-spacing:-.025em;
  margin-top:5px;font-weight:850;font-variant-numeric:tabular-nums;
}
.ueq-kpi-alert{background:#fff8f4;border-color:#f3dfd1}
.ueq-kpi-alert strong{color:#aa5940}
.ueq-results{min-height:70px;color:#58718d;font-size:12px;line-height:1.5}
.ueq-controls{
  display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:4px 0 14px;
}
.ueq-search-label{display:block;flex:1 1 240px;max-width:330px;margin:0}
#dashboard .ueq-panel .ueq-search{
  margin:0!important;min-height:36px!important;width:100%!important;
  padding:9px 11px!important;border:1px solid #cfddeb!important;
  background:#fff!important;color:#223852!important;
  border-radius:9px!important;font-size:12px!important;box-shadow:none!important;
}
#dashboard .ueq-panel .ueq-search::placeholder{color:#8293aa;opacity:1}
.ueq-filter-group{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#dashboard .ueq-panel .ueq-filter-group button{
  width:auto!important;flex:0 0 auto!important;
  padding:8px 10px!important;margin:0!important;
  font-size:11px!important;font-weight:750!important;line-height:1.2!important;
  border-radius:8px!important;border:1px solid #d6e1ef!important;
  background:#fff!important;color:#415a78!important;box-shadow:none!important;
}
#dashboard .ueq-panel .ueq-filter-group button.active{
  background:#edf4ff!important;border-color:#7aa9f3!important;color:#1d65d0!important;
}
.ueq-controls>small{font-size:11px;color:#637c98;margin-left:auto}
.ueq-scroll{
  width:100%;overflow-x:auto;max-width:100%;
  border:1px solid #e1e9f3;border-radius:12px;
  scrollbar-width:thin;-webkit-overflow-scrolling:touch;
}
.ueq-table{
  border-collapse:collapse;width:100%;min-width:1190px;
  table-layout:fixed;font-size:11px;
}
.ueq-table thead{background:#edf3fb}
.ueq-table th{
  padding:12px 9px;font-size:10px;font-weight:800;color:#455e7e;
  line-height:1.5;text-align:left;white-space:nowrap;border-bottom:1px solid #d6e2f0;
}
.ueq-table th small{color:#7085a0;font-size:9px;line-height:1.45;font-weight:650}
.ueq-table th:first-child{width:285px}
.ueq-table th:nth-child(2){width:98px}
.ueq-table th:nth-child(3),.ueq-table th:nth-child(4),
.ueq-table th:nth-child(5),.ueq-table th:nth-child(6),
.ueq-table th:nth-child(7),.ueq-table th:nth-child(8){width:101px}
.ueq-table th:nth-child(9),.ueq-table th:nth-child(10),.ueq-table th:nth-child(11){width:111px}
.ueq-table td{
  padding:11px 9px;color:#263b57;
  border-bottom:1px solid #e9eef6;vertical-align:middle;
  background:#fff;line-height:1.45;
}
.ueq-table tr:last-child td{border-bottom:0}
.ueq-table tbody tr:hover td{background:#f8fbff}
.ueq-table tbody tr.ueq-unverified td{background:#fdfcfb}
.ueq-table .ueq-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.ueq-table .ueq-number strong{display:block;color:#203956;font-size:12px;font-weight:850}
.ueq-table .ueq-number small{display:block;white-space:normal;font-size:9px;color:#7286a3;margin-top:3px}
.ueq-table .ueq-number .ueq-positive{color:#168255}
.ueq-table .ueq-number .ueq-negative{color:#c34b5c}
.ueq-table .ueq-number .ueq-neutral{color:#506984}
.ueq-table-empty{text-align:center!important;padding:25px!important;color:#697d99!important}
.ueq-footnote{
  font-size:11px;line-height:1.7;color:#536b89;
  border-top:1px solid #e7eef7;margin:16px 0 0;padding-top:15px;
  overflow-wrap:anywhere;
}
.ueq-empty,.ueq-error{
  background:#f5f8fd;border-radius:11px;padding:18px 16px;
  color:#516984;font-size:12px;line-height:1.65;
}
.ueq-error{background:#fff5f5;color:#9e4551}
/* Reusable product identity, consistent in both old and new Unit Economics. */
.ueq-panel .mp-product-identity{
  display:flex;align-items:center;gap:10px;
  min-width:0;max-width:100%;
}
.ueq-panel .mp-product-identity-media{
  display:grid;place-items:center;flex:0 0 48px;
  width:48px;height:56px;background:#f2f6fb;border:1px solid #e4eaf3;
  border-radius:9px;position:relative;overflow:hidden;
}
.ueq-panel .mp-product-identity-photo{
  width:100%;height:100%;object-fit:contain;display:block;position:relative;z-index:1;
}
.ueq-panel .mp-product-identity-fallback{
  display:grid;place-items:center;color:#8093b0;font-size:12px;font-weight:850;
  width:100%;height:100%;
}
.ueq-panel .mp-product-identity-info{min-width:0;max-width:100%;overflow:hidden}
.ueq-panel .mp-product-identity-title{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  line-clamp:2;overflow:hidden;max-width:100%;color:#1c3553;
  font-size:12px;font-weight:800;line-height:1.35;
  overflow-wrap:break-word;white-space:normal;
}
.ueq-panel .mp-product-identity-info small{
  display:block;color:#6b80a0;font-size:10px;line-height:1.45;
  margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ueq-row-status{
  display:inline-flex;max-width:100%;font-size:9px;line-height:1.4;
  border-radius:7px;padding:4px 6px;margin:6px 0 0 58px;font-weight:750;
  white-space:normal;
}
.ueq-status-ok{background:#e8f7ed;color:#237f50}
.ueq-status-cost{background:#fff4df;color:#936319}
.ueq-status-pending{background:#fff0f0;color:#a64c54}
.ueq-extra-qty{display:block;color:#2165ac;font-size:10px;margin:3px 0 0 58px}
@media(max-width:800px){
  #unitEconomicsSection .ueq-panel,#unitEconomicsNewSection .ueq-panel{padding:15px;border-radius:13px}
  .ueq-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ueq-kpi{padding:10px 11px}
  .ueq-kpi strong{font-size:18px}
  .ueq-heading h3{font-size:17px}
  .ueq-controls{align-items:stretch}
  .ueq-search-label{flex:1 1 100%;max-width:none}
}
@media(max-width:450px){
  .ueq-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  .ueq-kpi span{font-size:10px}
  .ueq-kpi strong{font-size:16px}
  .ueq-filter-group{width:100%}
  #dashboard .ueq-panel .ueq-filter-group button{flex:1 1 auto!important}
}
/* Consistent product identity sizing in the original Unit Economics UI. */
#unitEconomicsSection .ue-product-cell .ue-product-name,
#unitEconomicsNewSection .ue-new-product-title strong,
#unitEconomicsNewSection .ue-product-picker-copy strong{
  color:#1c3553;font-size:12px;font-weight:800;line-height:1.4;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  line-clamp:2;overflow:hidden;max-width:100%;
}
#unitEconomicsSection .ue-product-cell .ue-product-image-box.small,
#unitEconomicsSection .ue-product-cell .ue-product-image-placeholder.small{
  width:48px;height:56px;border:1px solid #e2eaf4;
  border-radius:9px;background:#f2f6fb;
}
#unitEconomicsSection .ue-product-cell .ue-product-image-box.small img{
  width:100%;height:100%;object-fit:contain;
}
/* Honor failed-image fallback; class display rules must not override [hidden]. */
#unitEconomicsSection .ueq-panel .mp-product-identity-media [hidden],
#unitEconomicsNewSection .ueq-panel .mp-product-identity-media [hidden]{
  display:none!important;
}

/* 2026-11-15 — readable column groups and ruled numeric grid
   Main dashboard styles have higher specificity, so these rules are scoped
   and explicit to this one table in both Unit Economics screens. */
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-scroll{
  border:1px solid #cbd9e9;
  border-radius:12px;
  background:#fff;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table{
  table-layout:fixed;
  border-collapse:separate;
  border-spacing:0;
  width:100%;
  min-width:1430px;
  font-size:12px;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-groups th{
  height:38px;
  padding:8px 13px!important;
  text-align:center!important;
  vertical-align:middle!important;
  color:#244465!important;
  font-size:12px!important;
  font-weight:850!important;
  letter-spacing:.01em;
  line-height:1.2!important;
  border-bottom:1px solid #bdcee2!important;
  border-right:2px solid #b8cce3!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-groups th:last-child{
  border-right:none!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-groups .ueq-group-product{background:#e8f1fd!important}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-groups .ueq-group-income{background:#e5eefb!important}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-groups .ueq-group-expenses{background:#eef2f8!important}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-groups .ueq-group-result{background:#e5f3ec!important;color:#215b45!important}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th{
  height:62px;
  vertical-align:middle!important;
  text-align:right!important;
  white-space:normal!important;
  padding:11px 12px!important;
  color:#1b3554!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.3!important;
  border-bottom:2px solid #bbcce0!important;
  border-right:1px solid #d0ddea!important;
  background:#f2f6fb!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th:first-child{
  text-align:left!important;
  background:#eaf3fe!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th:nth-child(2),
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th:nth-child(3),
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th:nth-child(8){
  border-right:2px solid #afc6df!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th:nth-child(n+9){
  background:#e8f5ee!important;
  color:#1c5540!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th small{
  display:block;
  color:#516d8e!important;
  font-size:10px!important;
  line-height:1.4!important;
  font-weight:700!important;
  margin-top:3px;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th:nth-child(n+9) small{
  color:#497864!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table td{
  padding:16px 12px!important;
  border-bottom:1px solid #dce6f1!important;
  border-right:1px solid #d7e2ed!important;
  background:#fff!important;
  color:#263e5a!important;
  font-size:12px!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table tbody tr:nth-child(even) td{
  background:#f6f9fd!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table tbody tr:hover td{
  background:#eaf4ff!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table tbody tr.ueq-unverified td{
  background:#fffaf3!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table tbody tr.ueq-unverified:hover td{
  background:#fff4e6!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table td:nth-child(2),
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table td:nth-child(3),
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table td:nth-child(8){
  border-right:2px solid #afc6df!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table tbody td:nth-child(n+9){
  background:#f1f9f4!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table tbody tr:nth-child(even) td:nth-child(n+9){
  background:#eaf5ef!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table tbody tr:hover td:nth-child(n+9){
  background:#e2f0e9!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table td:last-child,
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table th:last-child{
  border-right:0!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table .ueq-number{
  text-align:right!important;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table .ueq-number strong{
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.35!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table .ueq-number small{
  font-size:10px!important;
  color:#5c7692!important;
  margin-top:5px!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table .ueq-number .ueq-positive{
  color:#0d7d4d!important;
}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table .ueq-number .ueq-negative{
  color:#b2394b!important;
}
/* Explicit widths; prevent the product column from swallowing nearby data. */
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th:nth-child(1){width:300px}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th:nth-child(2){width:82px}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th:nth-child(3){width:112px}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th:nth-child(n+4):nth-child(-n+8){width:108px}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th:nth-child(9){width:120px}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th:nth-child(10){width:140px}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table-columns th:nth-child(11){width:137px}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table tbody td:first-child{
  text-align:left!important;
}
@media(max-width:950px){
  #dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table{
    min-width:1430px;
  }
}
/* Fixed table layout derives widths from colgroup because a two-tier
   <thead> starts with colspan cells. These values intentionally total 1431px. */
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table col.ueq-col-product{width:300px}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table col.ueq-col-qty{width:82px}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table col.ueq-col-price{width:112px}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table col.ueq-col-fee,
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table col.ueq-col-delivery,
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table col.ueq-col-other,
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table col.ueq-col-cogs,
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table col.ueq-col-ads{width:108px}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table col.ueq-col-unitprofit{width:120px}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table col.ueq-col-profit{width:140px}
#dashboard :is(#unitEconomicsSection,#unitEconomicsNewSection) .ueq-panel .ueq-table col.ueq-col-change{width:137px}
