:root #constructorView .constructor-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  height: auto;
  min-height: 56px;
  flex: 0 0 auto;
  padding: 10px 16px;
  overflow: visible;
}
:root #constructorView .constructor-identity {
  display: block;
  min-width: 0;
}
:root #constructorView .constructor-identity strong {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
:root #constructorView .manual-review-toolbar {
  display: flex;
  grid-column: auto;
  gap: 6px;
  justify-content: flex-end;
}
:root #constructorView #backToCatalog {
  width: auto;
  white-space: nowrap;
  font-size: 14px;
}
:root #constructorView .constructor-model-step {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
}
:root #constructorView .constructor-nav-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: currentColor;
  color: inherit;
  mask: url('../icons/lucide/arrow-left.svg') center / contain no-repeat;
  -webkit-mask: url('../icons/lucide/arrow-left.svg') center / contain no-repeat;
}
:root #constructorView #reviewNextModel .constructor-nav-icon {
  mask-image: url('../icons/lucide/arrow-right.svg');
  -webkit-mask-image: url('../icons/lucide/arrow-right.svg');
}
@media (max-width: 720px) {
  :root #constructorView .constructor-header {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    padding: 8px 12px;
  }
  :root #constructorView #backToCatalog { justify-self: start; min-height: 44px; }
  :root #constructorView .manual-review-toolbar { grid-column: 2; grid-row: 1; }
  :root #constructorView .constructor-identity { grid-column: 1 / -1; grid-row: 2; }
  :root #constructorView .constructor-identity strong { font-size: 13px; }
  :root #constructorView .constructor-model-step { width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
}
@media (max-width:1100px) and (max-height:500px) {
  body:has(#constructorView:not([hidden])) > .gp-app-header { display:none; }
  :root #constructorView .constructor-header { grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto;min-height:44px;padding:4px 8px;gap:8px; }
  :root #constructorView .constructor-identity { grid-column:2;grid-row:1; }
  :root #constructorView .constructor-identity strong { white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px; }
  :root #constructorView .manual-review-toolbar { grid-column:3;grid-row:1; }
  body:has(#constructorView:not([hidden])) > .gp-legal-footer .gp-legal-company span { display:none; }
}
