/* ../sm-platform-share-price-23a85c9e-ui/apps/admin-web/src/portfolio-price-conditions.css */
.smg-pc > header,
.smg-pc-chooser,
.smg-pc-subhead,
.smg-pc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.smg-pc-header,
.smg-pc-body {
  min-width: 0;
}
.smg-pc button,
.smg-pc input,
.smg-pc select,
.smg-pc textarea {
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #172033;
  font: inherit;
  padding: 6px 9px;
  min-height: 36px;
}
.smg-pc button {
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.smg-pc button:disabled {
  cursor: default;
  opacity: .46;
}
.smg-pc input:focus-visible,
.smg-pc select:focus-visible,
.smg-pc textarea:focus-visible,
.smg-pc button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.smg-pc .smg-pc-primary {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}
.smg-pc .smg-pc-remove {
  color: #9f1239;
  margin-inline-end: auto;
}
.smg-pc-body,
.smg-pc-fields,
.smg-pc-editor,
.smg-pc-review {
  display: grid;
  gap: 12px;
}
.smg-pc-subhead,
.smg-pc-chooser,
.smg-pc-empty,
.smg-pc-error,
.smg-pc-list li {
  font-size: 13px;
}
.smg-pc-chooser > button,
.smg-pc-subhead > button {
  margin-inline-start: auto;
}
.smg-pc-subhead > span,
.smg-pc-empty,
.smg-pc-list li span,
.smg-pc-list li small {
  color: #526174;
}
.smg-pc-empty,
.smg-pc-error {
  margin: 0;
}
.smg-pc-error {
  color: #9f1239;
}
.smg-pc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}
.smg-pc-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid #e2e8f0;
}
.smg-pc-list li > div {
  display: grid;
  gap: 3px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.smg-pc-list li > button {
  flex-shrink: 0;
}
.smg-pc-chooser label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.smg-pc-fields label,
.smg-pc-review label {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
}
.smg-pc-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.smg-pc-fields input,
.smg-pc-fields select,
.smg-pc-review textarea {
  width: 100%;
  min-width: 0;
}
.smg-pc-editor,
.smg-pc-preview {
  padding: 10px 0;
  border-block: 1px solid #e2e8f0;
}
.smg-pc-actions {
  justify-content: flex-end;
  font-size: 13px;
}
.smg-pc-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.smg-pc-preview h4 {
  margin: 0 0 8px;
  font-size: 13px;
}
.smg-pc-preview > .smg-pc-actions {
  grid-column: 1 / -1;
}
.test-app-shell.stock-management-embedded {
  height: 100%;
  min-height: 0;
}
.test-app-shell.stock-management-embedded > .test-app-main.nsm-main:has(> .smg) {
  height: 100%;
  min-height: 0;
}
@media (max-width: 640px) {
  .smg-pc-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .smg-pc input,
  .smg-pc select,
  .smg-pc textarea {
    font-size: 16px;
  }
}
@media (max-width: 360px) {
  .smg-pc-preview,
  .smg-pc-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
