/* Reference standards beside dimensions in the geometric calculation mode. */
.profile-gost {
  margin: 14px 0;
  padding: 12px 0;
  border-top: 1px solid var(--divider, #e2e7ef);
  border-bottom: 1px solid var(--divider, #e2e7ef);
  min-width: 0;
}
.profile-gost h3 {
  display: none;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--text-strong, #10213b);
}
.profile-gost-list {
  display: grid;
  gap: 7px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.profile-gost-list li {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  font-size: 12px;
  line-height: 1.45;
}
.profile-gost a {
  color: var(--primary, #235be2);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-weight: 550;
}
.profile-gost a:hover { color: var(--primary-hover, #1748bc); }
.profile-gost-list span,
.profile-gost-note { color: var(--muted, #5d6a7e); }
.profile-gost .profile-gost-note {
  margin: 9px 0 0;
  font-size: 11px;
  line-height: 1.5;
}
.profile-gost a:focus-visible {
  outline: 2px solid var(--primary, #235be2);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .profile-gost { margin: 12px 0; }
  .profile-gost-list li { grid-template-columns: 122px minmax(0, 1fr); font-size: 12px; }
}


/* Embedded calculator: only the mode toolbar precedes its working panels. */
.calculator-embed .page-wrap { padding-top: 12px; }
.calculator-embed .page-heading-row,
.calculator-embed .page-heading-row.catalog-heading {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  min-height: 0;
  margin: 0;
  padding: 0;
  gap: 0;
}
.calculator-embed .page-heading-row > div:first-child { display: none; }
.calculator-embed .page-heading-row .mode-switch { width: auto; margin: 0; }
.calculator-embed .page-heading-row .mode-switch button { min-height: 40px; padding: 8px 14px; font-size: 13px; }
.calculator-embed .exact-grid,
.calculator-embed .catalog-layout { margin-top: 12px; }
.calculator-embed .catalog-layout .specification-panel { margin-top: 0; }
.calculator-embed .catalog-main .calculator-promise { margin-right: 0; }
@media (max-width: 700px) {
  .calculator-embed .page-heading-row .mode-switch { width: 100%; }
  .calculator-embed .page-heading-row .mode-switch button { min-width: 0; flex: 1; padding-inline: 8px; }
}
